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_cluster.pb.cc
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: yb/master/master_cluster.proto
3
4
#include "yb/master/master_cluster.pb.h"
5
6
#include <algorithm>
7
8
#include <google/protobuf/stubs/common.h>
9
#include <google/protobuf/stubs/port.h>
10
#include <google/protobuf/stubs/once.h>
11
#include <google/protobuf/io/coded_stream.h>
12
#include <google/protobuf/wire_format_lite_inl.h>
13
#include <google/protobuf/descriptor.h>
14
#include <google/protobuf/generated_message_reflection.h>
15
#include <google/protobuf/reflection_ops.h>
16
#include <google/protobuf/wire_format.h>
17
// This is a temporary google only hack
18
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
19
#include "third_party/protobuf/version.h"
20
#endif
21
#include "yb/util/protobuf-annotations.h"
22
// @@protoc_insertion_point(includes)
23
namespace yb {
24
namespace master {
25
class ListTabletServersRequestPBDefaultTypeInternal {
26
 public:
27
  ::google::protobuf::internal::ExplicitlyConstructed<ListTabletServersRequestPB>
28
      _instance;
29
} _ListTabletServersRequestPB_default_instance_;
30
class ListTabletServersResponsePB_EntryDefaultTypeInternal {
31
 public:
32
  ::google::protobuf::internal::ExplicitlyConstructed<ListTabletServersResponsePB_Entry>
33
      _instance;
34
} _ListTabletServersResponsePB_Entry_default_instance_;
35
class ListTabletServersResponsePBDefaultTypeInternal {
36
 public:
37
  ::google::protobuf::internal::ExplicitlyConstructed<ListTabletServersResponsePB>
38
      _instance;
39
} _ListTabletServersResponsePB_default_instance_;
40
class ListLiveTabletServersRequestPBDefaultTypeInternal {
41
 public:
42
  ::google::protobuf::internal::ExplicitlyConstructed<ListLiveTabletServersRequestPB>
43
      _instance;
44
} _ListLiveTabletServersRequestPB_default_instance_;
45
class ListLiveTabletServersResponsePB_EntryDefaultTypeInternal {
46
 public:
47
  ::google::protobuf::internal::ExplicitlyConstructed<ListLiveTabletServersResponsePB_Entry>
48
      _instance;
49
} _ListLiveTabletServersResponsePB_Entry_default_instance_;
50
class ListLiveTabletServersResponsePBDefaultTypeInternal {
51
 public:
52
  ::google::protobuf::internal::ExplicitlyConstructed<ListLiveTabletServersResponsePB>
53
      _instance;
54
} _ListLiveTabletServersResponsePB_default_instance_;
55
class ListMastersRequestPBDefaultTypeInternal {
56
 public:
57
  ::google::protobuf::internal::ExplicitlyConstructed<ListMastersRequestPB>
58
      _instance;
59
} _ListMastersRequestPB_default_instance_;
60
class ListMastersResponsePBDefaultTypeInternal {
61
 public:
62
  ::google::protobuf::internal::ExplicitlyConstructed<ListMastersResponsePB>
63
      _instance;
64
} _ListMastersResponsePB_default_instance_;
65
class ListMasterRaftPeersRequestPBDefaultTypeInternal {
66
 public:
67
  ::google::protobuf::internal::ExplicitlyConstructed<ListMasterRaftPeersRequestPB>
68
      _instance;
69
} _ListMasterRaftPeersRequestPB_default_instance_;
70
class ListMasterRaftPeersResponsePBDefaultTypeInternal {
71
 public:
72
  ::google::protobuf::internal::ExplicitlyConstructed<ListMasterRaftPeersResponsePB>
73
      _instance;
74
} _ListMasterRaftPeersResponsePB_default_instance_;
75
class GetMasterRegistrationRequestPBDefaultTypeInternal {
76
 public:
77
  ::google::protobuf::internal::ExplicitlyConstructed<GetMasterRegistrationRequestPB>
78
      _instance;
79
} _GetMasterRegistrationRequestPB_default_instance_;
80
class GetMasterRegistrationResponsePBDefaultTypeInternal {
81
 public:
82
  ::google::protobuf::internal::ExplicitlyConstructed<GetMasterRegistrationResponsePB>
83
      _instance;
84
} _GetMasterRegistrationResponsePB_default_instance_;
85
class IsMasterLeaderReadyRequestPBDefaultTypeInternal {
86
 public:
87
  ::google::protobuf::internal::ExplicitlyConstructed<IsMasterLeaderReadyRequestPB>
88
      _instance;
89
} _IsMasterLeaderReadyRequestPB_default_instance_;
90
class IsMasterLeaderReadyResponsePBDefaultTypeInternal {
91
 public:
92
  ::google::protobuf::internal::ExplicitlyConstructed<IsMasterLeaderReadyResponsePB>
93
      _instance;
94
} _IsMasterLeaderReadyResponsePB_default_instance_;
95
class DumpMasterStateRequestPBDefaultTypeInternal {
96
 public:
97
  ::google::protobuf::internal::ExplicitlyConstructed<DumpMasterStateRequestPB>
98
      _instance;
99
} _DumpMasterStateRequestPB_default_instance_;
100
class DumpMasterStateResponsePBDefaultTypeInternal {
101
 public:
102
  ::google::protobuf::internal::ExplicitlyConstructed<DumpMasterStateResponsePB>
103
      _instance;
104
} _DumpMasterStateResponsePB_default_instance_;
105
class ChangeLoadBalancerStateRequestPBDefaultTypeInternal {
106
 public:
107
  ::google::protobuf::internal::ExplicitlyConstructed<ChangeLoadBalancerStateRequestPB>
108
      _instance;
109
} _ChangeLoadBalancerStateRequestPB_default_instance_;
110
class ChangeLoadBalancerStateResponsePBDefaultTypeInternal {
111
 public:
112
  ::google::protobuf::internal::ExplicitlyConstructed<ChangeLoadBalancerStateResponsePB>
113
      _instance;
114
} _ChangeLoadBalancerStateResponsePB_default_instance_;
115
class GetLoadBalancerStateRequestPBDefaultTypeInternal {
116
 public:
117
  ::google::protobuf::internal::ExplicitlyConstructed<GetLoadBalancerStateRequestPB>
118
      _instance;
119
} _GetLoadBalancerStateRequestPB_default_instance_;
120
class GetLoadBalancerStateResponsePBDefaultTypeInternal {
121
 public:
122
  ::google::protobuf::internal::ExplicitlyConstructed<GetLoadBalancerStateResponsePB>
123
      _instance;
124
} _GetLoadBalancerStateResponsePB_default_instance_;
125
class RemovedMasterUpdateRequestPBDefaultTypeInternal {
126
 public:
127
  ::google::protobuf::internal::ExplicitlyConstructed<RemovedMasterUpdateRequestPB>
128
      _instance;
129
} _RemovedMasterUpdateRequestPB_default_instance_;
130
class RemovedMasterUpdateResponsePBDefaultTypeInternal {
131
 public:
132
  ::google::protobuf::internal::ExplicitlyConstructed<RemovedMasterUpdateResponsePB>
133
      _instance;
134
} _RemovedMasterUpdateResponsePB_default_instance_;
135
class SetPreferredZonesRequestPBDefaultTypeInternal {
136
 public:
137
  ::google::protobuf::internal::ExplicitlyConstructed<SetPreferredZonesRequestPB>
138
      _instance;
139
} _SetPreferredZonesRequestPB_default_instance_;
140
class SetPreferredZonesResponsePBDefaultTypeInternal {
141
 public:
142
  ::google::protobuf::internal::ExplicitlyConstructed<SetPreferredZonesResponsePB>
143
      _instance;
144
} _SetPreferredZonesResponsePB_default_instance_;
145
class GetMasterClusterConfigRequestPBDefaultTypeInternal {
146
 public:
147
  ::google::protobuf::internal::ExplicitlyConstructed<GetMasterClusterConfigRequestPB>
148
      _instance;
149
} _GetMasterClusterConfigRequestPB_default_instance_;
150
class GetMasterClusterConfigResponsePBDefaultTypeInternal {
151
 public:
152
  ::google::protobuf::internal::ExplicitlyConstructed<GetMasterClusterConfigResponsePB>
153
      _instance;
154
} _GetMasterClusterConfigResponsePB_default_instance_;
155
class ChangeMasterClusterConfigRequestPBDefaultTypeInternal {
156
 public:
157
  ::google::protobuf::internal::ExplicitlyConstructed<ChangeMasterClusterConfigRequestPB>
158
      _instance;
159
} _ChangeMasterClusterConfigRequestPB_default_instance_;
160
class ChangeMasterClusterConfigResponsePBDefaultTypeInternal {
161
 public:
162
  ::google::protobuf::internal::ExplicitlyConstructed<ChangeMasterClusterConfigResponsePB>
163
      _instance;
164
} _ChangeMasterClusterConfigResponsePB_default_instance_;
165
class GetLoadMovePercentRequestPBDefaultTypeInternal {
166
 public:
167
  ::google::protobuf::internal::ExplicitlyConstructed<GetLoadMovePercentRequestPB>
168
      _instance;
169
} _GetLoadMovePercentRequestPB_default_instance_;
170
class GetLoadMovePercentResponsePBDefaultTypeInternal {
171
 public:
172
  ::google::protobuf::internal::ExplicitlyConstructed<GetLoadMovePercentResponsePB>
173
      _instance;
174
} _GetLoadMovePercentResponsePB_default_instance_;
175
class GetLeaderBlacklistPercentRequestPBDefaultTypeInternal {
176
 public:
177
  ::google::protobuf::internal::ExplicitlyConstructed<GetLeaderBlacklistPercentRequestPB>
178
      _instance;
179
} _GetLeaderBlacklistPercentRequestPB_default_instance_;
180
class IsLoadBalancedRequestPBDefaultTypeInternal {
181
 public:
182
  ::google::protobuf::internal::ExplicitlyConstructed<IsLoadBalancedRequestPB>
183
      _instance;
184
} _IsLoadBalancedRequestPB_default_instance_;
185
class IsLoadBalancedResponsePBDefaultTypeInternal {
186
 public:
187
  ::google::protobuf::internal::ExplicitlyConstructed<IsLoadBalancedResponsePB>
188
      _instance;
189
} _IsLoadBalancedResponsePB_default_instance_;
190
class IsLoadBalancerIdleRequestPBDefaultTypeInternal {
191
 public:
192
  ::google::protobuf::internal::ExplicitlyConstructed<IsLoadBalancerIdleRequestPB>
193
      _instance;
194
} _IsLoadBalancerIdleRequestPB_default_instance_;
195
class IsLoadBalancerIdleResponsePBDefaultTypeInternal {
196
 public:
197
  ::google::protobuf::internal::ExplicitlyConstructed<IsLoadBalancerIdleResponsePB>
198
      _instance;
199
} _IsLoadBalancerIdleResponsePB_default_instance_;
200
class AreLeadersOnPreferredOnlyRequestPBDefaultTypeInternal {
201
 public:
202
  ::google::protobuf::internal::ExplicitlyConstructed<AreLeadersOnPreferredOnlyRequestPB>
203
      _instance;
204
} _AreLeadersOnPreferredOnlyRequestPB_default_instance_;
205
class AreLeadersOnPreferredOnlyResponsePBDefaultTypeInternal {
206
 public:
207
  ::google::protobuf::internal::ExplicitlyConstructed<AreLeadersOnPreferredOnlyResponsePB>
208
      _instance;
209
} _AreLeadersOnPreferredOnlyResponsePB_default_instance_;
210
}  // namespace master
211
}  // namespace yb
212
namespace protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto {
213
15.8k
void InitDefaultsListTabletServersRequestPBImpl() {
214
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
215
216
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
217
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
218
#else
219
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
220
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
221
15.8k
  {
222
15.8k
    void* ptr = &::yb::master::_ListTabletServersRequestPB_default_instance_;
223
15.8k
    new (ptr) ::yb::master::ListTabletServersRequestPB();
224
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
225
15.8k
  }
226
15.8k
  ::yb::master::ListTabletServersRequestPB::InitAsDefaultInstance();
227
15.8k
}
228
229
80.5k
void InitDefaultsListTabletServersRequestPB() {
230
80.5k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
231
80.5k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListTabletServersRequestPBImpl);
232
80.5k
}
233
234
15.8k
void InitDefaultsListTabletServersResponsePB_EntryImpl() {
235
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
236
237
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
238
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
239
#else
240
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
241
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
242
15.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsNodeInstancePB();
243
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTSRegistrationPB();
244
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTServerMetricsPB();
245
15.8k
  {
246
15.8k
    void* ptr = &::yb::master::_ListTabletServersResponsePB_Entry_default_instance_;
247
15.8k
    new (ptr) ::yb::master::ListTabletServersResponsePB_Entry();
248
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
249
15.8k
  }
250
15.8k
  ::yb::master::ListTabletServersResponsePB_Entry::InitAsDefaultInstance();
251
15.8k
}
252
253
67.2k
void InitDefaultsListTabletServersResponsePB_Entry() {
254
67.2k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
255
67.2k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListTabletServersResponsePB_EntryImpl);
256
67.2k
}
257
258
15.8k
void InitDefaultsListTabletServersResponsePBImpl() {
259
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
260
261
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
262
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
263
#else
264
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
265
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
266
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
267
15.8k
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListTabletServersResponsePB_Entry();
268
15.8k
  {
269
15.8k
    void* ptr = &::yb::master::_ListTabletServersResponsePB_default_instance_;
270
15.8k
    new (ptr) ::yb::master::ListTabletServersResponsePB();
271
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
272
15.8k
  }
273
15.8k
  ::yb::master::ListTabletServersResponsePB::InitAsDefaultInstance();
274
15.8k
}
275
276
80.5k
void InitDefaultsListTabletServersResponsePB() {
277
80.5k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
278
80.5k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListTabletServersResponsePBImpl);
279
80.5k
}
280
281
15.8k
void InitDefaultsListLiveTabletServersRequestPBImpl() {
282
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
283
284
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
285
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
286
#else
287
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
288
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
289
15.8k
  {
290
15.8k
    void* ptr = &::yb::master::_ListLiveTabletServersRequestPB_default_instance_;
291
15.8k
    new (ptr) ::yb::master::ListLiveTabletServersRequestPB();
292
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
293
15.8k
  }
294
15.8k
  ::yb::master::ListLiveTabletServersRequestPB::InitAsDefaultInstance();
295
15.8k
}
296
297
15.8k
void InitDefaultsListLiveTabletServersRequestPB() {
298
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
299
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListLiveTabletServersRequestPBImpl);
300
15.8k
}
301
302
15.8k
void InitDefaultsListLiveTabletServersResponsePB_EntryImpl() {
303
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
304
305
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
306
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
307
#else
308
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
309
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
310
15.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsNodeInstancePB();
311
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTSRegistrationPB();
312
15.8k
  {
313
15.8k
    void* ptr = &::yb::master::_ListLiveTabletServersResponsePB_Entry_default_instance_;
314
15.8k
    new (ptr) ::yb::master::ListLiveTabletServersResponsePB_Entry();
315
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
316
15.8k
  }
317
15.8k
  ::yb::master::ListLiveTabletServersResponsePB_Entry::InitAsDefaultInstance();
318
15.8k
}
319
320
31.6k
void InitDefaultsListLiveTabletServersResponsePB_Entry() {
321
31.6k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
322
31.6k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListLiveTabletServersResponsePB_EntryImpl);
323
31.6k
}
324
325
15.8k
void InitDefaultsListLiveTabletServersResponsePBImpl() {
326
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
327
328
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
329
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
330
#else
331
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
332
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
333
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
334
15.8k
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListLiveTabletServersResponsePB_Entry();
335
15.8k
  {
336
15.8k
    void* ptr = &::yb::master::_ListLiveTabletServersResponsePB_default_instance_;
337
15.8k
    new (ptr) ::yb::master::ListLiveTabletServersResponsePB();
338
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
339
15.8k
  }
340
15.8k
  ::yb::master::ListLiveTabletServersResponsePB::InitAsDefaultInstance();
341
15.8k
}
342
343
15.8k
void InitDefaultsListLiveTabletServersResponsePB() {
344
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
345
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListLiveTabletServersResponsePBImpl);
346
15.8k
}
347
348
15.8k
void InitDefaultsListMastersRequestPBImpl() {
349
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
350
351
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
352
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
353
#else
354
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
355
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
356
15.8k
  {
357
15.8k
    void* ptr = &::yb::master::_ListMastersRequestPB_default_instance_;
358
15.8k
    new (ptr) ::yb::master::ListMastersRequestPB();
359
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
360
15.8k
  }
361
15.8k
  ::yb::master::ListMastersRequestPB::InitAsDefaultInstance();
362
15.8k
}
363
364
15.9k
void InitDefaultsListMastersRequestPB() {
365
15.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
366
15.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListMastersRequestPBImpl);
367
15.9k
}
368
369
15.8k
void InitDefaultsListMastersResponsePBImpl() {
370
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
371
372
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
373
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
374
#else
375
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
376
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
377
15.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsServerEntryPB();
378
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
379
15.8k
  {
380
15.8k
    void* ptr = &::yb::master::_ListMastersResponsePB_default_instance_;
381
15.8k
    new (ptr) ::yb::master::ListMastersResponsePB();
382
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
383
15.8k
  }
384
15.8k
  ::yb::master::ListMastersResponsePB::InitAsDefaultInstance();
385
15.8k
}
386
387
15.9k
void InitDefaultsListMastersResponsePB() {
388
15.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
389
15.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListMastersResponsePBImpl);
390
15.9k
}
391
392
15.8k
void InitDefaultsListMasterRaftPeersRequestPBImpl() {
393
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
394
395
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
396
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
397
#else
398
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
399
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
400
15.8k
  {
401
15.8k
    void* ptr = &::yb::master::_ListMasterRaftPeersRequestPB_default_instance_;
402
15.8k
    new (ptr) ::yb::master::ListMasterRaftPeersRequestPB();
403
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
404
15.8k
  }
405
15.8k
  ::yb::master::ListMasterRaftPeersRequestPB::InitAsDefaultInstance();
406
15.8k
}
407
408
15.8k
void InitDefaultsListMasterRaftPeersRequestPB() {
409
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
410
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListMasterRaftPeersRequestPBImpl);
411
15.8k
}
412
413
15.8k
void InitDefaultsListMasterRaftPeersResponsePBImpl() {
414
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
415
416
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
417
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
418
#else
419
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
420
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
421
15.8k
  protobuf_yb_2fconsensus_2fmetadata_2eproto::InitDefaultsRaftPeerPB();
422
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
423
15.8k
  {
424
15.8k
    void* ptr = &::yb::master::_ListMasterRaftPeersResponsePB_default_instance_;
425
15.8k
    new (ptr) ::yb::master::ListMasterRaftPeersResponsePB();
426
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
427
15.8k
  }
428
15.8k
  ::yb::master::ListMasterRaftPeersResponsePB::InitAsDefaultInstance();
429
15.8k
}
430
431
15.8k
void InitDefaultsListMasterRaftPeersResponsePB() {
432
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
433
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListMasterRaftPeersResponsePBImpl);
434
15.8k
}
435
436
15.8k
void InitDefaultsGetMasterRegistrationRequestPBImpl() {
437
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
438
439
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
440
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
441
#else
442
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
443
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
444
15.8k
  {
445
15.8k
    void* ptr = &::yb::master::_GetMasterRegistrationRequestPB_default_instance_;
446
15.8k
    new (ptr) ::yb::master::GetMasterRegistrationRequestPB();
447
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
448
15.8k
  }
449
15.8k
  ::yb::master::GetMasterRegistrationRequestPB::InitAsDefaultInstance();
450
15.8k
}
451
452
8.86M
void InitDefaultsGetMasterRegistrationRequestPB() {
453
8.86M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
454
8.86M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetMasterRegistrationRequestPBImpl);
455
8.86M
}
456
457
15.8k
void InitDefaultsGetMasterRegistrationResponsePBImpl() {
458
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
459
460
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
461
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
462
#else
463
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
464
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
465
15.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsNodeInstancePB();
466
15.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsServerRegistrationPB();
467
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
468
15.8k
  {
469
15.8k
    void* ptr = &::yb::master::_GetMasterRegistrationResponsePB_default_instance_;
470
15.8k
    new (ptr) ::yb::master::GetMasterRegistrationResponsePB();
471
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
472
15.8k
  }
473
15.8k
  ::yb::master::GetMasterRegistrationResponsePB::InitAsDefaultInstance();
474
15.8k
}
475
476
8.85M
void InitDefaultsGetMasterRegistrationResponsePB() {
477
8.85M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
478
8.85M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetMasterRegistrationResponsePBImpl);
479
8.85M
}
480
481
15.8k
void InitDefaultsIsMasterLeaderReadyRequestPBImpl() {
482
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
483
484
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
485
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
486
#else
487
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
488
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
489
15.8k
  {
490
15.8k
    void* ptr = &::yb::master::_IsMasterLeaderReadyRequestPB_default_instance_;
491
15.8k
    new (ptr) ::yb::master::IsMasterLeaderReadyRequestPB();
492
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
493
15.8k
  }
494
15.8k
  ::yb::master::IsMasterLeaderReadyRequestPB::InitAsDefaultInstance();
495
15.8k
}
496
497
15.8k
void InitDefaultsIsMasterLeaderReadyRequestPB() {
498
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
499
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsMasterLeaderReadyRequestPBImpl);
500
15.8k
}
501
502
15.8k
void InitDefaultsIsMasterLeaderReadyResponsePBImpl() {
503
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
504
505
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
506
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
507
#else
508
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
509
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
510
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
511
15.8k
  {
512
15.8k
    void* ptr = &::yb::master::_IsMasterLeaderReadyResponsePB_default_instance_;
513
15.8k
    new (ptr) ::yb::master::IsMasterLeaderReadyResponsePB();
514
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
515
15.8k
  }
516
15.8k
  ::yb::master::IsMasterLeaderReadyResponsePB::InitAsDefaultInstance();
517
15.8k
}
518
519
15.9k
void InitDefaultsIsMasterLeaderReadyResponsePB() {
520
15.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
521
15.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsMasterLeaderReadyResponsePBImpl);
522
15.9k
}
523
524
15.8k
void InitDefaultsDumpMasterStateRequestPBImpl() {
525
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
526
527
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
528
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
529
#else
530
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
531
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
532
15.8k
  {
533
15.8k
    void* ptr = &::yb::master::_DumpMasterStateRequestPB_default_instance_;
534
15.8k
    new (ptr) ::yb::master::DumpMasterStateRequestPB();
535
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
536
15.8k
  }
537
15.8k
  ::yb::master::DumpMasterStateRequestPB::InitAsDefaultInstance();
538
15.8k
}
539
540
15.8k
void InitDefaultsDumpMasterStateRequestPB() {
541
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
542
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDumpMasterStateRequestPBImpl);
543
15.8k
}
544
545
15.8k
void InitDefaultsDumpMasterStateResponsePBImpl() {
546
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
547
548
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
549
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
550
#else
551
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
552
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
553
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
554
15.8k
  {
555
15.8k
    void* ptr = &::yb::master::_DumpMasterStateResponsePB_default_instance_;
556
15.8k
    new (ptr) ::yb::master::DumpMasterStateResponsePB();
557
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
558
15.8k
  }
559
15.8k
  ::yb::master::DumpMasterStateResponsePB::InitAsDefaultInstance();
560
15.8k
}
561
562
15.8k
void InitDefaultsDumpMasterStateResponsePB() {
563
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
564
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDumpMasterStateResponsePBImpl);
565
15.8k
}
566
567
15.8k
void InitDefaultsChangeLoadBalancerStateRequestPBImpl() {
568
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
569
570
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
571
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
572
#else
573
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
574
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
575
15.8k
  {
576
15.8k
    void* ptr = &::yb::master::_ChangeLoadBalancerStateRequestPB_default_instance_;
577
15.8k
    new (ptr) ::yb::master::ChangeLoadBalancerStateRequestPB();
578
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
579
15.8k
  }
580
15.8k
  ::yb::master::ChangeLoadBalancerStateRequestPB::InitAsDefaultInstance();
581
15.8k
}
582
583
15.8k
void InitDefaultsChangeLoadBalancerStateRequestPB() {
584
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
585
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsChangeLoadBalancerStateRequestPBImpl);
586
15.8k
}
587
588
15.8k
void InitDefaultsChangeLoadBalancerStateResponsePBImpl() {
589
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
590
591
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
592
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
593
#else
594
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
595
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
596
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
597
15.8k
  {
598
15.8k
    void* ptr = &::yb::master::_ChangeLoadBalancerStateResponsePB_default_instance_;
599
15.8k
    new (ptr) ::yb::master::ChangeLoadBalancerStateResponsePB();
600
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
601
15.8k
  }
602
15.8k
  ::yb::master::ChangeLoadBalancerStateResponsePB::InitAsDefaultInstance();
603
15.8k
}
604
605
15.8k
void InitDefaultsChangeLoadBalancerStateResponsePB() {
606
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
607
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsChangeLoadBalancerStateResponsePBImpl);
608
15.8k
}
609
610
15.8k
void InitDefaultsGetLoadBalancerStateRequestPBImpl() {
611
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
612
613
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
614
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
615
#else
616
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
617
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
618
15.8k
  {
619
15.8k
    void* ptr = &::yb::master::_GetLoadBalancerStateRequestPB_default_instance_;
620
15.8k
    new (ptr) ::yb::master::GetLoadBalancerStateRequestPB();
621
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
622
15.8k
  }
623
15.8k
  ::yb::master::GetLoadBalancerStateRequestPB::InitAsDefaultInstance();
624
15.8k
}
625
626
15.8k
void InitDefaultsGetLoadBalancerStateRequestPB() {
627
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
628
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetLoadBalancerStateRequestPBImpl);
629
15.8k
}
630
631
15.8k
void InitDefaultsGetLoadBalancerStateResponsePBImpl() {
632
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
633
634
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
635
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
636
#else
637
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
638
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
639
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
640
15.8k
  {
641
15.8k
    void* ptr = &::yb::master::_GetLoadBalancerStateResponsePB_default_instance_;
642
15.8k
    new (ptr) ::yb::master::GetLoadBalancerStateResponsePB();
643
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
644
15.8k
  }
645
15.8k
  ::yb::master::GetLoadBalancerStateResponsePB::InitAsDefaultInstance();
646
15.8k
}
647
648
15.8k
void InitDefaultsGetLoadBalancerStateResponsePB() {
649
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
650
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetLoadBalancerStateResponsePBImpl);
651
15.8k
}
652
653
15.8k
void InitDefaultsRemovedMasterUpdateRequestPBImpl() {
654
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
655
656
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
657
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
658
#else
659
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
660
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
661
15.8k
  {
662
15.8k
    void* ptr = &::yb::master::_RemovedMasterUpdateRequestPB_default_instance_;
663
15.8k
    new (ptr) ::yb::master::RemovedMasterUpdateRequestPB();
664
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
665
15.8k
  }
666
15.8k
  ::yb::master::RemovedMasterUpdateRequestPB::InitAsDefaultInstance();
667
15.8k
}
668
669
15.9k
void InitDefaultsRemovedMasterUpdateRequestPB() {
670
15.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
671
15.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRemovedMasterUpdateRequestPBImpl);
672
15.9k
}
673
674
15.8k
void InitDefaultsRemovedMasterUpdateResponsePBImpl() {
675
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
676
677
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
678
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
679
#else
680
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
681
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
682
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
683
15.8k
  {
684
15.8k
    void* ptr = &::yb::master::_RemovedMasterUpdateResponsePB_default_instance_;
685
15.8k
    new (ptr) ::yb::master::RemovedMasterUpdateResponsePB();
686
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
687
15.8k
  }
688
15.8k
  ::yb::master::RemovedMasterUpdateResponsePB::InitAsDefaultInstance();
689
15.8k
}
690
691
15.9k
void InitDefaultsRemovedMasterUpdateResponsePB() {
692
15.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
693
15.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRemovedMasterUpdateResponsePBImpl);
694
15.9k
}
695
696
15.8k
void InitDefaultsSetPreferredZonesRequestPBImpl() {
697
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
698
699
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
700
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
701
#else
702
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
703
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
704
15.8k
  protobuf_yb_2fcommon_2fcommon_5fnet_2eproto::InitDefaultsCloudInfoPB();
705
15.8k
  {
706
15.8k
    void* ptr = &::yb::master::_SetPreferredZonesRequestPB_default_instance_;
707
15.8k
    new (ptr) ::yb::master::SetPreferredZonesRequestPB();
708
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
709
15.8k
  }
710
15.8k
  ::yb::master::SetPreferredZonesRequestPB::InitAsDefaultInstance();
711
15.8k
}
712
713
15.8k
void InitDefaultsSetPreferredZonesRequestPB() {
714
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
715
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSetPreferredZonesRequestPBImpl);
716
15.8k
}
717
718
15.8k
void InitDefaultsSetPreferredZonesResponsePBImpl() {
719
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
720
721
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
722
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
723
#else
724
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
725
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
726
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
727
15.8k
  {
728
15.8k
    void* ptr = &::yb::master::_SetPreferredZonesResponsePB_default_instance_;
729
15.8k
    new (ptr) ::yb::master::SetPreferredZonesResponsePB();
730
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
731
15.8k
  }
732
15.8k
  ::yb::master::SetPreferredZonesResponsePB::InitAsDefaultInstance();
733
15.8k
}
734
735
15.8k
void InitDefaultsSetPreferredZonesResponsePB() {
736
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
737
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSetPreferredZonesResponsePBImpl);
738
15.8k
}
739
740
15.8k
void InitDefaultsGetMasterClusterConfigRequestPBImpl() {
741
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
742
743
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
744
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
745
#else
746
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
747
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
748
15.8k
  {
749
15.8k
    void* ptr = &::yb::master::_GetMasterClusterConfigRequestPB_default_instance_;
750
15.8k
    new (ptr) ::yb::master::GetMasterClusterConfigRequestPB();
751
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
752
15.8k
  }
753
15.8k
  ::yb::master::GetMasterClusterConfigRequestPB::InitAsDefaultInstance();
754
15.8k
}
755
756
16.0k
void InitDefaultsGetMasterClusterConfigRequestPB() {
757
16.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
758
16.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetMasterClusterConfigRequestPBImpl);
759
16.0k
}
760
761
15.8k
void InitDefaultsGetMasterClusterConfigResponsePBImpl() {
762
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
763
764
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
765
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
766
#else
767
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
768
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
769
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
770
15.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysClusterConfigEntryPB();
771
15.8k
  {
772
15.8k
    void* ptr = &::yb::master::_GetMasterClusterConfigResponsePB_default_instance_;
773
15.8k
    new (ptr) ::yb::master::GetMasterClusterConfigResponsePB();
774
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
775
15.8k
  }
776
15.8k
  ::yb::master::GetMasterClusterConfigResponsePB::InitAsDefaultInstance();
777
15.8k
}
778
779
16.1k
void InitDefaultsGetMasterClusterConfigResponsePB() {
780
16.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
781
16.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetMasterClusterConfigResponsePBImpl);
782
16.1k
}
783
784
15.8k
void InitDefaultsChangeMasterClusterConfigRequestPBImpl() {
785
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
786
787
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
788
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
789
#else
790
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
791
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
792
15.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysClusterConfigEntryPB();
793
15.8k
  {
794
15.8k
    void* ptr = &::yb::master::_ChangeMasterClusterConfigRequestPB_default_instance_;
795
15.8k
    new (ptr) ::yb::master::ChangeMasterClusterConfigRequestPB();
796
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
797
15.8k
  }
798
15.8k
  ::yb::master::ChangeMasterClusterConfigRequestPB::InitAsDefaultInstance();
799
15.8k
}
800
801
15.9k
void InitDefaultsChangeMasterClusterConfigRequestPB() {
802
15.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
803
15.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsChangeMasterClusterConfigRequestPBImpl);
804
15.9k
}
805
806
15.8k
void InitDefaultsChangeMasterClusterConfigResponsePBImpl() {
807
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
808
809
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
810
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
811
#else
812
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
813
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
814
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
815
15.8k
  {
816
15.8k
    void* ptr = &::yb::master::_ChangeMasterClusterConfigResponsePB_default_instance_;
817
15.8k
    new (ptr) ::yb::master::ChangeMasterClusterConfigResponsePB();
818
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
819
15.8k
  }
820
15.8k
  ::yb::master::ChangeMasterClusterConfigResponsePB::InitAsDefaultInstance();
821
15.8k
}
822
823
16.0k
void InitDefaultsChangeMasterClusterConfigResponsePB() {
824
16.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
825
16.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsChangeMasterClusterConfigResponsePBImpl);
826
16.0k
}
827
828
15.8k
void InitDefaultsGetLoadMovePercentRequestPBImpl() {
829
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
830
831
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
832
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
833
#else
834
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
835
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
836
15.8k
  {
837
15.8k
    void* ptr = &::yb::master::_GetLoadMovePercentRequestPB_default_instance_;
838
15.8k
    new (ptr) ::yb::master::GetLoadMovePercentRequestPB();
839
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
840
15.8k
  }
841
15.8k
  ::yb::master::GetLoadMovePercentRequestPB::InitAsDefaultInstance();
842
15.8k
}
843
844
16.8k
void InitDefaultsGetLoadMovePercentRequestPB() {
845
16.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
846
16.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetLoadMovePercentRequestPBImpl);
847
16.8k
}
848
849
15.8k
void InitDefaultsGetLoadMovePercentResponsePBImpl() {
850
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
851
852
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
853
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
854
#else
855
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
856
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
857
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
858
15.8k
  {
859
15.8k
    void* ptr = &::yb::master::_GetLoadMovePercentResponsePB_default_instance_;
860
15.8k
    new (ptr) ::yb::master::GetLoadMovePercentResponsePB();
861
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
862
15.8k
  }
863
15.8k
  ::yb::master::GetLoadMovePercentResponsePB::InitAsDefaultInstance();
864
15.8k
}
865
866
17.0k
void InitDefaultsGetLoadMovePercentResponsePB() {
867
17.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
868
17.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetLoadMovePercentResponsePBImpl);
869
17.0k
}
870
871
15.8k
void InitDefaultsGetLeaderBlacklistPercentRequestPBImpl() {
872
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
873
874
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
875
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
876
#else
877
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
878
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
879
15.8k
  {
880
15.8k
    void* ptr = &::yb::master::_GetLeaderBlacklistPercentRequestPB_default_instance_;
881
15.8k
    new (ptr) ::yb::master::GetLeaderBlacklistPercentRequestPB();
882
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
883
15.8k
  }
884
15.8k
  ::yb::master::GetLeaderBlacklistPercentRequestPB::InitAsDefaultInstance();
885
15.8k
}
886
887
16.0k
void InitDefaultsGetLeaderBlacklistPercentRequestPB() {
888
16.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
889
16.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetLeaderBlacklistPercentRequestPBImpl);
890
16.0k
}
891
892
15.8k
void InitDefaultsIsLoadBalancedRequestPBImpl() {
893
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
894
895
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
896
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
897
#else
898
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
899
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
900
15.8k
  {
901
15.8k
    void* ptr = &::yb::master::_IsLoadBalancedRequestPB_default_instance_;
902
15.8k
    new (ptr) ::yb::master::IsLoadBalancedRequestPB();
903
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
904
15.8k
  }
905
15.8k
  ::yb::master::IsLoadBalancedRequestPB::InitAsDefaultInstance();
906
15.8k
}
907
908
16.2k
void InitDefaultsIsLoadBalancedRequestPB() {
909
16.2k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
910
16.2k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsLoadBalancedRequestPBImpl);
911
16.2k
}
912
913
15.8k
void InitDefaultsIsLoadBalancedResponsePBImpl() {
914
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
915
916
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
917
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
918
#else
919
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
920
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
921
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
922
15.8k
  {
923
15.8k
    void* ptr = &::yb::master::_IsLoadBalancedResponsePB_default_instance_;
924
15.8k
    new (ptr) ::yb::master::IsLoadBalancedResponsePB();
925
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
926
15.8k
  }
927
15.8k
  ::yb::master::IsLoadBalancedResponsePB::InitAsDefaultInstance();
928
15.8k
}
929
930
16.2k
void InitDefaultsIsLoadBalancedResponsePB() {
931
16.2k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
932
16.2k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsLoadBalancedResponsePBImpl);
933
16.2k
}
934
935
15.8k
void InitDefaultsIsLoadBalancerIdleRequestPBImpl() {
936
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
937
938
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
939
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
940
#else
941
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
942
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
943
15.8k
  {
944
15.8k
    void* ptr = &::yb::master::_IsLoadBalancerIdleRequestPB_default_instance_;
945
15.8k
    new (ptr) ::yb::master::IsLoadBalancerIdleRequestPB();
946
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
947
15.8k
  }
948
15.8k
  ::yb::master::IsLoadBalancerIdleRequestPB::InitAsDefaultInstance();
949
15.8k
}
950
951
20.3k
void InitDefaultsIsLoadBalancerIdleRequestPB() {
952
20.3k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
953
20.3k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsLoadBalancerIdleRequestPBImpl);
954
20.3k
}
955
956
15.8k
void InitDefaultsIsLoadBalancerIdleResponsePBImpl() {
957
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
958
959
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
960
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
961
#else
962
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
963
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
964
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
965
15.8k
  {
966
15.8k
    void* ptr = &::yb::master::_IsLoadBalancerIdleResponsePB_default_instance_;
967
15.8k
    new (ptr) ::yb::master::IsLoadBalancerIdleResponsePB();
968
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
969
15.8k
  }
970
15.8k
  ::yb::master::IsLoadBalancerIdleResponsePB::InitAsDefaultInstance();
971
15.8k
}
972
973
20.3k
void InitDefaultsIsLoadBalancerIdleResponsePB() {
974
20.3k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
975
20.3k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsLoadBalancerIdleResponsePBImpl);
976
20.3k
}
977
978
15.8k
void InitDefaultsAreLeadersOnPreferredOnlyRequestPBImpl() {
979
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
980
981
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
982
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
983
#else
984
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
985
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
986
15.8k
  {
987
15.8k
    void* ptr = &::yb::master::_AreLeadersOnPreferredOnlyRequestPB_default_instance_;
988
15.8k
    new (ptr) ::yb::master::AreLeadersOnPreferredOnlyRequestPB();
989
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
990
15.8k
  }
991
15.8k
  ::yb::master::AreLeadersOnPreferredOnlyRequestPB::InitAsDefaultInstance();
992
15.8k
}
993
994
16.1k
void InitDefaultsAreLeadersOnPreferredOnlyRequestPB() {
995
16.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
996
16.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsAreLeadersOnPreferredOnlyRequestPBImpl);
997
16.1k
}
998
999
15.8k
void InitDefaultsAreLeadersOnPreferredOnlyResponsePBImpl() {
1000
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1001
1002
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1003
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1004
#else
1005
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1006
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1007
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
1008
15.8k
  {
1009
15.8k
    void* ptr = &::yb::master::_AreLeadersOnPreferredOnlyResponsePB_default_instance_;
1010
15.8k
    new (ptr) ::yb::master::AreLeadersOnPreferredOnlyResponsePB();
1011
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1012
15.8k
  }
1013
15.8k
  ::yb::master::AreLeadersOnPreferredOnlyResponsePB::InitAsDefaultInstance();
1014
15.8k
}
1015
1016
16.1k
void InitDefaultsAreLeadersOnPreferredOnlyResponsePB() {
1017
16.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1018
16.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsAreLeadersOnPreferredOnlyResponsePBImpl);
1019
16.1k
}
1020
1021
::google::protobuf::Metadata file_level_metadata[37];
1022
1023
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
1024
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTabletServersRequestPB, _has_bits_),
1025
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTabletServersRequestPB, _internal_metadata_),
1026
  ~0u,  // no _extensions_
1027
  ~0u,  // no _oneof_case_
1028
  ~0u,  // no _weak_field_map_
1029
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTabletServersRequestPB, primary_only_),
1030
  0,
1031
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTabletServersResponsePB_Entry, _has_bits_),
1032
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTabletServersResponsePB_Entry, _internal_metadata_),
1033
  ~0u,  // no _extensions_
1034
  ~0u,  // no _oneof_case_
1035
  ~0u,  // no _weak_field_map_
1036
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTabletServersResponsePB_Entry, instance_id_),
1037
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTabletServersResponsePB_Entry, registration_),
1038
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTabletServersResponsePB_Entry, millis_since_heartbeat_),
1039
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTabletServersResponsePB_Entry, alive_),
1040
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTabletServersResponsePB_Entry, metrics_),
1041
  0,
1042
  1,
1043
  3,
1044
  4,
1045
  2,
1046
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTabletServersResponsePB, _has_bits_),
1047
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTabletServersResponsePB, _internal_metadata_),
1048
  ~0u,  // no _extensions_
1049
  ~0u,  // no _oneof_case_
1050
  ~0u,  // no _weak_field_map_
1051
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTabletServersResponsePB, error_),
1052
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTabletServersResponsePB, servers_),
1053
  0,
1054
  ~0u,
1055
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListLiveTabletServersRequestPB, _has_bits_),
1056
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListLiveTabletServersRequestPB, _internal_metadata_),
1057
  ~0u,  // no _extensions_
1058
  ~0u,  // no _oneof_case_
1059
  ~0u,  // no _weak_field_map_
1060
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListLiveTabletServersRequestPB, primary_only_),
1061
  0,
1062
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListLiveTabletServersResponsePB_Entry, _has_bits_),
1063
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListLiveTabletServersResponsePB_Entry, _internal_metadata_),
1064
  ~0u,  // no _extensions_
1065
  ~0u,  // no _oneof_case_
1066
  ~0u,  // no _weak_field_map_
1067
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListLiveTabletServersResponsePB_Entry, instance_id_),
1068
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListLiveTabletServersResponsePB_Entry, registration_),
1069
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListLiveTabletServersResponsePB_Entry, isfromreadreplica_),
1070
  0,
1071
  1,
1072
  2,
1073
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListLiveTabletServersResponsePB, _has_bits_),
1074
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListLiveTabletServersResponsePB, _internal_metadata_),
1075
  ~0u,  // no _extensions_
1076
  ~0u,  // no _oneof_case_
1077
  ~0u,  // no _weak_field_map_
1078
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListLiveTabletServersResponsePB, error_),
1079
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListLiveTabletServersResponsePB, servers_),
1080
  0,
1081
  ~0u,
1082
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListMastersRequestPB, _has_bits_),
1083
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListMastersRequestPB, _internal_metadata_),
1084
  ~0u,  // no _extensions_
1085
  ~0u,  // no _oneof_case_
1086
  ~0u,  // no _weak_field_map_
1087
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListMastersResponsePB, _has_bits_),
1088
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListMastersResponsePB, _internal_metadata_),
1089
  ~0u,  // no _extensions_
1090
  ~0u,  // no _oneof_case_
1091
  ~0u,  // no _weak_field_map_
1092
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListMastersResponsePB, masters_),
1093
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListMastersResponsePB, error_),
1094
  ~0u,
1095
  0,
1096
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListMasterRaftPeersRequestPB, _has_bits_),
1097
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListMasterRaftPeersRequestPB, _internal_metadata_),
1098
  ~0u,  // no _extensions_
1099
  ~0u,  // no _oneof_case_
1100
  ~0u,  // no _weak_field_map_
1101
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListMasterRaftPeersResponsePB, _has_bits_),
1102
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListMasterRaftPeersResponsePB, _internal_metadata_),
1103
  ~0u,  // no _extensions_
1104
  ~0u,  // no _oneof_case_
1105
  ~0u,  // no _weak_field_map_
1106
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListMasterRaftPeersResponsePB, masters_),
1107
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListMasterRaftPeersResponsePB, error_),
1108
  ~0u,
1109
  0,
1110
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetMasterRegistrationRequestPB, _has_bits_),
1111
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetMasterRegistrationRequestPB, _internal_metadata_),
1112
  ~0u,  // no _extensions_
1113
  ~0u,  // no _oneof_case_
1114
  ~0u,  // no _weak_field_map_
1115
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetMasterRegistrationResponsePB, _has_bits_),
1116
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetMasterRegistrationResponsePB, _internal_metadata_),
1117
  ~0u,  // no _extensions_
1118
  ~0u,  // no _oneof_case_
1119
  ~0u,  // no _weak_field_map_
1120
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetMasterRegistrationResponsePB, instance_id_),
1121
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetMasterRegistrationResponsePB, registration_),
1122
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetMasterRegistrationResponsePB, role_),
1123
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetMasterRegistrationResponsePB, error_),
1124
  0,
1125
  1,
1126
  3,
1127
  2,
1128
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsMasterLeaderReadyRequestPB, _has_bits_),
1129
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsMasterLeaderReadyRequestPB, _internal_metadata_),
1130
  ~0u,  // no _extensions_
1131
  ~0u,  // no _oneof_case_
1132
  ~0u,  // no _weak_field_map_
1133
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsMasterLeaderReadyResponsePB, _has_bits_),
1134
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsMasterLeaderReadyResponsePB, _internal_metadata_),
1135
  ~0u,  // no _extensions_
1136
  ~0u,  // no _oneof_case_
1137
  ~0u,  // no _weak_field_map_
1138
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsMasterLeaderReadyResponsePB, error_),
1139
  0,
1140
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DumpMasterStateRequestPB, _has_bits_),
1141
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DumpMasterStateRequestPB, _internal_metadata_),
1142
  ~0u,  // no _extensions_
1143
  ~0u,  // no _oneof_case_
1144
  ~0u,  // no _weak_field_map_
1145
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DumpMasterStateRequestPB, on_disk_),
1146
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DumpMasterStateRequestPB, peers_also_),
1147
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DumpMasterStateRequestPB, return_dump_as_string_),
1148
  2,
1149
  0,
1150
  1,
1151
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DumpMasterStateResponsePB, _has_bits_),
1152
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DumpMasterStateResponsePB, _internal_metadata_),
1153
  ~0u,  // no _extensions_
1154
  ~0u,  // no _oneof_case_
1155
  ~0u,  // no _weak_field_map_
1156
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DumpMasterStateResponsePB, error_),
1157
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DumpMasterStateResponsePB, dump_),
1158
  1,
1159
  0,
1160
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ChangeLoadBalancerStateRequestPB, _has_bits_),
1161
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ChangeLoadBalancerStateRequestPB, _internal_metadata_),
1162
  ~0u,  // no _extensions_
1163
  ~0u,  // no _oneof_case_
1164
  ~0u,  // no _weak_field_map_
1165
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ChangeLoadBalancerStateRequestPB, is_enabled_),
1166
  0,
1167
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ChangeLoadBalancerStateResponsePB, _has_bits_),
1168
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ChangeLoadBalancerStateResponsePB, _internal_metadata_),
1169
  ~0u,  // no _extensions_
1170
  ~0u,  // no _oneof_case_
1171
  ~0u,  // no _weak_field_map_
1172
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ChangeLoadBalancerStateResponsePB, error_),
1173
  0,
1174
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetLoadBalancerStateRequestPB, _has_bits_),
1175
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetLoadBalancerStateRequestPB, _internal_metadata_),
1176
  ~0u,  // no _extensions_
1177
  ~0u,  // no _oneof_case_
1178
  ~0u,  // no _weak_field_map_
1179
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetLoadBalancerStateResponsePB, _has_bits_),
1180
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetLoadBalancerStateResponsePB, _internal_metadata_),
1181
  ~0u,  // no _extensions_
1182
  ~0u,  // no _oneof_case_
1183
  ~0u,  // no _weak_field_map_
1184
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetLoadBalancerStateResponsePB, error_),
1185
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetLoadBalancerStateResponsePB, is_enabled_),
1186
  0,
1187
  1,
1188
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::RemovedMasterUpdateRequestPB, _has_bits_),
1189
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::RemovedMasterUpdateRequestPB, _internal_metadata_),
1190
  ~0u,  // no _extensions_
1191
  ~0u,  // no _oneof_case_
1192
  ~0u,  // no _weak_field_map_
1193
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::RemovedMasterUpdateResponsePB, _has_bits_),
1194
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::RemovedMasterUpdateResponsePB, _internal_metadata_),
1195
  ~0u,  // no _extensions_
1196
  ~0u,  // no _oneof_case_
1197
  ~0u,  // no _weak_field_map_
1198
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::RemovedMasterUpdateResponsePB, error_),
1199
  0,
1200
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SetPreferredZonesRequestPB, _has_bits_),
1201
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SetPreferredZonesRequestPB, _internal_metadata_),
1202
  ~0u,  // no _extensions_
1203
  ~0u,  // no _oneof_case_
1204
  ~0u,  // no _weak_field_map_
1205
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SetPreferredZonesRequestPB, preferred_zones_),
1206
  ~0u,
1207
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SetPreferredZonesResponsePB, _has_bits_),
1208
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SetPreferredZonesResponsePB, _internal_metadata_),
1209
  ~0u,  // no _extensions_
1210
  ~0u,  // no _oneof_case_
1211
  ~0u,  // no _weak_field_map_
1212
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SetPreferredZonesResponsePB, error_),
1213
  0,
1214
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetMasterClusterConfigRequestPB, _has_bits_),
1215
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetMasterClusterConfigRequestPB, _internal_metadata_),
1216
  ~0u,  // no _extensions_
1217
  ~0u,  // no _oneof_case_
1218
  ~0u,  // no _weak_field_map_
1219
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetMasterClusterConfigResponsePB, _has_bits_),
1220
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetMasterClusterConfigResponsePB, _internal_metadata_),
1221
  ~0u,  // no _extensions_
1222
  ~0u,  // no _oneof_case_
1223
  ~0u,  // no _weak_field_map_
1224
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetMasterClusterConfigResponsePB, error_),
1225
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetMasterClusterConfigResponsePB, cluster_config_),
1226
  0,
1227
  1,
1228
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ChangeMasterClusterConfigRequestPB, _has_bits_),
1229
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ChangeMasterClusterConfigRequestPB, _internal_metadata_),
1230
  ~0u,  // no _extensions_
1231
  ~0u,  // no _oneof_case_
1232
  ~0u,  // no _weak_field_map_
1233
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ChangeMasterClusterConfigRequestPB, cluster_config_),
1234
  0,
1235
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ChangeMasterClusterConfigResponsePB, _has_bits_),
1236
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ChangeMasterClusterConfigResponsePB, _internal_metadata_),
1237
  ~0u,  // no _extensions_
1238
  ~0u,  // no _oneof_case_
1239
  ~0u,  // no _weak_field_map_
1240
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ChangeMasterClusterConfigResponsePB, error_),
1241
  0,
1242
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetLoadMovePercentRequestPB, _has_bits_),
1243
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetLoadMovePercentRequestPB, _internal_metadata_),
1244
  ~0u,  // no _extensions_
1245
  ~0u,  // no _oneof_case_
1246
  ~0u,  // no _weak_field_map_
1247
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetLoadMovePercentResponsePB, _has_bits_),
1248
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetLoadMovePercentResponsePB, _internal_metadata_),
1249
  ~0u,  // no _extensions_
1250
  ~0u,  // no _oneof_case_
1251
  ~0u,  // no _weak_field_map_
1252
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetLoadMovePercentResponsePB, error_),
1253
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetLoadMovePercentResponsePB, percent_),
1254
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetLoadMovePercentResponsePB, remaining_),
1255
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetLoadMovePercentResponsePB, total_),
1256
  0,
1257
  1,
1258
  2,
1259
  3,
1260
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetLeaderBlacklistPercentRequestPB, _has_bits_),
1261
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetLeaderBlacklistPercentRequestPB, _internal_metadata_),
1262
  ~0u,  // no _extensions_
1263
  ~0u,  // no _oneof_case_
1264
  ~0u,  // no _weak_field_map_
1265
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsLoadBalancedRequestPB, _has_bits_),
1266
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsLoadBalancedRequestPB, _internal_metadata_),
1267
  ~0u,  // no _extensions_
1268
  ~0u,  // no _oneof_case_
1269
  ~0u,  // no _weak_field_map_
1270
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsLoadBalancedRequestPB, expected_num_servers_),
1271
  0,
1272
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsLoadBalancedResponsePB, _has_bits_),
1273
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsLoadBalancedResponsePB, _internal_metadata_),
1274
  ~0u,  // no _extensions_
1275
  ~0u,  // no _oneof_case_
1276
  ~0u,  // no _weak_field_map_
1277
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsLoadBalancedResponsePB, error_),
1278
  0,
1279
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsLoadBalancerIdleRequestPB, _has_bits_),
1280
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsLoadBalancerIdleRequestPB, _internal_metadata_),
1281
  ~0u,  // no _extensions_
1282
  ~0u,  // no _oneof_case_
1283
  ~0u,  // no _weak_field_map_
1284
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsLoadBalancerIdleResponsePB, _has_bits_),
1285
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsLoadBalancerIdleResponsePB, _internal_metadata_),
1286
  ~0u,  // no _extensions_
1287
  ~0u,  // no _oneof_case_
1288
  ~0u,  // no _weak_field_map_
1289
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsLoadBalancerIdleResponsePB, error_),
1290
  0,
1291
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AreLeadersOnPreferredOnlyRequestPB, _has_bits_),
1292
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AreLeadersOnPreferredOnlyRequestPB, _internal_metadata_),
1293
  ~0u,  // no _extensions_
1294
  ~0u,  // no _oneof_case_
1295
  ~0u,  // no _weak_field_map_
1296
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AreLeadersOnPreferredOnlyResponsePB, _has_bits_),
1297
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AreLeadersOnPreferredOnlyResponsePB, _internal_metadata_),
1298
  ~0u,  // no _extensions_
1299
  ~0u,  // no _oneof_case_
1300
  ~0u,  // no _weak_field_map_
1301
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AreLeadersOnPreferredOnlyResponsePB, error_),
1302
  0,
1303
};
1304
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
1305
  { 0, 6, sizeof(::yb::master::ListTabletServersRequestPB)},
1306
  { 7, 17, sizeof(::yb::master::ListTabletServersResponsePB_Entry)},
1307
  { 22, 29, sizeof(::yb::master::ListTabletServersResponsePB)},
1308
  { 31, 37, sizeof(::yb::master::ListLiveTabletServersRequestPB)},
1309
  { 38, 46, sizeof(::yb::master::ListLiveTabletServersResponsePB_Entry)},
1310
  { 49, 56, sizeof(::yb::master::ListLiveTabletServersResponsePB)},
1311
  { 58, 63, sizeof(::yb::master::ListMastersRequestPB)},
1312
  { 63, 70, sizeof(::yb::master::ListMastersResponsePB)},
1313
  { 72, 77, sizeof(::yb::master::ListMasterRaftPeersRequestPB)},
1314
  { 77, 84, sizeof(::yb::master::ListMasterRaftPeersResponsePB)},
1315
  { 86, 91, sizeof(::yb::master::GetMasterRegistrationRequestPB)},
1316
  { 91, 100, sizeof(::yb::master::GetMasterRegistrationResponsePB)},
1317
  { 104, 109, sizeof(::yb::master::IsMasterLeaderReadyRequestPB)},
1318
  { 109, 115, sizeof(::yb::master::IsMasterLeaderReadyResponsePB)},
1319
  { 116, 124, sizeof(::yb::master::DumpMasterStateRequestPB)},
1320
  { 127, 134, sizeof(::yb::master::DumpMasterStateResponsePB)},
1321
  { 136, 142, sizeof(::yb::master::ChangeLoadBalancerStateRequestPB)},
1322
  { 143, 149, sizeof(::yb::master::ChangeLoadBalancerStateResponsePB)},
1323
  { 150, 155, sizeof(::yb::master::GetLoadBalancerStateRequestPB)},
1324
  { 155, 162, sizeof(::yb::master::GetLoadBalancerStateResponsePB)},
1325
  { 164, 169, sizeof(::yb::master::RemovedMasterUpdateRequestPB)},
1326
  { 169, 175, sizeof(::yb::master::RemovedMasterUpdateResponsePB)},
1327
  { 176, 182, sizeof(::yb::master::SetPreferredZonesRequestPB)},
1328
  { 183, 189, sizeof(::yb::master::SetPreferredZonesResponsePB)},
1329
  { 190, 195, sizeof(::yb::master::GetMasterClusterConfigRequestPB)},
1330
  { 195, 202, sizeof(::yb::master::GetMasterClusterConfigResponsePB)},
1331
  { 204, 210, sizeof(::yb::master::ChangeMasterClusterConfigRequestPB)},
1332
  { 211, 217, sizeof(::yb::master::ChangeMasterClusterConfigResponsePB)},
1333
  { 218, 223, sizeof(::yb::master::GetLoadMovePercentRequestPB)},
1334
  { 223, 232, sizeof(::yb::master::GetLoadMovePercentResponsePB)},
1335
  { 236, 241, sizeof(::yb::master::GetLeaderBlacklistPercentRequestPB)},
1336
  { 241, 247, sizeof(::yb::master::IsLoadBalancedRequestPB)},
1337
  { 248, 254, sizeof(::yb::master::IsLoadBalancedResponsePB)},
1338
  { 255, 260, sizeof(::yb::master::IsLoadBalancerIdleRequestPB)},
1339
  { 260, 266, sizeof(::yb::master::IsLoadBalancerIdleResponsePB)},
1340
  { 267, 272, sizeof(::yb::master::AreLeadersOnPreferredOnlyRequestPB)},
1341
  { 272, 278, sizeof(::yb::master::AreLeadersOnPreferredOnlyResponsePB)},
1342
};
1343
1344
static ::google::protobuf::Message const * const file_default_instances[] = {
1345
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListTabletServersRequestPB_default_instance_),
1346
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListTabletServersResponsePB_Entry_default_instance_),
1347
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListTabletServersResponsePB_default_instance_),
1348
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListLiveTabletServersRequestPB_default_instance_),
1349
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListLiveTabletServersResponsePB_Entry_default_instance_),
1350
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListLiveTabletServersResponsePB_default_instance_),
1351
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListMastersRequestPB_default_instance_),
1352
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListMastersResponsePB_default_instance_),
1353
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListMasterRaftPeersRequestPB_default_instance_),
1354
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListMasterRaftPeersResponsePB_default_instance_),
1355
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetMasterRegistrationRequestPB_default_instance_),
1356
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetMasterRegistrationResponsePB_default_instance_),
1357
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_IsMasterLeaderReadyRequestPB_default_instance_),
1358
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_IsMasterLeaderReadyResponsePB_default_instance_),
1359
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_DumpMasterStateRequestPB_default_instance_),
1360
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_DumpMasterStateResponsePB_default_instance_),
1361
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ChangeLoadBalancerStateRequestPB_default_instance_),
1362
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ChangeLoadBalancerStateResponsePB_default_instance_),
1363
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetLoadBalancerStateRequestPB_default_instance_),
1364
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetLoadBalancerStateResponsePB_default_instance_),
1365
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_RemovedMasterUpdateRequestPB_default_instance_),
1366
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_RemovedMasterUpdateResponsePB_default_instance_),
1367
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SetPreferredZonesRequestPB_default_instance_),
1368
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SetPreferredZonesResponsePB_default_instance_),
1369
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetMasterClusterConfigRequestPB_default_instance_),
1370
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetMasterClusterConfigResponsePB_default_instance_),
1371
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ChangeMasterClusterConfigRequestPB_default_instance_),
1372
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ChangeMasterClusterConfigResponsePB_default_instance_),
1373
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetLoadMovePercentRequestPB_default_instance_),
1374
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetLoadMovePercentResponsePB_default_instance_),
1375
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetLeaderBlacklistPercentRequestPB_default_instance_),
1376
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_IsLoadBalancedRequestPB_default_instance_),
1377
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_IsLoadBalancedResponsePB_default_instance_),
1378
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_IsLoadBalancerIdleRequestPB_default_instance_),
1379
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_IsLoadBalancerIdleResponsePB_default_instance_),
1380
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_AreLeadersOnPreferredOnlyRequestPB_default_instance_),
1381
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_AreLeadersOnPreferredOnlyResponsePB_default_instance_),
1382
};
1383
1384
5.37k
void protobuf_AssignDescriptors() {
1385
5.37k
  AddDescriptors();
1386
5.37k
  ::google::protobuf::MessageFactory* factory = NULL;
1387
5.37k
  AssignDescriptors(
1388
5.37k
      "yb/master/master_cluster.proto", schemas, file_default_instances, TableStruct::offsets, factory,
1389
5.37k
      file_level_metadata, NULL, NULL);
1390
5.37k
}
1391
1392
4.32M
void protobuf_AssignDescriptorsOnce() {
1393
4.32M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1394
4.32M
  ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
1395
4.32M
}
1396
1397
void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
1398
0
void protobuf_RegisterTypes(const ::std::string&) {
1399
0
  protobuf_AssignDescriptorsOnce();
1400
0
  ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 37);
1401
0
}
1402
1403
15.8k
void AddDescriptorsImpl() {
1404
15.8k
  InitDefaults();
1405
15.8k
  static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
1406
15.8k
      "\n\036yb/master/master_cluster.proto\022\tyb.mas"
1407
15.8k
      "ter\032\032yb/common/common_net.proto\032\034yb/comm"
1408
15.8k
      "on/common_types.proto\032\035yb/common/wire_pr"
1409
15.8k
      "otocol.proto\032\033yb/consensus/metadata.prot"
1410
15.8k
      "o\032#yb/master/catalog_entity_info.proto\032\034"
1411
15.8k
      "yb/master/master_types.proto\032\024yb/rpc/ser"
1412
15.8k
      "vice.proto\"9\n\032ListTabletServersRequestPB"
1413
15.8k
      "\022\033\n\014primary_only\030\001 \001(\010:\005false\"\310\002\n\033ListTa"
1414
15.8k
      "bletServersResponsePB\022\'\n\005error\030\001 \001(\0132\030.y"
1415
15.8k
      "b.master.MasterErrorPB\022=\n\007servers\030\002 \003(\0132"
1416
15.8k
      ",.yb.master.ListTabletServersResponsePB."
1417
15.8k
      "Entry\032\300\001\n\005Entry\022\'\n\013instance_id\030\001 \002(\0132\022.y"
1418
15.8k
      "b.NodeInstancePB\0221\n\014registration\030\002 \001(\0132\033"
1419
15.8k
      ".yb.master.TSRegistrationPB\022\036\n\026millis_si"
1420
15.8k
      "nce_heartbeat\030\003 \001(\005\022\r\n\005alive\030\004 \001(\010\022,\n\007me"
1421
15.8k
      "trics\030\005 \001(\0132\033.yb.master.TServerMetricsPB"
1422
15.8k
      "\"=\n\036ListLiveTabletServersRequestPB\022\033\n\014pr"
1423
15.8k
      "imary_only\030\001 \001(\010:\005false\"\215\002\n\037ListLiveTabl"
1424
15.8k
      "etServersResponsePB\022\'\n\005error\030\001 \001(\0132\030.yb."
1425
15.8k
      "master.MasterErrorPB\022A\n\007servers\030\002 \003(\01320."
1426
15.8k
      "yb.master.ListLiveTabletServersResponseP"
1427
15.8k
      "B.Entry\032~\n\005Entry\022\'\n\013instance_id\030\001 \002(\0132\022."
1428
15.8k
      "yb.NodeInstancePB\0221\n\014registration\030\002 \001(\0132"
1429
15.8k
      "\033.yb.master.TSRegistrationPB\022\031\n\021isFromRe"
1430
15.8k
      "adReplica\030\003 \001(\010\"\026\n\024ListMastersRequestPB\""
1431
15.8k
      "d\n\025ListMastersResponsePB\022\"\n\007masters\030\001 \003("
1432
15.8k
      "\0132\021.yb.ServerEntryPB\022\'\n\005error\030\002 \001(\0132\030.yb"
1433
15.8k
      ".master.MasterErrorPB\"\036\n\034ListMasterRaftP"
1434
15.8k
      "eersRequestPB\"s\n\035ListMasterRaftPeersResp"
1435
15.8k
      "onsePB\022)\n\007masters\030\001 \003(\0132\030.yb.consensus.R"
1436
15.8k
      "aftPeerPB\022\'\n\005error\030\002 \001(\0132\030.yb.master.Mas"
1437
15.8k
      "terErrorPB\" \n\036GetMasterRegistrationReque"
1438
15.8k
      "stPB\"\277\001\n\037GetMasterRegistrationResponsePB"
1439
15.8k
      "\022\'\n\013instance_id\030\001 \002(\0132\022.yb.NodeInstanceP"
1440
15.8k
      "B\022.\n\014registration\030\002 \001(\0132\030.yb.ServerRegis"
1441
15.8k
      "trationPB\022\032\n\004role\030\003 \001(\0162\014.yb.PeerRole\022\'\n"
1442
15.8k
      "\005error\030\004 \001(\0132\030.yb.master.MasterErrorPB\"\036"
1443
15.8k
      "\n\034IsMasterLeaderReadyRequestPB\"H\n\035IsMast"
1444
15.8k
      "erLeaderReadyResponsePB\022\'\n\005error\030\001 \001(\0132\030"
1445
15.8k
      ".yb.master.MasterErrorPB\"r\n\030DumpMasterSt"
1446
15.8k
      "ateRequestPB\022\025\n\007on_disk\030\001 \001(\010:\004true\022\031\n\np"
1447
15.8k
      "eers_also\030\002 \001(\010:\005false\022$\n\025return_dump_as"
1448
15.8k
      "_string\030\003 \001(\010:\005false\"R\n\031DumpMasterStateR"
1449
15.8k
      "esponsePB\022\'\n\005error\030\001 \001(\0132\030.yb.master.Mas"
1450
15.8k
      "terErrorPB\022\014\n\004dump\030\002 \001(\t\"6\n ChangeLoadBa"
1451
15.8k
      "lancerStateRequestPB\022\022\n\nis_enabled\030\001 \001(\010"
1452
15.8k
      "\"L\n!ChangeLoadBalancerStateResponsePB\022\'\n"
1453
15.8k
      "\005error\030\001 \001(\0132\030.yb.master.MasterErrorPB\"\037"
1454
15.8k
      "\n\035GetLoadBalancerStateRequestPB\"]\n\036GetLo"
1455
15.8k
      "adBalancerStateResponsePB\022\'\n\005error\030\001 \001(\013"
1456
15.8k
      "2\030.yb.master.MasterErrorPB\022\022\n\nis_enabled"
1457
15.8k
      "\030\002 \001(\010\"\036\n\034RemovedMasterUpdateRequestPB\"H"
1458
15.8k
      "\n\035RemovedMasterUpdateResponsePB\022\'\n\005error"
1459
15.8k
      "\030\001 \001(\0132\030.yb.master.MasterErrorPB\"F\n\032SetP"
1460
15.8k
      "referredZonesRequestPB\022(\n\017preferred_zone"
1461
15.8k
      "s\030\001 \003(\0132\017.yb.CloudInfoPB\"F\n\033SetPreferred"
1462
15.8k
      "ZonesResponsePB\022\'\n\005error\030\001 \001(\0132\030.yb.mast"
1463
15.8k
      "er.MasterErrorPB\"!\n\037GetMasterClusterConf"
1464
15.8k
      "igRequestPB\"\207\001\n GetMasterClusterConfigRe"
1465
15.8k
      "sponsePB\022\'\n\005error\030\001 \001(\0132\030.yb.master.Mast"
1466
15.8k
      "erErrorPB\022:\n\016cluster_config\030\002 \001(\0132\".yb.m"
1467
15.8k
      "aster.SysClusterConfigEntryPB\"`\n\"ChangeM"
1468
15.8k
      "asterClusterConfigRequestPB\022:\n\016cluster_c"
1469
15.8k
      "onfig\030\001 \001(\0132\".yb.master.SysClusterConfig"
1470
15.8k
      "EntryPB\"N\n#ChangeMasterClusterConfigResp"
1471
15.8k
      "onsePB\022\'\n\005error\030\001 \001(\0132\030.yb.master.Master"
1472
15.8k
      "ErrorPB\"\035\n\033GetLoadMovePercentRequestPB\"z"
1473
15.8k
      "\n\034GetLoadMovePercentResponsePB\022\'\n\005error\030"
1474
15.8k
      "\001 \001(\0132\030.yb.master.MasterErrorPB\022\017\n\007perce"
1475
15.8k
      "nt\030\002 \001(\001\022\021\n\tremaining\030\003 \001(\004\022\r\n\005total\030\004 \001"
1476
15.8k
      "(\004\"$\n\"GetLeaderBlacklistPercentRequestPB"
1477
15.8k
      "\"7\n\027IsLoadBalancedRequestPB\022\034\n\024expected_"
1478
15.8k
      "num_servers\030\001 \001(\005\"C\n\030IsLoadBalancedRespo"
1479
15.8k
      "nsePB\022\'\n\005error\030\001 \001(\0132\030.yb.master.MasterE"
1480
15.8k
      "rrorPB\"\035\n\033IsLoadBalancerIdleRequestPB\"G\n"
1481
15.8k
      "\034IsLoadBalancerIdleResponsePB\022\'\n\005error\030\001"
1482
15.8k
      " \001(\0132\030.yb.master.MasterErrorPB\"$\n\"AreLea"
1483
15.8k
      "dersOnPreferredOnlyRequestPB\"N\n#AreLeade"
1484
15.8k
      "rsOnPreferredOnlyResponsePB\022\'\n\005error\030\001 \001"
1485
15.8k
      "(\0132\030.yb.master.MasterErrorPB2\265\017\n\rMasterC"
1486
15.8k
      "luster\022b\n\021ListTabletServers\022%.yb.master."
1487
15.8k
      "ListTabletServersRequestPB\032&.yb.master.L"
1488
15.8k
      "istTabletServersResponsePB\022n\n\025ListLiveTa"
1489
15.8k
      "bletServers\022).yb.master.ListLiveTabletSe"
1490
15.8k
      "rversRequestPB\032*.yb.master.ListLiveTable"
1491
15.8k
      "tServersResponsePB\022P\n\013ListMasters\022\037.yb.m"
1492
15.8k
      "aster.ListMastersRequestPB\032 .yb.master.L"
1493
15.8k
      "istMastersResponsePB\022h\n\023ListMasterRaftPe"
1494
15.8k
      "ers\022\'.yb.master.ListMasterRaftPeersReque"
1495
15.8k
      "stPB\032(.yb.master.ListMasterRaftPeersResp"
1496
15.8k
      "onsePB\022n\n\025GetMasterRegistration\022).yb.mas"
1497
15.8k
      "ter.GetMasterRegistrationRequestPB\032*.yb."
1498
15.8k
      "master.GetMasterRegistrationResponsePB\022o"
1499
15.8k
      "\n\032IsMasterLeaderServiceReady\022\'.yb.master"
1500
15.8k
      ".IsMasterLeaderReadyRequestPB\032(.yb.maste"
1501
15.8k
      "r.IsMasterLeaderReadyResponsePB\022V\n\tDumpS"
1502
15.8k
      "tate\022#.yb.master.DumpMasterStateRequestP"
1503
15.8k
      "B\032$.yb.master.DumpMasterStateResponsePB\022"
1504
15.8k
      "t\n\027ChangeLoadBalancerState\022+.yb.master.C"
1505
15.8k
      "hangeLoadBalancerStateRequestPB\032,.yb.mas"
1506
15.8k
      "ter.ChangeLoadBalancerStateResponsePB\022k\n"
1507
15.8k
      "\024GetLoadBalancerState\022(.yb.master.GetLoa"
1508
15.8k
      "dBalancerStateRequestPB\032).yb.master.GetL"
1509
15.8k
      "oadBalancerStateResponsePB\022h\n\023RemovedMas"
1510
15.8k
      "terUpdate\022\'.yb.master.RemovedMasterUpdat"
1511
15.8k
      "eRequestPB\032(.yb.master.RemovedMasterUpda"
1512
15.8k
      "teResponsePB\022b\n\021SetPreferredZones\022%.yb.m"
1513
15.8k
      "aster.SetPreferredZonesRequestPB\032&.yb.ma"
1514
15.8k
      "ster.SetPreferredZonesResponsePB\022q\n\026GetM"
1515
15.8k
      "asterClusterConfig\022*.yb.master.GetMaster"
1516
15.8k
      "ClusterConfigRequestPB\032+.yb.master.GetMa"
1517
15.8k
      "sterClusterConfigResponsePB\022z\n\031ChangeMas"
1518
15.8k
      "terClusterConfig\022-.yb.master.ChangeMaste"
1519
15.8k
      "rClusterConfigRequestPB\032..yb.master.Chan"
1520
15.8k
      "geMasterClusterConfigResponsePB\022h\n\025GetLo"
1521
15.8k
      "adMoveCompletion\022&.yb.master.GetLoadMove"
1522
15.8k
      "PercentRequestPB\032\'.yb.master.GetLoadMove"
1523
15.8k
      "PercentResponsePB\022v\n\034GetLeaderBlacklistC"
1524
15.8k
      "ompletion\022-.yb.master.GetLeaderBlacklist"
1525
15.8k
      "PercentRequestPB\032\'.yb.master.GetLoadMove"
1526
15.8k
      "PercentResponsePB\022Y\n\016IsLoadBalanced\022\".yb"
1527
15.8k
      ".master.IsLoadBalancedRequestPB\032#.yb.mas"
1528
15.8k
      "ter.IsLoadBalancedResponsePB\022e\n\022IsLoadBa"
1529
15.8k
      "lancerIdle\022&.yb.master.IsLoadBalancerIdl"
1530
15.8k
      "eRequestPB\032\'.yb.master.IsLoadBalancerIdl"
1531
15.8k
      "eResponsePB\022z\n\031AreLeadersOnPreferredOnly"
1532
15.8k
      "\022-.yb.master.AreLeadersOnPreferredOnlyRe"
1533
15.8k
      "questPB\032..yb.master.AreLeadersOnPreferre"
1534
15.8k
      "dOnlyResponsePB\032\033\332\265\030\027yb.master.MasterSer"
1535
15.8k
      "viceB\017\n\rorg.yb.master"
1536
15.8k
  };
1537
15.8k
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
1538
15.8k
      descriptor, 5181);
1539
15.8k
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
1540
15.8k
    "yb/master/master_cluster.proto", &protobuf_RegisterTypes);
1541
15.8k
  ::protobuf_yb_2fcommon_2fcommon_5fnet_2eproto::AddDescriptors();
1542
15.8k
  ::protobuf_yb_2fcommon_2fcommon_5ftypes_2eproto::AddDescriptors();
1543
15.8k
  ::protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::AddDescriptors();
1544
15.8k
  ::protobuf_yb_2fconsensus_2fmetadata_2eproto::AddDescriptors();
1545
15.8k
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::AddDescriptors();
1546
15.8k
  ::protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::AddDescriptors();
1547
15.8k
  ::protobuf_yb_2frpc_2fservice_2eproto::AddDescriptors();
1548
15.8k
}
1549
1550
21.2k
void AddDescriptors() {
1551
21.2k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1552
21.2k
  ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
1553
21.2k
}
1554
// Force AddDescriptors() to be called at dynamic initialization time.
1555
struct StaticDescriptorInitializer {
1556
15.8k
  StaticDescriptorInitializer() {
1557
15.8k
    AddDescriptors();
1558
15.8k
  }
1559
} static_descriptor_initializer;
1560
}  // namespace protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto
1561
namespace yb {
1562
namespace master {
1563
1564
// ===================================================================
1565
1566
15.8k
void ListTabletServersRequestPB::InitAsDefaultInstance() {
1567
15.8k
}
1568
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1569
const int ListTabletServersRequestPB::kPrimaryOnlyFieldNumber;
1570
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1571
1572
ListTabletServersRequestPB::ListTabletServersRequestPB()
1573
80.5k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
1574
64.7k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
1575
64.7k
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListTabletServersRequestPB();
1576
64.7k
  }
1577
80.5k
  SharedCtor();
1578
  // @@protoc_insertion_point(constructor:yb.master.ListTabletServersRequestPB)
1579
80.5k
}
1580
ListTabletServersRequestPB::ListTabletServersRequestPB(const ListTabletServersRequestPB& from)
1581
  : ::google::protobuf::Message(),
1582
      _internal_metadata_(NULL),
1583
      _has_bits_(from._has_bits_),
1584
0
      _cached_size_(0) {
1585
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1586
0
  primary_only_ = from.primary_only_;
1587
  // @@protoc_insertion_point(copy_constructor:yb.master.ListTabletServersRequestPB)
1588
0
}
1589
1590
80.5k
void ListTabletServersRequestPB::SharedCtor() {
1591
80.5k
  _cached_size_ = 0;
1592
80.5k
  primary_only_ = false;
1593
80.5k
}
1594
1595
64.7k
ListTabletServersRequestPB::~ListTabletServersRequestPB() {
1596
  // @@protoc_insertion_point(destructor:yb.master.ListTabletServersRequestPB)
1597
64.7k
  SharedDtor();
1598
64.7k
}
1599
1600
64.7k
void ListTabletServersRequestPB::SharedDtor() {
1601
64.7k
}
1602
1603
0
void ListTabletServersRequestPB::SetCachedSize(int size) const {
1604
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1605
0
  _cached_size_ = size;
1606
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1607
0
}
1608
0
const ::google::protobuf::Descriptor* ListTabletServersRequestPB::descriptor() {
1609
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
1610
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
1611
0
}
1612
1613
0
const ListTabletServersRequestPB& ListTabletServersRequestPB::default_instance() {
1614
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListTabletServersRequestPB();
1615
0
  return *internal_default_instance();
1616
0
}
1617
1618
0
ListTabletServersRequestPB* ListTabletServersRequestPB::New(::google::protobuf::Arena* arena) const {
1619
0
  ListTabletServersRequestPB* n = new ListTabletServersRequestPB;
1620
0
  if (arena != NULL) {
1621
0
    arena->Own(n);
1622
0
  }
1623
0
  return n;
1624
0
}
1625
1626
20.1k
void ListTabletServersRequestPB::Clear() {
1627
// @@protoc_insertion_point(message_clear_start:yb.master.ListTabletServersRequestPB)
1628
20.1k
  ::google::protobuf::uint32 cached_has_bits = 0;
1629
  // Prevent compiler warnings about cached_has_bits being unused
1630
20.1k
  (void) cached_has_bits;
1631
1632
20.1k
  primary_only_ = false;
1633
20.1k
  _has_bits_.Clear();
1634
20.1k
  _internal_metadata_.Clear();
1635
20.1k
}
1636
1637
bool ListTabletServersRequestPB::MergePartialFromCodedStream(
1638
20.1k
    ::google::protobuf::io::CodedInputStream* input) {
1639
2.95k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
1640
20.1k
  ::google::protobuf::uint32 tag;
1641
  // @@protoc_insertion_point(parse_start:yb.master.ListTabletServersRequestPB)
1642
23.0k
  for (;;) {
1643
23.0k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1644
23.0k
    tag = p.first;
1645
23.0k
    if (!p.second) goto handle_unusual;
1646
2.95k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1647
      // optional bool primary_only = 1 [default = false];
1648
2.95k
      case 1: {
1649
2.95k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1650
2.95k
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
1651
2.95k
          set_has_primary_only();
1652
2.95k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1653
2.95k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
1654
2.95k
                 input, &primary_only_)));
1655
0
        } else {
1656
0
          goto handle_unusual;
1657
0
        }
1658
2.95k
        break;
1659
20.1k
      }
1660
1661
0
      default: {
1662
20.1k
      handle_unusual:
1663
20.1k
        if (tag == 0) {
1664
20.1k
          goto success;
1665
20.1k
        }
1666
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
1667
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
1668
0
        break;
1669
0
      }
1670
2.95k
    }
1671
2.95k
  }
1672
20.1k
success:
1673
  // @@protoc_insertion_point(parse_success:yb.master.ListTabletServersRequestPB)
1674
20.1k
  return true;
1675
0
failure:
1676
  // @@protoc_insertion_point(parse_failure:yb.master.ListTabletServersRequestPB)
1677
0
  return false;
1678
20.1k
#undef DO_
1679
20.1k
}
1680
1681
void ListTabletServersRequestPB::SerializeWithCachedSizes(
1682
0
    ::google::protobuf::io::CodedOutputStream* output) const {
1683
  // @@protoc_insertion_point(serialize_start:yb.master.ListTabletServersRequestPB)
1684
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1685
0
  (void) cached_has_bits;
1686
1687
0
  cached_has_bits = _has_bits_[0];
1688
  // optional bool primary_only = 1 [default = false];
1689
0
  if (cached_has_bits & 0x00000001u) {
1690
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->primary_only(), output);
1691
0
  }
1692
1693
0
  if (_internal_metadata_.have_unknown_fields()) {
1694
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1695
0
        _internal_metadata_.unknown_fields(), output);
1696
0
  }
1697
  // @@protoc_insertion_point(serialize_end:yb.master.ListTabletServersRequestPB)
1698
0
}
1699
1700
::google::protobuf::uint8* ListTabletServersRequestPB::InternalSerializeWithCachedSizesToArray(
1701
44.7k
    bool deterministic, ::google::protobuf::uint8* target) const {
1702
44.7k
  (void)deterministic; // Unused
1703
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListTabletServersRequestPB)
1704
44.7k
  ::google::protobuf::uint32 cached_has_bits = 0;
1705
44.7k
  (void) cached_has_bits;
1706
1707
44.7k
  cached_has_bits = _has_bits_[0];
1708
  // optional bool primary_only = 1 [default = false];
1709
44.7k
  if (cached_has_bits & 0x00000001u) {
1710
2.95k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->primary_only(), target);
1711
2.95k
  }
1712
1713
44.7k
  if (_internal_metadata_.have_unknown_fields()) {
1714
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1715
0
        _internal_metadata_.unknown_fields(), target);
1716
0
  }
1717
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListTabletServersRequestPB)
1718
44.7k
  return target;
1719
44.7k
}
1720
1721
89.4k
size_t ListTabletServersRequestPB::ByteSizeLong() const {
1722
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListTabletServersRequestPB)
1723
89.4k
  size_t total_size = 0;
1724
1725
89.4k
  if (_internal_metadata_.have_unknown_fields()) {
1726
0
    total_size +=
1727
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1728
0
        _internal_metadata_.unknown_fields());
1729
0
  }
1730
  // optional bool primary_only = 1 [default = false];
1731
89.4k
  if (has_primary_only()) {
1732
5.90k
    total_size += 1 + 1;
1733
5.90k
  }
1734
1735
89.4k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1736
89.4k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1737
89.4k
  _cached_size_ = cached_size;
1738
89.4k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1739
89.4k
  return total_size;
1740
89.4k
}
1741
1742
0
void ListTabletServersRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
1743
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListTabletServersRequestPB)
1744
0
  GOOGLE_DCHECK_NE(&from, this);
1745
0
  const ListTabletServersRequestPB* source =
1746
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListTabletServersRequestPB>(
1747
0
          &from);
1748
0
  if (source == NULL) {
1749
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListTabletServersRequestPB)
1750
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1751
0
  } else {
1752
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListTabletServersRequestPB)
1753
0
    MergeFrom(*source);
1754
0
  }
1755
0
}
1756
1757
0
void ListTabletServersRequestPB::MergeFrom(const ListTabletServersRequestPB& from) {
1758
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListTabletServersRequestPB)
1759
0
  GOOGLE_DCHECK_NE(&from, this);
1760
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1761
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1762
0
  (void) cached_has_bits;
1763
1764
0
  if (from.has_primary_only()) {
1765
0
    set_primary_only(from.primary_only());
1766
0
  }
1767
0
}
1768
1769
0
void ListTabletServersRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
1770
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListTabletServersRequestPB)
1771
0
  if (&from == this) return;
1772
0
  Clear();
1773
0
  MergeFrom(from);
1774
0
}
1775
1776
0
void ListTabletServersRequestPB::CopyFrom(const ListTabletServersRequestPB& from) {
1777
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListTabletServersRequestPB)
1778
0
  if (&from == this) return;
1779
0
  Clear();
1780
0
  MergeFrom(from);
1781
0
}
1782
1783
64.8k
bool ListTabletServersRequestPB::IsInitialized() const {
1784
64.8k
  return true;
1785
64.8k
}
1786
1787
0
void ListTabletServersRequestPB::Swap(ListTabletServersRequestPB* other) {
1788
0
  if (other == this) return;
1789
0
  InternalSwap(other);
1790
0
}
1791
0
void ListTabletServersRequestPB::InternalSwap(ListTabletServersRequestPB* other) {
1792
0
  using std::swap;
1793
0
  swap(primary_only_, other->primary_only_);
1794
0
  swap(_has_bits_[0], other->_has_bits_[0]);
1795
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
1796
0
  swap(_cached_size_, other->_cached_size_);
1797
0
}
1798
1799
20.1k
::google::protobuf::Metadata ListTabletServersRequestPB::GetMetadata() const {
1800
20.1k
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
1801
20.1k
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
1802
20.1k
}
1803
1804
1805
// ===================================================================
1806
1807
15.8k
void ListTabletServersResponsePB_Entry::InitAsDefaultInstance() {
1808
15.8k
  ::yb::master::_ListTabletServersResponsePB_Entry_default_instance_._instance.get_mutable()->instance_id_ = const_cast< ::yb::NodeInstancePB*>(
1809
15.8k
      ::yb::NodeInstancePB::internal_default_instance());
1810
15.8k
  ::yb::master::_ListTabletServersResponsePB_Entry_default_instance_._instance.get_mutable()->registration_ = const_cast< ::yb::master::TSRegistrationPB*>(
1811
15.8k
      ::yb::master::TSRegistrationPB::internal_default_instance());
1812
15.8k
  ::yb::master::_ListTabletServersResponsePB_Entry_default_instance_._instance.get_mutable()->metrics_ = const_cast< ::yb::master::TServerMetricsPB*>(
1813
15.8k
      ::yb::master::TServerMetricsPB::internal_default_instance());
1814
15.8k
}
1815
0
void ListTabletServersResponsePB_Entry::clear_instance_id() {
1816
0
  if (instance_id_ != NULL) instance_id_->Clear();
1817
0
  clear_has_instance_id();
1818
0
}
1819
0
void ListTabletServersResponsePB_Entry::clear_registration() {
1820
0
  if (registration_ != NULL) registration_->Clear();
1821
0
  clear_has_registration();
1822
0
}
1823
0
void ListTabletServersResponsePB_Entry::clear_metrics() {
1824
0
  if (metrics_ != NULL) metrics_->Clear();
1825
0
  clear_has_metrics();
1826
0
}
1827
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1828
const int ListTabletServersResponsePB_Entry::kInstanceIdFieldNumber;
1829
const int ListTabletServersResponsePB_Entry::kRegistrationFieldNumber;
1830
const int ListTabletServersResponsePB_Entry::kMillisSinceHeartbeatFieldNumber;
1831
const int ListTabletServersResponsePB_Entry::kAliveFieldNumber;
1832
const int ListTabletServersResponsePB_Entry::kMetricsFieldNumber;
1833
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1834
1835
ListTabletServersResponsePB_Entry::ListTabletServersResponsePB_Entry()
1836
51.4k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
1837
35.5k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
1838
35.5k
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListTabletServersResponsePB_Entry();
1839
35.5k
  }
1840
51.4k
  SharedCtor();
1841
  // @@protoc_insertion_point(constructor:yb.master.ListTabletServersResponsePB.Entry)
1842
51.4k
}
1843
ListTabletServersResponsePB_Entry::ListTabletServersResponsePB_Entry(const ListTabletServersResponsePB_Entry& from)
1844
  : ::google::protobuf::Message(),
1845
      _internal_metadata_(NULL),
1846
      _has_bits_(from._has_bits_),
1847
0
      _cached_size_(0) {
1848
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1849
0
  if (from.has_instance_id()) {
1850
0
    instance_id_ = new ::yb::NodeInstancePB(*from.instance_id_);
1851
0
  } else {
1852
0
    instance_id_ = NULL;
1853
0
  }
1854
0
  if (from.has_registration()) {
1855
0
    registration_ = new ::yb::master::TSRegistrationPB(*from.registration_);
1856
0
  } else {
1857
0
    registration_ = NULL;
1858
0
  }
1859
0
  if (from.has_metrics()) {
1860
0
    metrics_ = new ::yb::master::TServerMetricsPB(*from.metrics_);
1861
0
  } else {
1862
0
    metrics_ = NULL;
1863
0
  }
1864
0
  ::memcpy(&millis_since_heartbeat_, &from.millis_since_heartbeat_,
1865
0
    static_cast<size_t>(reinterpret_cast<char*>(&alive_) -
1866
0
    reinterpret_cast<char*>(&millis_since_heartbeat_)) + sizeof(alive_));
1867
  // @@protoc_insertion_point(copy_constructor:yb.master.ListTabletServersResponsePB.Entry)
1868
0
}
1869
1870
51.4k
void ListTabletServersResponsePB_Entry::SharedCtor() {
1871
51.4k
  _cached_size_ = 0;
1872
51.4k
  ::memset(&instance_id_, 0, static_cast<size_t>(
1873
51.4k
      reinterpret_cast<char*>(&alive_) -
1874
51.4k
      reinterpret_cast<char*>(&instance_id_)) + sizeof(alive_));
1875
51.4k
}
1876
1877
35.5k
ListTabletServersResponsePB_Entry::~ListTabletServersResponsePB_Entry() {
1878
  // @@protoc_insertion_point(destructor:yb.master.ListTabletServersResponsePB.Entry)
1879
35.5k
  SharedDtor();
1880
35.5k
}
1881
1882
35.5k
void ListTabletServersResponsePB_Entry::SharedDtor() {
1883
35.5k
  if (this != internal_default_instance()) delete instance_id_;
1884
35.5k
  if (this != internal_default_instance()) delete registration_;
1885
35.5k
  if (this != internal_default_instance()) delete metrics_;
1886
35.5k
}
1887
1888
0
void ListTabletServersResponsePB_Entry::SetCachedSize(int size) const {
1889
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1890
0
  _cached_size_ = size;
1891
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1892
0
}
1893
0
const ::google::protobuf::Descriptor* ListTabletServersResponsePB_Entry::descriptor() {
1894
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
1895
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
1896
0
}
1897
1898
0
const ListTabletServersResponsePB_Entry& ListTabletServersResponsePB_Entry::default_instance() {
1899
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListTabletServersResponsePB_Entry();
1900
0
  return *internal_default_instance();
1901
0
}
1902
1903
0
ListTabletServersResponsePB_Entry* ListTabletServersResponsePB_Entry::New(::google::protobuf::Arena* arena) const {
1904
0
  ListTabletServersResponsePB_Entry* n = new ListTabletServersResponsePB_Entry;
1905
0
  if (arena != NULL) {
1906
0
    arena->Own(n);
1907
0
  }
1908
0
  return n;
1909
0
}
1910
1911
255
void ListTabletServersResponsePB_Entry::Clear() {
1912
// @@protoc_insertion_point(message_clear_start:yb.master.ListTabletServersResponsePB.Entry)
1913
255
  ::google::protobuf::uint32 cached_has_bits = 0;
1914
  // Prevent compiler warnings about cached_has_bits being unused
1915
255
  (void) cached_has_bits;
1916
1917
255
  cached_has_bits = _has_bits_[0];
1918
255
  if (cached_has_bits & 7u) {
1919
255
    if (cached_has_bits & 0x00000001u) {
1920
255
      GOOGLE_DCHECK(instance_id_ != NULL);
1921
255
      instance_id_->Clear();
1922
255
    }
1923
255
    if (cached_has_bits & 0x00000002u) {
1924
255
      GOOGLE_DCHECK(registration_ != NULL);
1925
255
      registration_->Clear();
1926
255
    }
1927
255
    if (cached_has_bits & 0x00000004u) {
1928
255
      GOOGLE_DCHECK(metrics_ != NULL);
1929
255
      metrics_->Clear();
1930
255
    }
1931
255
  }
1932
255
  if (cached_has_bits & 24u) {
1933
255
    ::memset(&millis_since_heartbeat_, 0, static_cast<size_t>(
1934
255
        reinterpret_cast<char*>(&alive_) -
1935
255
        reinterpret_cast<char*>(&millis_since_heartbeat_)) + sizeof(alive_));
1936
255
  }
1937
255
  _has_bits_.Clear();
1938
255
  _internal_metadata_.Clear();
1939
255
}
1940
1941
bool ListTabletServersResponsePB_Entry::MergePartialFromCodedStream(
1942
15.4k
    ::google::protobuf::io::CodedInputStream* input) {
1943
77.1k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
1944
15.4k
  ::google::protobuf::uint32 tag;
1945
  // @@protoc_insertion_point(parse_start:yb.master.ListTabletServersResponsePB.Entry)
1946
92.5k
  for (;;) {
1947
92.5k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1948
92.5k
    tag = p.first;
1949
92.5k
    if (!p.second) goto handle_unusual;
1950
77.1k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1951
      // required .yb.NodeInstancePB instance_id = 1;
1952
15.4k
      case 1: {
1953
15.4k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1954
15.4k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
1955
15.4k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
1956
15.4k
               input, mutable_instance_id()));
1957
0
        } else {
1958
0
          goto handle_unusual;
1959
0
        }
1960
15.4k
        break;
1961
15.4k
      }
1962
1963
      // optional .yb.master.TSRegistrationPB registration = 2;
1964
15.4k
      case 2: {
1965
15.4k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1966
15.4k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
1967
15.4k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
1968
15.4k
               input, mutable_registration()));
1969
0
        } else {
1970
0
          goto handle_unusual;
1971
0
        }
1972
15.4k
        break;
1973
15.4k
      }
1974
1975
      // optional int32 millis_since_heartbeat = 3;
1976
15.4k
      case 3: {
1977
15.4k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1978
15.4k
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
1979
15.4k
          set_has_millis_since_heartbeat();
1980
15.4k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1981
15.4k
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
1982
15.4k
                 input, &millis_since_heartbeat_)));
1983
0
        } else {
1984
0
          goto handle_unusual;
1985
0
        }
1986
15.4k
        break;
1987
15.4k
      }
1988
1989
      // optional bool alive = 4;
1990
15.4k
      case 4: {
1991
15.4k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1992
15.4k
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
1993
15.4k
          set_has_alive();
1994
15.4k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1995
15.4k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
1996
15.4k
                 input, &alive_)));
1997
0
        } else {
1998
0
          goto handle_unusual;
1999
0
        }
2000
15.4k
        break;
2001
15.4k
      }
2002
2003
      // optional .yb.master.TServerMetricsPB metrics = 5;
2004
15.4k
      case 5: {
2005
15.4k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2006
15.4k
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
2007
15.4k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
2008
15.4k
               input, mutable_metrics()));
2009
0
        } else {
2010
0
          goto handle_unusual;
2011
0
        }
2012
15.4k
        break;
2013
15.4k
      }
2014
2015
0
      default: {
2016
15.4k
      handle_unusual:
2017
15.4k
        if (tag == 0) {
2018
15.4k
          goto success;
2019
15.4k
        }
2020
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
2021
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
2022
0
        break;
2023
0
      }
2024
77.1k
    }
2025
77.1k
  }
2026
15.4k
success:
2027
  // @@protoc_insertion_point(parse_success:yb.master.ListTabletServersResponsePB.Entry)
2028
15.4k
  return true;
2029
0
failure:
2030
  // @@protoc_insertion_point(parse_failure:yb.master.ListTabletServersResponsePB.Entry)
2031
0
  return false;
2032
15.4k
#undef DO_
2033
15.4k
}
2034
2035
void ListTabletServersResponsePB_Entry::SerializeWithCachedSizes(
2036
0
    ::google::protobuf::io::CodedOutputStream* output) const {
2037
  // @@protoc_insertion_point(serialize_start:yb.master.ListTabletServersResponsePB.Entry)
2038
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2039
0
  (void) cached_has_bits;
2040
2041
0
  cached_has_bits = _has_bits_[0];
2042
  // required .yb.NodeInstancePB instance_id = 1;
2043
0
  if (cached_has_bits & 0x00000001u) {
2044
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2045
0
      1, *this->instance_id_, output);
2046
0
  }
2047
2048
  // optional .yb.master.TSRegistrationPB registration = 2;
2049
0
  if (cached_has_bits & 0x00000002u) {
2050
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2051
0
      2, *this->registration_, output);
2052
0
  }
2053
2054
  // optional int32 millis_since_heartbeat = 3;
2055
0
  if (cached_has_bits & 0x00000008u) {
2056
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->millis_since_heartbeat(), output);
2057
0
  }
2058
2059
  // optional bool alive = 4;
2060
0
  if (cached_has_bits & 0x00000010u) {
2061
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->alive(), output);
2062
0
  }
2063
2064
  // optional .yb.master.TServerMetricsPB metrics = 5;
2065
0
  if (cached_has_bits & 0x00000004u) {
2066
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2067
0
      5, *this->metrics_, output);
2068
0
  }
2069
2070
0
  if (_internal_metadata_.have_unknown_fields()) {
2071
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2072
0
        _internal_metadata_.unknown_fields(), output);
2073
0
  }
2074
  // @@protoc_insertion_point(serialize_end:yb.master.ListTabletServersResponsePB.Entry)
2075
0
}
2076
2077
::google::protobuf::uint8* ListTabletServersResponsePB_Entry::InternalSerializeWithCachedSizesToArray(
2078
20.4k
    bool deterministic, ::google::protobuf::uint8* target) const {
2079
20.4k
  (void)deterministic; // Unused
2080
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListTabletServersResponsePB.Entry)
2081
20.4k
  ::google::protobuf::uint32 cached_has_bits = 0;
2082
20.4k
  (void) cached_has_bits;
2083
2084
20.4k
  cached_has_bits = _has_bits_[0];
2085
  // required .yb.NodeInstancePB instance_id = 1;
2086
20.4k
  if (cached_has_bits & 0x00000001u) {
2087
20.4k
    target = ::google::protobuf::internal::WireFormatLite::
2088
20.4k
      InternalWriteMessageToArray(
2089
20.4k
        1, *this->instance_id_, deterministic, target);
2090
20.4k
  }
2091
2092
  // optional .yb.master.TSRegistrationPB registration = 2;
2093
20.4k
  if (cached_has_bits & 0x00000002u) {
2094
20.4k
    target = ::google::protobuf::internal::WireFormatLite::
2095
20.4k
      InternalWriteMessageToArray(
2096
20.4k
        2, *this->registration_, deterministic, target);
2097
20.4k
  }
2098
2099
  // optional int32 millis_since_heartbeat = 3;
2100
20.4k
  if (cached_has_bits & 0x00000008u) {
2101
20.4k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->millis_since_heartbeat(), target);
2102
20.4k
  }
2103
2104
  // optional bool alive = 4;
2105
20.4k
  if (cached_has_bits & 0x00000010u) {
2106
20.4k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->alive(), target);
2107
20.4k
  }
2108
2109
  // optional .yb.master.TServerMetricsPB metrics = 5;
2110
20.4k
  if (cached_has_bits & 0x00000004u) {
2111
20.4k
    target = ::google::protobuf::internal::WireFormatLite::
2112
20.4k
      InternalWriteMessageToArray(
2113
20.4k
        5, *this->metrics_, deterministic, target);
2114
20.4k
  }
2115
2116
20.4k
  if (_internal_metadata_.have_unknown_fields()) {
2117
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2118
0
        _internal_metadata_.unknown_fields(), target);
2119
0
  }
2120
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListTabletServersResponsePB.Entry)
2121
20.4k
  return target;
2122
20.4k
}
2123
2124
40.8k
size_t ListTabletServersResponsePB_Entry::ByteSizeLong() const {
2125
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListTabletServersResponsePB.Entry)
2126
40.8k
  size_t total_size = 0;
2127
2128
40.8k
  if (_internal_metadata_.have_unknown_fields()) {
2129
0
    total_size +=
2130
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2131
0
        _internal_metadata_.unknown_fields());
2132
0
  }
2133
  // required .yb.NodeInstancePB instance_id = 1;
2134
40.8k
  if (has_instance_id()) {
2135
40.8k
    total_size += 1 +
2136
40.8k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
2137
40.8k
        *this->instance_id_);
2138
40.8k
  }
2139
40.8k
  if (_has_bits_[0 / 32] & 30u) {
2140
    // optional .yb.master.TSRegistrationPB registration = 2;
2141
40.8k
    if (has_registration()) {
2142
40.8k
      total_size += 1 +
2143
40.8k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
2144
40.8k
          *this->registration_);
2145
40.8k
    }
2146
2147
    // optional .yb.master.TServerMetricsPB metrics = 5;
2148
40.8k
    if (has_metrics()) {
2149
40.8k
      total_size += 1 +
2150
40.8k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
2151
40.8k
          *this->metrics_);
2152
40.8k
    }
2153
2154
    // optional int32 millis_since_heartbeat = 3;
2155
40.8k
    if (has_millis_since_heartbeat()) {
2156
40.8k
      total_size += 1 +
2157
40.8k
        ::google::protobuf::internal::WireFormatLite::Int32Size(
2158
40.8k
          this->millis_since_heartbeat());
2159
40.8k
    }
2160
2161
    // optional bool alive = 4;
2162
40.8k
    if (has_alive()) {
2163
40.8k
      total_size += 1 + 1;
2164
40.8k
    }
2165
2166
40.8k
  }
2167
40.8k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2168
40.8k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2169
40.8k
  _cached_size_ = cached_size;
2170
40.8k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2171
40.8k
  return total_size;
2172
40.8k
}
2173
2174
0
void ListTabletServersResponsePB_Entry::MergeFrom(const ::google::protobuf::Message& from) {
2175
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListTabletServersResponsePB.Entry)
2176
0
  GOOGLE_DCHECK_NE(&from, this);
2177
0
  const ListTabletServersResponsePB_Entry* source =
2178
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListTabletServersResponsePB_Entry>(
2179
0
          &from);
2180
0
  if (source == NULL) {
2181
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListTabletServersResponsePB.Entry)
2182
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2183
0
  } else {
2184
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListTabletServersResponsePB.Entry)
2185
0
    MergeFrom(*source);
2186
0
  }
2187
0
}
2188
2189
0
void ListTabletServersResponsePB_Entry::MergeFrom(const ListTabletServersResponsePB_Entry& from) {
2190
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListTabletServersResponsePB.Entry)
2191
0
  GOOGLE_DCHECK_NE(&from, this);
2192
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2193
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2194
0
  (void) cached_has_bits;
2195
2196
0
  cached_has_bits = from._has_bits_[0];
2197
0
  if (cached_has_bits & 31u) {
2198
0
    if (cached_has_bits & 0x00000001u) {
2199
0
      mutable_instance_id()->::yb::NodeInstancePB::MergeFrom(from.instance_id());
2200
0
    }
2201
0
    if (cached_has_bits & 0x00000002u) {
2202
0
      mutable_registration()->::yb::master::TSRegistrationPB::MergeFrom(from.registration());
2203
0
    }
2204
0
    if (cached_has_bits & 0x00000004u) {
2205
0
      mutable_metrics()->::yb::master::TServerMetricsPB::MergeFrom(from.metrics());
2206
0
    }
2207
0
    if (cached_has_bits & 0x00000008u) {
2208
0
      millis_since_heartbeat_ = from.millis_since_heartbeat_;
2209
0
    }
2210
0
    if (cached_has_bits & 0x00000010u) {
2211
0
      alive_ = from.alive_;
2212
0
    }
2213
0
    _has_bits_[0] |= cached_has_bits;
2214
0
  }
2215
0
}
2216
2217
0
void ListTabletServersResponsePB_Entry::CopyFrom(const ::google::protobuf::Message& from) {
2218
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListTabletServersResponsePB.Entry)
2219
0
  if (&from == this) return;
2220
0
  Clear();
2221
0
  MergeFrom(from);
2222
0
}
2223
2224
0
void ListTabletServersResponsePB_Entry::CopyFrom(const ListTabletServersResponsePB_Entry& from) {
2225
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListTabletServersResponsePB.Entry)
2226
0
  if (&from == this) return;
2227
0
  Clear();
2228
0
  MergeFrom(from);
2229
0
}
2230
2231
35.8k
bool ListTabletServersResponsePB_Entry::IsInitialized() const {
2232
35.8k
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
2233
35.8k
  if (has_instance_id()) {
2234
35.8k
    if (!this->instance_id_->IsInitialized()) return false;
2235
35.8k
  }
2236
35.8k
  if (has_registration()) {
2237
35.8k
    if (!this->registration_->IsInitialized()) return false;
2238
35.8k
  }
2239
35.8k
  if (has_metrics()) {
2240
35.8k
    if (!this->metrics_->IsInitialized()) return false;
2241
35.8k
  }
2242
35.8k
  return true;
2243
35.8k
}
2244
2245
0
void ListTabletServersResponsePB_Entry::Swap(ListTabletServersResponsePB_Entry* other) {
2246
0
  if (other == this) return;
2247
0
  InternalSwap(other);
2248
0
}
2249
0
void ListTabletServersResponsePB_Entry::InternalSwap(ListTabletServersResponsePB_Entry* other) {
2250
0
  using std::swap;
2251
0
  swap(instance_id_, other->instance_id_);
2252
0
  swap(registration_, other->registration_);
2253
0
  swap(metrics_, other->metrics_);
2254
0
  swap(millis_since_heartbeat_, other->millis_since_heartbeat_);
2255
0
  swap(alive_, other->alive_);
2256
0
  swap(_has_bits_[0], other->_has_bits_[0]);
2257
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
2258
0
  swap(_cached_size_, other->_cached_size_);
2259
0
}
2260
2261
2
::google::protobuf::Metadata ListTabletServersResponsePB_Entry::GetMetadata() const {
2262
2
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
2263
2
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
2264
2
}
2265
2266
2267
// ===================================================================
2268
2269
15.8k
void ListTabletServersResponsePB::InitAsDefaultInstance() {
2270
15.8k
  ::yb::master::_ListTabletServersResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
2271
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
2272
15.8k
}
2273
0
void ListTabletServersResponsePB::clear_error() {
2274
0
  if (error_ != NULL) error_->Clear();
2275
0
  clear_has_error();
2276
0
}
2277
#if !defined(_MSC_VER) || _MSC_VER >= 1900
2278
const int ListTabletServersResponsePB::kErrorFieldNumber;
2279
const int ListTabletServersResponsePB::kServersFieldNumber;
2280
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
2281
2282
ListTabletServersResponsePB::ListTabletServersResponsePB()
2283
80.5k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2284
64.7k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
2285
64.7k
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListTabletServersResponsePB();
2286
64.7k
  }
2287
80.5k
  SharedCtor();
2288
  // @@protoc_insertion_point(constructor:yb.master.ListTabletServersResponsePB)
2289
80.5k
}
2290
ListTabletServersResponsePB::ListTabletServersResponsePB(const ListTabletServersResponsePB& from)
2291
  : ::google::protobuf::Message(),
2292
      _internal_metadata_(NULL),
2293
      _has_bits_(from._has_bits_),
2294
      _cached_size_(0),
2295
0
      servers_(from.servers_) {
2296
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2297
0
  if (from.has_error()) {
2298
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
2299
0
  } else {
2300
0
    error_ = NULL;
2301
0
  }
2302
  // @@protoc_insertion_point(copy_constructor:yb.master.ListTabletServersResponsePB)
2303
0
}
2304
2305
80.5k
void ListTabletServersResponsePB::SharedCtor() {
2306
80.5k
  _cached_size_ = 0;
2307
80.5k
  error_ = NULL;
2308
80.5k
}
2309
2310
64.7k
ListTabletServersResponsePB::~ListTabletServersResponsePB() {
2311
  // @@protoc_insertion_point(destructor:yb.master.ListTabletServersResponsePB)
2312
64.7k
  SharedDtor();
2313
64.7k
}
2314
2315
64.7k
void ListTabletServersResponsePB::SharedDtor() {
2316
64.7k
  if (this != internal_default_instance()) delete error_;
2317
64.7k
}
2318
2319
0
void ListTabletServersResponsePB::SetCachedSize(int size) const {
2320
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2321
0
  _cached_size_ = size;
2322
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2323
0
}
2324
0
const ::google::protobuf::Descriptor* ListTabletServersResponsePB::descriptor() {
2325
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
2326
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2327
0
}
2328
2329
0
const ListTabletServersResponsePB& ListTabletServersResponsePB::default_instance() {
2330
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListTabletServersResponsePB();
2331
0
  return *internal_default_instance();
2332
0
}
2333
2334
0
ListTabletServersResponsePB* ListTabletServersResponsePB::New(::google::protobuf::Arena* arena) const {
2335
0
  ListTabletServersResponsePB* n = new ListTabletServersResponsePB;
2336
0
  if (arena != NULL) {
2337
0
    arena->Own(n);
2338
0
  }
2339
0
  return n;
2340
0
}
2341
2342
18.4k
void ListTabletServersResponsePB::Clear() {
2343
// @@protoc_insertion_point(message_clear_start:yb.master.ListTabletServersResponsePB)
2344
18.4k
  ::google::protobuf::uint32 cached_has_bits = 0;
2345
  // Prevent compiler warnings about cached_has_bits being unused
2346
18.4k
  (void) cached_has_bits;
2347
2348
18.4k
  servers_.Clear();
2349
18.4k
  cached_has_bits = _has_bits_[0];
2350
18.4k
  if (cached_has_bits & 0x00000001u) {
2351
0
    GOOGLE_DCHECK(error_ != NULL);
2352
0
    error_->Clear();
2353
0
  }
2354
18.4k
  _has_bits_.Clear();
2355
18.4k
  _internal_metadata_.Clear();
2356
18.4k
}
2357
2358
bool ListTabletServersResponsePB::MergePartialFromCodedStream(
2359
18.4k
    ::google::protobuf::io::CodedInputStream* input) {
2360
27.1k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
2361
18.4k
  ::google::protobuf::uint32 tag;
2362
  // @@protoc_insertion_point(parse_start:yb.master.ListTabletServersResponsePB)
2363
45.6k
  for (;;) {
2364
45.6k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2365
45.6k
    tag = p.first;
2366
45.6k
    if (!p.second) goto handle_unusual;
2367
27.1k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2368
      // optional .yb.master.MasterErrorPB error = 1;
2369
11.7k
      case 1: {
2370
11.7k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2371
11.7k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
2372
11.7k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
2373
11.7k
               input, mutable_error()));
2374
0
        } else {
2375
0
          goto handle_unusual;
2376
0
        }
2377
11.7k
        break;
2378
11.7k
      }
2379
2380
      // repeated .yb.master.ListTabletServersResponsePB.Entry servers = 2;
2381
15.4k
      case 2: {
2382
15.4k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2383
15.4k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
2384
15.4k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_servers()));
2385
0
        } else {
2386
0
          goto handle_unusual;
2387
0
        }
2388
15.4k
        break;
2389
18.4k
      }
2390
2391
0
      default: {
2392
18.4k
      handle_unusual:
2393
18.4k
        if (tag == 0) {
2394
18.4k
          goto success;
2395
18.4k
        }
2396
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
2397
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
2398
0
        break;
2399
0
      }
2400
27.1k
    }
2401
27.1k
  }
2402
18.4k
success:
2403
  // @@protoc_insertion_point(parse_success:yb.master.ListTabletServersResponsePB)
2404
18.4k
  return true;
2405
0
failure:
2406
  // @@protoc_insertion_point(parse_failure:yb.master.ListTabletServersResponsePB)
2407
0
  return false;
2408
18.4k
#undef DO_
2409
18.4k
}
2410
2411
void ListTabletServersResponsePB::SerializeWithCachedSizes(
2412
0
    ::google::protobuf::io::CodedOutputStream* output) const {
2413
  // @@protoc_insertion_point(serialize_start:yb.master.ListTabletServersResponsePB)
2414
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2415
0
  (void) cached_has_bits;
2416
2417
0
  cached_has_bits = _has_bits_[0];
2418
  // optional .yb.master.MasterErrorPB error = 1;
2419
0
  if (cached_has_bits & 0x00000001u) {
2420
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2421
0
      1, *this->error_, output);
2422
0
  }
2423
2424
  // repeated .yb.master.ListTabletServersResponsePB.Entry servers = 2;
2425
0
  for (unsigned int i = 0,
2426
0
      n = static_cast<unsigned int>(this->servers_size()); i < n; i++) {
2427
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2428
0
      2, this->servers(static_cast<int>(i)), output);
2429
0
  }
2430
2431
0
  if (_internal_metadata_.have_unknown_fields()) {
2432
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2433
0
        _internal_metadata_.unknown_fields(), output);
2434
0
  }
2435
  // @@protoc_insertion_point(serialize_end:yb.master.ListTabletServersResponsePB)
2436
0
}
2437
2438
::google::protobuf::uint8* ListTabletServersResponsePB::InternalSerializeWithCachedSizesToArray(
2439
20.1k
    bool deterministic, ::google::protobuf::uint8* target) const {
2440
20.1k
  (void)deterministic; // Unused
2441
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListTabletServersResponsePB)
2442
20.1k
  ::google::protobuf::uint32 cached_has_bits = 0;
2443
20.1k
  (void) cached_has_bits;
2444
2445
20.1k
  cached_has_bits = _has_bits_[0];
2446
  // optional .yb.master.MasterErrorPB error = 1;
2447
20.1k
  if (cached_has_bits & 0x00000001u) {
2448
11.7k
    target = ::google::protobuf::internal::WireFormatLite::
2449
11.7k
      InternalWriteMessageToArray(
2450
11.7k
        1, *this->error_, deterministic, target);
2451
11.7k
  }
2452
2453
  // repeated .yb.master.ListTabletServersResponsePB.Entry servers = 2;
2454
20.1k
  for (unsigned int i = 0,
2455
40.5k
      n = static_cast<unsigned int>(this->servers_size()); i < n; i++) {
2456
20.4k
    target = ::google::protobuf::internal::WireFormatLite::
2457
20.4k
      InternalWriteMessageToArray(
2458
20.4k
        2, this->servers(static_cast<int>(i)), deterministic, target);
2459
20.4k
  }
2460
2461
20.1k
  if (_internal_metadata_.have_unknown_fields()) {
2462
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2463
0
        _internal_metadata_.unknown_fields(), target);
2464
0
  }
2465
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListTabletServersResponsePB)
2466
20.1k
  return target;
2467
20.1k
}
2468
2469
40.2k
size_t ListTabletServersResponsePB::ByteSizeLong() const {
2470
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListTabletServersResponsePB)
2471
40.2k
  size_t total_size = 0;
2472
2473
40.2k
  if (_internal_metadata_.have_unknown_fields()) {
2474
0
    total_size +=
2475
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2476
0
        _internal_metadata_.unknown_fields());
2477
0
  }
2478
  // repeated .yb.master.ListTabletServersResponsePB.Entry servers = 2;
2479
40.2k
  {
2480
40.2k
    unsigned int count = static_cast<unsigned int>(this->servers_size());
2481
40.2k
    total_size += 1UL * count;
2482
81.1k
    for (unsigned int i = 0; i < count; i++) {
2483
40.8k
      total_size +=
2484
40.8k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
2485
40.8k
          this->servers(static_cast<int>(i)));
2486
40.8k
    }
2487
40.2k
  }
2488
2489
  // optional .yb.master.MasterErrorPB error = 1;
2490
40.2k
  if (has_error()) {
2491
23.5k
    total_size += 1 +
2492
23.5k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
2493
23.5k
        *this->error_);
2494
23.5k
  }
2495
2496
40.2k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2497
40.2k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2498
40.2k
  _cached_size_ = cached_size;
2499
40.2k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2500
40.2k
  return total_size;
2501
40.2k
}
2502
2503
0
void ListTabletServersResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
2504
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListTabletServersResponsePB)
2505
0
  GOOGLE_DCHECK_NE(&from, this);
2506
0
  const ListTabletServersResponsePB* source =
2507
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListTabletServersResponsePB>(
2508
0
          &from);
2509
0
  if (source == NULL) {
2510
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListTabletServersResponsePB)
2511
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2512
0
  } else {
2513
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListTabletServersResponsePB)
2514
0
    MergeFrom(*source);
2515
0
  }
2516
0
}
2517
2518
0
void ListTabletServersResponsePB::MergeFrom(const ListTabletServersResponsePB& from) {
2519
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListTabletServersResponsePB)
2520
0
  GOOGLE_DCHECK_NE(&from, this);
2521
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2522
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2523
0
  (void) cached_has_bits;
2524
2525
0
  servers_.MergeFrom(from.servers_);
2526
0
  if (from.has_error()) {
2527
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
2528
0
  }
2529
0
}
2530
2531
0
void ListTabletServersResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
2532
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListTabletServersResponsePB)
2533
0
  if (&from == this) return;
2534
0
  Clear();
2535
0
  MergeFrom(from);
2536
0
}
2537
2538
0
void ListTabletServersResponsePB::CopyFrom(const ListTabletServersResponsePB& from) {
2539
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListTabletServersResponsePB)
2540
0
  if (&from == this) return;
2541
0
  Clear();
2542
0
  MergeFrom(from);
2543
0
}
2544
2545
38.5k
bool ListTabletServersResponsePB::IsInitialized() const {
2546
38.5k
  if (!::google::protobuf::internal::AllAreInitialized(this->servers())) return false;
2547
38.5k
  if (has_error()) {
2548
23.5k
    if (!this->error_->IsInitialized()) return false;
2549
38.5k
  }
2550
38.5k
  return true;
2551
38.5k
}
2552
2553
0
void ListTabletServersResponsePB::Swap(ListTabletServersResponsePB* other) {
2554
0
  if (other == this) return;
2555
0
  InternalSwap(other);
2556
0
}
2557
0
void ListTabletServersResponsePB::InternalSwap(ListTabletServersResponsePB* other) {
2558
0
  using std::swap;
2559
0
  servers_.InternalSwap(&other->servers_);
2560
0
  swap(error_, other->error_);
2561
0
  swap(_has_bits_[0], other->_has_bits_[0]);
2562
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
2563
0
  swap(_cached_size_, other->_cached_size_);
2564
0
}
2565
2566
2
::google::protobuf::Metadata ListTabletServersResponsePB::GetMetadata() const {
2567
2
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
2568
2
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
2569
2
}
2570
2571
2572
// ===================================================================
2573
2574
15.8k
void ListLiveTabletServersRequestPB::InitAsDefaultInstance() {
2575
15.8k
}
2576
#if !defined(_MSC_VER) || _MSC_VER >= 1900
2577
const int ListLiveTabletServersRequestPB::kPrimaryOnlyFieldNumber;
2578
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
2579
2580
ListLiveTabletServersRequestPB::ListLiveTabletServersRequestPB()
2581
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2582
4
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
2583
4
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListLiveTabletServersRequestPB();
2584
4
  }
2585
15.8k
  SharedCtor();
2586
  // @@protoc_insertion_point(constructor:yb.master.ListLiveTabletServersRequestPB)
2587
15.8k
}
2588
ListLiveTabletServersRequestPB::ListLiveTabletServersRequestPB(const ListLiveTabletServersRequestPB& from)
2589
  : ::google::protobuf::Message(),
2590
      _internal_metadata_(NULL),
2591
      _has_bits_(from._has_bits_),
2592
0
      _cached_size_(0) {
2593
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2594
0
  primary_only_ = from.primary_only_;
2595
  // @@protoc_insertion_point(copy_constructor:yb.master.ListLiveTabletServersRequestPB)
2596
0
}
2597
2598
15.8k
void ListLiveTabletServersRequestPB::SharedCtor() {
2599
15.8k
  _cached_size_ = 0;
2600
15.8k
  primary_only_ = false;
2601
15.8k
}
2602
2603
4
ListLiveTabletServersRequestPB::~ListLiveTabletServersRequestPB() {
2604
  // @@protoc_insertion_point(destructor:yb.master.ListLiveTabletServersRequestPB)
2605
4
  SharedDtor();
2606
4
}
2607
2608
4
void ListLiveTabletServersRequestPB::SharedDtor() {
2609
4
}
2610
2611
0
void ListLiveTabletServersRequestPB::SetCachedSize(int size) const {
2612
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2613
0
  _cached_size_ = size;
2614
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2615
0
}
2616
0
const ::google::protobuf::Descriptor* ListLiveTabletServersRequestPB::descriptor() {
2617
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
2618
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2619
0
}
2620
2621
0
const ListLiveTabletServersRequestPB& ListLiveTabletServersRequestPB::default_instance() {
2622
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListLiveTabletServersRequestPB();
2623
0
  return *internal_default_instance();
2624
0
}
2625
2626
0
ListLiveTabletServersRequestPB* ListLiveTabletServersRequestPB::New(::google::protobuf::Arena* arena) const {
2627
0
  ListLiveTabletServersRequestPB* n = new ListLiveTabletServersRequestPB;
2628
0
  if (arena != NULL) {
2629
0
    arena->Own(n);
2630
0
  }
2631
0
  return n;
2632
0
}
2633
2634
2
void ListLiveTabletServersRequestPB::Clear() {
2635
// @@protoc_insertion_point(message_clear_start:yb.master.ListLiveTabletServersRequestPB)
2636
2
  ::google::protobuf::uint32 cached_has_bits = 0;
2637
  // Prevent compiler warnings about cached_has_bits being unused
2638
2
  (void) cached_has_bits;
2639
2640
2
  primary_only_ = false;
2641
2
  _has_bits_.Clear();
2642
2
  _internal_metadata_.Clear();
2643
2
}
2644
2645
bool ListLiveTabletServersRequestPB::MergePartialFromCodedStream(
2646
2
    ::google::protobuf::io::CodedInputStream* input) {
2647
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
2648
2
  ::google::protobuf::uint32 tag;
2649
  // @@protoc_insertion_point(parse_start:yb.master.ListLiveTabletServersRequestPB)
2650
2
  for (;;) {
2651
2
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2652
2
    tag = p.first;
2653
2
    if (!p.second) goto handle_unusual;
2654
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2655
      // optional bool primary_only = 1 [default = false];
2656
0
      case 1: {
2657
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2658
0
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
2659
0
          set_has_primary_only();
2660
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2661
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
2662
0
                 input, &primary_only_)));
2663
0
        } else {
2664
0
          goto handle_unusual;
2665
0
        }
2666
0
        break;
2667
2
      }
2668
2669
0
      default: {
2670
2
      handle_unusual:
2671
2
        if (tag == 0) {
2672
2
          goto success;
2673
2
        }
2674
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
2675
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
2676
0
        break;
2677
0
      }
2678
0
    }
2679
0
  }
2680
2
success:
2681
  // @@protoc_insertion_point(parse_success:yb.master.ListLiveTabletServersRequestPB)
2682
2
  return true;
2683
0
failure:
2684
  // @@protoc_insertion_point(parse_failure:yb.master.ListLiveTabletServersRequestPB)
2685
0
  return false;
2686
2
#undef DO_
2687
2
}
2688
2689
void ListLiveTabletServersRequestPB::SerializeWithCachedSizes(
2690
0
    ::google::protobuf::io::CodedOutputStream* output) const {
2691
  // @@protoc_insertion_point(serialize_start:yb.master.ListLiveTabletServersRequestPB)
2692
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2693
0
  (void) cached_has_bits;
2694
2695
0
  cached_has_bits = _has_bits_[0];
2696
  // optional bool primary_only = 1 [default = false];
2697
0
  if (cached_has_bits & 0x00000001u) {
2698
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->primary_only(), output);
2699
0
  }
2700
2701
0
  if (_internal_metadata_.have_unknown_fields()) {
2702
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2703
0
        _internal_metadata_.unknown_fields(), output);
2704
0
  }
2705
  // @@protoc_insertion_point(serialize_end:yb.master.ListLiveTabletServersRequestPB)
2706
0
}
2707
2708
::google::protobuf::uint8* ListLiveTabletServersRequestPB::InternalSerializeWithCachedSizesToArray(
2709
2
    bool deterministic, ::google::protobuf::uint8* target) const {
2710
2
  (void)deterministic; // Unused
2711
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListLiveTabletServersRequestPB)
2712
2
  ::google::protobuf::uint32 cached_has_bits = 0;
2713
2
  (void) cached_has_bits;
2714
2715
2
  cached_has_bits = _has_bits_[0];
2716
  // optional bool primary_only = 1 [default = false];
2717
2
  if (cached_has_bits & 0x00000001u) {
2718
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->primary_only(), target);
2719
0
  }
2720
2721
2
  if (_internal_metadata_.have_unknown_fields()) {
2722
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2723
0
        _internal_metadata_.unknown_fields(), target);
2724
0
  }
2725
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListLiveTabletServersRequestPB)
2726
2
  return target;
2727
2
}
2728
2729
4
size_t ListLiveTabletServersRequestPB::ByteSizeLong() const {
2730
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListLiveTabletServersRequestPB)
2731
4
  size_t total_size = 0;
2732
2733
4
  if (_internal_metadata_.have_unknown_fields()) {
2734
0
    total_size +=
2735
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2736
0
        _internal_metadata_.unknown_fields());
2737
0
  }
2738
  // optional bool primary_only = 1 [default = false];
2739
4
  if (has_primary_only()) {
2740
0
    total_size += 1 + 1;
2741
0
  }
2742
2743
4
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2744
4
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2745
4
  _cached_size_ = cached_size;
2746
4
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2747
4
  return total_size;
2748
4
}
2749
2750
0
void ListLiveTabletServersRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
2751
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListLiveTabletServersRequestPB)
2752
0
  GOOGLE_DCHECK_NE(&from, this);
2753
0
  const ListLiveTabletServersRequestPB* source =
2754
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListLiveTabletServersRequestPB>(
2755
0
          &from);
2756
0
  if (source == NULL) {
2757
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListLiveTabletServersRequestPB)
2758
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2759
0
  } else {
2760
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListLiveTabletServersRequestPB)
2761
0
    MergeFrom(*source);
2762
0
  }
2763
0
}
2764
2765
0
void ListLiveTabletServersRequestPB::MergeFrom(const ListLiveTabletServersRequestPB& from) {
2766
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListLiveTabletServersRequestPB)
2767
0
  GOOGLE_DCHECK_NE(&from, this);
2768
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2769
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2770
0
  (void) cached_has_bits;
2771
2772
0
  if (from.has_primary_only()) {
2773
0
    set_primary_only(from.primary_only());
2774
0
  }
2775
0
}
2776
2777
0
void ListLiveTabletServersRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
2778
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListLiveTabletServersRequestPB)
2779
0
  if (&from == this) return;
2780
0
  Clear();
2781
0
  MergeFrom(from);
2782
0
}
2783
2784
0
void ListLiveTabletServersRequestPB::CopyFrom(const ListLiveTabletServersRequestPB& from) {
2785
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListLiveTabletServersRequestPB)
2786
0
  if (&from == this) return;
2787
0
  Clear();
2788
0
  MergeFrom(from);
2789
0
}
2790
2791
4
bool ListLiveTabletServersRequestPB::IsInitialized() const {
2792
4
  return true;
2793
4
}
2794
2795
0
void ListLiveTabletServersRequestPB::Swap(ListLiveTabletServersRequestPB* other) {
2796
0
  if (other == this) return;
2797
0
  InternalSwap(other);
2798
0
}
2799
0
void ListLiveTabletServersRequestPB::InternalSwap(ListLiveTabletServersRequestPB* other) {
2800
0
  using std::swap;
2801
0
  swap(primary_only_, other->primary_only_);
2802
0
  swap(_has_bits_[0], other->_has_bits_[0]);
2803
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
2804
0
  swap(_cached_size_, other->_cached_size_);
2805
0
}
2806
2807
2
::google::protobuf::Metadata ListLiveTabletServersRequestPB::GetMetadata() const {
2808
2
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
2809
2
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
2810
2
}
2811
2812
2813
// ===================================================================
2814
2815
15.8k
void ListLiveTabletServersResponsePB_Entry::InitAsDefaultInstance() {
2816
15.8k
  ::yb::master::_ListLiveTabletServersResponsePB_Entry_default_instance_._instance.get_mutable()->instance_id_ = const_cast< ::yb::NodeInstancePB*>(
2817
15.8k
      ::yb::NodeInstancePB::internal_default_instance());
2818
15.8k
  ::yb::master::_ListLiveTabletServersResponsePB_Entry_default_instance_._instance.get_mutable()->registration_ = const_cast< ::yb::master::TSRegistrationPB*>(
2819
15.8k
      ::yb::master::TSRegistrationPB::internal_default_instance());
2820
15.8k
}
2821
0
void ListLiveTabletServersResponsePB_Entry::clear_instance_id() {
2822
0
  if (instance_id_ != NULL) instance_id_->Clear();
2823
0
  clear_has_instance_id();
2824
0
}
2825
0
void ListLiveTabletServersResponsePB_Entry::clear_registration() {
2826
0
  if (registration_ != NULL) registration_->Clear();
2827
0
  clear_has_registration();
2828
0
}
2829
#if !defined(_MSC_VER) || _MSC_VER >= 1900
2830
const int ListLiveTabletServersResponsePB_Entry::kInstanceIdFieldNumber;
2831
const int ListLiveTabletServersResponsePB_Entry::kRegistrationFieldNumber;
2832
const int ListLiveTabletServersResponsePB_Entry::kIsFromReadReplicaFieldNumber;
2833
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
2834
2835
ListLiveTabletServersResponsePB_Entry::ListLiveTabletServersResponsePB_Entry()
2836
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2837
12
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
2838
12
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListLiveTabletServersResponsePB_Entry();
2839
12
  }
2840
15.8k
  SharedCtor();
2841
  // @@protoc_insertion_point(constructor:yb.master.ListLiveTabletServersResponsePB.Entry)
2842
15.8k
}
2843
ListLiveTabletServersResponsePB_Entry::ListLiveTabletServersResponsePB_Entry(const ListLiveTabletServersResponsePB_Entry& from)
2844
  : ::google::protobuf::Message(),
2845
      _internal_metadata_(NULL),
2846
      _has_bits_(from._has_bits_),
2847
0
      _cached_size_(0) {
2848
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2849
0
  if (from.has_instance_id()) {
2850
0
    instance_id_ = new ::yb::NodeInstancePB(*from.instance_id_);
2851
0
  } else {
2852
0
    instance_id_ = NULL;
2853
0
  }
2854
0
  if (from.has_registration()) {
2855
0
    registration_ = new ::yb::master::TSRegistrationPB(*from.registration_);
2856
0
  } else {
2857
0
    registration_ = NULL;
2858
0
  }
2859
0
  isfromreadreplica_ = from.isfromreadreplica_;
2860
  // @@protoc_insertion_point(copy_constructor:yb.master.ListLiveTabletServersResponsePB.Entry)
2861
0
}
2862
2863
15.8k
void ListLiveTabletServersResponsePB_Entry::SharedCtor() {
2864
15.8k
  _cached_size_ = 0;
2865
15.8k
  ::memset(&instance_id_, 0, static_cast<size_t>(
2866
15.8k
      reinterpret_cast<char*>(&isfromreadreplica_) -
2867
15.8k
      reinterpret_cast<char*>(&instance_id_)) + sizeof(isfromreadreplica_));
2868
15.8k
}
2869
2870
12
ListLiveTabletServersResponsePB_Entry::~ListLiveTabletServersResponsePB_Entry() {
2871
  // @@protoc_insertion_point(destructor:yb.master.ListLiveTabletServersResponsePB.Entry)
2872
12
  SharedDtor();
2873
12
}
2874
2875
12
void ListLiveTabletServersResponsePB_Entry::SharedDtor() {
2876
12
  if (this != internal_default_instance()) delete instance_id_;
2877
12
  if (this != internal_default_instance()) delete registration_;
2878
12
}
2879
2880
0
void ListLiveTabletServersResponsePB_Entry::SetCachedSize(int size) const {
2881
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2882
0
  _cached_size_ = size;
2883
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2884
0
}
2885
0
const ::google::protobuf::Descriptor* ListLiveTabletServersResponsePB_Entry::descriptor() {
2886
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
2887
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2888
0
}
2889
2890
0
const ListLiveTabletServersResponsePB_Entry& ListLiveTabletServersResponsePB_Entry::default_instance() {
2891
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListLiveTabletServersResponsePB_Entry();
2892
0
  return *internal_default_instance();
2893
0
}
2894
2895
0
ListLiveTabletServersResponsePB_Entry* ListLiveTabletServersResponsePB_Entry::New(::google::protobuf::Arena* arena) const {
2896
0
  ListLiveTabletServersResponsePB_Entry* n = new ListLiveTabletServersResponsePB_Entry;
2897
0
  if (arena != NULL) {
2898
0
    arena->Own(n);
2899
0
  }
2900
0
  return n;
2901
0
}
2902
2903
0
void ListLiveTabletServersResponsePB_Entry::Clear() {
2904
// @@protoc_insertion_point(message_clear_start:yb.master.ListLiveTabletServersResponsePB.Entry)
2905
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2906
  // Prevent compiler warnings about cached_has_bits being unused
2907
0
  (void) cached_has_bits;
2908
2909
0
  cached_has_bits = _has_bits_[0];
2910
0
  if (cached_has_bits & 3u) {
2911
0
    if (cached_has_bits & 0x00000001u) {
2912
0
      GOOGLE_DCHECK(instance_id_ != NULL);
2913
0
      instance_id_->Clear();
2914
0
    }
2915
0
    if (cached_has_bits & 0x00000002u) {
2916
0
      GOOGLE_DCHECK(registration_ != NULL);
2917
0
      registration_->Clear();
2918
0
    }
2919
0
  }
2920
0
  isfromreadreplica_ = false;
2921
0
  _has_bits_.Clear();
2922
0
  _internal_metadata_.Clear();
2923
0
}
2924
2925
bool ListLiveTabletServersResponsePB_Entry::MergePartialFromCodedStream(
2926
6
    ::google::protobuf::io::CodedInputStream* input) {
2927
18
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
2928
6
  ::google::protobuf::uint32 tag;
2929
  // @@protoc_insertion_point(parse_start:yb.master.ListLiveTabletServersResponsePB.Entry)
2930
24
  for (;;) {
2931
24
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2932
24
    tag = p.first;
2933
24
    if (!p.second) goto handle_unusual;
2934
18
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2935
      // required .yb.NodeInstancePB instance_id = 1;
2936
6
      case 1: {
2937
6
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2938
6
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
2939
6
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
2940
6
               input, mutable_instance_id()));
2941
0
        } else {
2942
0
          goto handle_unusual;
2943
0
        }
2944
6
        break;
2945
6
      }
2946
2947
      // optional .yb.master.TSRegistrationPB registration = 2;
2948
6
      case 2: {
2949
6
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2950
6
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
2951
6
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
2952
6
               input, mutable_registration()));
2953
0
        } else {
2954
0
          goto handle_unusual;
2955
0
        }
2956
6
        break;
2957
6
      }
2958
2959
      // optional bool isFromReadReplica = 3;
2960
6
      case 3: {
2961
6
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2962
6
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
2963
6
          set_has_isfromreadreplica();
2964
6
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2965
6
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
2966
6
                 input, &isfromreadreplica_)));
2967
0
        } else {
2968
0
          goto handle_unusual;
2969
0
        }
2970
6
        break;
2971
6
      }
2972
2973
0
      default: {
2974
6
      handle_unusual:
2975
6
        if (tag == 0) {
2976
6
          goto success;
2977
6
        }
2978
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
2979
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
2980
0
        break;
2981
0
      }
2982
18
    }
2983
18
  }
2984
6
success:
2985
  // @@protoc_insertion_point(parse_success:yb.master.ListLiveTabletServersResponsePB.Entry)
2986
6
  return true;
2987
0
failure:
2988
  // @@protoc_insertion_point(parse_failure:yb.master.ListLiveTabletServersResponsePB.Entry)
2989
0
  return false;
2990
6
#undef DO_
2991
6
}
2992
2993
void ListLiveTabletServersResponsePB_Entry::SerializeWithCachedSizes(
2994
0
    ::google::protobuf::io::CodedOutputStream* output) const {
2995
  // @@protoc_insertion_point(serialize_start:yb.master.ListLiveTabletServersResponsePB.Entry)
2996
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2997
0
  (void) cached_has_bits;
2998
2999
0
  cached_has_bits = _has_bits_[0];
3000
  // required .yb.NodeInstancePB instance_id = 1;
3001
0
  if (cached_has_bits & 0x00000001u) {
3002
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3003
0
      1, *this->instance_id_, output);
3004
0
  }
3005
3006
  // optional .yb.master.TSRegistrationPB registration = 2;
3007
0
  if (cached_has_bits & 0x00000002u) {
3008
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3009
0
      2, *this->registration_, output);
3010
0
  }
3011
3012
  // optional bool isFromReadReplica = 3;
3013
0
  if (cached_has_bits & 0x00000004u) {
3014
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->isfromreadreplica(), output);
3015
0
  }
3016
3017
0
  if (_internal_metadata_.have_unknown_fields()) {
3018
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3019
0
        _internal_metadata_.unknown_fields(), output);
3020
0
  }
3021
  // @@protoc_insertion_point(serialize_end:yb.master.ListLiveTabletServersResponsePB.Entry)
3022
0
}
3023
3024
::google::protobuf::uint8* ListLiveTabletServersResponsePB_Entry::InternalSerializeWithCachedSizesToArray(
3025
6
    bool deterministic, ::google::protobuf::uint8* target) const {
3026
6
  (void)deterministic; // Unused
3027
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListLiveTabletServersResponsePB.Entry)
3028
6
  ::google::protobuf::uint32 cached_has_bits = 0;
3029
6
  (void) cached_has_bits;
3030
3031
6
  cached_has_bits = _has_bits_[0];
3032
  // required .yb.NodeInstancePB instance_id = 1;
3033
6
  if (cached_has_bits & 0x00000001u) {
3034
6
    target = ::google::protobuf::internal::WireFormatLite::
3035
6
      InternalWriteMessageToArray(
3036
6
        1, *this->instance_id_, deterministic, target);
3037
6
  }
3038
3039
  // optional .yb.master.TSRegistrationPB registration = 2;
3040
6
  if (cached_has_bits & 0x00000002u) {
3041
6
    target = ::google::protobuf::internal::WireFormatLite::
3042
6
      InternalWriteMessageToArray(
3043
6
        2, *this->registration_, deterministic, target);
3044
6
  }
3045
3046
  // optional bool isFromReadReplica = 3;
3047
6
  if (cached_has_bits & 0x00000004u) {
3048
6
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->isfromreadreplica(), target);
3049
6
  }
3050
3051
6
  if (_internal_metadata_.have_unknown_fields()) {
3052
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3053
0
        _internal_metadata_.unknown_fields(), target);
3054
0
  }
3055
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListLiveTabletServersResponsePB.Entry)
3056
6
  return target;
3057
6
}
3058
3059
12
size_t ListLiveTabletServersResponsePB_Entry::ByteSizeLong() const {
3060
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListLiveTabletServersResponsePB.Entry)
3061
12
  size_t total_size = 0;
3062
3063
12
  if (_internal_metadata_.have_unknown_fields()) {
3064
0
    total_size +=
3065
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3066
0
        _internal_metadata_.unknown_fields());
3067
0
  }
3068
  // required .yb.NodeInstancePB instance_id = 1;
3069
12
  if (has_instance_id()) {
3070
12
    total_size += 1 +
3071
12
      ::google::protobuf::internal::WireFormatLite::MessageSize(
3072
12
        *this->instance_id_);
3073
12
  }
3074
12
  if (_has_bits_[0 / 32] & 6u) {
3075
    // optional .yb.master.TSRegistrationPB registration = 2;
3076
12
    if (has_registration()) {
3077
12
      total_size += 1 +
3078
12
        ::google::protobuf::internal::WireFormatLite::MessageSize(
3079
12
          *this->registration_);
3080
12
    }
3081
3082
    // optional bool isFromReadReplica = 3;
3083
12
    if (has_isfromreadreplica()) {
3084
12
      total_size += 1 + 1;
3085
12
    }
3086
3087
12
  }
3088
12
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3089
12
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3090
12
  _cached_size_ = cached_size;
3091
12
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3092
12
  return total_size;
3093
12
}
3094
3095
0
void ListLiveTabletServersResponsePB_Entry::MergeFrom(const ::google::protobuf::Message& from) {
3096
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListLiveTabletServersResponsePB.Entry)
3097
0
  GOOGLE_DCHECK_NE(&from, this);
3098
0
  const ListLiveTabletServersResponsePB_Entry* source =
3099
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListLiveTabletServersResponsePB_Entry>(
3100
0
          &from);
3101
0
  if (source == NULL) {
3102
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListLiveTabletServersResponsePB.Entry)
3103
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3104
0
  } else {
3105
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListLiveTabletServersResponsePB.Entry)
3106
0
    MergeFrom(*source);
3107
0
  }
3108
0
}
3109
3110
0
void ListLiveTabletServersResponsePB_Entry::MergeFrom(const ListLiveTabletServersResponsePB_Entry& from) {
3111
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListLiveTabletServersResponsePB.Entry)
3112
0
  GOOGLE_DCHECK_NE(&from, this);
3113
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3114
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3115
0
  (void) cached_has_bits;
3116
3117
0
  cached_has_bits = from._has_bits_[0];
3118
0
  if (cached_has_bits & 7u) {
3119
0
    if (cached_has_bits & 0x00000001u) {
3120
0
      mutable_instance_id()->::yb::NodeInstancePB::MergeFrom(from.instance_id());
3121
0
    }
3122
0
    if (cached_has_bits & 0x00000002u) {
3123
0
      mutable_registration()->::yb::master::TSRegistrationPB::MergeFrom(from.registration());
3124
0
    }
3125
0
    if (cached_has_bits & 0x00000004u) {
3126
0
      isfromreadreplica_ = from.isfromreadreplica_;
3127
0
    }
3128
0
    _has_bits_[0] |= cached_has_bits;
3129
0
  }
3130
0
}
3131
3132
0
void ListLiveTabletServersResponsePB_Entry::CopyFrom(const ::google::protobuf::Message& from) {
3133
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListLiveTabletServersResponsePB.Entry)
3134
0
  if (&from == this) return;
3135
0
  Clear();
3136
0
  MergeFrom(from);
3137
0
}
3138
3139
0
void ListLiveTabletServersResponsePB_Entry::CopyFrom(const ListLiveTabletServersResponsePB_Entry& from) {
3140
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListLiveTabletServersResponsePB.Entry)
3141
0
  if (&from == this) return;
3142
0
  Clear();
3143
0
  MergeFrom(from);
3144
0
}
3145
3146
12
bool ListLiveTabletServersResponsePB_Entry::IsInitialized() const {
3147
12
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
3148
12
  if (has_instance_id()) {
3149
12
    if (!this->instance_id_->IsInitialized()) return false;
3150
12
  }
3151
12
  if (has_registration()) {
3152
12
    if (!this->registration_->IsInitialized()) return false;
3153
12
  }
3154
12
  return true;
3155
12
}
3156
3157
0
void ListLiveTabletServersResponsePB_Entry::Swap(ListLiveTabletServersResponsePB_Entry* other) {
3158
0
  if (other == this) return;
3159
0
  InternalSwap(other);
3160
0
}
3161
0
void ListLiveTabletServersResponsePB_Entry::InternalSwap(ListLiveTabletServersResponsePB_Entry* other) {
3162
0
  using std::swap;
3163
0
  swap(instance_id_, other->instance_id_);
3164
0
  swap(registration_, other->registration_);
3165
0
  swap(isfromreadreplica_, other->isfromreadreplica_);
3166
0
  swap(_has_bits_[0], other->_has_bits_[0]);
3167
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
3168
0
  swap(_cached_size_, other->_cached_size_);
3169
0
}
3170
3171
0
::google::protobuf::Metadata ListLiveTabletServersResponsePB_Entry::GetMetadata() const {
3172
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
3173
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
3174
0
}
3175
3176
3177
// ===================================================================
3178
3179
15.8k
void ListLiveTabletServersResponsePB::InitAsDefaultInstance() {
3180
15.8k
  ::yb::master::_ListLiveTabletServersResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
3181
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
3182
15.8k
}
3183
0
void ListLiveTabletServersResponsePB::clear_error() {
3184
0
  if (error_ != NULL) error_->Clear();
3185
0
  clear_has_error();
3186
0
}
3187
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3188
const int ListLiveTabletServersResponsePB::kErrorFieldNumber;
3189
const int ListLiveTabletServersResponsePB::kServersFieldNumber;
3190
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3191
3192
ListLiveTabletServersResponsePB::ListLiveTabletServersResponsePB()
3193
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3194
4
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3195
4
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListLiveTabletServersResponsePB();
3196
4
  }
3197
15.8k
  SharedCtor();
3198
  // @@protoc_insertion_point(constructor:yb.master.ListLiveTabletServersResponsePB)
3199
15.8k
}
3200
ListLiveTabletServersResponsePB::ListLiveTabletServersResponsePB(const ListLiveTabletServersResponsePB& from)
3201
  : ::google::protobuf::Message(),
3202
      _internal_metadata_(NULL),
3203
      _has_bits_(from._has_bits_),
3204
      _cached_size_(0),
3205
0
      servers_(from.servers_) {
3206
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3207
0
  if (from.has_error()) {
3208
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
3209
0
  } else {
3210
0
    error_ = NULL;
3211
0
  }
3212
  // @@protoc_insertion_point(copy_constructor:yb.master.ListLiveTabletServersResponsePB)
3213
0
}
3214
3215
15.8k
void ListLiveTabletServersResponsePB::SharedCtor() {
3216
15.8k
  _cached_size_ = 0;
3217
15.8k
  error_ = NULL;
3218
15.8k
}
3219
3220
4
ListLiveTabletServersResponsePB::~ListLiveTabletServersResponsePB() {
3221
  // @@protoc_insertion_point(destructor:yb.master.ListLiveTabletServersResponsePB)
3222
4
  SharedDtor();
3223
4
}
3224
3225
4
void ListLiveTabletServersResponsePB::SharedDtor() {
3226
4
  if (this != internal_default_instance()) delete error_;
3227
4
}
3228
3229
0
void ListLiveTabletServersResponsePB::SetCachedSize(int size) const {
3230
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3231
0
  _cached_size_ = size;
3232
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3233
0
}
3234
0
const ::google::protobuf::Descriptor* ListLiveTabletServersResponsePB::descriptor() {
3235
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
3236
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3237
0
}
3238
3239
0
const ListLiveTabletServersResponsePB& ListLiveTabletServersResponsePB::default_instance() {
3240
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListLiveTabletServersResponsePB();
3241
0
  return *internal_default_instance();
3242
0
}
3243
3244
0
ListLiveTabletServersResponsePB* ListLiveTabletServersResponsePB::New(::google::protobuf::Arena* arena) const {
3245
0
  ListLiveTabletServersResponsePB* n = new ListLiveTabletServersResponsePB;
3246
0
  if (arena != NULL) {
3247
0
    arena->Own(n);
3248
0
  }
3249
0
  return n;
3250
0
}
3251
3252
2
void ListLiveTabletServersResponsePB::Clear() {
3253
// @@protoc_insertion_point(message_clear_start:yb.master.ListLiveTabletServersResponsePB)
3254
2
  ::google::protobuf::uint32 cached_has_bits = 0;
3255
  // Prevent compiler warnings about cached_has_bits being unused
3256
2
  (void) cached_has_bits;
3257
3258
2
  servers_.Clear();
3259
2
  cached_has_bits = _has_bits_[0];
3260
2
  if (cached_has_bits & 0x00000001u) {
3261
0
    GOOGLE_DCHECK(error_ != NULL);
3262
0
    error_->Clear();
3263
0
  }
3264
2
  _has_bits_.Clear();
3265
2
  _internal_metadata_.Clear();
3266
2
}
3267
3268
bool ListLiveTabletServersResponsePB::MergePartialFromCodedStream(
3269
2
    ::google::protobuf::io::CodedInputStream* input) {
3270
6
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
3271
2
  ::google::protobuf::uint32 tag;
3272
  // @@protoc_insertion_point(parse_start:yb.master.ListLiveTabletServersResponsePB)
3273
8
  for (;;) {
3274
8
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3275
8
    tag = p.first;
3276
8
    if (!p.second) goto handle_unusual;
3277
6
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3278
      // optional .yb.master.MasterErrorPB error = 1;
3279
0
      case 1: {
3280
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3281
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
3282
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3283
0
               input, mutable_error()));
3284
0
        } else {
3285
0
          goto handle_unusual;
3286
0
        }
3287
0
        break;
3288
0
      }
3289
3290
      // repeated .yb.master.ListLiveTabletServersResponsePB.Entry servers = 2;
3291
6
      case 2: {
3292
6
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3293
6
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
3294
6
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_servers()));
3295
0
        } else {
3296
0
          goto handle_unusual;
3297
0
        }
3298
6
        break;
3299
2
      }
3300
3301
0
      default: {
3302
2
      handle_unusual:
3303
2
        if (tag == 0) {
3304
2
          goto success;
3305
2
        }
3306
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3307
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3308
0
        break;
3309
0
      }
3310
6
    }
3311
6
  }
3312
2
success:
3313
  // @@protoc_insertion_point(parse_success:yb.master.ListLiveTabletServersResponsePB)
3314
2
  return true;
3315
0
failure:
3316
  // @@protoc_insertion_point(parse_failure:yb.master.ListLiveTabletServersResponsePB)
3317
0
  return false;
3318
2
#undef DO_
3319
2
}
3320
3321
void ListLiveTabletServersResponsePB::SerializeWithCachedSizes(
3322
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3323
  // @@protoc_insertion_point(serialize_start:yb.master.ListLiveTabletServersResponsePB)
3324
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3325
0
  (void) cached_has_bits;
3326
3327
0
  cached_has_bits = _has_bits_[0];
3328
  // optional .yb.master.MasterErrorPB error = 1;
3329
0
  if (cached_has_bits & 0x00000001u) {
3330
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3331
0
      1, *this->error_, output);
3332
0
  }
3333
3334
  // repeated .yb.master.ListLiveTabletServersResponsePB.Entry servers = 2;
3335
0
  for (unsigned int i = 0,
3336
0
      n = static_cast<unsigned int>(this->servers_size()); i < n; i++) {
3337
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3338
0
      2, this->servers(static_cast<int>(i)), output);
3339
0
  }
3340
3341
0
  if (_internal_metadata_.have_unknown_fields()) {
3342
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3343
0
        _internal_metadata_.unknown_fields(), output);
3344
0
  }
3345
  // @@protoc_insertion_point(serialize_end:yb.master.ListLiveTabletServersResponsePB)
3346
0
}
3347
3348
::google::protobuf::uint8* ListLiveTabletServersResponsePB::InternalSerializeWithCachedSizesToArray(
3349
2
    bool deterministic, ::google::protobuf::uint8* target) const {
3350
2
  (void)deterministic; // Unused
3351
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListLiveTabletServersResponsePB)
3352
2
  ::google::protobuf::uint32 cached_has_bits = 0;
3353
2
  (void) cached_has_bits;
3354
3355
2
  cached_has_bits = _has_bits_[0];
3356
  // optional .yb.master.MasterErrorPB error = 1;
3357
2
  if (cached_has_bits & 0x00000001u) {
3358
0
    target = ::google::protobuf::internal::WireFormatLite::
3359
0
      InternalWriteMessageToArray(
3360
0
        1, *this->error_, deterministic, target);
3361
0
  }
3362
3363
  // repeated .yb.master.ListLiveTabletServersResponsePB.Entry servers = 2;
3364
2
  for (unsigned int i = 0,
3365
8
      n = static_cast<unsigned int>(this->servers_size()); i < n; i++) {
3366
6
    target = ::google::protobuf::internal::WireFormatLite::
3367
6
      InternalWriteMessageToArray(
3368
6
        2, this->servers(static_cast<int>(i)), deterministic, target);
3369
6
  }
3370
3371
2
  if (_internal_metadata_.have_unknown_fields()) {
3372
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3373
0
        _internal_metadata_.unknown_fields(), target);
3374
0
  }
3375
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListLiveTabletServersResponsePB)
3376
2
  return target;
3377
2
}
3378
3379
4
size_t ListLiveTabletServersResponsePB::ByteSizeLong() const {
3380
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListLiveTabletServersResponsePB)
3381
4
  size_t total_size = 0;
3382
3383
4
  if (_internal_metadata_.have_unknown_fields()) {
3384
0
    total_size +=
3385
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3386
0
        _internal_metadata_.unknown_fields());
3387
0
  }
3388
  // repeated .yb.master.ListLiveTabletServersResponsePB.Entry servers = 2;
3389
4
  {
3390
4
    unsigned int count = static_cast<unsigned int>(this->servers_size());
3391
4
    total_size += 1UL * count;
3392
16
    for (unsigned int i = 0; i < count; i++) {
3393
12
      total_size +=
3394
12
        ::google::protobuf::internal::WireFormatLite::MessageSize(
3395
12
          this->servers(static_cast<int>(i)));
3396
12
    }
3397
4
  }
3398
3399
  // optional .yb.master.MasterErrorPB error = 1;
3400
4
  if (has_error()) {
3401
0
    total_size += 1 +
3402
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
3403
0
        *this->error_);
3404
0
  }
3405
3406
4
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3407
4
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3408
4
  _cached_size_ = cached_size;
3409
4
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3410
4
  return total_size;
3411
4
}
3412
3413
0
void ListLiveTabletServersResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
3414
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListLiveTabletServersResponsePB)
3415
0
  GOOGLE_DCHECK_NE(&from, this);
3416
0
  const ListLiveTabletServersResponsePB* source =
3417
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListLiveTabletServersResponsePB>(
3418
0
          &from);
3419
0
  if (source == NULL) {
3420
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListLiveTabletServersResponsePB)
3421
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3422
0
  } else {
3423
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListLiveTabletServersResponsePB)
3424
0
    MergeFrom(*source);
3425
0
  }
3426
0
}
3427
3428
0
void ListLiveTabletServersResponsePB::MergeFrom(const ListLiveTabletServersResponsePB& from) {
3429
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListLiveTabletServersResponsePB)
3430
0
  GOOGLE_DCHECK_NE(&from, this);
3431
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3432
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3433
0
  (void) cached_has_bits;
3434
3435
0
  servers_.MergeFrom(from.servers_);
3436
0
  if (from.has_error()) {
3437
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
3438
0
  }
3439
0
}
3440
3441
0
void ListLiveTabletServersResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
3442
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListLiveTabletServersResponsePB)
3443
0
  if (&from == this) return;
3444
0
  Clear();
3445
0
  MergeFrom(from);
3446
0
}
3447
3448
0
void ListLiveTabletServersResponsePB::CopyFrom(const ListLiveTabletServersResponsePB& from) {
3449
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListLiveTabletServersResponsePB)
3450
0
  if (&from == this) return;
3451
0
  Clear();
3452
0
  MergeFrom(from);
3453
0
}
3454
3455
4
bool ListLiveTabletServersResponsePB::IsInitialized() const {
3456
4
  if (!::google::protobuf::internal::AllAreInitialized(this->servers())) return false;
3457
4
  if (has_error()) {
3458
0
    if (!this->error_->IsInitialized()) return false;
3459
4
  }
3460
4
  return true;
3461
4
}
3462
3463
0
void ListLiveTabletServersResponsePB::Swap(ListLiveTabletServersResponsePB* other) {
3464
0
  if (other == this) return;
3465
0
  InternalSwap(other);
3466
0
}
3467
0
void ListLiveTabletServersResponsePB::InternalSwap(ListLiveTabletServersResponsePB* other) {
3468
0
  using std::swap;
3469
0
  servers_.InternalSwap(&other->servers_);
3470
0
  swap(error_, other->error_);
3471
0
  swap(_has_bits_[0], other->_has_bits_[0]);
3472
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
3473
0
  swap(_cached_size_, other->_cached_size_);
3474
0
}
3475
3476
0
::google::protobuf::Metadata ListLiveTabletServersResponsePB::GetMetadata() const {
3477
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
3478
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
3479
0
}
3480
3481
3482
// ===================================================================
3483
3484
15.8k
void ListMastersRequestPB::InitAsDefaultInstance() {
3485
15.8k
}
3486
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3487
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3488
3489
ListMastersRequestPB::ListMastersRequestPB()
3490
15.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3491
73
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3492
73
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListMastersRequestPB();
3493
73
  }
3494
15.9k
  SharedCtor();
3495
  // @@protoc_insertion_point(constructor:yb.master.ListMastersRequestPB)
3496
15.9k
}
3497
ListMastersRequestPB::ListMastersRequestPB(const ListMastersRequestPB& from)
3498
  : ::google::protobuf::Message(),
3499
      _internal_metadata_(NULL),
3500
      _has_bits_(from._has_bits_),
3501
0
      _cached_size_(0) {
3502
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3503
  // @@protoc_insertion_point(copy_constructor:yb.master.ListMastersRequestPB)
3504
0
}
3505
3506
15.9k
void ListMastersRequestPB::SharedCtor() {
3507
15.9k
  _cached_size_ = 0;
3508
15.9k
}
3509
3510
73
ListMastersRequestPB::~ListMastersRequestPB() {
3511
  // @@protoc_insertion_point(destructor:yb.master.ListMastersRequestPB)
3512
73
  SharedDtor();
3513
73
}
3514
3515
73
void ListMastersRequestPB::SharedDtor() {
3516
73
}
3517
3518
0
void ListMastersRequestPB::SetCachedSize(int size) const {
3519
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3520
0
  _cached_size_ = size;
3521
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3522
0
}
3523
0
const ::google::protobuf::Descriptor* ListMastersRequestPB::descriptor() {
3524
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
3525
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3526
0
}
3527
3528
0
const ListMastersRequestPB& ListMastersRequestPB::default_instance() {
3529
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListMastersRequestPB();
3530
0
  return *internal_default_instance();
3531
0
}
3532
3533
0
ListMastersRequestPB* ListMastersRequestPB::New(::google::protobuf::Arena* arena) const {
3534
0
  ListMastersRequestPB* n = new ListMastersRequestPB;
3535
0
  if (arena != NULL) {
3536
0
    arena->Own(n);
3537
0
  }
3538
0
  return n;
3539
0
}
3540
3541
50
void ListMastersRequestPB::Clear() {
3542
// @@protoc_insertion_point(message_clear_start:yb.master.ListMastersRequestPB)
3543
50
  ::google::protobuf::uint32 cached_has_bits = 0;
3544
  // Prevent compiler warnings about cached_has_bits being unused
3545
50
  (void) cached_has_bits;
3546
3547
50
  _has_bits_.Clear();
3548
50
  _internal_metadata_.Clear();
3549
50
}
3550
3551
bool ListMastersRequestPB::MergePartialFromCodedStream(
3552
50
    ::google::protobuf::io::CodedInputStream* input) {
3553
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
3554
50
  ::google::protobuf::uint32 tag;
3555
  // @@protoc_insertion_point(parse_start:yb.master.ListMastersRequestPB)
3556
50
  for (;;) {
3557
50
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3558
50
    tag = p.first;
3559
50
    if (!p.second) goto handle_unusual;
3560
50
  handle_unusual:
3561
50
    if (tag == 0) {
3562
50
      goto success;
3563
50
    }
3564
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
3565
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
3566
0
  }
3567
50
success:
3568
  // @@protoc_insertion_point(parse_success:yb.master.ListMastersRequestPB)
3569
50
  return true;
3570
0
failure:
3571
  // @@protoc_insertion_point(parse_failure:yb.master.ListMastersRequestPB)
3572
0
  return false;
3573
50
#undef DO_
3574
50
}
3575
3576
void ListMastersRequestPB::SerializeWithCachedSizes(
3577
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3578
  // @@protoc_insertion_point(serialize_start:yb.master.ListMastersRequestPB)
3579
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3580
0
  (void) cached_has_bits;
3581
3582
0
  if (_internal_metadata_.have_unknown_fields()) {
3583
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3584
0
        _internal_metadata_.unknown_fields(), output);
3585
0
  }
3586
  // @@protoc_insertion_point(serialize_end:yb.master.ListMastersRequestPB)
3587
0
}
3588
3589
::google::protobuf::uint8* ListMastersRequestPB::InternalSerializeWithCachedSizesToArray(
3590
23
    bool deterministic, ::google::protobuf::uint8* target) const {
3591
23
  (void)deterministic; // Unused
3592
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListMastersRequestPB)
3593
23
  ::google::protobuf::uint32 cached_has_bits = 0;
3594
23
  (void) cached_has_bits;
3595
3596
23
  if (_internal_metadata_.have_unknown_fields()) {
3597
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3598
0
        _internal_metadata_.unknown_fields(), target);
3599
0
  }
3600
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListMastersRequestPB)
3601
23
  return target;
3602
23
}
3603
3604
46
size_t ListMastersRequestPB::ByteSizeLong() const {
3605
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListMastersRequestPB)
3606
46
  size_t total_size = 0;
3607
3608
46
  if (_internal_metadata_.have_unknown_fields()) {
3609
0
    total_size +=
3610
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3611
0
        _internal_metadata_.unknown_fields());
3612
0
  }
3613
46
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3614
46
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3615
46
  _cached_size_ = cached_size;
3616
46
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3617
46
  return total_size;
3618
46
}
3619
3620
0
void ListMastersRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
3621
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListMastersRequestPB)
3622
0
  GOOGLE_DCHECK_NE(&from, this);
3623
0
  const ListMastersRequestPB* source =
3624
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListMastersRequestPB>(
3625
0
          &from);
3626
0
  if (source == NULL) {
3627
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListMastersRequestPB)
3628
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3629
0
  } else {
3630
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListMastersRequestPB)
3631
0
    MergeFrom(*source);
3632
0
  }
3633
0
}
3634
3635
0
void ListMastersRequestPB::MergeFrom(const ListMastersRequestPB& from) {
3636
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListMastersRequestPB)
3637
0
  GOOGLE_DCHECK_NE(&from, this);
3638
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3639
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3640
0
  (void) cached_has_bits;
3641
3642
0
}
3643
3644
0
void ListMastersRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
3645
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListMastersRequestPB)
3646
0
  if (&from == this) return;
3647
0
  Clear();
3648
0
  MergeFrom(from);
3649
0
}
3650
3651
0
void ListMastersRequestPB::CopyFrom(const ListMastersRequestPB& from) {
3652
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListMastersRequestPB)
3653
0
  if (&from == this) return;
3654
0
  Clear();
3655
0
  MergeFrom(from);
3656
0
}
3657
3658
73
bool ListMastersRequestPB::IsInitialized() const {
3659
73
  return true;
3660
73
}
3661
3662
0
void ListMastersRequestPB::Swap(ListMastersRequestPB* other) {
3663
0
  if (other == this) return;
3664
0
  InternalSwap(other);
3665
0
}
3666
0
void ListMastersRequestPB::InternalSwap(ListMastersRequestPB* other) {
3667
0
  using std::swap;
3668
0
  swap(_has_bits_[0], other->_has_bits_[0]);
3669
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
3670
0
  swap(_cached_size_, other->_cached_size_);
3671
0
}
3672
3673
50
::google::protobuf::Metadata ListMastersRequestPB::GetMetadata() const {
3674
50
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
3675
50
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
3676
50
}
3677
3678
3679
// ===================================================================
3680
3681
15.8k
void ListMastersResponsePB::InitAsDefaultInstance() {
3682
15.8k
  ::yb::master::_ListMastersResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
3683
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
3684
15.8k
}
3685
0
void ListMastersResponsePB::clear_masters() {
3686
0
  masters_.Clear();
3687
0
}
3688
0
void ListMastersResponsePB::clear_error() {
3689
0
  if (error_ != NULL) error_->Clear();
3690
0
  clear_has_error();
3691
0
}
3692
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3693
const int ListMastersResponsePB::kMastersFieldNumber;
3694
const int ListMastersResponsePB::kErrorFieldNumber;
3695
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3696
3697
ListMastersResponsePB::ListMastersResponsePB()
3698
15.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3699
76
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3700
76
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListMastersResponsePB();
3701
76
  }
3702
15.9k
  SharedCtor();
3703
  // @@protoc_insertion_point(constructor:yb.master.ListMastersResponsePB)
3704
15.9k
}
3705
ListMastersResponsePB::ListMastersResponsePB(const ListMastersResponsePB& from)
3706
  : ::google::protobuf::Message(),
3707
      _internal_metadata_(NULL),
3708
      _has_bits_(from._has_bits_),
3709
      _cached_size_(0),
3710
0
      masters_(from.masters_) {
3711
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3712
0
  if (from.has_error()) {
3713
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
3714
0
  } else {
3715
0
    error_ = NULL;
3716
0
  }
3717
  // @@protoc_insertion_point(copy_constructor:yb.master.ListMastersResponsePB)
3718
0
}
3719
3720
15.9k
void ListMastersResponsePB::SharedCtor() {
3721
15.9k
  _cached_size_ = 0;
3722
15.9k
  error_ = NULL;
3723
15.9k
}
3724
3725
76
ListMastersResponsePB::~ListMastersResponsePB() {
3726
  // @@protoc_insertion_point(destructor:yb.master.ListMastersResponsePB)
3727
76
  SharedDtor();
3728
76
}
3729
3730
76
void ListMastersResponsePB::SharedDtor() {
3731
76
  if (this != internal_default_instance()) delete error_;
3732
76
}
3733
3734
0
void ListMastersResponsePB::SetCachedSize(int size) const {
3735
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3736
0
  _cached_size_ = size;
3737
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3738
0
}
3739
0
const ::google::protobuf::Descriptor* ListMastersResponsePB::descriptor() {
3740
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
3741
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3742
0
}
3743
3744
0
const ListMastersResponsePB& ListMastersResponsePB::default_instance() {
3745
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListMastersResponsePB();
3746
0
  return *internal_default_instance();
3747
0
}
3748
3749
0
ListMastersResponsePB* ListMastersResponsePB::New(::google::protobuf::Arena* arena) const {
3750
0
  ListMastersResponsePB* n = new ListMastersResponsePB;
3751
0
  if (arena != NULL) {
3752
0
    arena->Own(n);
3753
0
  }
3754
0
  return n;
3755
0
}
3756
3757
23
void ListMastersResponsePB::Clear() {
3758
// @@protoc_insertion_point(message_clear_start:yb.master.ListMastersResponsePB)
3759
23
  ::google::protobuf::uint32 cached_has_bits = 0;
3760
  // Prevent compiler warnings about cached_has_bits being unused
3761
23
  (void) cached_has_bits;
3762
3763
23
  masters_.Clear();
3764
23
  cached_has_bits = _has_bits_[0];
3765
23
  if (cached_has_bits & 0x00000001u) {
3766
0
    GOOGLE_DCHECK(error_ != NULL);
3767
0
    error_->Clear();
3768
0
  }
3769
23
  _has_bits_.Clear();
3770
23
  _internal_metadata_.Clear();
3771
23
}
3772
3773
bool ListMastersResponsePB::MergePartialFromCodedStream(
3774
23
    ::google::protobuf::io::CodedInputStream* input) {
3775
82
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
3776
23
  ::google::protobuf::uint32 tag;
3777
  // @@protoc_insertion_point(parse_start:yb.master.ListMastersResponsePB)
3778
105
  for (;;) {
3779
105
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3780
105
    tag = p.first;
3781
105
    if (!p.second) goto handle_unusual;
3782
82
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3783
      // repeated .yb.ServerEntryPB masters = 1;
3784
82
      case 1: {
3785
82
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3786
82
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
3787
82
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_masters()));
3788
0
        } else {
3789
0
          goto handle_unusual;
3790
0
        }
3791
82
        break;
3792
82
      }
3793
3794
      // optional .yb.master.MasterErrorPB error = 2;
3795
0
      case 2: {
3796
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3797
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
3798
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3799
0
               input, mutable_error()));
3800
0
        } else {
3801
0
          goto handle_unusual;
3802
0
        }
3803
0
        break;
3804
23
      }
3805
3806
0
      default: {
3807
23
      handle_unusual:
3808
23
        if (tag == 0) {
3809
23
          goto success;
3810
23
        }
3811
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3812
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3813
0
        break;
3814
0
      }
3815
82
    }
3816
82
  }
3817
23
success:
3818
  // @@protoc_insertion_point(parse_success:yb.master.ListMastersResponsePB)
3819
23
  return true;
3820
0
failure:
3821
  // @@protoc_insertion_point(parse_failure:yb.master.ListMastersResponsePB)
3822
0
  return false;
3823
23
#undef DO_
3824
23
}
3825
3826
void ListMastersResponsePB::SerializeWithCachedSizes(
3827
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3828
  // @@protoc_insertion_point(serialize_start:yb.master.ListMastersResponsePB)
3829
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3830
0
  (void) cached_has_bits;
3831
3832
  // repeated .yb.ServerEntryPB masters = 1;
3833
0
  for (unsigned int i = 0,
3834
0
      n = static_cast<unsigned int>(this->masters_size()); i < n; i++) {
3835
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3836
0
      1, this->masters(static_cast<int>(i)), output);
3837
0
  }
3838
3839
0
  cached_has_bits = _has_bits_[0];
3840
  // optional .yb.master.MasterErrorPB error = 2;
3841
0
  if (cached_has_bits & 0x00000001u) {
3842
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3843
0
      2, *this->error_, output);
3844
0
  }
3845
3846
0
  if (_internal_metadata_.have_unknown_fields()) {
3847
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3848
0
        _internal_metadata_.unknown_fields(), output);
3849
0
  }
3850
  // @@protoc_insertion_point(serialize_end:yb.master.ListMastersResponsePB)
3851
0
}
3852
3853
::google::protobuf::uint8* ListMastersResponsePB::InternalSerializeWithCachedSizesToArray(
3854
50
    bool deterministic, ::google::protobuf::uint8* target) const {
3855
50
  (void)deterministic; // Unused
3856
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListMastersResponsePB)
3857
50
  ::google::protobuf::uint32 cached_has_bits = 0;
3858
50
  (void) cached_has_bits;
3859
3860
  // repeated .yb.ServerEntryPB masters = 1;
3861
50
  for (unsigned int i = 0,
3862
210
      n = static_cast<unsigned int>(this->masters_size()); i < n; i++) {
3863
160
    target = ::google::protobuf::internal::WireFormatLite::
3864
160
      InternalWriteMessageToArray(
3865
160
        1, this->masters(static_cast<int>(i)), deterministic, target);
3866
160
  }
3867
3868
50
  cached_has_bits = _has_bits_[0];
3869
  // optional .yb.master.MasterErrorPB error = 2;
3870
50
  if (cached_has_bits & 0x00000001u) {
3871
0
    target = ::google::protobuf::internal::WireFormatLite::
3872
0
      InternalWriteMessageToArray(
3873
0
        2, *this->error_, deterministic, target);
3874
0
  }
3875
3876
50
  if (_internal_metadata_.have_unknown_fields()) {
3877
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3878
0
        _internal_metadata_.unknown_fields(), target);
3879
0
  }
3880
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListMastersResponsePB)
3881
50
  return target;
3882
50
}
3883
3884
100
size_t ListMastersResponsePB::ByteSizeLong() const {
3885
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListMastersResponsePB)
3886
100
  size_t total_size = 0;
3887
3888
100
  if (_internal_metadata_.have_unknown_fields()) {
3889
0
    total_size +=
3890
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3891
0
        _internal_metadata_.unknown_fields());
3892
0
  }
3893
  // repeated .yb.ServerEntryPB masters = 1;
3894
100
  {
3895
100
    unsigned int count = static_cast<unsigned int>(this->masters_size());
3896
100
    total_size += 1UL * count;
3897
420
    for (unsigned int i = 0; i < count; i++) {
3898
320
      total_size +=
3899
320
        ::google::protobuf::internal::WireFormatLite::MessageSize(
3900
320
          this->masters(static_cast<int>(i)));
3901
320
    }
3902
100
  }
3903
3904
  // optional .yb.master.MasterErrorPB error = 2;
3905
100
  if (has_error()) {
3906
0
    total_size += 1 +
3907
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
3908
0
        *this->error_);
3909
0
  }
3910
3911
100
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3912
100
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3913
100
  _cached_size_ = cached_size;
3914
100
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3915
100
  return total_size;
3916
100
}
3917
3918
0
void ListMastersResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
3919
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListMastersResponsePB)
3920
0
  GOOGLE_DCHECK_NE(&from, this);
3921
0
  const ListMastersResponsePB* source =
3922
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListMastersResponsePB>(
3923
0
          &from);
3924
0
  if (source == NULL) {
3925
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListMastersResponsePB)
3926
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3927
0
  } else {
3928
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListMastersResponsePB)
3929
0
    MergeFrom(*source);
3930
0
  }
3931
0
}
3932
3933
0
void ListMastersResponsePB::MergeFrom(const ListMastersResponsePB& from) {
3934
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListMastersResponsePB)
3935
0
  GOOGLE_DCHECK_NE(&from, this);
3936
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3937
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3938
0
  (void) cached_has_bits;
3939
3940
0
  masters_.MergeFrom(from.masters_);
3941
0
  if (from.has_error()) {
3942
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
3943
0
  }
3944
0
}
3945
3946
0
void ListMastersResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
3947
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListMastersResponsePB)
3948
0
  if (&from == this) return;
3949
0
  Clear();
3950
0
  MergeFrom(from);
3951
0
}
3952
3953
0
void ListMastersResponsePB::CopyFrom(const ListMastersResponsePB& from) {
3954
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListMastersResponsePB)
3955
0
  if (&from == this) return;
3956
0
  Clear();
3957
0
  MergeFrom(from);
3958
0
}
3959
3960
73
bool ListMastersResponsePB::IsInitialized() const {
3961
73
  if (!::google::protobuf::internal::AllAreInitialized(this->masters())) return false;
3962
73
  if (has_error()) {
3963
0
    if (!this->error_->IsInitialized()) return false;
3964
73
  }
3965
73
  return true;
3966
73
}
3967
3968
0
void ListMastersResponsePB::Swap(ListMastersResponsePB* other) {
3969
0
  if (other == this) return;
3970
0
  InternalSwap(other);
3971
0
}
3972
0
void ListMastersResponsePB::InternalSwap(ListMastersResponsePB* other) {
3973
0
  using std::swap;
3974
0
  masters_.InternalSwap(&other->masters_);
3975
0
  swap(error_, other->error_);
3976
0
  swap(_has_bits_[0], other->_has_bits_[0]);
3977
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
3978
0
  swap(_cached_size_, other->_cached_size_);
3979
0
}
3980
3981
12
::google::protobuf::Metadata ListMastersResponsePB::GetMetadata() const {
3982
12
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
3983
12
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
3984
12
}
3985
3986
3987
// ===================================================================
3988
3989
15.8k
void ListMasterRaftPeersRequestPB::InitAsDefaultInstance() {
3990
15.8k
}
3991
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3992
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3993
3994
ListMasterRaftPeersRequestPB::ListMasterRaftPeersRequestPB()
3995
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3996
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3997
0
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListMasterRaftPeersRequestPB();
3998
0
  }
3999
15.8k
  SharedCtor();
4000
  // @@protoc_insertion_point(constructor:yb.master.ListMasterRaftPeersRequestPB)
4001
15.8k
}
4002
ListMasterRaftPeersRequestPB::ListMasterRaftPeersRequestPB(const ListMasterRaftPeersRequestPB& from)
4003
  : ::google::protobuf::Message(),
4004
      _internal_metadata_(NULL),
4005
      _has_bits_(from._has_bits_),
4006
0
      _cached_size_(0) {
4007
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4008
  // @@protoc_insertion_point(copy_constructor:yb.master.ListMasterRaftPeersRequestPB)
4009
0
}
4010
4011
15.8k
void ListMasterRaftPeersRequestPB::SharedCtor() {
4012
15.8k
  _cached_size_ = 0;
4013
15.8k
}
4014
4015
0
ListMasterRaftPeersRequestPB::~ListMasterRaftPeersRequestPB() {
4016
  // @@protoc_insertion_point(destructor:yb.master.ListMasterRaftPeersRequestPB)
4017
0
  SharedDtor();
4018
0
}
4019
4020
0
void ListMasterRaftPeersRequestPB::SharedDtor() {
4021
0
}
4022
4023
0
void ListMasterRaftPeersRequestPB::SetCachedSize(int size) const {
4024
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4025
0
  _cached_size_ = size;
4026
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4027
0
}
4028
0
const ::google::protobuf::Descriptor* ListMasterRaftPeersRequestPB::descriptor() {
4029
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
4030
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4031
0
}
4032
4033
0
const ListMasterRaftPeersRequestPB& ListMasterRaftPeersRequestPB::default_instance() {
4034
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListMasterRaftPeersRequestPB();
4035
0
  return *internal_default_instance();
4036
0
}
4037
4038
0
ListMasterRaftPeersRequestPB* ListMasterRaftPeersRequestPB::New(::google::protobuf::Arena* arena) const {
4039
0
  ListMasterRaftPeersRequestPB* n = new ListMasterRaftPeersRequestPB;
4040
0
  if (arena != NULL) {
4041
0
    arena->Own(n);
4042
0
  }
4043
0
  return n;
4044
0
}
4045
4046
0
void ListMasterRaftPeersRequestPB::Clear() {
4047
// @@protoc_insertion_point(message_clear_start:yb.master.ListMasterRaftPeersRequestPB)
4048
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4049
  // Prevent compiler warnings about cached_has_bits being unused
4050
0
  (void) cached_has_bits;
4051
4052
0
  _has_bits_.Clear();
4053
0
  _internal_metadata_.Clear();
4054
0
}
4055
4056
bool ListMasterRaftPeersRequestPB::MergePartialFromCodedStream(
4057
0
    ::google::protobuf::io::CodedInputStream* input) {
4058
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
4059
0
  ::google::protobuf::uint32 tag;
4060
  // @@protoc_insertion_point(parse_start:yb.master.ListMasterRaftPeersRequestPB)
4061
0
  for (;;) {
4062
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4063
0
    tag = p.first;
4064
0
    if (!p.second) goto handle_unusual;
4065
0
  handle_unusual:
4066
0
    if (tag == 0) {
4067
0
      goto success;
4068
0
    }
4069
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
4070
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
4071
0
  }
4072
0
success:
4073
  // @@protoc_insertion_point(parse_success:yb.master.ListMasterRaftPeersRequestPB)
4074
0
  return true;
4075
0
failure:
4076
  // @@protoc_insertion_point(parse_failure:yb.master.ListMasterRaftPeersRequestPB)
4077
0
  return false;
4078
0
#undef DO_
4079
0
}
4080
4081
void ListMasterRaftPeersRequestPB::SerializeWithCachedSizes(
4082
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4083
  // @@protoc_insertion_point(serialize_start:yb.master.ListMasterRaftPeersRequestPB)
4084
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4085
0
  (void) cached_has_bits;
4086
4087
0
  if (_internal_metadata_.have_unknown_fields()) {
4088
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4089
0
        _internal_metadata_.unknown_fields(), output);
4090
0
  }
4091
  // @@protoc_insertion_point(serialize_end:yb.master.ListMasterRaftPeersRequestPB)
4092
0
}
4093
4094
::google::protobuf::uint8* ListMasterRaftPeersRequestPB::InternalSerializeWithCachedSizesToArray(
4095
0
    bool deterministic, ::google::protobuf::uint8* target) const {
4096
0
  (void)deterministic; // Unused
4097
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListMasterRaftPeersRequestPB)
4098
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4099
0
  (void) cached_has_bits;
4100
4101
0
  if (_internal_metadata_.have_unknown_fields()) {
4102
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4103
0
        _internal_metadata_.unknown_fields(), target);
4104
0
  }
4105
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListMasterRaftPeersRequestPB)
4106
0
  return target;
4107
0
}
4108
4109
0
size_t ListMasterRaftPeersRequestPB::ByteSizeLong() const {
4110
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListMasterRaftPeersRequestPB)
4111
0
  size_t total_size = 0;
4112
4113
0
  if (_internal_metadata_.have_unknown_fields()) {
4114
0
    total_size +=
4115
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4116
0
        _internal_metadata_.unknown_fields());
4117
0
  }
4118
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4119
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4120
0
  _cached_size_ = cached_size;
4121
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4122
0
  return total_size;
4123
0
}
4124
4125
0
void ListMasterRaftPeersRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
4126
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListMasterRaftPeersRequestPB)
4127
0
  GOOGLE_DCHECK_NE(&from, this);
4128
0
  const ListMasterRaftPeersRequestPB* source =
4129
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListMasterRaftPeersRequestPB>(
4130
0
          &from);
4131
0
  if (source == NULL) {
4132
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListMasterRaftPeersRequestPB)
4133
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4134
0
  } else {
4135
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListMasterRaftPeersRequestPB)
4136
0
    MergeFrom(*source);
4137
0
  }
4138
0
}
4139
4140
0
void ListMasterRaftPeersRequestPB::MergeFrom(const ListMasterRaftPeersRequestPB& from) {
4141
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListMasterRaftPeersRequestPB)
4142
0
  GOOGLE_DCHECK_NE(&from, this);
4143
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4144
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4145
0
  (void) cached_has_bits;
4146
4147
0
}
4148
4149
0
void ListMasterRaftPeersRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
4150
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListMasterRaftPeersRequestPB)
4151
0
  if (&from == this) return;
4152
0
  Clear();
4153
0
  MergeFrom(from);
4154
0
}
4155
4156
0
void ListMasterRaftPeersRequestPB::CopyFrom(const ListMasterRaftPeersRequestPB& from) {
4157
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListMasterRaftPeersRequestPB)
4158
0
  if (&from == this) return;
4159
0
  Clear();
4160
0
  MergeFrom(from);
4161
0
}
4162
4163
0
bool ListMasterRaftPeersRequestPB::IsInitialized() const {
4164
0
  return true;
4165
0
}
4166
4167
0
void ListMasterRaftPeersRequestPB::Swap(ListMasterRaftPeersRequestPB* other) {
4168
0
  if (other == this) return;
4169
0
  InternalSwap(other);
4170
0
}
4171
0
void ListMasterRaftPeersRequestPB::InternalSwap(ListMasterRaftPeersRequestPB* other) {
4172
0
  using std::swap;
4173
0
  swap(_has_bits_[0], other->_has_bits_[0]);
4174
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
4175
0
  swap(_cached_size_, other->_cached_size_);
4176
0
}
4177
4178
0
::google::protobuf::Metadata ListMasterRaftPeersRequestPB::GetMetadata() const {
4179
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
4180
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
4181
0
}
4182
4183
4184
// ===================================================================
4185
4186
15.8k
void ListMasterRaftPeersResponsePB::InitAsDefaultInstance() {
4187
15.8k
  ::yb::master::_ListMasterRaftPeersResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
4188
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
4189
15.8k
}
4190
0
void ListMasterRaftPeersResponsePB::clear_masters() {
4191
0
  masters_.Clear();
4192
0
}
4193
0
void ListMasterRaftPeersResponsePB::clear_error() {
4194
0
  if (error_ != NULL) error_->Clear();
4195
0
  clear_has_error();
4196
0
}
4197
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4198
const int ListMasterRaftPeersResponsePB::kMastersFieldNumber;
4199
const int ListMasterRaftPeersResponsePB::kErrorFieldNumber;
4200
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4201
4202
ListMasterRaftPeersResponsePB::ListMasterRaftPeersResponsePB()
4203
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4204
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4205
0
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListMasterRaftPeersResponsePB();
4206
0
  }
4207
15.8k
  SharedCtor();
4208
  // @@protoc_insertion_point(constructor:yb.master.ListMasterRaftPeersResponsePB)
4209
15.8k
}
4210
ListMasterRaftPeersResponsePB::ListMasterRaftPeersResponsePB(const ListMasterRaftPeersResponsePB& from)
4211
  : ::google::protobuf::Message(),
4212
      _internal_metadata_(NULL),
4213
      _has_bits_(from._has_bits_),
4214
      _cached_size_(0),
4215
0
      masters_(from.masters_) {
4216
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4217
0
  if (from.has_error()) {
4218
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
4219
0
  } else {
4220
0
    error_ = NULL;
4221
0
  }
4222
  // @@protoc_insertion_point(copy_constructor:yb.master.ListMasterRaftPeersResponsePB)
4223
0
}
4224
4225
15.8k
void ListMasterRaftPeersResponsePB::SharedCtor() {
4226
15.8k
  _cached_size_ = 0;
4227
15.8k
  error_ = NULL;
4228
15.8k
}
4229
4230
0
ListMasterRaftPeersResponsePB::~ListMasterRaftPeersResponsePB() {
4231
  // @@protoc_insertion_point(destructor:yb.master.ListMasterRaftPeersResponsePB)
4232
0
  SharedDtor();
4233
0
}
4234
4235
0
void ListMasterRaftPeersResponsePB::SharedDtor() {
4236
0
  if (this != internal_default_instance()) delete error_;
4237
0
}
4238
4239
0
void ListMasterRaftPeersResponsePB::SetCachedSize(int size) const {
4240
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4241
0
  _cached_size_ = size;
4242
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4243
0
}
4244
0
const ::google::protobuf::Descriptor* ListMasterRaftPeersResponsePB::descriptor() {
4245
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
4246
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4247
0
}
4248
4249
0
const ListMasterRaftPeersResponsePB& ListMasterRaftPeersResponsePB::default_instance() {
4250
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListMasterRaftPeersResponsePB();
4251
0
  return *internal_default_instance();
4252
0
}
4253
4254
0
ListMasterRaftPeersResponsePB* ListMasterRaftPeersResponsePB::New(::google::protobuf::Arena* arena) const {
4255
0
  ListMasterRaftPeersResponsePB* n = new ListMasterRaftPeersResponsePB;
4256
0
  if (arena != NULL) {
4257
0
    arena->Own(n);
4258
0
  }
4259
0
  return n;
4260
0
}
4261
4262
0
void ListMasterRaftPeersResponsePB::Clear() {
4263
// @@protoc_insertion_point(message_clear_start:yb.master.ListMasterRaftPeersResponsePB)
4264
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4265
  // Prevent compiler warnings about cached_has_bits being unused
4266
0
  (void) cached_has_bits;
4267
4268
0
  masters_.Clear();
4269
0
  cached_has_bits = _has_bits_[0];
4270
0
  if (cached_has_bits & 0x00000001u) {
4271
0
    GOOGLE_DCHECK(error_ != NULL);
4272
0
    error_->Clear();
4273
0
  }
4274
0
  _has_bits_.Clear();
4275
0
  _internal_metadata_.Clear();
4276
0
}
4277
4278
bool ListMasterRaftPeersResponsePB::MergePartialFromCodedStream(
4279
0
    ::google::protobuf::io::CodedInputStream* input) {
4280
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
4281
0
  ::google::protobuf::uint32 tag;
4282
  // @@protoc_insertion_point(parse_start:yb.master.ListMasterRaftPeersResponsePB)
4283
0
  for (;;) {
4284
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4285
0
    tag = p.first;
4286
0
    if (!p.second) goto handle_unusual;
4287
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4288
      // repeated .yb.consensus.RaftPeerPB masters = 1;
4289
0
      case 1: {
4290
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4291
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4292
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_masters()));
4293
0
        } else {
4294
0
          goto handle_unusual;
4295
0
        }
4296
0
        break;
4297
0
      }
4298
4299
      // optional .yb.master.MasterErrorPB error = 2;
4300
0
      case 2: {
4301
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4302
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
4303
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4304
0
               input, mutable_error()));
4305
0
        } else {
4306
0
          goto handle_unusual;
4307
0
        }
4308
0
        break;
4309
0
      }
4310
4311
0
      default: {
4312
0
      handle_unusual:
4313
0
        if (tag == 0) {
4314
0
          goto success;
4315
0
        }
4316
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
4317
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
4318
0
        break;
4319
0
      }
4320
0
    }
4321
0
  }
4322
0
success:
4323
  // @@protoc_insertion_point(parse_success:yb.master.ListMasterRaftPeersResponsePB)
4324
0
  return true;
4325
0
failure:
4326
  // @@protoc_insertion_point(parse_failure:yb.master.ListMasterRaftPeersResponsePB)
4327
0
  return false;
4328
0
#undef DO_
4329
0
}
4330
4331
void ListMasterRaftPeersResponsePB::SerializeWithCachedSizes(
4332
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4333
  // @@protoc_insertion_point(serialize_start:yb.master.ListMasterRaftPeersResponsePB)
4334
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4335
0
  (void) cached_has_bits;
4336
4337
  // repeated .yb.consensus.RaftPeerPB masters = 1;
4338
0
  for (unsigned int i = 0,
4339
0
      n = static_cast<unsigned int>(this->masters_size()); i < n; i++) {
4340
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4341
0
      1, this->masters(static_cast<int>(i)), output);
4342
0
  }
4343
4344
0
  cached_has_bits = _has_bits_[0];
4345
  // optional .yb.master.MasterErrorPB error = 2;
4346
0
  if (cached_has_bits & 0x00000001u) {
4347
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4348
0
      2, *this->error_, output);
4349
0
  }
4350
4351
0
  if (_internal_metadata_.have_unknown_fields()) {
4352
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4353
0
        _internal_metadata_.unknown_fields(), output);
4354
0
  }
4355
  // @@protoc_insertion_point(serialize_end:yb.master.ListMasterRaftPeersResponsePB)
4356
0
}
4357
4358
::google::protobuf::uint8* ListMasterRaftPeersResponsePB::InternalSerializeWithCachedSizesToArray(
4359
0
    bool deterministic, ::google::protobuf::uint8* target) const {
4360
0
  (void)deterministic; // Unused
4361
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListMasterRaftPeersResponsePB)
4362
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4363
0
  (void) cached_has_bits;
4364
4365
  // repeated .yb.consensus.RaftPeerPB masters = 1;
4366
0
  for (unsigned int i = 0,
4367
0
      n = static_cast<unsigned int>(this->masters_size()); i < n; i++) {
4368
0
    target = ::google::protobuf::internal::WireFormatLite::
4369
0
      InternalWriteMessageToArray(
4370
0
        1, this->masters(static_cast<int>(i)), deterministic, target);
4371
0
  }
4372
4373
0
  cached_has_bits = _has_bits_[0];
4374
  // optional .yb.master.MasterErrorPB error = 2;
4375
0
  if (cached_has_bits & 0x00000001u) {
4376
0
    target = ::google::protobuf::internal::WireFormatLite::
4377
0
      InternalWriteMessageToArray(
4378
0
        2, *this->error_, deterministic, target);
4379
0
  }
4380
4381
0
  if (_internal_metadata_.have_unknown_fields()) {
4382
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4383
0
        _internal_metadata_.unknown_fields(), target);
4384
0
  }
4385
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListMasterRaftPeersResponsePB)
4386
0
  return target;
4387
0
}
4388
4389
0
size_t ListMasterRaftPeersResponsePB::ByteSizeLong() const {
4390
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListMasterRaftPeersResponsePB)
4391
0
  size_t total_size = 0;
4392
4393
0
  if (_internal_metadata_.have_unknown_fields()) {
4394
0
    total_size +=
4395
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4396
0
        _internal_metadata_.unknown_fields());
4397
0
  }
4398
  // repeated .yb.consensus.RaftPeerPB masters = 1;
4399
0
  {
4400
0
    unsigned int count = static_cast<unsigned int>(this->masters_size());
4401
0
    total_size += 1UL * count;
4402
0
    for (unsigned int i = 0; i < count; i++) {
4403
0
      total_size +=
4404
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
4405
0
          this->masters(static_cast<int>(i)));
4406
0
    }
4407
0
  }
4408
4409
  // optional .yb.master.MasterErrorPB error = 2;
4410
0
  if (has_error()) {
4411
0
    total_size += 1 +
4412
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
4413
0
        *this->error_);
4414
0
  }
4415
4416
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4417
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4418
0
  _cached_size_ = cached_size;
4419
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4420
0
  return total_size;
4421
0
}
4422
4423
0
void ListMasterRaftPeersResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
4424
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListMasterRaftPeersResponsePB)
4425
0
  GOOGLE_DCHECK_NE(&from, this);
4426
0
  const ListMasterRaftPeersResponsePB* source =
4427
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListMasterRaftPeersResponsePB>(
4428
0
          &from);
4429
0
  if (source == NULL) {
4430
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListMasterRaftPeersResponsePB)
4431
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4432
0
  } else {
4433
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListMasterRaftPeersResponsePB)
4434
0
    MergeFrom(*source);
4435
0
  }
4436
0
}
4437
4438
0
void ListMasterRaftPeersResponsePB::MergeFrom(const ListMasterRaftPeersResponsePB& from) {
4439
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListMasterRaftPeersResponsePB)
4440
0
  GOOGLE_DCHECK_NE(&from, this);
4441
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4442
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4443
0
  (void) cached_has_bits;
4444
4445
0
  masters_.MergeFrom(from.masters_);
4446
0
  if (from.has_error()) {
4447
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
4448
0
  }
4449
0
}
4450
4451
0
void ListMasterRaftPeersResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
4452
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListMasterRaftPeersResponsePB)
4453
0
  if (&from == this) return;
4454
0
  Clear();
4455
0
  MergeFrom(from);
4456
0
}
4457
4458
0
void ListMasterRaftPeersResponsePB::CopyFrom(const ListMasterRaftPeersResponsePB& from) {
4459
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListMasterRaftPeersResponsePB)
4460
0
  if (&from == this) return;
4461
0
  Clear();
4462
0
  MergeFrom(from);
4463
0
}
4464
4465
0
bool ListMasterRaftPeersResponsePB::IsInitialized() const {
4466
0
  if (!::google::protobuf::internal::AllAreInitialized(this->masters())) return false;
4467
0
  if (has_error()) {
4468
0
    if (!this->error_->IsInitialized()) return false;
4469
0
  }
4470
0
  return true;
4471
0
}
4472
4473
0
void ListMasterRaftPeersResponsePB::Swap(ListMasterRaftPeersResponsePB* other) {
4474
0
  if (other == this) return;
4475
0
  InternalSwap(other);
4476
0
}
4477
0
void ListMasterRaftPeersResponsePB::InternalSwap(ListMasterRaftPeersResponsePB* other) {
4478
0
  using std::swap;
4479
0
  masters_.InternalSwap(&other->masters_);
4480
0
  swap(error_, other->error_);
4481
0
  swap(_has_bits_[0], other->_has_bits_[0]);
4482
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
4483
0
  swap(_cached_size_, other->_cached_size_);
4484
0
}
4485
4486
0
::google::protobuf::Metadata ListMasterRaftPeersResponsePB::GetMetadata() const {
4487
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
4488
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
4489
0
}
4490
4491
4492
// ===================================================================
4493
4494
15.8k
void GetMasterRegistrationRequestPB::InitAsDefaultInstance() {
4495
15.8k
}
4496
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4497
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4498
4499
GetMasterRegistrationRequestPB::GetMasterRegistrationRequestPB()
4500
8.86M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4501
8.84M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4502
8.84M
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetMasterRegistrationRequestPB();
4503
8.84M
  }
4504
8.86M
  SharedCtor();
4505
  // @@protoc_insertion_point(constructor:yb.master.GetMasterRegistrationRequestPB)
4506
8.86M
}
4507
GetMasterRegistrationRequestPB::GetMasterRegistrationRequestPB(const GetMasterRegistrationRequestPB& from)
4508
  : ::google::protobuf::Message(),
4509
      _internal_metadata_(NULL),
4510
      _has_bits_(from._has_bits_),
4511
0
      _cached_size_(0) {
4512
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4513
  // @@protoc_insertion_point(copy_constructor:yb.master.GetMasterRegistrationRequestPB)
4514
0
}
4515
4516
8.86M
void GetMasterRegistrationRequestPB::SharedCtor() {
4517
8.86M
  _cached_size_ = 0;
4518
8.86M
}
4519
4520
8.85M
GetMasterRegistrationRequestPB::~GetMasterRegistrationRequestPB() {
4521
  // @@protoc_insertion_point(destructor:yb.master.GetMasterRegistrationRequestPB)
4522
8.85M
  SharedDtor();
4523
8.85M
}
4524
4525
8.85M
void GetMasterRegistrationRequestPB::SharedDtor() {
4526
8.85M
}
4527
4528
0
void GetMasterRegistrationRequestPB::SetCachedSize(int size) const {
4529
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4530
0
  _cached_size_ = size;
4531
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4532
0
}
4533
0
const ::google::protobuf::Descriptor* GetMasterRegistrationRequestPB::descriptor() {
4534
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
4535
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4536
0
}
4537
4538
0
const GetMasterRegistrationRequestPB& GetMasterRegistrationRequestPB::default_instance() {
4539
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetMasterRegistrationRequestPB();
4540
0
  return *internal_default_instance();
4541
0
}
4542
4543
0
GetMasterRegistrationRequestPB* GetMasterRegistrationRequestPB::New(::google::protobuf::Arena* arena) const {
4544
0
  GetMasterRegistrationRequestPB* n = new GetMasterRegistrationRequestPB;
4545
0
  if (arena != NULL) {
4546
0
    arena->Own(n);
4547
0
  }
4548
0
  return n;
4549
0
}
4550
4551
4.30M
void GetMasterRegistrationRequestPB::Clear() {
4552
// @@protoc_insertion_point(message_clear_start:yb.master.GetMasterRegistrationRequestPB)
4553
4.30M
  ::google::protobuf::uint32 cached_has_bits = 0;
4554
  // Prevent compiler warnings about cached_has_bits being unused
4555
4.30M
  (void) cached_has_bits;
4556
4557
4.30M
  _has_bits_.Clear();
4558
4.30M
  _internal_metadata_.Clear();
4559
4.30M
}
4560
4561
bool GetMasterRegistrationRequestPB::MergePartialFromCodedStream(
4562
4.29M
    ::google::protobuf::io::CodedInputStream* input) {
4563
18.4E
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
4564
4.29M
  ::google::protobuf::uint32 tag;
4565
  // @@protoc_insertion_point(parse_start:yb.master.GetMasterRegistrationRequestPB)
4566
4.29M
  for (;;) {
4567
4.29M
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4568
4.29M
    tag = p.first;
4569
4.29M
    if (!p.second) goto handle_unusual;
4570
4.29M
  handle_unusual:
4571
4.29M
    if (tag == 0) {
4572
4.29M
      goto success;
4573
4.29M
    }
4574
18.4E
    DO_(::google::protobuf::internal::WireFormat::SkipField(
4575
18.4E
          input, tag, _internal_metadata_.mutable_unknown_fields()));
4576
18.4E
  }
4577
4.29M
success:
4578
  // @@protoc_insertion_point(parse_success:yb.master.GetMasterRegistrationRequestPB)
4579
4.29M
  return true;
4580
0
failure:
4581
  // @@protoc_insertion_point(parse_failure:yb.master.GetMasterRegistrationRequestPB)
4582
0
  return false;
4583
4.29M
#undef DO_
4584
4.29M
}
4585
4586
void GetMasterRegistrationRequestPB::SerializeWithCachedSizes(
4587
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4588
  // @@protoc_insertion_point(serialize_start:yb.master.GetMasterRegistrationRequestPB)
4589
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4590
0
  (void) cached_has_bits;
4591
4592
0
  if (_internal_metadata_.have_unknown_fields()) {
4593
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4594
0
        _internal_metadata_.unknown_fields(), output);
4595
0
  }
4596
  // @@protoc_insertion_point(serialize_end:yb.master.GetMasterRegistrationRequestPB)
4597
0
}
4598
4599
::google::protobuf::uint8* GetMasterRegistrationRequestPB::InternalSerializeWithCachedSizesToArray(
4600
4.54M
    bool deterministic, ::google::protobuf::uint8* target) const {
4601
4.54M
  (void)deterministic; // Unused
4602
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetMasterRegistrationRequestPB)
4603
4.54M
  ::google::protobuf::uint32 cached_has_bits = 0;
4604
4.54M
  (void) cached_has_bits;
4605
4606
4.54M
  if (_internal_metadata_.have_unknown_fields()) {
4607
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4608
0
        _internal_metadata_.unknown_fields(), target);
4609
0
  }
4610
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetMasterRegistrationRequestPB)
4611
4.54M
  return target;
4612
4.54M
}
4613
4614
9.09M
size_t GetMasterRegistrationRequestPB::ByteSizeLong() const {
4615
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetMasterRegistrationRequestPB)
4616
9.09M
  size_t total_size = 0;
4617
4618
9.09M
  if (_internal_metadata_.have_unknown_fields()) {
4619
0
    total_size +=
4620
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4621
0
        _internal_metadata_.unknown_fields());
4622
0
  }
4623
9.09M
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4624
9.09M
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4625
9.09M
  _cached_size_ = cached_size;
4626
9.09M
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4627
9.09M
  return total_size;
4628
9.09M
}
4629
4630
0
void GetMasterRegistrationRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
4631
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetMasterRegistrationRequestPB)
4632
0
  GOOGLE_DCHECK_NE(&from, this);
4633
0
  const GetMasterRegistrationRequestPB* source =
4634
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetMasterRegistrationRequestPB>(
4635
0
          &from);
4636
0
  if (source == NULL) {
4637
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetMasterRegistrationRequestPB)
4638
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4639
0
  } else {
4640
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetMasterRegistrationRequestPB)
4641
0
    MergeFrom(*source);
4642
0
  }
4643
0
}
4644
4645
0
void GetMasterRegistrationRequestPB::MergeFrom(const GetMasterRegistrationRequestPB& from) {
4646
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetMasterRegistrationRequestPB)
4647
0
  GOOGLE_DCHECK_NE(&from, this);
4648
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4649
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4650
0
  (void) cached_has_bits;
4651
4652
0
}
4653
4654
0
void GetMasterRegistrationRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
4655
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetMasterRegistrationRequestPB)
4656
0
  if (&from == this) return;
4657
0
  Clear();
4658
0
  MergeFrom(from);
4659
0
}
4660
4661
0
void GetMasterRegistrationRequestPB::CopyFrom(const GetMasterRegistrationRequestPB& from) {
4662
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetMasterRegistrationRequestPB)
4663
0
  if (&from == this) return;
4664
0
  Clear();
4665
0
  MergeFrom(from);
4666
0
}
4667
4668
8.84M
bool GetMasterRegistrationRequestPB::IsInitialized() const {
4669
8.84M
  return true;
4670
8.84M
}
4671
4672
0
void GetMasterRegistrationRequestPB::Swap(GetMasterRegistrationRequestPB* other) {
4673
0
  if (other == this) return;
4674
0
  InternalSwap(other);
4675
0
}
4676
0
void GetMasterRegistrationRequestPB::InternalSwap(GetMasterRegistrationRequestPB* other) {
4677
0
  using std::swap;
4678
0
  swap(_has_bits_[0], other->_has_bits_[0]);
4679
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
4680
0
  swap(_cached_size_, other->_cached_size_);
4681
0
}
4682
4683
4.29M
::google::protobuf::Metadata GetMasterRegistrationRequestPB::GetMetadata() const {
4684
4.29M
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
4685
4.29M
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
4686
4.29M
}
4687
4688
4689
// ===================================================================
4690
4691
15.8k
void GetMasterRegistrationResponsePB::InitAsDefaultInstance() {
4692
15.8k
  ::yb::master::_GetMasterRegistrationResponsePB_default_instance_._instance.get_mutable()->instance_id_ = const_cast< ::yb::NodeInstancePB*>(
4693
15.8k
      ::yb::NodeInstancePB::internal_default_instance());
4694
15.8k
  ::yb::master::_GetMasterRegistrationResponsePB_default_instance_._instance.get_mutable()->registration_ = const_cast< ::yb::ServerRegistrationPB*>(
4695
15.8k
      ::yb::ServerRegistrationPB::internal_default_instance());
4696
15.8k
  ::yb::master::_GetMasterRegistrationResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
4697
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
4698
15.8k
}
4699
0
void GetMasterRegistrationResponsePB::clear_instance_id() {
4700
0
  if (instance_id_ != NULL) instance_id_->Clear();
4701
0
  clear_has_instance_id();
4702
0
}
4703
0
void GetMasterRegistrationResponsePB::clear_registration() {
4704
0
  if (registration_ != NULL) registration_->Clear();
4705
0
  clear_has_registration();
4706
0
}
4707
0
void GetMasterRegistrationResponsePB::clear_error() {
4708
0
  if (error_ != NULL) error_->Clear();
4709
0
  clear_has_error();
4710
0
}
4711
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4712
const int GetMasterRegistrationResponsePB::kInstanceIdFieldNumber;
4713
const int GetMasterRegistrationResponsePB::kRegistrationFieldNumber;
4714
const int GetMasterRegistrationResponsePB::kRoleFieldNumber;
4715
const int GetMasterRegistrationResponsePB::kErrorFieldNumber;
4716
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4717
4718
GetMasterRegistrationResponsePB::GetMasterRegistrationResponsePB()
4719
8.85M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4720
8.84M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4721
8.84M
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetMasterRegistrationResponsePB();
4722
8.84M
  }
4723
8.85M
  SharedCtor();
4724
  // @@protoc_insertion_point(constructor:yb.master.GetMasterRegistrationResponsePB)
4725
8.85M
}
4726
GetMasterRegistrationResponsePB::GetMasterRegistrationResponsePB(const GetMasterRegistrationResponsePB& from)
4727
  : ::google::protobuf::Message(),
4728
      _internal_metadata_(NULL),
4729
      _has_bits_(from._has_bits_),
4730
0
      _cached_size_(0) {
4731
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4732
0
  if (from.has_instance_id()) {
4733
0
    instance_id_ = new ::yb::NodeInstancePB(*from.instance_id_);
4734
0
  } else {
4735
0
    instance_id_ = NULL;
4736
0
  }
4737
0
  if (from.has_registration()) {
4738
0
    registration_ = new ::yb::ServerRegistrationPB(*from.registration_);
4739
0
  } else {
4740
0
    registration_ = NULL;
4741
0
  }
4742
0
  if (from.has_error()) {
4743
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
4744
0
  } else {
4745
0
    error_ = NULL;
4746
0
  }
4747
0
  role_ = from.role_;
4748
  // @@protoc_insertion_point(copy_constructor:yb.master.GetMasterRegistrationResponsePB)
4749
0
}
4750
4751
8.85M
void GetMasterRegistrationResponsePB::SharedCtor() {
4752
8.85M
  _cached_size_ = 0;
4753
8.85M
  ::memset(&instance_id_, 0, static_cast<size_t>(
4754
8.85M
      reinterpret_cast<char*>(&role_) -
4755
8.85M
      reinterpret_cast<char*>(&instance_id_)) + sizeof(role_));
4756
8.85M
}
4757
4758
8.85M
GetMasterRegistrationResponsePB::~GetMasterRegistrationResponsePB() {
4759
  // @@protoc_insertion_point(destructor:yb.master.GetMasterRegistrationResponsePB)
4760
8.85M
  SharedDtor();
4761
8.85M
}
4762
4763
8.85M
void GetMasterRegistrationResponsePB::SharedDtor() {
4764
8.85M
  if (this != internal_default_instance()) delete instance_id_;
4765
8.85M
  if (this != internal_default_instance()) delete registration_;
4766
8.85M
  if (this != internal_default_instance()) delete error_;
4767
8.85M
}
4768
4769
0
void GetMasterRegistrationResponsePB::SetCachedSize(int size) const {
4770
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4771
0
  _cached_size_ = size;
4772
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4773
0
}
4774
0
const ::google::protobuf::Descriptor* GetMasterRegistrationResponsePB::descriptor() {
4775
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
4776
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4777
0
}
4778
4779
0
const GetMasterRegistrationResponsePB& GetMasterRegistrationResponsePB::default_instance() {
4780
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetMasterRegistrationResponsePB();
4781
0
  return *internal_default_instance();
4782
0
}
4783
4784
0
GetMasterRegistrationResponsePB* GetMasterRegistrationResponsePB::New(::google::protobuf::Arena* arena) const {
4785
0
  GetMasterRegistrationResponsePB* n = new GetMasterRegistrationResponsePB;
4786
0
  if (arena != NULL) {
4787
0
    arena->Own(n);
4788
0
  }
4789
0
  return n;
4790
0
}
4791
4792
4.25M
void GetMasterRegistrationResponsePB::Clear() {
4793
// @@protoc_insertion_point(message_clear_start:yb.master.GetMasterRegistrationResponsePB)
4794
4.25M
  ::google::protobuf::uint32 cached_has_bits = 0;
4795
  // Prevent compiler warnings about cached_has_bits being unused
4796
4.25M
  (void) cached_has_bits;
4797
4798
4.25M
  cached_has_bits = _has_bits_[0];
4799
4.25M
  if (cached_has_bits & 7u) {
4800
0
    if (cached_has_bits & 0x00000001u) {
4801
0
      GOOGLE_DCHECK(instance_id_ != NULL);
4802
0
      instance_id_->Clear();
4803
0
    }
4804
0
    if (cached_has_bits & 0x00000002u) {
4805
0
      GOOGLE_DCHECK(registration_ != NULL);
4806
0
      registration_->Clear();
4807
0
    }
4808
0
    if (cached_has_bits & 0x00000004u) {
4809
0
      GOOGLE_DCHECK(error_ != NULL);
4810
0
      error_->Clear();
4811
0
    }
4812
0
  }
4813
4.25M
  role_ = 0;
4814
4.25M
  _has_bits_.Clear();
4815
4.25M
  _internal_metadata_.Clear();
4816
4.25M
}
4817
4818
bool GetMasterRegistrationResponsePB::MergePartialFromCodedStream(
4819
4.24M
    ::google::protobuf::io::CodedInputStream* input) {
4820
12.3M
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
4821
4.24M
  ::google::protobuf::uint32 tag;
4822
  // @@protoc_insertion_point(parse_start:yb.master.GetMasterRegistrationResponsePB)
4823
16.5M
  for (;;) {
4824
16.5M
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4825
16.5M
    tag = p.first;
4826
16.5M
    if (!p.second) goto handle_unusual;
4827
12.3M
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4828
      // required .yb.NodeInstancePB instance_id = 1;
4829
4.23M
      case 1: {
4830
4.23M
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4831
4.24M
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4832
4.24M
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4833
4.24M
               input, mutable_instance_id()));
4834
18.4E
        } else {
4835
18.4E
          goto handle_unusual;
4836
18.4E
        }
4837
4.24M
        break;
4838
4.24M
      }
4839
4840
      // optional .yb.ServerRegistrationPB registration = 2;
4841
3.84M
      case 2: {
4842
3.84M
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4843
3.84M
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
4844
3.84M
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4845
3.84M
               input, mutable_registration()));
4846
8.03k
        } else {
4847
8.03k
          goto handle_unusual;
4848
8.03k
        }
4849
3.84M
        break;
4850
3.84M
      }
4851
4852
      // optional .yb.PeerRole role = 3;
4853
3.85M
      case 3: {
4854
3.85M
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4855
3.85M
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
4856
3.85M
          int value;
4857
3.85M
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4858
3.85M
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
4859
3.85M
                 input, &value)));
4860
3.85M
          if (::yb::PeerRole_IsValid(value)) {
4861
3.83M
            set_role(static_cast< ::yb::PeerRole >(value));
4862
16.2k
          } else {
4863
16.2k
            mutable_unknown_fields()->AddVarint(
4864
16.2k
                3, static_cast< ::google::protobuf::uint64>(value));
4865
16.2k
          }
4866
18.4E
        } else {
4867
18.4E
          goto handle_unusual;
4868
18.4E
        }
4869
3.85M
        break;
4870
3.85M
      }
4871
4872
      // optional .yb.master.MasterErrorPB error = 4;
4873
396k
      case 4: {
4874
396k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4875
396k
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
4876
396k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4877
396k
               input, mutable_error()));
4878
18.4E
        } else {
4879
18.4E
          goto handle_unusual;
4880
18.4E
        }
4881
396k
        break;
4882
4.23M
      }
4883
4884
0
      default: {
4885
4.23M
      handle_unusual:
4886
4.23M
        if (tag == 0) {
4887
4.23M
          goto success;
4888
4.23M
        }
4889
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
4890
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
4891
18.4E
        break;
4892
18.4E
      }
4893
12.3M
    }
4894
12.3M
  }
4895
4.23M
success:
4896
  // @@protoc_insertion_point(parse_success:yb.master.GetMasterRegistrationResponsePB)
4897
4.23M
  return true;
4898
0
failure:
4899
  // @@protoc_insertion_point(parse_failure:yb.master.GetMasterRegistrationResponsePB)
4900
0
  return false;
4901
4.24M
#undef DO_
4902
4.24M
}
4903
4904
void GetMasterRegistrationResponsePB::SerializeWithCachedSizes(
4905
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4906
  // @@protoc_insertion_point(serialize_start:yb.master.GetMasterRegistrationResponsePB)
4907
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4908
0
  (void) cached_has_bits;
4909
4910
0
  cached_has_bits = _has_bits_[0];
4911
  // required .yb.NodeInstancePB instance_id = 1;
4912
0
  if (cached_has_bits & 0x00000001u) {
4913
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4914
0
      1, *this->instance_id_, output);
4915
0
  }
4916
4917
  // optional .yb.ServerRegistrationPB registration = 2;
4918
0
  if (cached_has_bits & 0x00000002u) {
4919
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4920
0
      2, *this->registration_, output);
4921
0
  }
4922
4923
  // optional .yb.PeerRole role = 3;
4924
0
  if (cached_has_bits & 0x00000008u) {
4925
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
4926
0
      3, this->role(), output);
4927
0
  }
4928
4929
  // optional .yb.master.MasterErrorPB error = 4;
4930
0
  if (cached_has_bits & 0x00000004u) {
4931
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4932
0
      4, *this->error_, output);
4933
0
  }
4934
4935
0
  if (_internal_metadata_.have_unknown_fields()) {
4936
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4937
0
        _internal_metadata_.unknown_fields(), output);
4938
0
  }
4939
  // @@protoc_insertion_point(serialize_end:yb.master.GetMasterRegistrationResponsePB)
4940
0
}
4941
4942
::google::protobuf::uint8* GetMasterRegistrationResponsePB::InternalSerializeWithCachedSizesToArray(
4943
4.30M
    bool deterministic, ::google::protobuf::uint8* target) const {
4944
4.30M
  (void)deterministic; // Unused
4945
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetMasterRegistrationResponsePB)
4946
4.30M
  ::google::protobuf::uint32 cached_has_bits = 0;
4947
4.30M
  (void) cached_has_bits;
4948
4949
4.30M
  cached_has_bits = _has_bits_[0];
4950
  // required .yb.NodeInstancePB instance_id = 1;
4951
4.30M
  if (cached_has_bits & 0x00000001u) {
4952
4.29M
    target = ::google::protobuf::internal::WireFormatLite::
4953
4.29M
      InternalWriteMessageToArray(
4954
4.29M
        1, *this->instance_id_, deterministic, target);
4955
4.29M
  }
4956
4957
  // optional .yb.ServerRegistrationPB registration = 2;
4958
4.30M
  if (cached_has_bits & 0x00000002u) {
4959
3.89M
    target = ::google::protobuf::internal::WireFormatLite::
4960
3.89M
      InternalWriteMessageToArray(
4961
3.89M
        2, *this->registration_, deterministic, target);
4962
3.89M
  }
4963
4964
  // optional .yb.PeerRole role = 3;
4965
4.30M
  if (cached_has_bits & 0x00000008u) {
4966
3.89M
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
4967
3.89M
      3, this->role(), target);
4968
3.89M
  }
4969
4970
  // optional .yb.master.MasterErrorPB error = 4;
4971
4.30M
  if (cached_has_bits & 0x00000004u) {
4972
395k
    target = ::google::protobuf::internal::WireFormatLite::
4973
395k
      InternalWriteMessageToArray(
4974
395k
        4, *this->error_, deterministic, target);
4975
395k
  }
4976
4977
4.30M
  if (_internal_metadata_.have_unknown_fields()) {
4978
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4979
0
        _internal_metadata_.unknown_fields(), target);
4980
0
  }
4981
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetMasterRegistrationResponsePB)
4982
4.30M
  return target;
4983
4.30M
}
4984
4985
8.59M
size_t GetMasterRegistrationResponsePB::ByteSizeLong() const {
4986
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetMasterRegistrationResponsePB)
4987
8.59M
  size_t total_size = 0;
4988
4989
8.59M
  if (_internal_metadata_.have_unknown_fields()) {
4990
0
    total_size +=
4991
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4992
0
        _internal_metadata_.unknown_fields());
4993
0
  }
4994
  // required .yb.NodeInstancePB instance_id = 1;
4995
8.59M
  if (has_instance_id()) {
4996
8.58M
    total_size += 1 +
4997
8.58M
      ::google::protobuf::internal::WireFormatLite::MessageSize(
4998
8.58M
        *this->instance_id_);
4999
8.58M
  }
5000
8.59M
  if (_has_bits_[0 / 32] & 14u) {
5001
    // optional .yb.ServerRegistrationPB registration = 2;
5002
8.58M
    if (has_registration()) {
5003
7.79M
      total_size += 1 +
5004
7.79M
        ::google::protobuf::internal::WireFormatLite::MessageSize(
5005
7.79M
          *this->registration_);
5006
7.79M
    }
5007
5008
    // optional .yb.master.MasterErrorPB error = 4;
5009
8.58M
    if (has_error()) {
5010
790k
      total_size += 1 +
5011
790k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
5012
790k
          *this->error_);
5013
790k
    }
5014
5015
    // optional .yb.PeerRole role = 3;
5016
8.58M
    if (has_role()) {
5017
7.79M
      total_size += 1 +
5018
7.79M
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->role());
5019
7.79M
    }
5020
5021
8.58M
  }
5022
8.59M
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5023
8.59M
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5024
8.59M
  _cached_size_ = cached_size;
5025
8.59M
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5026
8.59M
  return total_size;
5027
8.59M
}
5028
5029
0
void GetMasterRegistrationResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
5030
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetMasterRegistrationResponsePB)
5031
0
  GOOGLE_DCHECK_NE(&from, this);
5032
0
  const GetMasterRegistrationResponsePB* source =
5033
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetMasterRegistrationResponsePB>(
5034
0
          &from);
5035
0
  if (source == NULL) {
5036
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetMasterRegistrationResponsePB)
5037
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5038
0
  } else {
5039
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetMasterRegistrationResponsePB)
5040
0
    MergeFrom(*source);
5041
0
  }
5042
0
}
5043
5044
0
void GetMasterRegistrationResponsePB::MergeFrom(const GetMasterRegistrationResponsePB& from) {
5045
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetMasterRegistrationResponsePB)
5046
0
  GOOGLE_DCHECK_NE(&from, this);
5047
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5048
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5049
0
  (void) cached_has_bits;
5050
5051
0
  cached_has_bits = from._has_bits_[0];
5052
0
  if (cached_has_bits & 15u) {
5053
0
    if (cached_has_bits & 0x00000001u) {
5054
0
      mutable_instance_id()->::yb::NodeInstancePB::MergeFrom(from.instance_id());
5055
0
    }
5056
0
    if (cached_has_bits & 0x00000002u) {
5057
0
      mutable_registration()->::yb::ServerRegistrationPB::MergeFrom(from.registration());
5058
0
    }
5059
0
    if (cached_has_bits & 0x00000004u) {
5060
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
5061
0
    }
5062
0
    if (cached_has_bits & 0x00000008u) {
5063
0
      role_ = from.role_;
5064
0
    }
5065
0
    _has_bits_[0] |= cached_has_bits;
5066
0
  }
5067
0
}
5068
5069
0
void GetMasterRegistrationResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
5070
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetMasterRegistrationResponsePB)
5071
0
  if (&from == this) return;
5072
0
  Clear();
5073
0
  MergeFrom(from);
5074
0
}
5075
5076
0
void GetMasterRegistrationResponsePB::CopyFrom(const GetMasterRegistrationResponsePB& from) {
5077
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetMasterRegistrationResponsePB)
5078
0
  if (&from == this) return;
5079
0
  Clear();
5080
0
  MergeFrom(from);
5081
0
}
5082
5083
8.55M
bool GetMasterRegistrationResponsePB::IsInitialized() const {
5084
8.55M
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
5085
8.55M
  if (has_instance_id()) {
5086
8.52M
    if (!this->instance_id_->IsInitialized()) return false;
5087
8.55M
  }
5088
8.55M
  if (has_registration()) {
5089
7.72M
    if (!this->registration_->IsInitialized()) return false;
5090
8.55M
  }
5091
8.55M
  if (has_error()) {
5092
793k
    if (!this->error_->IsInitialized()) return false;
5093
8.55M
  }
5094
8.55M
  return true;
5095
8.55M
}
5096
5097
0
void GetMasterRegistrationResponsePB::Swap(GetMasterRegistrationResponsePB* other) {
5098
0
  if (other == this) return;
5099
0
  InternalSwap(other);
5100
0
}
5101
0
void GetMasterRegistrationResponsePB::InternalSwap(GetMasterRegistrationResponsePB* other) {
5102
0
  using std::swap;
5103
0
  swap(instance_id_, other->instance_id_);
5104
0
  swap(registration_, other->registration_);
5105
0
  swap(error_, other->error_);
5106
0
  swap(role_, other->role_);
5107
0
  swap(_has_bits_[0], other->_has_bits_[0]);
5108
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
5109
0
  swap(_cached_size_, other->_cached_size_);
5110
0
}
5111
5112
0
::google::protobuf::Metadata GetMasterRegistrationResponsePB::GetMetadata() const {
5113
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
5114
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
5115
0
}
5116
5117
5118
// ===================================================================
5119
5120
15.8k
void IsMasterLeaderReadyRequestPB::InitAsDefaultInstance() {
5121
15.8k
}
5122
#if !defined(_MSC_VER) || _MSC_VER >= 1900
5123
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
5124
5125
IsMasterLeaderReadyRequestPB::IsMasterLeaderReadyRequestPB()
5126
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
5127
48
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
5128
48
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsIsMasterLeaderReadyRequestPB();
5129
48
  }
5130
15.8k
  SharedCtor();
5131
  // @@protoc_insertion_point(constructor:yb.master.IsMasterLeaderReadyRequestPB)
5132
15.8k
}
5133
IsMasterLeaderReadyRequestPB::IsMasterLeaderReadyRequestPB(const IsMasterLeaderReadyRequestPB& from)
5134
  : ::google::protobuf::Message(),
5135
      _internal_metadata_(NULL),
5136
      _has_bits_(from._has_bits_),
5137
0
      _cached_size_(0) {
5138
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5139
  // @@protoc_insertion_point(copy_constructor:yb.master.IsMasterLeaderReadyRequestPB)
5140
0
}
5141
5142
15.8k
void IsMasterLeaderReadyRequestPB::SharedCtor() {
5143
15.8k
  _cached_size_ = 0;
5144
15.8k
}
5145
5146
48
IsMasterLeaderReadyRequestPB::~IsMasterLeaderReadyRequestPB() {
5147
  // @@protoc_insertion_point(destructor:yb.master.IsMasterLeaderReadyRequestPB)
5148
48
  SharedDtor();
5149
48
}
5150
5151
48
void IsMasterLeaderReadyRequestPB::SharedDtor() {
5152
48
}
5153
5154
0
void IsMasterLeaderReadyRequestPB::SetCachedSize(int size) const {
5155
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5156
0
  _cached_size_ = size;
5157
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5158
0
}
5159
0
const ::google::protobuf::Descriptor* IsMasterLeaderReadyRequestPB::descriptor() {
5160
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
5161
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
5162
0
}
5163
5164
0
const IsMasterLeaderReadyRequestPB& IsMasterLeaderReadyRequestPB::default_instance() {
5165
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsIsMasterLeaderReadyRequestPB();
5166
0
  return *internal_default_instance();
5167
0
}
5168
5169
0
IsMasterLeaderReadyRequestPB* IsMasterLeaderReadyRequestPB::New(::google::protobuf::Arena* arena) const {
5170
0
  IsMasterLeaderReadyRequestPB* n = new IsMasterLeaderReadyRequestPB;
5171
0
  if (arena != NULL) {
5172
0
    arena->Own(n);
5173
0
  }
5174
0
  return n;
5175
0
}
5176
5177
24
void IsMasterLeaderReadyRequestPB::Clear() {
5178
// @@protoc_insertion_point(message_clear_start:yb.master.IsMasterLeaderReadyRequestPB)
5179
24
  ::google::protobuf::uint32 cached_has_bits = 0;
5180
  // Prevent compiler warnings about cached_has_bits being unused
5181
24
  (void) cached_has_bits;
5182
5183
24
  _has_bits_.Clear();
5184
24
  _internal_metadata_.Clear();
5185
24
}
5186
5187
bool IsMasterLeaderReadyRequestPB::MergePartialFromCodedStream(
5188
24
    ::google::protobuf::io::CodedInputStream* input) {
5189
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
5190
24
  ::google::protobuf::uint32 tag;
5191
  // @@protoc_insertion_point(parse_start:yb.master.IsMasterLeaderReadyRequestPB)
5192
24
  for (;;) {
5193
24
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5194
24
    tag = p.first;
5195
24
    if (!p.second) goto handle_unusual;
5196
24
  handle_unusual:
5197
24
    if (tag == 0) {
5198
24
      goto success;
5199
24
    }
5200
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
5201
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
5202
0
  }
5203
24
success:
5204
  // @@protoc_insertion_point(parse_success:yb.master.IsMasterLeaderReadyRequestPB)
5205
24
  return true;
5206
0
failure:
5207
  // @@protoc_insertion_point(parse_failure:yb.master.IsMasterLeaderReadyRequestPB)
5208
0
  return false;
5209
24
#undef DO_
5210
24
}
5211
5212
void IsMasterLeaderReadyRequestPB::SerializeWithCachedSizes(
5213
0
    ::google::protobuf::io::CodedOutputStream* output) const {
5214
  // @@protoc_insertion_point(serialize_start:yb.master.IsMasterLeaderReadyRequestPB)
5215
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5216
0
  (void) cached_has_bits;
5217
5218
0
  if (_internal_metadata_.have_unknown_fields()) {
5219
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5220
0
        _internal_metadata_.unknown_fields(), output);
5221
0
  }
5222
  // @@protoc_insertion_point(serialize_end:yb.master.IsMasterLeaderReadyRequestPB)
5223
0
}
5224
5225
::google::protobuf::uint8* IsMasterLeaderReadyRequestPB::InternalSerializeWithCachedSizesToArray(
5226
24
    bool deterministic, ::google::protobuf::uint8* target) const {
5227
24
  (void)deterministic; // Unused
5228
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.IsMasterLeaderReadyRequestPB)
5229
24
  ::google::protobuf::uint32 cached_has_bits = 0;
5230
24
  (void) cached_has_bits;
5231
5232
24
  if (_internal_metadata_.have_unknown_fields()) {
5233
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5234
0
        _internal_metadata_.unknown_fields(), target);
5235
0
  }
5236
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.IsMasterLeaderReadyRequestPB)
5237
24
  return target;
5238
24
}
5239
5240
48
size_t IsMasterLeaderReadyRequestPB::ByteSizeLong() const {
5241
// @@protoc_insertion_point(message_byte_size_start:yb.master.IsMasterLeaderReadyRequestPB)
5242
48
  size_t total_size = 0;
5243
5244
48
  if (_internal_metadata_.have_unknown_fields()) {
5245
0
    total_size +=
5246
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5247
0
        _internal_metadata_.unknown_fields());
5248
0
  }
5249
48
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5250
48
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5251
48
  _cached_size_ = cached_size;
5252
48
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5253
48
  return total_size;
5254
48
}
5255
5256
0
void IsMasterLeaderReadyRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
5257
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.IsMasterLeaderReadyRequestPB)
5258
0
  GOOGLE_DCHECK_NE(&from, this);
5259
0
  const IsMasterLeaderReadyRequestPB* source =
5260
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsMasterLeaderReadyRequestPB>(
5261
0
          &from);
5262
0
  if (source == NULL) {
5263
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.IsMasterLeaderReadyRequestPB)
5264
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5265
0
  } else {
5266
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.IsMasterLeaderReadyRequestPB)
5267
0
    MergeFrom(*source);
5268
0
  }
5269
0
}
5270
5271
0
void IsMasterLeaderReadyRequestPB::MergeFrom(const IsMasterLeaderReadyRequestPB& from) {
5272
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.IsMasterLeaderReadyRequestPB)
5273
0
  GOOGLE_DCHECK_NE(&from, this);
5274
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5275
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5276
0
  (void) cached_has_bits;
5277
5278
0
}
5279
5280
0
void IsMasterLeaderReadyRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
5281
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.IsMasterLeaderReadyRequestPB)
5282
0
  if (&from == this) return;
5283
0
  Clear();
5284
0
  MergeFrom(from);
5285
0
}
5286
5287
0
void IsMasterLeaderReadyRequestPB::CopyFrom(const IsMasterLeaderReadyRequestPB& from) {
5288
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.IsMasterLeaderReadyRequestPB)
5289
0
  if (&from == this) return;
5290
0
  Clear();
5291
0
  MergeFrom(from);
5292
0
}
5293
5294
48
bool IsMasterLeaderReadyRequestPB::IsInitialized() const {
5295
48
  return true;
5296
48
}
5297
5298
0
void IsMasterLeaderReadyRequestPB::Swap(IsMasterLeaderReadyRequestPB* other) {
5299
0
  if (other == this) return;
5300
0
  InternalSwap(other);
5301
0
}
5302
0
void IsMasterLeaderReadyRequestPB::InternalSwap(IsMasterLeaderReadyRequestPB* other) {
5303
0
  using std::swap;
5304
0
  swap(_has_bits_[0], other->_has_bits_[0]);
5305
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
5306
0
  swap(_cached_size_, other->_cached_size_);
5307
0
}
5308
5309
24
::google::protobuf::Metadata IsMasterLeaderReadyRequestPB::GetMetadata() const {
5310
24
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
5311
24
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
5312
24
}
5313
5314
5315
// ===================================================================
5316
5317
15.8k
void IsMasterLeaderReadyResponsePB::InitAsDefaultInstance() {
5318
15.8k
  ::yb::master::_IsMasterLeaderReadyResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
5319
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
5320
15.8k
}
5321
0
void IsMasterLeaderReadyResponsePB::clear_error() {
5322
0
  if (error_ != NULL) error_->Clear();
5323
0
  clear_has_error();
5324
0
}
5325
#if !defined(_MSC_VER) || _MSC_VER >= 1900
5326
const int IsMasterLeaderReadyResponsePB::kErrorFieldNumber;
5327
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
5328
5329
IsMasterLeaderReadyResponsePB::IsMasterLeaderReadyResponsePB()
5330
15.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
5331
94
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
5332
94
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsIsMasterLeaderReadyResponsePB();
5333
94
  }
5334
15.9k
  SharedCtor();
5335
  // @@protoc_insertion_point(constructor:yb.master.IsMasterLeaderReadyResponsePB)
5336
15.9k
}
5337
IsMasterLeaderReadyResponsePB::IsMasterLeaderReadyResponsePB(const IsMasterLeaderReadyResponsePB& from)
5338
  : ::google::protobuf::Message(),
5339
      _internal_metadata_(NULL),
5340
      _has_bits_(from._has_bits_),
5341
0
      _cached_size_(0) {
5342
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5343
0
  if (from.has_error()) {
5344
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
5345
0
  } else {
5346
0
    error_ = NULL;
5347
0
  }
5348
  // @@protoc_insertion_point(copy_constructor:yb.master.IsMasterLeaderReadyResponsePB)
5349
0
}
5350
5351
15.9k
void IsMasterLeaderReadyResponsePB::SharedCtor() {
5352
15.9k
  _cached_size_ = 0;
5353
15.9k
  error_ = NULL;
5354
15.9k
}
5355
5356
94
IsMasterLeaderReadyResponsePB::~IsMasterLeaderReadyResponsePB() {
5357
  // @@protoc_insertion_point(destructor:yb.master.IsMasterLeaderReadyResponsePB)
5358
94
  SharedDtor();
5359
94
}
5360
5361
94
void IsMasterLeaderReadyResponsePB::SharedDtor() {
5362
94
  if (this != internal_default_instance()) delete error_;
5363
94
}
5364
5365
0
void IsMasterLeaderReadyResponsePB::SetCachedSize(int size) const {
5366
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5367
0
  _cached_size_ = size;
5368
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5369
0
}
5370
0
const ::google::protobuf::Descriptor* IsMasterLeaderReadyResponsePB::descriptor() {
5371
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
5372
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
5373
0
}
5374
5375
0
const IsMasterLeaderReadyResponsePB& IsMasterLeaderReadyResponsePB::default_instance() {
5376
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsIsMasterLeaderReadyResponsePB();
5377
0
  return *internal_default_instance();
5378
0
}
5379
5380
0
IsMasterLeaderReadyResponsePB* IsMasterLeaderReadyResponsePB::New(::google::protobuf::Arena* arena) const {
5381
0
  IsMasterLeaderReadyResponsePB* n = new IsMasterLeaderReadyResponsePB;
5382
0
  if (arena != NULL) {
5383
0
    arena->Own(n);
5384
0
  }
5385
0
  return n;
5386
0
}
5387
5388
24
void IsMasterLeaderReadyResponsePB::Clear() {
5389
// @@protoc_insertion_point(message_clear_start:yb.master.IsMasterLeaderReadyResponsePB)
5390
24
  ::google::protobuf::uint32 cached_has_bits = 0;
5391
  // Prevent compiler warnings about cached_has_bits being unused
5392
24
  (void) cached_has_bits;
5393
5394
24
  cached_has_bits = _has_bits_[0];
5395
24
  if (cached_has_bits & 0x00000001u) {
5396
0
    GOOGLE_DCHECK(error_ != NULL);
5397
0
    error_->Clear();
5398
0
  }
5399
24
  _has_bits_.Clear();
5400
24
  _internal_metadata_.Clear();
5401
24
}
5402
5403
bool IsMasterLeaderReadyResponsePB::MergePartialFromCodedStream(
5404
24
    ::google::protobuf::io::CodedInputStream* input) {
5405
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
5406
24
  ::google::protobuf::uint32 tag;
5407
  // @@protoc_insertion_point(parse_start:yb.master.IsMasterLeaderReadyResponsePB)
5408
24
  for (;;) {
5409
24
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5410
24
    tag = p.first;
5411
24
    if (!p.second) goto handle_unusual;
5412
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5413
      // optional .yb.master.MasterErrorPB error = 1;
5414
0
      case 1: {
5415
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5416
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
5417
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5418
0
               input, mutable_error()));
5419
0
        } else {
5420
0
          goto handle_unusual;
5421
0
        }
5422
0
        break;
5423
24
      }
5424
5425
0
      default: {
5426
24
      handle_unusual:
5427
24
        if (tag == 0) {
5428
24
          goto success;
5429
24
        }
5430
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
5431
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
5432
0
        break;
5433
0
      }
5434
0
    }
5435
0
  }
5436
24
success:
5437
  // @@protoc_insertion_point(parse_success:yb.master.IsMasterLeaderReadyResponsePB)
5438
24
  return true;
5439
0
failure:
5440
  // @@protoc_insertion_point(parse_failure:yb.master.IsMasterLeaderReadyResponsePB)
5441
0
  return false;
5442
24
#undef DO_
5443
24
}
5444
5445
void IsMasterLeaderReadyResponsePB::SerializeWithCachedSizes(
5446
0
    ::google::protobuf::io::CodedOutputStream* output) const {
5447
  // @@protoc_insertion_point(serialize_start:yb.master.IsMasterLeaderReadyResponsePB)
5448
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5449
0
  (void) cached_has_bits;
5450
5451
0
  cached_has_bits = _has_bits_[0];
5452
  // optional .yb.master.MasterErrorPB error = 1;
5453
0
  if (cached_has_bits & 0x00000001u) {
5454
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5455
0
      1, *this->error_, output);
5456
0
  }
5457
5458
0
  if (_internal_metadata_.have_unknown_fields()) {
5459
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5460
0
        _internal_metadata_.unknown_fields(), output);
5461
0
  }
5462
  // @@protoc_insertion_point(serialize_end:yb.master.IsMasterLeaderReadyResponsePB)
5463
0
}
5464
5465
::google::protobuf::uint8* IsMasterLeaderReadyResponsePB::InternalSerializeWithCachedSizesToArray(
5466
24
    bool deterministic, ::google::protobuf::uint8* target) const {
5467
24
  (void)deterministic; // Unused
5468
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.IsMasterLeaderReadyResponsePB)
5469
24
  ::google::protobuf::uint32 cached_has_bits = 0;
5470
24
  (void) cached_has_bits;
5471
5472
24
  cached_has_bits = _has_bits_[0];
5473
  // optional .yb.master.MasterErrorPB error = 1;
5474
24
  if (cached_has_bits & 0x00000001u) {
5475
0
    target = ::google::protobuf::internal::WireFormatLite::
5476
0
      InternalWriteMessageToArray(
5477
0
        1, *this->error_, deterministic, target);
5478
0
  }
5479
5480
24
  if (_internal_metadata_.have_unknown_fields()) {
5481
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5482
0
        _internal_metadata_.unknown_fields(), target);
5483
0
  }
5484
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.IsMasterLeaderReadyResponsePB)
5485
24
  return target;
5486
24
}
5487
5488
48
size_t IsMasterLeaderReadyResponsePB::ByteSizeLong() const {
5489
// @@protoc_insertion_point(message_byte_size_start:yb.master.IsMasterLeaderReadyResponsePB)
5490
48
  size_t total_size = 0;
5491
5492
48
  if (_internal_metadata_.have_unknown_fields()) {
5493
0
    total_size +=
5494
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5495
0
        _internal_metadata_.unknown_fields());
5496
0
  }
5497
  // optional .yb.master.MasterErrorPB error = 1;
5498
48
  if (has_error()) {
5499
0
    total_size += 1 +
5500
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
5501
0
        *this->error_);
5502
0
  }
5503
5504
48
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5505
48
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5506
48
  _cached_size_ = cached_size;
5507
48
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5508
48
  return total_size;
5509
48
}
5510
5511
0
void IsMasterLeaderReadyResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
5512
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.IsMasterLeaderReadyResponsePB)
5513
0
  GOOGLE_DCHECK_NE(&from, this);
5514
0
  const IsMasterLeaderReadyResponsePB* source =
5515
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsMasterLeaderReadyResponsePB>(
5516
0
          &from);
5517
0
  if (source == NULL) {
5518
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.IsMasterLeaderReadyResponsePB)
5519
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5520
0
  } else {
5521
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.IsMasterLeaderReadyResponsePB)
5522
0
    MergeFrom(*source);
5523
0
  }
5524
0
}
5525
5526
0
void IsMasterLeaderReadyResponsePB::MergeFrom(const IsMasterLeaderReadyResponsePB& from) {
5527
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.IsMasterLeaderReadyResponsePB)
5528
0
  GOOGLE_DCHECK_NE(&from, this);
5529
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5530
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5531
0
  (void) cached_has_bits;
5532
5533
0
  if (from.has_error()) {
5534
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
5535
0
  }
5536
0
}
5537
5538
0
void IsMasterLeaderReadyResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
5539
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.IsMasterLeaderReadyResponsePB)
5540
0
  if (&from == this) return;
5541
0
  Clear();
5542
0
  MergeFrom(from);
5543
0
}
5544
5545
0
void IsMasterLeaderReadyResponsePB::CopyFrom(const IsMasterLeaderReadyResponsePB& from) {
5546
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.IsMasterLeaderReadyResponsePB)
5547
0
  if (&from == this) return;
5548
0
  Clear();
5549
0
  MergeFrom(from);
5550
0
}
5551
5552
48
bool IsMasterLeaderReadyResponsePB::IsInitialized() const {
5553
48
  if (has_error()) {
5554
0
    if (!this->error_->IsInitialized()) return false;
5555
48
  }
5556
48
  return true;
5557
48
}
5558
5559
0
void IsMasterLeaderReadyResponsePB::Swap(IsMasterLeaderReadyResponsePB* other) {
5560
0
  if (other == this) return;
5561
0
  InternalSwap(other);
5562
0
}
5563
46
void IsMasterLeaderReadyResponsePB::InternalSwap(IsMasterLeaderReadyResponsePB* other) {
5564
46
  using std::swap;
5565
46
  swap(error_, other->error_);
5566
46
  swap(_has_bits_[0], other->_has_bits_[0]);
5567
46
  _internal_metadata_.Swap(&other->_internal_metadata_);
5568
46
  swap(_cached_size_, other->_cached_size_);
5569
46
}
5570
5571
0
::google::protobuf::Metadata IsMasterLeaderReadyResponsePB::GetMetadata() const {
5572
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
5573
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
5574
0
}
5575
5576
5577
// ===================================================================
5578
5579
15.8k
void DumpMasterStateRequestPB::InitAsDefaultInstance() {
5580
15.8k
}
5581
#if !defined(_MSC_VER) || _MSC_VER >= 1900
5582
const int DumpMasterStateRequestPB::kOnDiskFieldNumber;
5583
const int DumpMasterStateRequestPB::kPeersAlsoFieldNumber;
5584
const int DumpMasterStateRequestPB::kReturnDumpAsStringFieldNumber;
5585
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
5586
5587
DumpMasterStateRequestPB::DumpMasterStateRequestPB()
5588
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
5589
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
5590
0
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsDumpMasterStateRequestPB();
5591
0
  }
5592
15.8k
  SharedCtor();
5593
  // @@protoc_insertion_point(constructor:yb.master.DumpMasterStateRequestPB)
5594
15.8k
}
5595
DumpMasterStateRequestPB::DumpMasterStateRequestPB(const DumpMasterStateRequestPB& from)
5596
  : ::google::protobuf::Message(),
5597
      _internal_metadata_(NULL),
5598
      _has_bits_(from._has_bits_),
5599
0
      _cached_size_(0) {
5600
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5601
0
  ::memcpy(&peers_also_, &from.peers_also_,
5602
0
    static_cast<size_t>(reinterpret_cast<char*>(&on_disk_) -
5603
0
    reinterpret_cast<char*>(&peers_also_)) + sizeof(on_disk_));
5604
  // @@protoc_insertion_point(copy_constructor:yb.master.DumpMasterStateRequestPB)
5605
0
}
5606
5607
15.8k
void DumpMasterStateRequestPB::SharedCtor() {
5608
15.8k
  _cached_size_ = 0;
5609
15.8k
  ::memset(&peers_also_, 0, static_cast<size_t>(
5610
15.8k
      reinterpret_cast<char*>(&return_dump_as_string_) -
5611
15.8k
      reinterpret_cast<char*>(&peers_also_)) + sizeof(return_dump_as_string_));
5612
15.8k
  on_disk_ = true;
5613
15.8k
}
5614
5615
0
DumpMasterStateRequestPB::~DumpMasterStateRequestPB() {
5616
  // @@protoc_insertion_point(destructor:yb.master.DumpMasterStateRequestPB)
5617
0
  SharedDtor();
5618
0
}
5619
5620
0
void DumpMasterStateRequestPB::SharedDtor() {
5621
0
}
5622
5623
0
void DumpMasterStateRequestPB::SetCachedSize(int size) const {
5624
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5625
0
  _cached_size_ = size;
5626
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5627
0
}
5628
0
const ::google::protobuf::Descriptor* DumpMasterStateRequestPB::descriptor() {
5629
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
5630
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
5631
0
}
5632
5633
0
const DumpMasterStateRequestPB& DumpMasterStateRequestPB::default_instance() {
5634
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsDumpMasterStateRequestPB();
5635
0
  return *internal_default_instance();
5636
0
}
5637
5638
0
DumpMasterStateRequestPB* DumpMasterStateRequestPB::New(::google::protobuf::Arena* arena) const {
5639
0
  DumpMasterStateRequestPB* n = new DumpMasterStateRequestPB;
5640
0
  if (arena != NULL) {
5641
0
    arena->Own(n);
5642
0
  }
5643
0
  return n;
5644
0
}
5645
5646
0
void DumpMasterStateRequestPB::Clear() {
5647
// @@protoc_insertion_point(message_clear_start:yb.master.DumpMasterStateRequestPB)
5648
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5649
  // Prevent compiler warnings about cached_has_bits being unused
5650
0
  (void) cached_has_bits;
5651
5652
0
  ::memset(&peers_also_, 0, static_cast<size_t>(
5653
0
      reinterpret_cast<char*>(&return_dump_as_string_) -
5654
0
      reinterpret_cast<char*>(&peers_also_)) + sizeof(return_dump_as_string_));
5655
0
  on_disk_ = true;
5656
0
  _has_bits_.Clear();
5657
0
  _internal_metadata_.Clear();
5658
0
}
5659
5660
bool DumpMasterStateRequestPB::MergePartialFromCodedStream(
5661
0
    ::google::protobuf::io::CodedInputStream* input) {
5662
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
5663
0
  ::google::protobuf::uint32 tag;
5664
  // @@protoc_insertion_point(parse_start:yb.master.DumpMasterStateRequestPB)
5665
0
  for (;;) {
5666
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5667
0
    tag = p.first;
5668
0
    if (!p.second) goto handle_unusual;
5669
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5670
      // optional bool on_disk = 1 [default = true];
5671
0
      case 1: {
5672
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5673
0
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
5674
0
          set_has_on_disk();
5675
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5676
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
5677
0
                 input, &on_disk_)));
5678
0
        } else {
5679
0
          goto handle_unusual;
5680
0
        }
5681
0
        break;
5682
0
      }
5683
5684
      // optional bool peers_also = 2 [default = false];
5685
0
      case 2: {
5686
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5687
0
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
5688
0
          set_has_peers_also();
5689
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5690
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
5691
0
                 input, &peers_also_)));
5692
0
        } else {
5693
0
          goto handle_unusual;
5694
0
        }
5695
0
        break;
5696
0
      }
5697
5698
      // optional bool return_dump_as_string = 3 [default = false];
5699
0
      case 3: {
5700
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5701
0
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
5702
0
          set_has_return_dump_as_string();
5703
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5704
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
5705
0
                 input, &return_dump_as_string_)));
5706
0
        } else {
5707
0
          goto handle_unusual;
5708
0
        }
5709
0
        break;
5710
0
      }
5711
5712
0
      default: {
5713
0
      handle_unusual:
5714
0
        if (tag == 0) {
5715
0
          goto success;
5716
0
        }
5717
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
5718
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
5719
0
        break;
5720
0
      }
5721
0
    }
5722
0
  }
5723
0
success:
5724
  // @@protoc_insertion_point(parse_success:yb.master.DumpMasterStateRequestPB)
5725
0
  return true;
5726
0
failure:
5727
  // @@protoc_insertion_point(parse_failure:yb.master.DumpMasterStateRequestPB)
5728
0
  return false;
5729
0
#undef DO_
5730
0
}
5731
5732
void DumpMasterStateRequestPB::SerializeWithCachedSizes(
5733
0
    ::google::protobuf::io::CodedOutputStream* output) const {
5734
  // @@protoc_insertion_point(serialize_start:yb.master.DumpMasterStateRequestPB)
5735
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5736
0
  (void) cached_has_bits;
5737
5738
0
  cached_has_bits = _has_bits_[0];
5739
  // optional bool on_disk = 1 [default = true];
5740
0
  if (cached_has_bits & 0x00000004u) {
5741
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->on_disk(), output);
5742
0
  }
5743
5744
  // optional bool peers_also = 2 [default = false];
5745
0
  if (cached_has_bits & 0x00000001u) {
5746
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->peers_also(), output);
5747
0
  }
5748
5749
  // optional bool return_dump_as_string = 3 [default = false];
5750
0
  if (cached_has_bits & 0x00000002u) {
5751
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->return_dump_as_string(), output);
5752
0
  }
5753
5754
0
  if (_internal_metadata_.have_unknown_fields()) {
5755
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5756
0
        _internal_metadata_.unknown_fields(), output);
5757
0
  }
5758
  // @@protoc_insertion_point(serialize_end:yb.master.DumpMasterStateRequestPB)
5759
0
}
5760
5761
::google::protobuf::uint8* DumpMasterStateRequestPB::InternalSerializeWithCachedSizesToArray(
5762
0
    bool deterministic, ::google::protobuf::uint8* target) const {
5763
0
  (void)deterministic; // Unused
5764
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.DumpMasterStateRequestPB)
5765
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5766
0
  (void) cached_has_bits;
5767
5768
0
  cached_has_bits = _has_bits_[0];
5769
  // optional bool on_disk = 1 [default = true];
5770
0
  if (cached_has_bits & 0x00000004u) {
5771
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->on_disk(), target);
5772
0
  }
5773
5774
  // optional bool peers_also = 2 [default = false];
5775
0
  if (cached_has_bits & 0x00000001u) {
5776
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->peers_also(), target);
5777
0
  }
5778
5779
  // optional bool return_dump_as_string = 3 [default = false];
5780
0
  if (cached_has_bits & 0x00000002u) {
5781
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->return_dump_as_string(), target);
5782
0
  }
5783
5784
0
  if (_internal_metadata_.have_unknown_fields()) {
5785
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5786
0
        _internal_metadata_.unknown_fields(), target);
5787
0
  }
5788
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.DumpMasterStateRequestPB)
5789
0
  return target;
5790
0
}
5791
5792
0
size_t DumpMasterStateRequestPB::ByteSizeLong() const {
5793
// @@protoc_insertion_point(message_byte_size_start:yb.master.DumpMasterStateRequestPB)
5794
0
  size_t total_size = 0;
5795
5796
0
  if (_internal_metadata_.have_unknown_fields()) {
5797
0
    total_size +=
5798
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5799
0
        _internal_metadata_.unknown_fields());
5800
0
  }
5801
0
  if (_has_bits_[0 / 32] & 7u) {
5802
    // optional bool peers_also = 2 [default = false];
5803
0
    if (has_peers_also()) {
5804
0
      total_size += 1 + 1;
5805
0
    }
5806
5807
    // optional bool return_dump_as_string = 3 [default = false];
5808
0
    if (has_return_dump_as_string()) {
5809
0
      total_size += 1 + 1;
5810
0
    }
5811
5812
    // optional bool on_disk = 1 [default = true];
5813
0
    if (has_on_disk()) {
5814
0
      total_size += 1 + 1;
5815
0
    }
5816
5817
0
  }
5818
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5819
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5820
0
  _cached_size_ = cached_size;
5821
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5822
0
  return total_size;
5823
0
}
5824
5825
0
void DumpMasterStateRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
5826
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.DumpMasterStateRequestPB)
5827
0
  GOOGLE_DCHECK_NE(&from, this);
5828
0
  const DumpMasterStateRequestPB* source =
5829
0
      ::google::protobuf::internal::DynamicCastToGenerated<const DumpMasterStateRequestPB>(
5830
0
          &from);
5831
0
  if (source == NULL) {
5832
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.DumpMasterStateRequestPB)
5833
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5834
0
  } else {
5835
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.DumpMasterStateRequestPB)
5836
0
    MergeFrom(*source);
5837
0
  }
5838
0
}
5839
5840
0
void DumpMasterStateRequestPB::MergeFrom(const DumpMasterStateRequestPB& from) {
5841
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.DumpMasterStateRequestPB)
5842
0
  GOOGLE_DCHECK_NE(&from, this);
5843
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5844
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5845
0
  (void) cached_has_bits;
5846
5847
0
  cached_has_bits = from._has_bits_[0];
5848
0
  if (cached_has_bits & 7u) {
5849
0
    if (cached_has_bits & 0x00000001u) {
5850
0
      peers_also_ = from.peers_also_;
5851
0
    }
5852
0
    if (cached_has_bits & 0x00000002u) {
5853
0
      return_dump_as_string_ = from.return_dump_as_string_;
5854
0
    }
5855
0
    if (cached_has_bits & 0x00000004u) {
5856
0
      on_disk_ = from.on_disk_;
5857
0
    }
5858
0
    _has_bits_[0] |= cached_has_bits;
5859
0
  }
5860
0
}
5861
5862
0
void DumpMasterStateRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
5863
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.DumpMasterStateRequestPB)
5864
0
  if (&from == this) return;
5865
0
  Clear();
5866
0
  MergeFrom(from);
5867
0
}
5868
5869
0
void DumpMasterStateRequestPB::CopyFrom(const DumpMasterStateRequestPB& from) {
5870
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.DumpMasterStateRequestPB)
5871
0
  if (&from == this) return;
5872
0
  Clear();
5873
0
  MergeFrom(from);
5874
0
}
5875
5876
0
bool DumpMasterStateRequestPB::IsInitialized() const {
5877
0
  return true;
5878
0
}
5879
5880
0
void DumpMasterStateRequestPB::Swap(DumpMasterStateRequestPB* other) {
5881
0
  if (other == this) return;
5882
0
  InternalSwap(other);
5883
0
}
5884
0
void DumpMasterStateRequestPB::InternalSwap(DumpMasterStateRequestPB* other) {
5885
0
  using std::swap;
5886
0
  swap(peers_also_, other->peers_also_);
5887
0
  swap(return_dump_as_string_, other->return_dump_as_string_);
5888
0
  swap(on_disk_, other->on_disk_);
5889
0
  swap(_has_bits_[0], other->_has_bits_[0]);
5890
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
5891
0
  swap(_cached_size_, other->_cached_size_);
5892
0
}
5893
5894
0
::google::protobuf::Metadata DumpMasterStateRequestPB::GetMetadata() const {
5895
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
5896
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
5897
0
}
5898
5899
5900
// ===================================================================
5901
5902
15.8k
void DumpMasterStateResponsePB::InitAsDefaultInstance() {
5903
15.8k
  ::yb::master::_DumpMasterStateResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
5904
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
5905
15.8k
}
5906
0
void DumpMasterStateResponsePB::clear_error() {
5907
0
  if (error_ != NULL) error_->Clear();
5908
0
  clear_has_error();
5909
0
}
5910
#if !defined(_MSC_VER) || _MSC_VER >= 1900
5911
const int DumpMasterStateResponsePB::kErrorFieldNumber;
5912
const int DumpMasterStateResponsePB::kDumpFieldNumber;
5913
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
5914
5915
DumpMasterStateResponsePB::DumpMasterStateResponsePB()
5916
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
5917
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
5918
0
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsDumpMasterStateResponsePB();
5919
0
  }
5920
15.8k
  SharedCtor();
5921
  // @@protoc_insertion_point(constructor:yb.master.DumpMasterStateResponsePB)
5922
15.8k
}
5923
DumpMasterStateResponsePB::DumpMasterStateResponsePB(const DumpMasterStateResponsePB& from)
5924
  : ::google::protobuf::Message(),
5925
      _internal_metadata_(NULL),
5926
      _has_bits_(from._has_bits_),
5927
0
      _cached_size_(0) {
5928
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5929
0
  dump_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5930
0
  if (from.has_dump()) {
5931
0
    dump_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dump_);
5932
0
  }
5933
0
  if (from.has_error()) {
5934
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
5935
0
  } else {
5936
0
    error_ = NULL;
5937
0
  }
5938
  // @@protoc_insertion_point(copy_constructor:yb.master.DumpMasterStateResponsePB)
5939
0
}
5940
5941
15.8k
void DumpMasterStateResponsePB::SharedCtor() {
5942
15.8k
  _cached_size_ = 0;
5943
15.8k
  dump_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5944
15.8k
  error_ = NULL;
5945
15.8k
}
5946
5947
0
DumpMasterStateResponsePB::~DumpMasterStateResponsePB() {
5948
  // @@protoc_insertion_point(destructor:yb.master.DumpMasterStateResponsePB)
5949
0
  SharedDtor();
5950
0
}
5951
5952
0
void DumpMasterStateResponsePB::SharedDtor() {
5953
0
  dump_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5954
0
  if (this != internal_default_instance()) delete error_;
5955
0
}
5956
5957
0
void DumpMasterStateResponsePB::SetCachedSize(int size) const {
5958
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5959
0
  _cached_size_ = size;
5960
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5961
0
}
5962
0
const ::google::protobuf::Descriptor* DumpMasterStateResponsePB::descriptor() {
5963
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
5964
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
5965
0
}
5966
5967
0
const DumpMasterStateResponsePB& DumpMasterStateResponsePB::default_instance() {
5968
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsDumpMasterStateResponsePB();
5969
0
  return *internal_default_instance();
5970
0
}
5971
5972
0
DumpMasterStateResponsePB* DumpMasterStateResponsePB::New(::google::protobuf::Arena* arena) const {
5973
0
  DumpMasterStateResponsePB* n = new DumpMasterStateResponsePB;
5974
0
  if (arena != NULL) {
5975
0
    arena->Own(n);
5976
0
  }
5977
0
  return n;
5978
0
}
5979
5980
0
void DumpMasterStateResponsePB::Clear() {
5981
// @@protoc_insertion_point(message_clear_start:yb.master.DumpMasterStateResponsePB)
5982
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5983
  // Prevent compiler warnings about cached_has_bits being unused
5984
0
  (void) cached_has_bits;
5985
5986
0
  cached_has_bits = _has_bits_[0];
5987
0
  if (cached_has_bits & 3u) {
5988
0
    if (cached_has_bits & 0x00000001u) {
5989
0
      GOOGLE_DCHECK(!dump_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
5990
0
      (*dump_.UnsafeRawStringPointer())->clear();
5991
0
    }
5992
0
    if (cached_has_bits & 0x00000002u) {
5993
0
      GOOGLE_DCHECK(error_ != NULL);
5994
0
      error_->Clear();
5995
0
    }
5996
0
  }
5997
0
  _has_bits_.Clear();
5998
0
  _internal_metadata_.Clear();
5999
0
}
6000
6001
bool DumpMasterStateResponsePB::MergePartialFromCodedStream(
6002
0
    ::google::protobuf::io::CodedInputStream* input) {
6003
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
6004
0
  ::google::protobuf::uint32 tag;
6005
  // @@protoc_insertion_point(parse_start:yb.master.DumpMasterStateResponsePB)
6006
0
  for (;;) {
6007
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6008
0
    tag = p.first;
6009
0
    if (!p.second) goto handle_unusual;
6010
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6011
      // optional .yb.master.MasterErrorPB error = 1;
6012
0
      case 1: {
6013
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6014
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
6015
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
6016
0
               input, mutable_error()));
6017
0
        } else {
6018
0
          goto handle_unusual;
6019
0
        }
6020
0
        break;
6021
0
      }
6022
6023
      // optional string dump = 2;
6024
0
      case 2: {
6025
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6026
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
6027
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
6028
0
                input, this->mutable_dump()));
6029
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6030
0
            this->dump().data(), static_cast<int>(this->dump().length()),
6031
0
            ::google::protobuf::internal::WireFormat::PARSE,
6032
0
            "yb.master.DumpMasterStateResponsePB.dump");
6033
0
        } else {
6034
0
          goto handle_unusual;
6035
0
        }
6036
0
        break;
6037
0
      }
6038
6039
0
      default: {
6040
0
      handle_unusual:
6041
0
        if (tag == 0) {
6042
0
          goto success;
6043
0
        }
6044
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
6045
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
6046
0
        break;
6047
0
      }
6048
0
    }
6049
0
  }
6050
0
success:
6051
  // @@protoc_insertion_point(parse_success:yb.master.DumpMasterStateResponsePB)
6052
0
  return true;
6053
0
failure:
6054
  // @@protoc_insertion_point(parse_failure:yb.master.DumpMasterStateResponsePB)
6055
0
  return false;
6056
0
#undef DO_
6057
0
}
6058
6059
void DumpMasterStateResponsePB::SerializeWithCachedSizes(
6060
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6061
  // @@protoc_insertion_point(serialize_start:yb.master.DumpMasterStateResponsePB)
6062
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6063
0
  (void) cached_has_bits;
6064
6065
0
  cached_has_bits = _has_bits_[0];
6066
  // optional .yb.master.MasterErrorPB error = 1;
6067
0
  if (cached_has_bits & 0x00000002u) {
6068
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6069
0
      1, *this->error_, output);
6070
0
  }
6071
6072
  // optional string dump = 2;
6073
0
  if (cached_has_bits & 0x00000001u) {
6074
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6075
0
      this->dump().data(), static_cast<int>(this->dump().length()),
6076
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
6077
0
      "yb.master.DumpMasterStateResponsePB.dump");
6078
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
6079
0
      2, this->dump(), output);
6080
0
  }
6081
6082
0
  if (_internal_metadata_.have_unknown_fields()) {
6083
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6084
0
        _internal_metadata_.unknown_fields(), output);
6085
0
  }
6086
  // @@protoc_insertion_point(serialize_end:yb.master.DumpMasterStateResponsePB)
6087
0
}
6088
6089
::google::protobuf::uint8* DumpMasterStateResponsePB::InternalSerializeWithCachedSizesToArray(
6090
0
    bool deterministic, ::google::protobuf::uint8* target) const {
6091
0
  (void)deterministic; // Unused
6092
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.DumpMasterStateResponsePB)
6093
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6094
0
  (void) cached_has_bits;
6095
6096
0
  cached_has_bits = _has_bits_[0];
6097
  // optional .yb.master.MasterErrorPB error = 1;
6098
0
  if (cached_has_bits & 0x00000002u) {
6099
0
    target = ::google::protobuf::internal::WireFormatLite::
6100
0
      InternalWriteMessageToArray(
6101
0
        1, *this->error_, deterministic, target);
6102
0
  }
6103
6104
  // optional string dump = 2;
6105
0
  if (cached_has_bits & 0x00000001u) {
6106
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6107
0
      this->dump().data(), static_cast<int>(this->dump().length()),
6108
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
6109
0
      "yb.master.DumpMasterStateResponsePB.dump");
6110
0
    target =
6111
0
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
6112
0
        2, this->dump(), target);
6113
0
  }
6114
6115
0
  if (_internal_metadata_.have_unknown_fields()) {
6116
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6117
0
        _internal_metadata_.unknown_fields(), target);
6118
0
  }
6119
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.DumpMasterStateResponsePB)
6120
0
  return target;
6121
0
}
6122
6123
0
size_t DumpMasterStateResponsePB::ByteSizeLong() const {
6124
// @@protoc_insertion_point(message_byte_size_start:yb.master.DumpMasterStateResponsePB)
6125
0
  size_t total_size = 0;
6126
6127
0
  if (_internal_metadata_.have_unknown_fields()) {
6128
0
    total_size +=
6129
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6130
0
        _internal_metadata_.unknown_fields());
6131
0
  }
6132
0
  if (_has_bits_[0 / 32] & 3u) {
6133
    // optional string dump = 2;
6134
0
    if (has_dump()) {
6135
0
      total_size += 1 +
6136
0
        ::google::protobuf::internal::WireFormatLite::StringSize(
6137
0
          this->dump());
6138
0
    }
6139
6140
    // optional .yb.master.MasterErrorPB error = 1;
6141
0
    if (has_error()) {
6142
0
      total_size += 1 +
6143
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
6144
0
          *this->error_);
6145
0
    }
6146
6147
0
  }
6148
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6149
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6150
0
  _cached_size_ = cached_size;
6151
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6152
0
  return total_size;
6153
0
}
6154
6155
0
void DumpMasterStateResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
6156
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.DumpMasterStateResponsePB)
6157
0
  GOOGLE_DCHECK_NE(&from, this);
6158
0
  const DumpMasterStateResponsePB* source =
6159
0
      ::google::protobuf::internal::DynamicCastToGenerated<const DumpMasterStateResponsePB>(
6160
0
          &from);
6161
0
  if (source == NULL) {
6162
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.DumpMasterStateResponsePB)
6163
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6164
0
  } else {
6165
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.DumpMasterStateResponsePB)
6166
0
    MergeFrom(*source);
6167
0
  }
6168
0
}
6169
6170
0
void DumpMasterStateResponsePB::MergeFrom(const DumpMasterStateResponsePB& from) {
6171
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.DumpMasterStateResponsePB)
6172
0
  GOOGLE_DCHECK_NE(&from, this);
6173
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6174
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6175
0
  (void) cached_has_bits;
6176
6177
0
  cached_has_bits = from._has_bits_[0];
6178
0
  if (cached_has_bits & 3u) {
6179
0
    if (cached_has_bits & 0x00000001u) {
6180
0
      set_has_dump();
6181
0
      dump_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dump_);
6182
0
    }
6183
0
    if (cached_has_bits & 0x00000002u) {
6184
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
6185
0
    }
6186
0
  }
6187
0
}
6188
6189
0
void DumpMasterStateResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
6190
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.DumpMasterStateResponsePB)
6191
0
  if (&from == this) return;
6192
0
  Clear();
6193
0
  MergeFrom(from);
6194
0
}
6195
6196
0
void DumpMasterStateResponsePB::CopyFrom(const DumpMasterStateResponsePB& from) {
6197
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.DumpMasterStateResponsePB)
6198
0
  if (&from == this) return;
6199
0
  Clear();
6200
0
  MergeFrom(from);
6201
0
}
6202
6203
0
bool DumpMasterStateResponsePB::IsInitialized() const {
6204
0
  if (has_error()) {
6205
0
    if (!this->error_->IsInitialized()) return false;
6206
0
  }
6207
0
  return true;
6208
0
}
6209
6210
0
void DumpMasterStateResponsePB::Swap(DumpMasterStateResponsePB* other) {
6211
0
  if (other == this) return;
6212
0
  InternalSwap(other);
6213
0
}
6214
0
void DumpMasterStateResponsePB::InternalSwap(DumpMasterStateResponsePB* other) {
6215
0
  using std::swap;
6216
0
  dump_.Swap(&other->dump_);
6217
0
  swap(error_, other->error_);
6218
0
  swap(_has_bits_[0], other->_has_bits_[0]);
6219
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
6220
0
  swap(_cached_size_, other->_cached_size_);
6221
0
}
6222
6223
0
::google::protobuf::Metadata DumpMasterStateResponsePB::GetMetadata() const {
6224
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
6225
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
6226
0
}
6227
6228
6229
// ===================================================================
6230
6231
15.8k
void ChangeLoadBalancerStateRequestPB::InitAsDefaultInstance() {
6232
15.8k
}
6233
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6234
const int ChangeLoadBalancerStateRequestPB::kIsEnabledFieldNumber;
6235
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6236
6237
ChangeLoadBalancerStateRequestPB::ChangeLoadBalancerStateRequestPB()
6238
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6239
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6240
0
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsChangeLoadBalancerStateRequestPB();
6241
0
  }
6242
15.8k
  SharedCtor();
6243
  // @@protoc_insertion_point(constructor:yb.master.ChangeLoadBalancerStateRequestPB)
6244
15.8k
}
6245
ChangeLoadBalancerStateRequestPB::ChangeLoadBalancerStateRequestPB(const ChangeLoadBalancerStateRequestPB& from)
6246
  : ::google::protobuf::Message(),
6247
      _internal_metadata_(NULL),
6248
      _has_bits_(from._has_bits_),
6249
0
      _cached_size_(0) {
6250
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6251
0
  is_enabled_ = from.is_enabled_;
6252
  // @@protoc_insertion_point(copy_constructor:yb.master.ChangeLoadBalancerStateRequestPB)
6253
0
}
6254
6255
15.8k
void ChangeLoadBalancerStateRequestPB::SharedCtor() {
6256
15.8k
  _cached_size_ = 0;
6257
15.8k
  is_enabled_ = false;
6258
15.8k
}
6259
6260
0
ChangeLoadBalancerStateRequestPB::~ChangeLoadBalancerStateRequestPB() {
6261
  // @@protoc_insertion_point(destructor:yb.master.ChangeLoadBalancerStateRequestPB)
6262
0
  SharedDtor();
6263
0
}
6264
6265
0
void ChangeLoadBalancerStateRequestPB::SharedDtor() {
6266
0
}
6267
6268
0
void ChangeLoadBalancerStateRequestPB::SetCachedSize(int size) const {
6269
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6270
0
  _cached_size_ = size;
6271
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6272
0
}
6273
0
const ::google::protobuf::Descriptor* ChangeLoadBalancerStateRequestPB::descriptor() {
6274
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
6275
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6276
0
}
6277
6278
0
const ChangeLoadBalancerStateRequestPB& ChangeLoadBalancerStateRequestPB::default_instance() {
6279
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsChangeLoadBalancerStateRequestPB();
6280
0
  return *internal_default_instance();
6281
0
}
6282
6283
0
ChangeLoadBalancerStateRequestPB* ChangeLoadBalancerStateRequestPB::New(::google::protobuf::Arena* arena) const {
6284
0
  ChangeLoadBalancerStateRequestPB* n = new ChangeLoadBalancerStateRequestPB;
6285
0
  if (arena != NULL) {
6286
0
    arena->Own(n);
6287
0
  }
6288
0
  return n;
6289
0
}
6290
6291
0
void ChangeLoadBalancerStateRequestPB::Clear() {
6292
// @@protoc_insertion_point(message_clear_start:yb.master.ChangeLoadBalancerStateRequestPB)
6293
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6294
  // Prevent compiler warnings about cached_has_bits being unused
6295
0
  (void) cached_has_bits;
6296
6297
0
  is_enabled_ = false;
6298
0
  _has_bits_.Clear();
6299
0
  _internal_metadata_.Clear();
6300
0
}
6301
6302
bool ChangeLoadBalancerStateRequestPB::MergePartialFromCodedStream(
6303
0
    ::google::protobuf::io::CodedInputStream* input) {
6304
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
6305
0
  ::google::protobuf::uint32 tag;
6306
  // @@protoc_insertion_point(parse_start:yb.master.ChangeLoadBalancerStateRequestPB)
6307
0
  for (;;) {
6308
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6309
0
    tag = p.first;
6310
0
    if (!p.second) goto handle_unusual;
6311
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6312
      // optional bool is_enabled = 1;
6313
0
      case 1: {
6314
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6315
0
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
6316
0
          set_has_is_enabled();
6317
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6318
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
6319
0
                 input, &is_enabled_)));
6320
0
        } else {
6321
0
          goto handle_unusual;
6322
0
        }
6323
0
        break;
6324
0
      }
6325
6326
0
      default: {
6327
0
      handle_unusual:
6328
0
        if (tag == 0) {
6329
0
          goto success;
6330
0
        }
6331
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
6332
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
6333
0
        break;
6334
0
      }
6335
0
    }
6336
0
  }
6337
0
success:
6338
  // @@protoc_insertion_point(parse_success:yb.master.ChangeLoadBalancerStateRequestPB)
6339
0
  return true;
6340
0
failure:
6341
  // @@protoc_insertion_point(parse_failure:yb.master.ChangeLoadBalancerStateRequestPB)
6342
0
  return false;
6343
0
#undef DO_
6344
0
}
6345
6346
void ChangeLoadBalancerStateRequestPB::SerializeWithCachedSizes(
6347
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6348
  // @@protoc_insertion_point(serialize_start:yb.master.ChangeLoadBalancerStateRequestPB)
6349
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6350
0
  (void) cached_has_bits;
6351
6352
0
  cached_has_bits = _has_bits_[0];
6353
  // optional bool is_enabled = 1;
6354
0
  if (cached_has_bits & 0x00000001u) {
6355
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->is_enabled(), output);
6356
0
  }
6357
6358
0
  if (_internal_metadata_.have_unknown_fields()) {
6359
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6360
0
        _internal_metadata_.unknown_fields(), output);
6361
0
  }
6362
  // @@protoc_insertion_point(serialize_end:yb.master.ChangeLoadBalancerStateRequestPB)
6363
0
}
6364
6365
::google::protobuf::uint8* ChangeLoadBalancerStateRequestPB::InternalSerializeWithCachedSizesToArray(
6366
0
    bool deterministic, ::google::protobuf::uint8* target) const {
6367
0
  (void)deterministic; // Unused
6368
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ChangeLoadBalancerStateRequestPB)
6369
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6370
0
  (void) cached_has_bits;
6371
6372
0
  cached_has_bits = _has_bits_[0];
6373
  // optional bool is_enabled = 1;
6374
0
  if (cached_has_bits & 0x00000001u) {
6375
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->is_enabled(), target);
6376
0
  }
6377
6378
0
  if (_internal_metadata_.have_unknown_fields()) {
6379
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6380
0
        _internal_metadata_.unknown_fields(), target);
6381
0
  }
6382
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ChangeLoadBalancerStateRequestPB)
6383
0
  return target;
6384
0
}
6385
6386
0
size_t ChangeLoadBalancerStateRequestPB::ByteSizeLong() const {
6387
// @@protoc_insertion_point(message_byte_size_start:yb.master.ChangeLoadBalancerStateRequestPB)
6388
0
  size_t total_size = 0;
6389
6390
0
  if (_internal_metadata_.have_unknown_fields()) {
6391
0
    total_size +=
6392
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6393
0
        _internal_metadata_.unknown_fields());
6394
0
  }
6395
  // optional bool is_enabled = 1;
6396
0
  if (has_is_enabled()) {
6397
0
    total_size += 1 + 1;
6398
0
  }
6399
6400
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6401
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6402
0
  _cached_size_ = cached_size;
6403
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6404
0
  return total_size;
6405
0
}
6406
6407
0
void ChangeLoadBalancerStateRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
6408
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ChangeLoadBalancerStateRequestPB)
6409
0
  GOOGLE_DCHECK_NE(&from, this);
6410
0
  const ChangeLoadBalancerStateRequestPB* source =
6411
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ChangeLoadBalancerStateRequestPB>(
6412
0
          &from);
6413
0
  if (source == NULL) {
6414
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ChangeLoadBalancerStateRequestPB)
6415
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6416
0
  } else {
6417
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ChangeLoadBalancerStateRequestPB)
6418
0
    MergeFrom(*source);
6419
0
  }
6420
0
}
6421
6422
0
void ChangeLoadBalancerStateRequestPB::MergeFrom(const ChangeLoadBalancerStateRequestPB& from) {
6423
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ChangeLoadBalancerStateRequestPB)
6424
0
  GOOGLE_DCHECK_NE(&from, this);
6425
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6426
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6427
0
  (void) cached_has_bits;
6428
6429
0
  if (from.has_is_enabled()) {
6430
0
    set_is_enabled(from.is_enabled());
6431
0
  }
6432
0
}
6433
6434
0
void ChangeLoadBalancerStateRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
6435
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ChangeLoadBalancerStateRequestPB)
6436
0
  if (&from == this) return;
6437
0
  Clear();
6438
0
  MergeFrom(from);
6439
0
}
6440
6441
0
void ChangeLoadBalancerStateRequestPB::CopyFrom(const ChangeLoadBalancerStateRequestPB& from) {
6442
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ChangeLoadBalancerStateRequestPB)
6443
0
  if (&from == this) return;
6444
0
  Clear();
6445
0
  MergeFrom(from);
6446
0
}
6447
6448
0
bool ChangeLoadBalancerStateRequestPB::IsInitialized() const {
6449
0
  return true;
6450
0
}
6451
6452
0
void ChangeLoadBalancerStateRequestPB::Swap(ChangeLoadBalancerStateRequestPB* other) {
6453
0
  if (other == this) return;
6454
0
  InternalSwap(other);
6455
0
}
6456
0
void ChangeLoadBalancerStateRequestPB::InternalSwap(ChangeLoadBalancerStateRequestPB* other) {
6457
0
  using std::swap;
6458
0
  swap(is_enabled_, other->is_enabled_);
6459
0
  swap(_has_bits_[0], other->_has_bits_[0]);
6460
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
6461
0
  swap(_cached_size_, other->_cached_size_);
6462
0
}
6463
6464
0
::google::protobuf::Metadata ChangeLoadBalancerStateRequestPB::GetMetadata() const {
6465
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
6466
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
6467
0
}
6468
6469
6470
// ===================================================================
6471
6472
15.8k
void ChangeLoadBalancerStateResponsePB::InitAsDefaultInstance() {
6473
15.8k
  ::yb::master::_ChangeLoadBalancerStateResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
6474
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
6475
15.8k
}
6476
0
void ChangeLoadBalancerStateResponsePB::clear_error() {
6477
0
  if (error_ != NULL) error_->Clear();
6478
0
  clear_has_error();
6479
0
}
6480
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6481
const int ChangeLoadBalancerStateResponsePB::kErrorFieldNumber;
6482
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6483
6484
ChangeLoadBalancerStateResponsePB::ChangeLoadBalancerStateResponsePB()
6485
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6486
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6487
0
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsChangeLoadBalancerStateResponsePB();
6488
0
  }
6489
15.8k
  SharedCtor();
6490
  // @@protoc_insertion_point(constructor:yb.master.ChangeLoadBalancerStateResponsePB)
6491
15.8k
}
6492
ChangeLoadBalancerStateResponsePB::ChangeLoadBalancerStateResponsePB(const ChangeLoadBalancerStateResponsePB& from)
6493
  : ::google::protobuf::Message(),
6494
      _internal_metadata_(NULL),
6495
      _has_bits_(from._has_bits_),
6496
0
      _cached_size_(0) {
6497
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6498
0
  if (from.has_error()) {
6499
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
6500
0
  } else {
6501
0
    error_ = NULL;
6502
0
  }
6503
  // @@protoc_insertion_point(copy_constructor:yb.master.ChangeLoadBalancerStateResponsePB)
6504
0
}
6505
6506
15.8k
void ChangeLoadBalancerStateResponsePB::SharedCtor() {
6507
15.8k
  _cached_size_ = 0;
6508
15.8k
  error_ = NULL;
6509
15.8k
}
6510
6511
0
ChangeLoadBalancerStateResponsePB::~ChangeLoadBalancerStateResponsePB() {
6512
  // @@protoc_insertion_point(destructor:yb.master.ChangeLoadBalancerStateResponsePB)
6513
0
  SharedDtor();
6514
0
}
6515
6516
0
void ChangeLoadBalancerStateResponsePB::SharedDtor() {
6517
0
  if (this != internal_default_instance()) delete error_;
6518
0
}
6519
6520
0
void ChangeLoadBalancerStateResponsePB::SetCachedSize(int size) const {
6521
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6522
0
  _cached_size_ = size;
6523
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6524
0
}
6525
0
const ::google::protobuf::Descriptor* ChangeLoadBalancerStateResponsePB::descriptor() {
6526
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
6527
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6528
0
}
6529
6530
0
const ChangeLoadBalancerStateResponsePB& ChangeLoadBalancerStateResponsePB::default_instance() {
6531
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsChangeLoadBalancerStateResponsePB();
6532
0
  return *internal_default_instance();
6533
0
}
6534
6535
0
ChangeLoadBalancerStateResponsePB* ChangeLoadBalancerStateResponsePB::New(::google::protobuf::Arena* arena) const {
6536
0
  ChangeLoadBalancerStateResponsePB* n = new ChangeLoadBalancerStateResponsePB;
6537
0
  if (arena != NULL) {
6538
0
    arena->Own(n);
6539
0
  }
6540
0
  return n;
6541
0
}
6542
6543
0
void ChangeLoadBalancerStateResponsePB::Clear() {
6544
// @@protoc_insertion_point(message_clear_start:yb.master.ChangeLoadBalancerStateResponsePB)
6545
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6546
  // Prevent compiler warnings about cached_has_bits being unused
6547
0
  (void) cached_has_bits;
6548
6549
0
  cached_has_bits = _has_bits_[0];
6550
0
  if (cached_has_bits & 0x00000001u) {
6551
0
    GOOGLE_DCHECK(error_ != NULL);
6552
0
    error_->Clear();
6553
0
  }
6554
0
  _has_bits_.Clear();
6555
0
  _internal_metadata_.Clear();
6556
0
}
6557
6558
bool ChangeLoadBalancerStateResponsePB::MergePartialFromCodedStream(
6559
0
    ::google::protobuf::io::CodedInputStream* input) {
6560
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
6561
0
  ::google::protobuf::uint32 tag;
6562
  // @@protoc_insertion_point(parse_start:yb.master.ChangeLoadBalancerStateResponsePB)
6563
0
  for (;;) {
6564
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6565
0
    tag = p.first;
6566
0
    if (!p.second) goto handle_unusual;
6567
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6568
      // optional .yb.master.MasterErrorPB error = 1;
6569
0
      case 1: {
6570
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6571
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
6572
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
6573
0
               input, mutable_error()));
6574
0
        } else {
6575
0
          goto handle_unusual;
6576
0
        }
6577
0
        break;
6578
0
      }
6579
6580
0
      default: {
6581
0
      handle_unusual:
6582
0
        if (tag == 0) {
6583
0
          goto success;
6584
0
        }
6585
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
6586
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
6587
0
        break;
6588
0
      }
6589
0
    }
6590
0
  }
6591
0
success:
6592
  // @@protoc_insertion_point(parse_success:yb.master.ChangeLoadBalancerStateResponsePB)
6593
0
  return true;
6594
0
failure:
6595
  // @@protoc_insertion_point(parse_failure:yb.master.ChangeLoadBalancerStateResponsePB)
6596
0
  return false;
6597
0
#undef DO_
6598
0
}
6599
6600
void ChangeLoadBalancerStateResponsePB::SerializeWithCachedSizes(
6601
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6602
  // @@protoc_insertion_point(serialize_start:yb.master.ChangeLoadBalancerStateResponsePB)
6603
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6604
0
  (void) cached_has_bits;
6605
6606
0
  cached_has_bits = _has_bits_[0];
6607
  // optional .yb.master.MasterErrorPB error = 1;
6608
0
  if (cached_has_bits & 0x00000001u) {
6609
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6610
0
      1, *this->error_, output);
6611
0
  }
6612
6613
0
  if (_internal_metadata_.have_unknown_fields()) {
6614
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6615
0
        _internal_metadata_.unknown_fields(), output);
6616
0
  }
6617
  // @@protoc_insertion_point(serialize_end:yb.master.ChangeLoadBalancerStateResponsePB)
6618
0
}
6619
6620
::google::protobuf::uint8* ChangeLoadBalancerStateResponsePB::InternalSerializeWithCachedSizesToArray(
6621
0
    bool deterministic, ::google::protobuf::uint8* target) const {
6622
0
  (void)deterministic; // Unused
6623
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ChangeLoadBalancerStateResponsePB)
6624
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6625
0
  (void) cached_has_bits;
6626
6627
0
  cached_has_bits = _has_bits_[0];
6628
  // optional .yb.master.MasterErrorPB error = 1;
6629
0
  if (cached_has_bits & 0x00000001u) {
6630
0
    target = ::google::protobuf::internal::WireFormatLite::
6631
0
      InternalWriteMessageToArray(
6632
0
        1, *this->error_, deterministic, target);
6633
0
  }
6634
6635
0
  if (_internal_metadata_.have_unknown_fields()) {
6636
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6637
0
        _internal_metadata_.unknown_fields(), target);
6638
0
  }
6639
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ChangeLoadBalancerStateResponsePB)
6640
0
  return target;
6641
0
}
6642
6643
0
size_t ChangeLoadBalancerStateResponsePB::ByteSizeLong() const {
6644
// @@protoc_insertion_point(message_byte_size_start:yb.master.ChangeLoadBalancerStateResponsePB)
6645
0
  size_t total_size = 0;
6646
6647
0
  if (_internal_metadata_.have_unknown_fields()) {
6648
0
    total_size +=
6649
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6650
0
        _internal_metadata_.unknown_fields());
6651
0
  }
6652
  // optional .yb.master.MasterErrorPB error = 1;
6653
0
  if (has_error()) {
6654
0
    total_size += 1 +
6655
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
6656
0
        *this->error_);
6657
0
  }
6658
6659
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6660
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6661
0
  _cached_size_ = cached_size;
6662
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6663
0
  return total_size;
6664
0
}
6665
6666
0
void ChangeLoadBalancerStateResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
6667
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ChangeLoadBalancerStateResponsePB)
6668
0
  GOOGLE_DCHECK_NE(&from, this);
6669
0
  const ChangeLoadBalancerStateResponsePB* source =
6670
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ChangeLoadBalancerStateResponsePB>(
6671
0
          &from);
6672
0
  if (source == NULL) {
6673
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ChangeLoadBalancerStateResponsePB)
6674
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6675
0
  } else {
6676
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ChangeLoadBalancerStateResponsePB)
6677
0
    MergeFrom(*source);
6678
0
  }
6679
0
}
6680
6681
0
void ChangeLoadBalancerStateResponsePB::MergeFrom(const ChangeLoadBalancerStateResponsePB& from) {
6682
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ChangeLoadBalancerStateResponsePB)
6683
0
  GOOGLE_DCHECK_NE(&from, this);
6684
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6685
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6686
0
  (void) cached_has_bits;
6687
6688
0
  if (from.has_error()) {
6689
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
6690
0
  }
6691
0
}
6692
6693
0
void ChangeLoadBalancerStateResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
6694
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ChangeLoadBalancerStateResponsePB)
6695
0
  if (&from == this) return;
6696
0
  Clear();
6697
0
  MergeFrom(from);
6698
0
}
6699
6700
0
void ChangeLoadBalancerStateResponsePB::CopyFrom(const ChangeLoadBalancerStateResponsePB& from) {
6701
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ChangeLoadBalancerStateResponsePB)
6702
0
  if (&from == this) return;
6703
0
  Clear();
6704
0
  MergeFrom(from);
6705
0
}
6706
6707
0
bool ChangeLoadBalancerStateResponsePB::IsInitialized() const {
6708
0
  if (has_error()) {
6709
0
    if (!this->error_->IsInitialized()) return false;
6710
0
  }
6711
0
  return true;
6712
0
}
6713
6714
0
void ChangeLoadBalancerStateResponsePB::Swap(ChangeLoadBalancerStateResponsePB* other) {
6715
0
  if (other == this) return;
6716
0
  InternalSwap(other);
6717
0
}
6718
0
void ChangeLoadBalancerStateResponsePB::InternalSwap(ChangeLoadBalancerStateResponsePB* other) {
6719
0
  using std::swap;
6720
0
  swap(error_, other->error_);
6721
0
  swap(_has_bits_[0], other->_has_bits_[0]);
6722
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
6723
0
  swap(_cached_size_, other->_cached_size_);
6724
0
}
6725
6726
0
::google::protobuf::Metadata ChangeLoadBalancerStateResponsePB::GetMetadata() const {
6727
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
6728
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
6729
0
}
6730
6731
6732
// ===================================================================
6733
6734
15.8k
void GetLoadBalancerStateRequestPB::InitAsDefaultInstance() {
6735
15.8k
}
6736
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6737
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6738
6739
GetLoadBalancerStateRequestPB::GetLoadBalancerStateRequestPB()
6740
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6741
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6742
0
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetLoadBalancerStateRequestPB();
6743
0
  }
6744
15.8k
  SharedCtor();
6745
  // @@protoc_insertion_point(constructor:yb.master.GetLoadBalancerStateRequestPB)
6746
15.8k
}
6747
GetLoadBalancerStateRequestPB::GetLoadBalancerStateRequestPB(const GetLoadBalancerStateRequestPB& from)
6748
  : ::google::protobuf::Message(),
6749
      _internal_metadata_(NULL),
6750
      _has_bits_(from._has_bits_),
6751
0
      _cached_size_(0) {
6752
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6753
  // @@protoc_insertion_point(copy_constructor:yb.master.GetLoadBalancerStateRequestPB)
6754
0
}
6755
6756
15.8k
void GetLoadBalancerStateRequestPB::SharedCtor() {
6757
15.8k
  _cached_size_ = 0;
6758
15.8k
}
6759
6760
0
GetLoadBalancerStateRequestPB::~GetLoadBalancerStateRequestPB() {
6761
  // @@protoc_insertion_point(destructor:yb.master.GetLoadBalancerStateRequestPB)
6762
0
  SharedDtor();
6763
0
}
6764
6765
0
void GetLoadBalancerStateRequestPB::SharedDtor() {
6766
0
}
6767
6768
0
void GetLoadBalancerStateRequestPB::SetCachedSize(int size) const {
6769
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6770
0
  _cached_size_ = size;
6771
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6772
0
}
6773
0
const ::google::protobuf::Descriptor* GetLoadBalancerStateRequestPB::descriptor() {
6774
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
6775
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6776
0
}
6777
6778
0
const GetLoadBalancerStateRequestPB& GetLoadBalancerStateRequestPB::default_instance() {
6779
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetLoadBalancerStateRequestPB();
6780
0
  return *internal_default_instance();
6781
0
}
6782
6783
0
GetLoadBalancerStateRequestPB* GetLoadBalancerStateRequestPB::New(::google::protobuf::Arena* arena) const {
6784
0
  GetLoadBalancerStateRequestPB* n = new GetLoadBalancerStateRequestPB;
6785
0
  if (arena != NULL) {
6786
0
    arena->Own(n);
6787
0
  }
6788
0
  return n;
6789
0
}
6790
6791
0
void GetLoadBalancerStateRequestPB::Clear() {
6792
// @@protoc_insertion_point(message_clear_start:yb.master.GetLoadBalancerStateRequestPB)
6793
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6794
  // Prevent compiler warnings about cached_has_bits being unused
6795
0
  (void) cached_has_bits;
6796
6797
0
  _has_bits_.Clear();
6798
0
  _internal_metadata_.Clear();
6799
0
}
6800
6801
bool GetLoadBalancerStateRequestPB::MergePartialFromCodedStream(
6802
0
    ::google::protobuf::io::CodedInputStream* input) {
6803
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
6804
0
  ::google::protobuf::uint32 tag;
6805
  // @@protoc_insertion_point(parse_start:yb.master.GetLoadBalancerStateRequestPB)
6806
0
  for (;;) {
6807
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6808
0
    tag = p.first;
6809
0
    if (!p.second) goto handle_unusual;
6810
0
  handle_unusual:
6811
0
    if (tag == 0) {
6812
0
      goto success;
6813
0
    }
6814
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
6815
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
6816
0
  }
6817
0
success:
6818
  // @@protoc_insertion_point(parse_success:yb.master.GetLoadBalancerStateRequestPB)
6819
0
  return true;
6820
0
failure:
6821
  // @@protoc_insertion_point(parse_failure:yb.master.GetLoadBalancerStateRequestPB)
6822
0
  return false;
6823
0
#undef DO_
6824
0
}
6825
6826
void GetLoadBalancerStateRequestPB::SerializeWithCachedSizes(
6827
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6828
  // @@protoc_insertion_point(serialize_start:yb.master.GetLoadBalancerStateRequestPB)
6829
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6830
0
  (void) cached_has_bits;
6831
6832
0
  if (_internal_metadata_.have_unknown_fields()) {
6833
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6834
0
        _internal_metadata_.unknown_fields(), output);
6835
0
  }
6836
  // @@protoc_insertion_point(serialize_end:yb.master.GetLoadBalancerStateRequestPB)
6837
0
}
6838
6839
::google::protobuf::uint8* GetLoadBalancerStateRequestPB::InternalSerializeWithCachedSizesToArray(
6840
0
    bool deterministic, ::google::protobuf::uint8* target) const {
6841
0
  (void)deterministic; // Unused
6842
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetLoadBalancerStateRequestPB)
6843
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6844
0
  (void) cached_has_bits;
6845
6846
0
  if (_internal_metadata_.have_unknown_fields()) {
6847
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6848
0
        _internal_metadata_.unknown_fields(), target);
6849
0
  }
6850
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetLoadBalancerStateRequestPB)
6851
0
  return target;
6852
0
}
6853
6854
0
size_t GetLoadBalancerStateRequestPB::ByteSizeLong() const {
6855
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetLoadBalancerStateRequestPB)
6856
0
  size_t total_size = 0;
6857
6858
0
  if (_internal_metadata_.have_unknown_fields()) {
6859
0
    total_size +=
6860
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6861
0
        _internal_metadata_.unknown_fields());
6862
0
  }
6863
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6864
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6865
0
  _cached_size_ = cached_size;
6866
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6867
0
  return total_size;
6868
0
}
6869
6870
0
void GetLoadBalancerStateRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
6871
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetLoadBalancerStateRequestPB)
6872
0
  GOOGLE_DCHECK_NE(&from, this);
6873
0
  const GetLoadBalancerStateRequestPB* source =
6874
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetLoadBalancerStateRequestPB>(
6875
0
          &from);
6876
0
  if (source == NULL) {
6877
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetLoadBalancerStateRequestPB)
6878
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6879
0
  } else {
6880
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetLoadBalancerStateRequestPB)
6881
0
    MergeFrom(*source);
6882
0
  }
6883
0
}
6884
6885
0
void GetLoadBalancerStateRequestPB::MergeFrom(const GetLoadBalancerStateRequestPB& from) {
6886
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetLoadBalancerStateRequestPB)
6887
0
  GOOGLE_DCHECK_NE(&from, this);
6888
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6889
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6890
0
  (void) cached_has_bits;
6891
6892
0
}
6893
6894
0
void GetLoadBalancerStateRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
6895
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetLoadBalancerStateRequestPB)
6896
0
  if (&from == this) return;
6897
0
  Clear();
6898
0
  MergeFrom(from);
6899
0
}
6900
6901
0
void GetLoadBalancerStateRequestPB::CopyFrom(const GetLoadBalancerStateRequestPB& from) {
6902
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetLoadBalancerStateRequestPB)
6903
0
  if (&from == this) return;
6904
0
  Clear();
6905
0
  MergeFrom(from);
6906
0
}
6907
6908
0
bool GetLoadBalancerStateRequestPB::IsInitialized() const {
6909
0
  return true;
6910
0
}
6911
6912
0
void GetLoadBalancerStateRequestPB::Swap(GetLoadBalancerStateRequestPB* other) {
6913
0
  if (other == this) return;
6914
0
  InternalSwap(other);
6915
0
}
6916
0
void GetLoadBalancerStateRequestPB::InternalSwap(GetLoadBalancerStateRequestPB* other) {
6917
0
  using std::swap;
6918
0
  swap(_has_bits_[0], other->_has_bits_[0]);
6919
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
6920
0
  swap(_cached_size_, other->_cached_size_);
6921
0
}
6922
6923
0
::google::protobuf::Metadata GetLoadBalancerStateRequestPB::GetMetadata() const {
6924
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
6925
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
6926
0
}
6927
6928
6929
// ===================================================================
6930
6931
15.8k
void GetLoadBalancerStateResponsePB::InitAsDefaultInstance() {
6932
15.8k
  ::yb::master::_GetLoadBalancerStateResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
6933
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
6934
15.8k
}
6935
0
void GetLoadBalancerStateResponsePB::clear_error() {
6936
0
  if (error_ != NULL) error_->Clear();
6937
0
  clear_has_error();
6938
0
}
6939
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6940
const int GetLoadBalancerStateResponsePB::kErrorFieldNumber;
6941
const int GetLoadBalancerStateResponsePB::kIsEnabledFieldNumber;
6942
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6943
6944
GetLoadBalancerStateResponsePB::GetLoadBalancerStateResponsePB()
6945
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6946
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6947
0
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetLoadBalancerStateResponsePB();
6948
0
  }
6949
15.8k
  SharedCtor();
6950
  // @@protoc_insertion_point(constructor:yb.master.GetLoadBalancerStateResponsePB)
6951
15.8k
}
6952
GetLoadBalancerStateResponsePB::GetLoadBalancerStateResponsePB(const GetLoadBalancerStateResponsePB& from)
6953
  : ::google::protobuf::Message(),
6954
      _internal_metadata_(NULL),
6955
      _has_bits_(from._has_bits_),
6956
0
      _cached_size_(0) {
6957
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6958
0
  if (from.has_error()) {
6959
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
6960
0
  } else {
6961
0
    error_ = NULL;
6962
0
  }
6963
0
  is_enabled_ = from.is_enabled_;
6964
  // @@protoc_insertion_point(copy_constructor:yb.master.GetLoadBalancerStateResponsePB)
6965
0
}
6966
6967
15.8k
void GetLoadBalancerStateResponsePB::SharedCtor() {
6968
15.8k
  _cached_size_ = 0;
6969
15.8k
  ::memset(&error_, 0, static_cast<size_t>(
6970
15.8k
      reinterpret_cast<char*>(&is_enabled_) -
6971
15.8k
      reinterpret_cast<char*>(&error_)) + sizeof(is_enabled_));
6972
15.8k
}
6973
6974
0
GetLoadBalancerStateResponsePB::~GetLoadBalancerStateResponsePB() {
6975
  // @@protoc_insertion_point(destructor:yb.master.GetLoadBalancerStateResponsePB)
6976
0
  SharedDtor();
6977
0
}
6978
6979
0
void GetLoadBalancerStateResponsePB::SharedDtor() {
6980
0
  if (this != internal_default_instance()) delete error_;
6981
0
}
6982
6983
0
void GetLoadBalancerStateResponsePB::SetCachedSize(int size) const {
6984
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6985
0
  _cached_size_ = size;
6986
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6987
0
}
6988
0
const ::google::protobuf::Descriptor* GetLoadBalancerStateResponsePB::descriptor() {
6989
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
6990
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6991
0
}
6992
6993
0
const GetLoadBalancerStateResponsePB& GetLoadBalancerStateResponsePB::default_instance() {
6994
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetLoadBalancerStateResponsePB();
6995
0
  return *internal_default_instance();
6996
0
}
6997
6998
0
GetLoadBalancerStateResponsePB* GetLoadBalancerStateResponsePB::New(::google::protobuf::Arena* arena) const {
6999
0
  GetLoadBalancerStateResponsePB* n = new GetLoadBalancerStateResponsePB;
7000
0
  if (arena != NULL) {
7001
0
    arena->Own(n);
7002
0
  }
7003
0
  return n;
7004
0
}
7005
7006
0
void GetLoadBalancerStateResponsePB::Clear() {
7007
// @@protoc_insertion_point(message_clear_start:yb.master.GetLoadBalancerStateResponsePB)
7008
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7009
  // Prevent compiler warnings about cached_has_bits being unused
7010
0
  (void) cached_has_bits;
7011
7012
0
  cached_has_bits = _has_bits_[0];
7013
0
  if (cached_has_bits & 0x00000001u) {
7014
0
    GOOGLE_DCHECK(error_ != NULL);
7015
0
    error_->Clear();
7016
0
  }
7017
0
  is_enabled_ = false;
7018
0
  _has_bits_.Clear();
7019
0
  _internal_metadata_.Clear();
7020
0
}
7021
7022
bool GetLoadBalancerStateResponsePB::MergePartialFromCodedStream(
7023
0
    ::google::protobuf::io::CodedInputStream* input) {
7024
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7025
0
  ::google::protobuf::uint32 tag;
7026
  // @@protoc_insertion_point(parse_start:yb.master.GetLoadBalancerStateResponsePB)
7027
0
  for (;;) {
7028
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7029
0
    tag = p.first;
7030
0
    if (!p.second) goto handle_unusual;
7031
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7032
      // optional .yb.master.MasterErrorPB error = 1;
7033
0
      case 1: {
7034
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7035
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7036
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
7037
0
               input, mutable_error()));
7038
0
        } else {
7039
0
          goto handle_unusual;
7040
0
        }
7041
0
        break;
7042
0
      }
7043
7044
      // optional bool is_enabled = 2;
7045
0
      case 2: {
7046
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7047
0
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
7048
0
          set_has_is_enabled();
7049
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7050
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
7051
0
                 input, &is_enabled_)));
7052
0
        } else {
7053
0
          goto handle_unusual;
7054
0
        }
7055
0
        break;
7056
0
      }
7057
7058
0
      default: {
7059
0
      handle_unusual:
7060
0
        if (tag == 0) {
7061
0
          goto success;
7062
0
        }
7063
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
7064
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
7065
0
        break;
7066
0
      }
7067
0
    }
7068
0
  }
7069
0
success:
7070
  // @@protoc_insertion_point(parse_success:yb.master.GetLoadBalancerStateResponsePB)
7071
0
  return true;
7072
0
failure:
7073
  // @@protoc_insertion_point(parse_failure:yb.master.GetLoadBalancerStateResponsePB)
7074
0
  return false;
7075
0
#undef DO_
7076
0
}
7077
7078
void GetLoadBalancerStateResponsePB::SerializeWithCachedSizes(
7079
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7080
  // @@protoc_insertion_point(serialize_start:yb.master.GetLoadBalancerStateResponsePB)
7081
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7082
0
  (void) cached_has_bits;
7083
7084
0
  cached_has_bits = _has_bits_[0];
7085
  // optional .yb.master.MasterErrorPB error = 1;
7086
0
  if (cached_has_bits & 0x00000001u) {
7087
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7088
0
      1, *this->error_, output);
7089
0
  }
7090
7091
  // optional bool is_enabled = 2;
7092
0
  if (cached_has_bits & 0x00000002u) {
7093
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->is_enabled(), output);
7094
0
  }
7095
7096
0
  if (_internal_metadata_.have_unknown_fields()) {
7097
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7098
0
        _internal_metadata_.unknown_fields(), output);
7099
0
  }
7100
  // @@protoc_insertion_point(serialize_end:yb.master.GetLoadBalancerStateResponsePB)
7101
0
}
7102
7103
::google::protobuf::uint8* GetLoadBalancerStateResponsePB::InternalSerializeWithCachedSizesToArray(
7104
0
    bool deterministic, ::google::protobuf::uint8* target) const {
7105
0
  (void)deterministic; // Unused
7106
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetLoadBalancerStateResponsePB)
7107
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7108
0
  (void) cached_has_bits;
7109
7110
0
  cached_has_bits = _has_bits_[0];
7111
  // optional .yb.master.MasterErrorPB error = 1;
7112
0
  if (cached_has_bits & 0x00000001u) {
7113
0
    target = ::google::protobuf::internal::WireFormatLite::
7114
0
      InternalWriteMessageToArray(
7115
0
        1, *this->error_, deterministic, target);
7116
0
  }
7117
7118
  // optional bool is_enabled = 2;
7119
0
  if (cached_has_bits & 0x00000002u) {
7120
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->is_enabled(), target);
7121
0
  }
7122
7123
0
  if (_internal_metadata_.have_unknown_fields()) {
7124
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7125
0
        _internal_metadata_.unknown_fields(), target);
7126
0
  }
7127
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetLoadBalancerStateResponsePB)
7128
0
  return target;
7129
0
}
7130
7131
0
size_t GetLoadBalancerStateResponsePB::ByteSizeLong() const {
7132
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetLoadBalancerStateResponsePB)
7133
0
  size_t total_size = 0;
7134
7135
0
  if (_internal_metadata_.have_unknown_fields()) {
7136
0
    total_size +=
7137
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7138
0
        _internal_metadata_.unknown_fields());
7139
0
  }
7140
0
  if (_has_bits_[0 / 32] & 3u) {
7141
    // optional .yb.master.MasterErrorPB error = 1;
7142
0
    if (has_error()) {
7143
0
      total_size += 1 +
7144
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
7145
0
          *this->error_);
7146
0
    }
7147
7148
    // optional bool is_enabled = 2;
7149
0
    if (has_is_enabled()) {
7150
0
      total_size += 1 + 1;
7151
0
    }
7152
7153
0
  }
7154
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7155
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7156
0
  _cached_size_ = cached_size;
7157
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7158
0
  return total_size;
7159
0
}
7160
7161
0
void GetLoadBalancerStateResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
7162
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetLoadBalancerStateResponsePB)
7163
0
  GOOGLE_DCHECK_NE(&from, this);
7164
0
  const GetLoadBalancerStateResponsePB* source =
7165
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetLoadBalancerStateResponsePB>(
7166
0
          &from);
7167
0
  if (source == NULL) {
7168
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetLoadBalancerStateResponsePB)
7169
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7170
0
  } else {
7171
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetLoadBalancerStateResponsePB)
7172
0
    MergeFrom(*source);
7173
0
  }
7174
0
}
7175
7176
0
void GetLoadBalancerStateResponsePB::MergeFrom(const GetLoadBalancerStateResponsePB& from) {
7177
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetLoadBalancerStateResponsePB)
7178
0
  GOOGLE_DCHECK_NE(&from, this);
7179
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7180
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7181
0
  (void) cached_has_bits;
7182
7183
0
  cached_has_bits = from._has_bits_[0];
7184
0
  if (cached_has_bits & 3u) {
7185
0
    if (cached_has_bits & 0x00000001u) {
7186
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
7187
0
    }
7188
0
    if (cached_has_bits & 0x00000002u) {
7189
0
      is_enabled_ = from.is_enabled_;
7190
0
    }
7191
0
    _has_bits_[0] |= cached_has_bits;
7192
0
  }
7193
0
}
7194
7195
0
void GetLoadBalancerStateResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
7196
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetLoadBalancerStateResponsePB)
7197
0
  if (&from == this) return;
7198
0
  Clear();
7199
0
  MergeFrom(from);
7200
0
}
7201
7202
0
void GetLoadBalancerStateResponsePB::CopyFrom(const GetLoadBalancerStateResponsePB& from) {
7203
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetLoadBalancerStateResponsePB)
7204
0
  if (&from == this) return;
7205
0
  Clear();
7206
0
  MergeFrom(from);
7207
0
}
7208
7209
0
bool GetLoadBalancerStateResponsePB::IsInitialized() const {
7210
0
  if (has_error()) {
7211
0
    if (!this->error_->IsInitialized()) return false;
7212
0
  }
7213
0
  return true;
7214
0
}
7215
7216
0
void GetLoadBalancerStateResponsePB::Swap(GetLoadBalancerStateResponsePB* other) {
7217
0
  if (other == this) return;
7218
0
  InternalSwap(other);
7219
0
}
7220
0
void GetLoadBalancerStateResponsePB::InternalSwap(GetLoadBalancerStateResponsePB* other) {
7221
0
  using std::swap;
7222
0
  swap(error_, other->error_);
7223
0
  swap(is_enabled_, other->is_enabled_);
7224
0
  swap(_has_bits_[0], other->_has_bits_[0]);
7225
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7226
0
  swap(_cached_size_, other->_cached_size_);
7227
0
}
7228
7229
0
::google::protobuf::Metadata GetLoadBalancerStateResponsePB::GetMetadata() const {
7230
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
7231
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
7232
0
}
7233
7234
7235
// ===================================================================
7236
7237
15.8k
void RemovedMasterUpdateRequestPB::InitAsDefaultInstance() {
7238
15.8k
}
7239
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7240
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7241
7242
RemovedMasterUpdateRequestPB::RemovedMasterUpdateRequestPB()
7243
15.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7244
59
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7245
59
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsRemovedMasterUpdateRequestPB();
7246
59
  }
7247
15.9k
  SharedCtor();
7248
  // @@protoc_insertion_point(constructor:yb.master.RemovedMasterUpdateRequestPB)
7249
15.9k
}
7250
RemovedMasterUpdateRequestPB::RemovedMasterUpdateRequestPB(const RemovedMasterUpdateRequestPB& from)
7251
  : ::google::protobuf::Message(),
7252
      _internal_metadata_(NULL),
7253
      _has_bits_(from._has_bits_),
7254
0
      _cached_size_(0) {
7255
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7256
  // @@protoc_insertion_point(copy_constructor:yb.master.RemovedMasterUpdateRequestPB)
7257
0
}
7258
7259
15.9k
void RemovedMasterUpdateRequestPB::SharedCtor() {
7260
15.9k
  _cached_size_ = 0;
7261
15.9k
}
7262
7263
58
RemovedMasterUpdateRequestPB::~RemovedMasterUpdateRequestPB() {
7264
  // @@protoc_insertion_point(destructor:yb.master.RemovedMasterUpdateRequestPB)
7265
58
  SharedDtor();
7266
58
}
7267
7268
58
void RemovedMasterUpdateRequestPB::SharedDtor() {
7269
58
}
7270
7271
0
void RemovedMasterUpdateRequestPB::SetCachedSize(int size) const {
7272
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7273
0
  _cached_size_ = size;
7274
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7275
0
}
7276
0
const ::google::protobuf::Descriptor* RemovedMasterUpdateRequestPB::descriptor() {
7277
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
7278
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7279
0
}
7280
7281
0
const RemovedMasterUpdateRequestPB& RemovedMasterUpdateRequestPB::default_instance() {
7282
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsRemovedMasterUpdateRequestPB();
7283
0
  return *internal_default_instance();
7284
0
}
7285
7286
0
RemovedMasterUpdateRequestPB* RemovedMasterUpdateRequestPB::New(::google::protobuf::Arena* arena) const {
7287
0
  RemovedMasterUpdateRequestPB* n = new RemovedMasterUpdateRequestPB;
7288
0
  if (arena != NULL) {
7289
0
    arena->Own(n);
7290
0
  }
7291
0
  return n;
7292
0
}
7293
7294
27
void RemovedMasterUpdateRequestPB::Clear() {
7295
// @@protoc_insertion_point(message_clear_start:yb.master.RemovedMasterUpdateRequestPB)
7296
27
  ::google::protobuf::uint32 cached_has_bits = 0;
7297
  // Prevent compiler warnings about cached_has_bits being unused
7298
27
  (void) cached_has_bits;
7299
7300
27
  _has_bits_.Clear();
7301
27
  _internal_metadata_.Clear();
7302
27
}
7303
7304
bool RemovedMasterUpdateRequestPB::MergePartialFromCodedStream(
7305
27
    ::google::protobuf::io::CodedInputStream* input) {
7306
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7307
27
  ::google::protobuf::uint32 tag;
7308
  // @@protoc_insertion_point(parse_start:yb.master.RemovedMasterUpdateRequestPB)
7309
27
  for (;;) {
7310
27
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7311
27
    tag = p.first;
7312
27
    if (!p.second) goto handle_unusual;
7313
27
  handle_unusual:
7314
27
    if (tag == 0) {
7315
27
      goto success;
7316
27
    }
7317
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
7318
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
7319
0
  }
7320
27
success:
7321
  // @@protoc_insertion_point(parse_success:yb.master.RemovedMasterUpdateRequestPB)
7322
27
  return true;
7323
0
failure:
7324
  // @@protoc_insertion_point(parse_failure:yb.master.RemovedMasterUpdateRequestPB)
7325
0
  return false;
7326
27
#undef DO_
7327
27
}
7328
7329
void RemovedMasterUpdateRequestPB::SerializeWithCachedSizes(
7330
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7331
  // @@protoc_insertion_point(serialize_start:yb.master.RemovedMasterUpdateRequestPB)
7332
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7333
0
  (void) cached_has_bits;
7334
7335
0
  if (_internal_metadata_.have_unknown_fields()) {
7336
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7337
0
        _internal_metadata_.unknown_fields(), output);
7338
0
  }
7339
  // @@protoc_insertion_point(serialize_end:yb.master.RemovedMasterUpdateRequestPB)
7340
0
}
7341
7342
::google::protobuf::uint8* RemovedMasterUpdateRequestPB::InternalSerializeWithCachedSizesToArray(
7343
32
    bool deterministic, ::google::protobuf::uint8* target) const {
7344
32
  (void)deterministic; // Unused
7345
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.RemovedMasterUpdateRequestPB)
7346
32
  ::google::protobuf::uint32 cached_has_bits = 0;
7347
32
  (void) cached_has_bits;
7348
7349
32
  if (_internal_metadata_.have_unknown_fields()) {
7350
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7351
0
        _internal_metadata_.unknown_fields(), target);
7352
0
  }
7353
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.RemovedMasterUpdateRequestPB)
7354
32
  return target;
7355
32
}
7356
7357
64
size_t RemovedMasterUpdateRequestPB::ByteSizeLong() const {
7358
// @@protoc_insertion_point(message_byte_size_start:yb.master.RemovedMasterUpdateRequestPB)
7359
64
  size_t total_size = 0;
7360
7361
64
  if (_internal_metadata_.have_unknown_fields()) {
7362
0
    total_size +=
7363
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7364
0
        _internal_metadata_.unknown_fields());
7365
0
  }
7366
64
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7367
64
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7368
64
  _cached_size_ = cached_size;
7369
64
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7370
64
  return total_size;
7371
64
}
7372
7373
0
void RemovedMasterUpdateRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
7374
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.RemovedMasterUpdateRequestPB)
7375
0
  GOOGLE_DCHECK_NE(&from, this);
7376
0
  const RemovedMasterUpdateRequestPB* source =
7377
0
      ::google::protobuf::internal::DynamicCastToGenerated<const RemovedMasterUpdateRequestPB>(
7378
0
          &from);
7379
0
  if (source == NULL) {
7380
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.RemovedMasterUpdateRequestPB)
7381
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7382
0
  } else {
7383
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.RemovedMasterUpdateRequestPB)
7384
0
    MergeFrom(*source);
7385
0
  }
7386
0
}
7387
7388
0
void RemovedMasterUpdateRequestPB::MergeFrom(const RemovedMasterUpdateRequestPB& from) {
7389
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.RemovedMasterUpdateRequestPB)
7390
0
  GOOGLE_DCHECK_NE(&from, this);
7391
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7392
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7393
0
  (void) cached_has_bits;
7394
7395
0
}
7396
7397
0
void RemovedMasterUpdateRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
7398
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.RemovedMasterUpdateRequestPB)
7399
0
  if (&from == this) return;
7400
0
  Clear();
7401
0
  MergeFrom(from);
7402
0
}
7403
7404
0
void RemovedMasterUpdateRequestPB::CopyFrom(const RemovedMasterUpdateRequestPB& from) {
7405
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.RemovedMasterUpdateRequestPB)
7406
0
  if (&from == this) return;
7407
0
  Clear();
7408
0
  MergeFrom(from);
7409
0
}
7410
7411
59
bool RemovedMasterUpdateRequestPB::IsInitialized() const {
7412
59
  return true;
7413
59
}
7414
7415
0
void RemovedMasterUpdateRequestPB::Swap(RemovedMasterUpdateRequestPB* other) {
7416
0
  if (other == this) return;
7417
0
  InternalSwap(other);
7418
0
}
7419
0
void RemovedMasterUpdateRequestPB::InternalSwap(RemovedMasterUpdateRequestPB* other) {
7420
0
  using std::swap;
7421
0
  swap(_has_bits_[0], other->_has_bits_[0]);
7422
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7423
0
  swap(_cached_size_, other->_cached_size_);
7424
0
}
7425
7426
27
::google::protobuf::Metadata RemovedMasterUpdateRequestPB::GetMetadata() const {
7427
27
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
7428
27
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
7429
27
}
7430
7431
7432
// ===================================================================
7433
7434
15.8k
void RemovedMasterUpdateResponsePB::InitAsDefaultInstance() {
7435
15.8k
  ::yb::master::_RemovedMasterUpdateResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
7436
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
7437
15.8k
}
7438
0
void RemovedMasterUpdateResponsePB::clear_error() {
7439
0
  if (error_ != NULL) error_->Clear();
7440
0
  clear_has_error();
7441
0
}
7442
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7443
const int RemovedMasterUpdateResponsePB::kErrorFieldNumber;
7444
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7445
7446
RemovedMasterUpdateResponsePB::RemovedMasterUpdateResponsePB()
7447
15.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7448
59
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7449
59
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsRemovedMasterUpdateResponsePB();
7450
59
  }
7451
15.9k
  SharedCtor();
7452
  // @@protoc_insertion_point(constructor:yb.master.RemovedMasterUpdateResponsePB)
7453
15.9k
}
7454
RemovedMasterUpdateResponsePB::RemovedMasterUpdateResponsePB(const RemovedMasterUpdateResponsePB& from)
7455
  : ::google::protobuf::Message(),
7456
      _internal_metadata_(NULL),
7457
      _has_bits_(from._has_bits_),
7458
0
      _cached_size_(0) {
7459
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7460
0
  if (from.has_error()) {
7461
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
7462
0
  } else {
7463
0
    error_ = NULL;
7464
0
  }
7465
  // @@protoc_insertion_point(copy_constructor:yb.master.RemovedMasterUpdateResponsePB)
7466
0
}
7467
7468
15.9k
void RemovedMasterUpdateResponsePB::SharedCtor() {
7469
15.9k
  _cached_size_ = 0;
7470
15.9k
  error_ = NULL;
7471
15.9k
}
7472
7473
58
RemovedMasterUpdateResponsePB::~RemovedMasterUpdateResponsePB() {
7474
  // @@protoc_insertion_point(destructor:yb.master.RemovedMasterUpdateResponsePB)
7475
58
  SharedDtor();
7476
58
}
7477
7478
58
void RemovedMasterUpdateResponsePB::SharedDtor() {
7479
58
  if (this != internal_default_instance()) delete error_;
7480
58
}
7481
7482
0
void RemovedMasterUpdateResponsePB::SetCachedSize(int size) const {
7483
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7484
0
  _cached_size_ = size;
7485
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7486
0
}
7487
0
const ::google::protobuf::Descriptor* RemovedMasterUpdateResponsePB::descriptor() {
7488
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
7489
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7490
0
}
7491
7492
0
const RemovedMasterUpdateResponsePB& RemovedMasterUpdateResponsePB::default_instance() {
7493
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsRemovedMasterUpdateResponsePB();
7494
0
  return *internal_default_instance();
7495
0
}
7496
7497
0
RemovedMasterUpdateResponsePB* RemovedMasterUpdateResponsePB::New(::google::protobuf::Arena* arena) const {
7498
0
  RemovedMasterUpdateResponsePB* n = new RemovedMasterUpdateResponsePB;
7499
0
  if (arena != NULL) {
7500
0
    arena->Own(n);
7501
0
  }
7502
0
  return n;
7503
0
}
7504
7505
26
void RemovedMasterUpdateResponsePB::Clear() {
7506
// @@protoc_insertion_point(message_clear_start:yb.master.RemovedMasterUpdateResponsePB)
7507
26
  ::google::protobuf::uint32 cached_has_bits = 0;
7508
  // Prevent compiler warnings about cached_has_bits being unused
7509
26
  (void) cached_has_bits;
7510
7511
26
  cached_has_bits = _has_bits_[0];
7512
26
  if (cached_has_bits & 0x00000001u) {
7513
0
    GOOGLE_DCHECK(error_ != NULL);
7514
0
    error_->Clear();
7515
0
  }
7516
26
  _has_bits_.Clear();
7517
26
  _internal_metadata_.Clear();
7518
26
}
7519
7520
bool RemovedMasterUpdateResponsePB::MergePartialFromCodedStream(
7521
26
    ::google::protobuf::io::CodedInputStream* input) {
7522
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7523
26
  ::google::protobuf::uint32 tag;
7524
  // @@protoc_insertion_point(parse_start:yb.master.RemovedMasterUpdateResponsePB)
7525
26
  for (;;) {
7526
26
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7527
26
    tag = p.first;
7528
26
    if (!p.second) goto handle_unusual;
7529
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7530
      // optional .yb.master.MasterErrorPB error = 1;
7531
0
      case 1: {
7532
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7533
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7534
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
7535
0
               input, mutable_error()));
7536
0
        } else {
7537
0
          goto handle_unusual;
7538
0
        }
7539
0
        break;
7540
26
      }
7541
7542
0
      default: {
7543
26
      handle_unusual:
7544
26
        if (tag == 0) {
7545
26
          goto success;
7546
26
        }
7547
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
7548
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
7549
0
        break;
7550
0
      }
7551
0
    }
7552
0
  }
7553
26
success:
7554
  // @@protoc_insertion_point(parse_success:yb.master.RemovedMasterUpdateResponsePB)
7555
26
  return true;
7556
0
failure:
7557
  // @@protoc_insertion_point(parse_failure:yb.master.RemovedMasterUpdateResponsePB)
7558
0
  return false;
7559
26
#undef DO_
7560
26
}
7561
7562
void RemovedMasterUpdateResponsePB::SerializeWithCachedSizes(
7563
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7564
  // @@protoc_insertion_point(serialize_start:yb.master.RemovedMasterUpdateResponsePB)
7565
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7566
0
  (void) cached_has_bits;
7567
7568
0
  cached_has_bits = _has_bits_[0];
7569
  // optional .yb.master.MasterErrorPB error = 1;
7570
0
  if (cached_has_bits & 0x00000001u) {
7571
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7572
0
      1, *this->error_, output);
7573
0
  }
7574
7575
0
  if (_internal_metadata_.have_unknown_fields()) {
7576
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7577
0
        _internal_metadata_.unknown_fields(), output);
7578
0
  }
7579
  // @@protoc_insertion_point(serialize_end:yb.master.RemovedMasterUpdateResponsePB)
7580
0
}
7581
7582
::google::protobuf::uint8* RemovedMasterUpdateResponsePB::InternalSerializeWithCachedSizesToArray(
7583
26
    bool deterministic, ::google::protobuf::uint8* target) const {
7584
26
  (void)deterministic; // Unused
7585
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.RemovedMasterUpdateResponsePB)
7586
26
  ::google::protobuf::uint32 cached_has_bits = 0;
7587
26
  (void) cached_has_bits;
7588
7589
26
  cached_has_bits = _has_bits_[0];
7590
  // optional .yb.master.MasterErrorPB error = 1;
7591
26
  if (cached_has_bits & 0x00000001u) {
7592
0
    target = ::google::protobuf::internal::WireFormatLite::
7593
0
      InternalWriteMessageToArray(
7594
0
        1, *this->error_, deterministic, target);
7595
0
  }
7596
7597
26
  if (_internal_metadata_.have_unknown_fields()) {
7598
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7599
0
        _internal_metadata_.unknown_fields(), target);
7600
0
  }
7601
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.RemovedMasterUpdateResponsePB)
7602
26
  return target;
7603
26
}
7604
7605
52
size_t RemovedMasterUpdateResponsePB::ByteSizeLong() const {
7606
// @@protoc_insertion_point(message_byte_size_start:yb.master.RemovedMasterUpdateResponsePB)
7607
52
  size_t total_size = 0;
7608
7609
52
  if (_internal_metadata_.have_unknown_fields()) {
7610
0
    total_size +=
7611
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7612
0
        _internal_metadata_.unknown_fields());
7613
0
  }
7614
  // optional .yb.master.MasterErrorPB error = 1;
7615
52
  if (has_error()) {
7616
0
    total_size += 1 +
7617
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
7618
0
        *this->error_);
7619
0
  }
7620
7621
52
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7622
52
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7623
52
  _cached_size_ = cached_size;
7624
52
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7625
52
  return total_size;
7626
52
}
7627
7628
0
void RemovedMasterUpdateResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
7629
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.RemovedMasterUpdateResponsePB)
7630
0
  GOOGLE_DCHECK_NE(&from, this);
7631
0
  const RemovedMasterUpdateResponsePB* source =
7632
0
      ::google::protobuf::internal::DynamicCastToGenerated<const RemovedMasterUpdateResponsePB>(
7633
0
          &from);
7634
0
  if (source == NULL) {
7635
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.RemovedMasterUpdateResponsePB)
7636
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7637
0
  } else {
7638
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.RemovedMasterUpdateResponsePB)
7639
0
    MergeFrom(*source);
7640
0
  }
7641
0
}
7642
7643
0
void RemovedMasterUpdateResponsePB::MergeFrom(const RemovedMasterUpdateResponsePB& from) {
7644
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.RemovedMasterUpdateResponsePB)
7645
0
  GOOGLE_DCHECK_NE(&from, this);
7646
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7647
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7648
0
  (void) cached_has_bits;
7649
7650
0
  if (from.has_error()) {
7651
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
7652
0
  }
7653
0
}
7654
7655
0
void RemovedMasterUpdateResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
7656
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.RemovedMasterUpdateResponsePB)
7657
0
  if (&from == this) return;
7658
0
  Clear();
7659
0
  MergeFrom(from);
7660
0
}
7661
7662
0
void RemovedMasterUpdateResponsePB::CopyFrom(const RemovedMasterUpdateResponsePB& from) {
7663
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.RemovedMasterUpdateResponsePB)
7664
0
  if (&from == this) return;
7665
0
  Clear();
7666
0
  MergeFrom(from);
7667
0
}
7668
7669
52
bool RemovedMasterUpdateResponsePB::IsInitialized() const {
7670
52
  if (has_error()) {
7671
0
    if (!this->error_->IsInitialized()) return false;
7672
52
  }
7673
52
  return true;
7674
52
}
7675
7676
0
void RemovedMasterUpdateResponsePB::Swap(RemovedMasterUpdateResponsePB* other) {
7677
0
  if (other == this) return;
7678
0
  InternalSwap(other);
7679
0
}
7680
0
void RemovedMasterUpdateResponsePB::InternalSwap(RemovedMasterUpdateResponsePB* other) {
7681
0
  using std::swap;
7682
0
  swap(error_, other->error_);
7683
0
  swap(_has_bits_[0], other->_has_bits_[0]);
7684
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7685
0
  swap(_cached_size_, other->_cached_size_);
7686
0
}
7687
7688
0
::google::protobuf::Metadata RemovedMasterUpdateResponsePB::GetMetadata() const {
7689
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
7690
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
7691
0
}
7692
7693
7694
// ===================================================================
7695
7696
15.8k
void SetPreferredZonesRequestPB::InitAsDefaultInstance() {
7697
15.8k
}
7698
0
void SetPreferredZonesRequestPB::clear_preferred_zones() {
7699
0
  preferred_zones_.Clear();
7700
0
}
7701
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7702
const int SetPreferredZonesRequestPB::kPreferredZonesFieldNumber;
7703
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7704
7705
SetPreferredZonesRequestPB::SetPreferredZonesRequestPB()
7706
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7707
6
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7708
6
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsSetPreferredZonesRequestPB();
7709
6
  }
7710
15.8k
  SharedCtor();
7711
  // @@protoc_insertion_point(constructor:yb.master.SetPreferredZonesRequestPB)
7712
15.8k
}
7713
SetPreferredZonesRequestPB::SetPreferredZonesRequestPB(const SetPreferredZonesRequestPB& from)
7714
  : ::google::protobuf::Message(),
7715
      _internal_metadata_(NULL),
7716
      _has_bits_(from._has_bits_),
7717
      _cached_size_(0),
7718
0
      preferred_zones_(from.preferred_zones_) {
7719
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7720
  // @@protoc_insertion_point(copy_constructor:yb.master.SetPreferredZonesRequestPB)
7721
0
}
7722
7723
15.8k
void SetPreferredZonesRequestPB::SharedCtor() {
7724
15.8k
  _cached_size_ = 0;
7725
15.8k
}
7726
7727
6
SetPreferredZonesRequestPB::~SetPreferredZonesRequestPB() {
7728
  // @@protoc_insertion_point(destructor:yb.master.SetPreferredZonesRequestPB)
7729
6
  SharedDtor();
7730
6
}
7731
7732
6
void SetPreferredZonesRequestPB::SharedDtor() {
7733
6
}
7734
7735
0
void SetPreferredZonesRequestPB::SetCachedSize(int size) const {
7736
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7737
0
  _cached_size_ = size;
7738
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7739
0
}
7740
0
const ::google::protobuf::Descriptor* SetPreferredZonesRequestPB::descriptor() {
7741
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
7742
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7743
0
}
7744
7745
0
const SetPreferredZonesRequestPB& SetPreferredZonesRequestPB::default_instance() {
7746
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsSetPreferredZonesRequestPB();
7747
0
  return *internal_default_instance();
7748
0
}
7749
7750
0
SetPreferredZonesRequestPB* SetPreferredZonesRequestPB::New(::google::protobuf::Arena* arena) const {
7751
0
  SetPreferredZonesRequestPB* n = new SetPreferredZonesRequestPB;
7752
0
  if (arena != NULL) {
7753
0
    arena->Own(n);
7754
0
  }
7755
0
  return n;
7756
0
}
7757
7758
3
void SetPreferredZonesRequestPB::Clear() {
7759
// @@protoc_insertion_point(message_clear_start:yb.master.SetPreferredZonesRequestPB)
7760
3
  ::google::protobuf::uint32 cached_has_bits = 0;
7761
  // Prevent compiler warnings about cached_has_bits being unused
7762
3
  (void) cached_has_bits;
7763
7764
3
  preferred_zones_.Clear();
7765
3
  _has_bits_.Clear();
7766
3
  _internal_metadata_.Clear();
7767
3
}
7768
7769
bool SetPreferredZonesRequestPB::MergePartialFromCodedStream(
7770
3
    ::google::protobuf::io::CodedInputStream* input) {
7771
5
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7772
3
  ::google::protobuf::uint32 tag;
7773
  // @@protoc_insertion_point(parse_start:yb.master.SetPreferredZonesRequestPB)
7774
8
  for (;;) {
7775
8
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7776
8
    tag = p.first;
7777
8
    if (!p.second) goto handle_unusual;
7778
5
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7779
      // repeated .yb.CloudInfoPB preferred_zones = 1;
7780
5
      case 1: {
7781
5
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7782
5
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7783
5
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_preferred_zones()));
7784
0
        } else {
7785
0
          goto handle_unusual;
7786
0
        }
7787
5
        break;
7788
3
      }
7789
7790
0
      default: {
7791
3
      handle_unusual:
7792
3
        if (tag == 0) {
7793
3
          goto success;
7794
3
        }
7795
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
7796
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
7797
0
        break;
7798
0
      }
7799
5
    }
7800
5
  }
7801
3
success:
7802
  // @@protoc_insertion_point(parse_success:yb.master.SetPreferredZonesRequestPB)
7803
3
  return true;
7804
0
failure:
7805
  // @@protoc_insertion_point(parse_failure:yb.master.SetPreferredZonesRequestPB)
7806
0
  return false;
7807
3
#undef DO_
7808
3
}
7809
7810
void SetPreferredZonesRequestPB::SerializeWithCachedSizes(
7811
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7812
  // @@protoc_insertion_point(serialize_start:yb.master.SetPreferredZonesRequestPB)
7813
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7814
0
  (void) cached_has_bits;
7815
7816
  // repeated .yb.CloudInfoPB preferred_zones = 1;
7817
0
  for (unsigned int i = 0,
7818
0
      n = static_cast<unsigned int>(this->preferred_zones_size()); i < n; i++) {
7819
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7820
0
      1, this->preferred_zones(static_cast<int>(i)), output);
7821
0
  }
7822
7823
0
  if (_internal_metadata_.have_unknown_fields()) {
7824
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7825
0
        _internal_metadata_.unknown_fields(), output);
7826
0
  }
7827
  // @@protoc_insertion_point(serialize_end:yb.master.SetPreferredZonesRequestPB)
7828
0
}
7829
7830
::google::protobuf::uint8* SetPreferredZonesRequestPB::InternalSerializeWithCachedSizesToArray(
7831
3
    bool deterministic, ::google::protobuf::uint8* target) const {
7832
3
  (void)deterministic; // Unused
7833
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SetPreferredZonesRequestPB)
7834
3
  ::google::protobuf::uint32 cached_has_bits = 0;
7835
3
  (void) cached_has_bits;
7836
7837
  // repeated .yb.CloudInfoPB preferred_zones = 1;
7838
3
  for (unsigned int i = 0,
7839
8
      n = static_cast<unsigned int>(this->preferred_zones_size()); i < n; i++) {
7840
5
    target = ::google::protobuf::internal::WireFormatLite::
7841
5
      InternalWriteMessageToArray(
7842
5
        1, this->preferred_zones(static_cast<int>(i)), deterministic, target);
7843
5
  }
7844
7845
3
  if (_internal_metadata_.have_unknown_fields()) {
7846
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7847
0
        _internal_metadata_.unknown_fields(), target);
7848
0
  }
7849
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SetPreferredZonesRequestPB)
7850
3
  return target;
7851
3
}
7852
7853
6
size_t SetPreferredZonesRequestPB::ByteSizeLong() const {
7854
// @@protoc_insertion_point(message_byte_size_start:yb.master.SetPreferredZonesRequestPB)
7855
6
  size_t total_size = 0;
7856
7857
6
  if (_internal_metadata_.have_unknown_fields()) {
7858
0
    total_size +=
7859
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7860
0
        _internal_metadata_.unknown_fields());
7861
0
  }
7862
  // repeated .yb.CloudInfoPB preferred_zones = 1;
7863
6
  {
7864
6
    unsigned int count = static_cast<unsigned int>(this->preferred_zones_size());
7865
6
    total_size += 1UL * count;
7866
16
    for (unsigned int i = 0; i < count; i++) {
7867
10
      total_size +=
7868
10
        ::google::protobuf::internal::WireFormatLite::MessageSize(
7869
10
          this->preferred_zones(static_cast<int>(i)));
7870
10
    }
7871
6
  }
7872
7873
6
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7874
6
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7875
6
  _cached_size_ = cached_size;
7876
6
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7877
6
  return total_size;
7878
6
}
7879
7880
0
void SetPreferredZonesRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
7881
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SetPreferredZonesRequestPB)
7882
0
  GOOGLE_DCHECK_NE(&from, this);
7883
0
  const SetPreferredZonesRequestPB* source =
7884
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SetPreferredZonesRequestPB>(
7885
0
          &from);
7886
0
  if (source == NULL) {
7887
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SetPreferredZonesRequestPB)
7888
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7889
0
  } else {
7890
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SetPreferredZonesRequestPB)
7891
0
    MergeFrom(*source);
7892
0
  }
7893
0
}
7894
7895
0
void SetPreferredZonesRequestPB::MergeFrom(const SetPreferredZonesRequestPB& from) {
7896
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SetPreferredZonesRequestPB)
7897
0
  GOOGLE_DCHECK_NE(&from, this);
7898
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7899
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7900
0
  (void) cached_has_bits;
7901
7902
0
  preferred_zones_.MergeFrom(from.preferred_zones_);
7903
0
}
7904
7905
0
void SetPreferredZonesRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
7906
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SetPreferredZonesRequestPB)
7907
0
  if (&from == this) return;
7908
0
  Clear();
7909
0
  MergeFrom(from);
7910
0
}
7911
7912
0
void SetPreferredZonesRequestPB::CopyFrom(const SetPreferredZonesRequestPB& from) {
7913
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SetPreferredZonesRequestPB)
7914
0
  if (&from == this) return;
7915
0
  Clear();
7916
0
  MergeFrom(from);
7917
0
}
7918
7919
6
bool SetPreferredZonesRequestPB::IsInitialized() const {
7920
6
  return true;
7921
6
}
7922
7923
0
void SetPreferredZonesRequestPB::Swap(SetPreferredZonesRequestPB* other) {
7924
0
  if (other == this) return;
7925
0
  InternalSwap(other);
7926
0
}
7927
0
void SetPreferredZonesRequestPB::InternalSwap(SetPreferredZonesRequestPB* other) {
7928
0
  using std::swap;
7929
0
  preferred_zones_.InternalSwap(&other->preferred_zones_);
7930
0
  swap(_has_bits_[0], other->_has_bits_[0]);
7931
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7932
0
  swap(_cached_size_, other->_cached_size_);
7933
0
}
7934
7935
3
::google::protobuf::Metadata SetPreferredZonesRequestPB::GetMetadata() const {
7936
3
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
7937
3
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
7938
3
}
7939
7940
7941
// ===================================================================
7942
7943
15.8k
void SetPreferredZonesResponsePB::InitAsDefaultInstance() {
7944
15.8k
  ::yb::master::_SetPreferredZonesResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
7945
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
7946
15.8k
}
7947
0
void SetPreferredZonesResponsePB::clear_error() {
7948
0
  if (error_ != NULL) error_->Clear();
7949
0
  clear_has_error();
7950
0
}
7951
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7952
const int SetPreferredZonesResponsePB::kErrorFieldNumber;
7953
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7954
7955
SetPreferredZonesResponsePB::SetPreferredZonesResponsePB()
7956
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7957
6
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7958
6
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsSetPreferredZonesResponsePB();
7959
6
  }
7960
15.8k
  SharedCtor();
7961
  // @@protoc_insertion_point(constructor:yb.master.SetPreferredZonesResponsePB)
7962
15.8k
}
7963
SetPreferredZonesResponsePB::SetPreferredZonesResponsePB(const SetPreferredZonesResponsePB& from)
7964
  : ::google::protobuf::Message(),
7965
      _internal_metadata_(NULL),
7966
      _has_bits_(from._has_bits_),
7967
0
      _cached_size_(0) {
7968
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7969
0
  if (from.has_error()) {
7970
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
7971
0
  } else {
7972
0
    error_ = NULL;
7973
0
  }
7974
  // @@protoc_insertion_point(copy_constructor:yb.master.SetPreferredZonesResponsePB)
7975
0
}
7976
7977
15.8k
void SetPreferredZonesResponsePB::SharedCtor() {
7978
15.8k
  _cached_size_ = 0;
7979
15.8k
  error_ = NULL;
7980
15.8k
}
7981
7982
6
SetPreferredZonesResponsePB::~SetPreferredZonesResponsePB() {
7983
  // @@protoc_insertion_point(destructor:yb.master.SetPreferredZonesResponsePB)
7984
6
  SharedDtor();
7985
6
}
7986
7987
6
void SetPreferredZonesResponsePB::SharedDtor() {
7988
6
  if (this != internal_default_instance()) delete error_;
7989
6
}
7990
7991
0
void SetPreferredZonesResponsePB::SetCachedSize(int size) const {
7992
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7993
0
  _cached_size_ = size;
7994
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7995
0
}
7996
0
const ::google::protobuf::Descriptor* SetPreferredZonesResponsePB::descriptor() {
7997
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
7998
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7999
0
}
8000
8001
0
const SetPreferredZonesResponsePB& SetPreferredZonesResponsePB::default_instance() {
8002
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsSetPreferredZonesResponsePB();
8003
0
  return *internal_default_instance();
8004
0
}
8005
8006
0
SetPreferredZonesResponsePB* SetPreferredZonesResponsePB::New(::google::protobuf::Arena* arena) const {
8007
0
  SetPreferredZonesResponsePB* n = new SetPreferredZonesResponsePB;
8008
0
  if (arena != NULL) {
8009
0
    arena->Own(n);
8010
0
  }
8011
0
  return n;
8012
0
}
8013
8014
3
void SetPreferredZonesResponsePB::Clear() {
8015
// @@protoc_insertion_point(message_clear_start:yb.master.SetPreferredZonesResponsePB)
8016
3
  ::google::protobuf::uint32 cached_has_bits = 0;
8017
  // Prevent compiler warnings about cached_has_bits being unused
8018
3
  (void) cached_has_bits;
8019
8020
3
  cached_has_bits = _has_bits_[0];
8021
3
  if (cached_has_bits & 0x00000001u) {
8022
0
    GOOGLE_DCHECK(error_ != NULL);
8023
0
    error_->Clear();
8024
0
  }
8025
3
  _has_bits_.Clear();
8026
3
  _internal_metadata_.Clear();
8027
3
}
8028
8029
bool SetPreferredZonesResponsePB::MergePartialFromCodedStream(
8030
3
    ::google::protobuf::io::CodedInputStream* input) {
8031
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
8032
3
  ::google::protobuf::uint32 tag;
8033
  // @@protoc_insertion_point(parse_start:yb.master.SetPreferredZonesResponsePB)
8034
3
  for (;;) {
8035
3
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8036
3
    tag = p.first;
8037
3
    if (!p.second) goto handle_unusual;
8038
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8039
      // optional .yb.master.MasterErrorPB error = 1;
8040
0
      case 1: {
8041
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8042
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
8043
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8044
0
               input, mutable_error()));
8045
0
        } else {
8046
0
          goto handle_unusual;
8047
0
        }
8048
0
        break;
8049
3
      }
8050
8051
0
      default: {
8052
3
      handle_unusual:
8053
3
        if (tag == 0) {
8054
3
          goto success;
8055
3
        }
8056
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
8057
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
8058
0
        break;
8059
0
      }
8060
0
    }
8061
0
  }
8062
3
success:
8063
  // @@protoc_insertion_point(parse_success:yb.master.SetPreferredZonesResponsePB)
8064
3
  return true;
8065
0
failure:
8066
  // @@protoc_insertion_point(parse_failure:yb.master.SetPreferredZonesResponsePB)
8067
0
  return false;
8068
3
#undef DO_
8069
3
}
8070
8071
void SetPreferredZonesResponsePB::SerializeWithCachedSizes(
8072
0
    ::google::protobuf::io::CodedOutputStream* output) const {
8073
  // @@protoc_insertion_point(serialize_start:yb.master.SetPreferredZonesResponsePB)
8074
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8075
0
  (void) cached_has_bits;
8076
8077
0
  cached_has_bits = _has_bits_[0];
8078
  // optional .yb.master.MasterErrorPB error = 1;
8079
0
  if (cached_has_bits & 0x00000001u) {
8080
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8081
0
      1, *this->error_, output);
8082
0
  }
8083
8084
0
  if (_internal_metadata_.have_unknown_fields()) {
8085
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8086
0
        _internal_metadata_.unknown_fields(), output);
8087
0
  }
8088
  // @@protoc_insertion_point(serialize_end:yb.master.SetPreferredZonesResponsePB)
8089
0
}
8090
8091
::google::protobuf::uint8* SetPreferredZonesResponsePB::InternalSerializeWithCachedSizesToArray(
8092
3
    bool deterministic, ::google::protobuf::uint8* target) const {
8093
3
  (void)deterministic; // Unused
8094
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SetPreferredZonesResponsePB)
8095
3
  ::google::protobuf::uint32 cached_has_bits = 0;
8096
3
  (void) cached_has_bits;
8097
8098
3
  cached_has_bits = _has_bits_[0];
8099
  // optional .yb.master.MasterErrorPB error = 1;
8100
3
  if (cached_has_bits & 0x00000001u) {
8101
0
    target = ::google::protobuf::internal::WireFormatLite::
8102
0
      InternalWriteMessageToArray(
8103
0
        1, *this->error_, deterministic, target);
8104
0
  }
8105
8106
3
  if (_internal_metadata_.have_unknown_fields()) {
8107
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8108
0
        _internal_metadata_.unknown_fields(), target);
8109
0
  }
8110
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SetPreferredZonesResponsePB)
8111
3
  return target;
8112
3
}
8113
8114
6
size_t SetPreferredZonesResponsePB::ByteSizeLong() const {
8115
// @@protoc_insertion_point(message_byte_size_start:yb.master.SetPreferredZonesResponsePB)
8116
6
  size_t total_size = 0;
8117
8118
6
  if (_internal_metadata_.have_unknown_fields()) {
8119
0
    total_size +=
8120
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8121
0
        _internal_metadata_.unknown_fields());
8122
0
  }
8123
  // optional .yb.master.MasterErrorPB error = 1;
8124
6
  if (has_error()) {
8125
0
    total_size += 1 +
8126
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
8127
0
        *this->error_);
8128
0
  }
8129
8130
6
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8131
6
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8132
6
  _cached_size_ = cached_size;
8133
6
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8134
6
  return total_size;
8135
6
}
8136
8137
0
void SetPreferredZonesResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
8138
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SetPreferredZonesResponsePB)
8139
0
  GOOGLE_DCHECK_NE(&from, this);
8140
0
  const SetPreferredZonesResponsePB* source =
8141
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SetPreferredZonesResponsePB>(
8142
0
          &from);
8143
0
  if (source == NULL) {
8144
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SetPreferredZonesResponsePB)
8145
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8146
0
  } else {
8147
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SetPreferredZonesResponsePB)
8148
0
    MergeFrom(*source);
8149
0
  }
8150
0
}
8151
8152
0
void SetPreferredZonesResponsePB::MergeFrom(const SetPreferredZonesResponsePB& from) {
8153
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SetPreferredZonesResponsePB)
8154
0
  GOOGLE_DCHECK_NE(&from, this);
8155
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8156
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8157
0
  (void) cached_has_bits;
8158
8159
0
  if (from.has_error()) {
8160
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
8161
0
  }
8162
0
}
8163
8164
0
void SetPreferredZonesResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
8165
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SetPreferredZonesResponsePB)
8166
0
  if (&from == this) return;
8167
0
  Clear();
8168
0
  MergeFrom(from);
8169
0
}
8170
8171
0
void SetPreferredZonesResponsePB::CopyFrom(const SetPreferredZonesResponsePB& from) {
8172
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SetPreferredZonesResponsePB)
8173
0
  if (&from == this) return;
8174
0
  Clear();
8175
0
  MergeFrom(from);
8176
0
}
8177
8178
6
bool SetPreferredZonesResponsePB::IsInitialized() const {
8179
6
  if (has_error()) {
8180
0
    if (!this->error_->IsInitialized()) return false;
8181
6
  }
8182
6
  return true;
8183
6
}
8184
8185
0
void SetPreferredZonesResponsePB::Swap(SetPreferredZonesResponsePB* other) {
8186
0
  if (other == this) return;
8187
0
  InternalSwap(other);
8188
0
}
8189
0
void SetPreferredZonesResponsePB::InternalSwap(SetPreferredZonesResponsePB* other) {
8190
0
  using std::swap;
8191
0
  swap(error_, other->error_);
8192
0
  swap(_has_bits_[0], other->_has_bits_[0]);
8193
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
8194
0
  swap(_cached_size_, other->_cached_size_);
8195
0
}
8196
8197
0
::google::protobuf::Metadata SetPreferredZonesResponsePB::GetMetadata() const {
8198
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
8199
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
8200
0
}
8201
8202
8203
// ===================================================================
8204
8205
15.8k
void GetMasterClusterConfigRequestPB::InitAsDefaultInstance() {
8206
15.8k
}
8207
#if !defined(_MSC_VER) || _MSC_VER >= 1900
8208
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
8209
8210
GetMasterClusterConfigRequestPB::GetMasterClusterConfigRequestPB()
8211
16.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8212
248
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
8213
248
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetMasterClusterConfigRequestPB();
8214
248
  }
8215
16.0k
  SharedCtor();
8216
  // @@protoc_insertion_point(constructor:yb.master.GetMasterClusterConfigRequestPB)
8217
16.0k
}
8218
GetMasterClusterConfigRequestPB::GetMasterClusterConfigRequestPB(const GetMasterClusterConfigRequestPB& from)
8219
  : ::google::protobuf::Message(),
8220
      _internal_metadata_(NULL),
8221
      _has_bits_(from._has_bits_),
8222
0
      _cached_size_(0) {
8223
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8224
  // @@protoc_insertion_point(copy_constructor:yb.master.GetMasterClusterConfigRequestPB)
8225
0
}
8226
8227
16.0k
void GetMasterClusterConfigRequestPB::SharedCtor() {
8228
16.0k
  _cached_size_ = 0;
8229
16.0k
}
8230
8231
248
GetMasterClusterConfigRequestPB::~GetMasterClusterConfigRequestPB() {
8232
  // @@protoc_insertion_point(destructor:yb.master.GetMasterClusterConfigRequestPB)
8233
248
  SharedDtor();
8234
248
}
8235
8236
248
void GetMasterClusterConfigRequestPB::SharedDtor() {
8237
248
}
8238
8239
0
void GetMasterClusterConfigRequestPB::SetCachedSize(int size) const {
8240
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8241
0
  _cached_size_ = size;
8242
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8243
0
}
8244
0
const ::google::protobuf::Descriptor* GetMasterClusterConfigRequestPB::descriptor() {
8245
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
8246
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
8247
0
}
8248
8249
0
const GetMasterClusterConfigRequestPB& GetMasterClusterConfigRequestPB::default_instance() {
8250
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetMasterClusterConfigRequestPB();
8251
0
  return *internal_default_instance();
8252
0
}
8253
8254
0
GetMasterClusterConfigRequestPB* GetMasterClusterConfigRequestPB::New(::google::protobuf::Arena* arena) const {
8255
0
  GetMasterClusterConfigRequestPB* n = new GetMasterClusterConfigRequestPB;
8256
0
  if (arena != NULL) {
8257
0
    arena->Own(n);
8258
0
  }
8259
0
  return n;
8260
0
}
8261
8262
206
void GetMasterClusterConfigRequestPB::Clear() {
8263
// @@protoc_insertion_point(message_clear_start:yb.master.GetMasterClusterConfigRequestPB)
8264
206
  ::google::protobuf::uint32 cached_has_bits = 0;
8265
  // Prevent compiler warnings about cached_has_bits being unused
8266
206
  (void) cached_has_bits;
8267
8268
206
  _has_bits_.Clear();
8269
206
  _internal_metadata_.Clear();
8270
206
}
8271
8272
bool GetMasterClusterConfigRequestPB::MergePartialFromCodedStream(
8273
206
    ::google::protobuf::io::CodedInputStream* input) {
8274
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
8275
206
  ::google::protobuf::uint32 tag;
8276
  // @@protoc_insertion_point(parse_start:yb.master.GetMasterClusterConfigRequestPB)
8277
206
  for (;;) {
8278
206
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8279
206
    tag = p.first;
8280
206
    if (!p.second) goto handle_unusual;
8281
206
  handle_unusual:
8282
206
    if (tag == 0) {
8283
206
      goto success;
8284
206
    }
8285
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
8286
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
8287
0
  }
8288
206
success:
8289
  // @@protoc_insertion_point(parse_success:yb.master.GetMasterClusterConfigRequestPB)
8290
206
  return true;
8291
0
failure:
8292
  // @@protoc_insertion_point(parse_failure:yb.master.GetMasterClusterConfigRequestPB)
8293
0
  return false;
8294
206
#undef DO_
8295
206
}
8296
8297
void GetMasterClusterConfigRequestPB::SerializeWithCachedSizes(
8298
0
    ::google::protobuf::io::CodedOutputStream* output) const {
8299
  // @@protoc_insertion_point(serialize_start:yb.master.GetMasterClusterConfigRequestPB)
8300
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8301
0
  (void) cached_has_bits;
8302
8303
0
  if (_internal_metadata_.have_unknown_fields()) {
8304
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8305
0
        _internal_metadata_.unknown_fields(), output);
8306
0
  }
8307
  // @@protoc_insertion_point(serialize_end:yb.master.GetMasterClusterConfigRequestPB)
8308
0
}
8309
8310
::google::protobuf::uint8* GetMasterClusterConfigRequestPB::InternalSerializeWithCachedSizesToArray(
8311
42
    bool deterministic, ::google::protobuf::uint8* target) const {
8312
42
  (void)deterministic; // Unused
8313
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetMasterClusterConfigRequestPB)
8314
42
  ::google::protobuf::uint32 cached_has_bits = 0;
8315
42
  (void) cached_has_bits;
8316
8317
42
  if (_internal_metadata_.have_unknown_fields()) {
8318
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8319
0
        _internal_metadata_.unknown_fields(), target);
8320
0
  }
8321
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetMasterClusterConfigRequestPB)
8322
42
  return target;
8323
42
}
8324
8325
84
size_t GetMasterClusterConfigRequestPB::ByteSizeLong() const {
8326
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetMasterClusterConfigRequestPB)
8327
84
  size_t total_size = 0;
8328
8329
84
  if (_internal_metadata_.have_unknown_fields()) {
8330
0
    total_size +=
8331
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8332
0
        _internal_metadata_.unknown_fields());
8333
0
  }
8334
84
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8335
84
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8336
84
  _cached_size_ = cached_size;
8337
84
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8338
84
  return total_size;
8339
84
}
8340
8341
0
void GetMasterClusterConfigRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
8342
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetMasterClusterConfigRequestPB)
8343
0
  GOOGLE_DCHECK_NE(&from, this);
8344
0
  const GetMasterClusterConfigRequestPB* source =
8345
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetMasterClusterConfigRequestPB>(
8346
0
          &from);
8347
0
  if (source == NULL) {
8348
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetMasterClusterConfigRequestPB)
8349
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8350
0
  } else {
8351
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetMasterClusterConfigRequestPB)
8352
0
    MergeFrom(*source);
8353
0
  }
8354
0
}
8355
8356
0
void GetMasterClusterConfigRequestPB::MergeFrom(const GetMasterClusterConfigRequestPB& from) {
8357
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetMasterClusterConfigRequestPB)
8358
0
  GOOGLE_DCHECK_NE(&from, this);
8359
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8360
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8361
0
  (void) cached_has_bits;
8362
8363
0
}
8364
8365
0
void GetMasterClusterConfigRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
8366
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetMasterClusterConfigRequestPB)
8367
0
  if (&from == this) return;
8368
0
  Clear();
8369
0
  MergeFrom(from);
8370
0
}
8371
8372
0
void GetMasterClusterConfigRequestPB::CopyFrom(const GetMasterClusterConfigRequestPB& from) {
8373
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetMasterClusterConfigRequestPB)
8374
0
  if (&from == this) return;
8375
0
  Clear();
8376
0
  MergeFrom(from);
8377
0
}
8378
8379
248
bool GetMasterClusterConfigRequestPB::IsInitialized() const {
8380
248
  return true;
8381
248
}
8382
8383
0
void GetMasterClusterConfigRequestPB::Swap(GetMasterClusterConfigRequestPB* other) {
8384
0
  if (other == this) return;
8385
0
  InternalSwap(other);
8386
0
}
8387
0
void GetMasterClusterConfigRequestPB::InternalSwap(GetMasterClusterConfigRequestPB* other) {
8388
0
  using std::swap;
8389
0
  swap(_has_bits_[0], other->_has_bits_[0]);
8390
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
8391
0
  swap(_cached_size_, other->_cached_size_);
8392
0
}
8393
8394
206
::google::protobuf::Metadata GetMasterClusterConfigRequestPB::GetMetadata() const {
8395
206
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
8396
206
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
8397
206
}
8398
8399
8400
// ===================================================================
8401
8402
15.8k
void GetMasterClusterConfigResponsePB::InitAsDefaultInstance() {
8403
15.8k
  ::yb::master::_GetMasterClusterConfigResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
8404
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
8405
15.8k
  ::yb::master::_GetMasterClusterConfigResponsePB_default_instance_._instance.get_mutable()->cluster_config_ = const_cast< ::yb::master::SysClusterConfigEntryPB*>(
8406
15.8k
      ::yb::master::SysClusterConfigEntryPB::internal_default_instance());
8407
15.8k
}
8408
0
void GetMasterClusterConfigResponsePB::clear_error() {
8409
0
  if (error_ != NULL) error_->Clear();
8410
0
  clear_has_error();
8411
0
}
8412
0
void GetMasterClusterConfigResponsePB::clear_cluster_config() {
8413
0
  if (cluster_config_ != NULL) cluster_config_->Clear();
8414
0
  clear_has_cluster_config();
8415
0
}
8416
#if !defined(_MSC_VER) || _MSC_VER >= 1900
8417
const int GetMasterClusterConfigResponsePB::kErrorFieldNumber;
8418
const int GetMasterClusterConfigResponsePB::kClusterConfigFieldNumber;
8419
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
8420
8421
GetMasterClusterConfigResponsePB::GetMasterClusterConfigResponsePB()
8422
16.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8423
312
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
8424
312
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetMasterClusterConfigResponsePB();
8425
312
  }
8426
16.1k
  SharedCtor();
8427
  // @@protoc_insertion_point(constructor:yb.master.GetMasterClusterConfigResponsePB)
8428
16.1k
}
8429
GetMasterClusterConfigResponsePB::GetMasterClusterConfigResponsePB(const GetMasterClusterConfigResponsePB& from)
8430
  : ::google::protobuf::Message(),
8431
      _internal_metadata_(NULL),
8432
      _has_bits_(from._has_bits_),
8433
0
      _cached_size_(0) {
8434
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8435
0
  if (from.has_error()) {
8436
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
8437
0
  } else {
8438
0
    error_ = NULL;
8439
0
  }
8440
0
  if (from.has_cluster_config()) {
8441
0
    cluster_config_ = new ::yb::master::SysClusterConfigEntryPB(*from.cluster_config_);
8442
0
  } else {
8443
0
    cluster_config_ = NULL;
8444
0
  }
8445
  // @@protoc_insertion_point(copy_constructor:yb.master.GetMasterClusterConfigResponsePB)
8446
0
}
8447
8448
16.1k
void GetMasterClusterConfigResponsePB::SharedCtor() {
8449
16.1k
  _cached_size_ = 0;
8450
16.1k
  ::memset(&error_, 0, static_cast<size_t>(
8451
16.1k
      reinterpret_cast<char*>(&cluster_config_) -
8452
16.1k
      reinterpret_cast<char*>(&error_)) + sizeof(cluster_config_));
8453
16.1k
}
8454
8455
312
GetMasterClusterConfigResponsePB::~GetMasterClusterConfigResponsePB() {
8456
  // @@protoc_insertion_point(destructor:yb.master.GetMasterClusterConfigResponsePB)
8457
312
  SharedDtor();
8458
312
}
8459
8460
312
void GetMasterClusterConfigResponsePB::SharedDtor() {
8461
312
  if (this != internal_default_instance()) delete error_;
8462
312
  if (this != internal_default_instance()) delete cluster_config_;
8463
312
}
8464
8465
0
void GetMasterClusterConfigResponsePB::SetCachedSize(int size) const {
8466
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8467
0
  _cached_size_ = size;
8468
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8469
0
}
8470
0
const ::google::protobuf::Descriptor* GetMasterClusterConfigResponsePB::descriptor() {
8471
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
8472
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
8473
0
}
8474
8475
0
const GetMasterClusterConfigResponsePB& GetMasterClusterConfigResponsePB::default_instance() {
8476
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetMasterClusterConfigResponsePB();
8477
0
  return *internal_default_instance();
8478
0
}
8479
8480
0
GetMasterClusterConfigResponsePB* GetMasterClusterConfigResponsePB::New(::google::protobuf::Arena* arena) const {
8481
0
  GetMasterClusterConfigResponsePB* n = new GetMasterClusterConfigResponsePB;
8482
0
  if (arena != NULL) {
8483
0
    arena->Own(n);
8484
0
  }
8485
0
  return n;
8486
0
}
8487
8488
35
void GetMasterClusterConfigResponsePB::Clear() {
8489
// @@protoc_insertion_point(message_clear_start:yb.master.GetMasterClusterConfigResponsePB)
8490
35
  ::google::protobuf::uint32 cached_has_bits = 0;
8491
  // Prevent compiler warnings about cached_has_bits being unused
8492
35
  (void) cached_has_bits;
8493
8494
35
  cached_has_bits = _has_bits_[0];
8495
35
  if (cached_has_bits & 3u) {
8496
0
    if (cached_has_bits & 0x00000001u) {
8497
0
      GOOGLE_DCHECK(error_ != NULL);
8498
0
      error_->Clear();
8499
0
    }
8500
0
    if (cached_has_bits & 0x00000002u) {
8501
0
      GOOGLE_DCHECK(cluster_config_ != NULL);
8502
0
      cluster_config_->Clear();
8503
0
    }
8504
0
  }
8505
35
  _has_bits_.Clear();
8506
35
  _internal_metadata_.Clear();
8507
35
}
8508
8509
bool GetMasterClusterConfigResponsePB::MergePartialFromCodedStream(
8510
35
    ::google::protobuf::io::CodedInputStream* input) {
8511
35
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
8512
35
  ::google::protobuf::uint32 tag;
8513
  // @@protoc_insertion_point(parse_start:yb.master.GetMasterClusterConfigResponsePB)
8514
70
  for (;;) {
8515
70
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8516
70
    tag = p.first;
8517
70
    if (!p.second) goto handle_unusual;
8518
35
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8519
      // optional .yb.master.MasterErrorPB error = 1;
8520
0
      case 1: {
8521
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8522
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
8523
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8524
0
               input, mutable_error()));
8525
0
        } else {
8526
0
          goto handle_unusual;
8527
0
        }
8528
0
        break;
8529
0
      }
8530
8531
      // optional .yb.master.SysClusterConfigEntryPB cluster_config = 2;
8532
35
      case 2: {
8533
35
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8534
35
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
8535
35
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8536
35
               input, mutable_cluster_config()));
8537
0
        } else {
8538
0
          goto handle_unusual;
8539
0
        }
8540
35
        break;
8541
35
      }
8542
8543
0
      default: {
8544
35
      handle_unusual:
8545
35
        if (tag == 0) {
8546
35
          goto success;
8547
35
        }
8548
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
8549
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
8550
0
        break;
8551
0
      }
8552
35
    }
8553
35
  }
8554
35
success:
8555
  // @@protoc_insertion_point(parse_success:yb.master.GetMasterClusterConfigResponsePB)
8556
35
  return true;
8557
0
failure:
8558
  // @@protoc_insertion_point(parse_failure:yb.master.GetMasterClusterConfigResponsePB)
8559
0
  return false;
8560
35
#undef DO_
8561
35
}
8562
8563
void GetMasterClusterConfigResponsePB::SerializeWithCachedSizes(
8564
0
    ::google::protobuf::io::CodedOutputStream* output) const {
8565
  // @@protoc_insertion_point(serialize_start:yb.master.GetMasterClusterConfigResponsePB)
8566
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8567
0
  (void) cached_has_bits;
8568
8569
0
  cached_has_bits = _has_bits_[0];
8570
  // optional .yb.master.MasterErrorPB error = 1;
8571
0
  if (cached_has_bits & 0x00000001u) {
8572
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8573
0
      1, *this->error_, output);
8574
0
  }
8575
8576
  // optional .yb.master.SysClusterConfigEntryPB cluster_config = 2;
8577
0
  if (cached_has_bits & 0x00000002u) {
8578
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8579
0
      2, *this->cluster_config_, output);
8580
0
  }
8581
8582
0
  if (_internal_metadata_.have_unknown_fields()) {
8583
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8584
0
        _internal_metadata_.unknown_fields(), output);
8585
0
  }
8586
  // @@protoc_insertion_point(serialize_end:yb.master.GetMasterClusterConfigResponsePB)
8587
0
}
8588
8589
::google::protobuf::uint8* GetMasterClusterConfigResponsePB::InternalSerializeWithCachedSizesToArray(
8590
206
    bool deterministic, ::google::protobuf::uint8* target) const {
8591
206
  (void)deterministic; // Unused
8592
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetMasterClusterConfigResponsePB)
8593
206
  ::google::protobuf::uint32 cached_has_bits = 0;
8594
206
  (void) cached_has_bits;
8595
8596
206
  cached_has_bits = _has_bits_[0];
8597
  // optional .yb.master.MasterErrorPB error = 1;
8598
206
  if (cached_has_bits & 0x00000001u) {
8599
0
    target = ::google::protobuf::internal::WireFormatLite::
8600
0
      InternalWriteMessageToArray(
8601
0
        1, *this->error_, deterministic, target);
8602
0
  }
8603
8604
  // optional .yb.master.SysClusterConfigEntryPB cluster_config = 2;
8605
206
  if (cached_has_bits & 0x00000002u) {
8606
206
    target = ::google::protobuf::internal::WireFormatLite::
8607
206
      InternalWriteMessageToArray(
8608
206
        2, *this->cluster_config_, deterministic, target);
8609
206
  }
8610
8611
206
  if (_internal_metadata_.have_unknown_fields()) {
8612
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8613
0
        _internal_metadata_.unknown_fields(), target);
8614
0
  }
8615
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetMasterClusterConfigResponsePB)
8616
206
  return target;
8617
206
}
8618
8619
412
size_t GetMasterClusterConfigResponsePB::ByteSizeLong() const {
8620
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetMasterClusterConfigResponsePB)
8621
412
  size_t total_size = 0;
8622
8623
412
  if (_internal_metadata_.have_unknown_fields()) {
8624
0
    total_size +=
8625
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8626
0
        _internal_metadata_.unknown_fields());
8627
0
  }
8628
412
  if (_has_bits_[0 / 32] & 3u) {
8629
    // optional .yb.master.MasterErrorPB error = 1;
8630
412
    if (has_error()) {
8631
0
      total_size += 1 +
8632
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8633
0
          *this->error_);
8634
0
    }
8635
8636
    // optional .yb.master.SysClusterConfigEntryPB cluster_config = 2;
8637
412
    if (has_cluster_config()) {
8638
412
      total_size += 1 +
8639
412
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8640
412
          *this->cluster_config_);
8641
412
    }
8642
8643
412
  }
8644
412
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8645
412
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8646
412
  _cached_size_ = cached_size;
8647
412
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8648
412
  return total_size;
8649
412
}
8650
8651
0
void GetMasterClusterConfigResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
8652
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetMasterClusterConfigResponsePB)
8653
0
  GOOGLE_DCHECK_NE(&from, this);
8654
0
  const GetMasterClusterConfigResponsePB* source =
8655
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetMasterClusterConfigResponsePB>(
8656
0
          &from);
8657
0
  if (source == NULL) {
8658
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetMasterClusterConfigResponsePB)
8659
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8660
0
  } else {
8661
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetMasterClusterConfigResponsePB)
8662
0
    MergeFrom(*source);
8663
0
  }
8664
0
}
8665
8666
0
void GetMasterClusterConfigResponsePB::MergeFrom(const GetMasterClusterConfigResponsePB& from) {
8667
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetMasterClusterConfigResponsePB)
8668
0
  GOOGLE_DCHECK_NE(&from, this);
8669
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8670
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8671
0
  (void) cached_has_bits;
8672
8673
0
  cached_has_bits = from._has_bits_[0];
8674
0
  if (cached_has_bits & 3u) {
8675
0
    if (cached_has_bits & 0x00000001u) {
8676
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
8677
0
    }
8678
0
    if (cached_has_bits & 0x00000002u) {
8679
0
      mutable_cluster_config()->::yb::master::SysClusterConfigEntryPB::MergeFrom(from.cluster_config());
8680
0
    }
8681
0
  }
8682
0
}
8683
8684
0
void GetMasterClusterConfigResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
8685
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetMasterClusterConfigResponsePB)
8686
0
  if (&from == this) return;
8687
0
  Clear();
8688
0
  MergeFrom(from);
8689
0
}
8690
8691
0
void GetMasterClusterConfigResponsePB::CopyFrom(const GetMasterClusterConfigResponsePB& from) {
8692
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetMasterClusterConfigResponsePB)
8693
0
  if (&from == this) return;
8694
0
  Clear();
8695
0
  MergeFrom(from);
8696
0
}
8697
8698
241
bool GetMasterClusterConfigResponsePB::IsInitialized() const {
8699
241
  if (has_error()) {
8700
0
    if (!this->error_->IsInitialized()) return false;
8701
241
  }
8702
241
  if (has_cluster_config()) {
8703
241
    if (!this->cluster_config_->IsInitialized()) return false;
8704
241
  }
8705
241
  return true;
8706
241
}
8707
8708
0
void GetMasterClusterConfigResponsePB::Swap(GetMasterClusterConfigResponsePB* other) {
8709
0
  if (other == this) return;
8710
0
  InternalSwap(other);
8711
0
}
8712
64
void GetMasterClusterConfigResponsePB::InternalSwap(GetMasterClusterConfigResponsePB* other) {
8713
64
  using std::swap;
8714
64
  swap(error_, other->error_);
8715
64
  swap(cluster_config_, other->cluster_config_);
8716
64
  swap(_has_bits_[0], other->_has_bits_[0]);
8717
64
  _internal_metadata_.Swap(&other->_internal_metadata_);
8718
64
  swap(_cached_size_, other->_cached_size_);
8719
64
}
8720
8721
0
::google::protobuf::Metadata GetMasterClusterConfigResponsePB::GetMetadata() const {
8722
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
8723
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
8724
0
}
8725
8726
8727
// ===================================================================
8728
8729
15.8k
void ChangeMasterClusterConfigRequestPB::InitAsDefaultInstance() {
8730
15.8k
  ::yb::master::_ChangeMasterClusterConfigRequestPB_default_instance_._instance.get_mutable()->cluster_config_ = const_cast< ::yb::master::SysClusterConfigEntryPB*>(
8731
15.8k
      ::yb::master::SysClusterConfigEntryPB::internal_default_instance());
8732
15.8k
}
8733
0
void ChangeMasterClusterConfigRequestPB::clear_cluster_config() {
8734
0
  if (cluster_config_ != NULL) cluster_config_->Clear();
8735
0
  clear_has_cluster_config();
8736
0
}
8737
#if !defined(_MSC_VER) || _MSC_VER >= 1900
8738
const int ChangeMasterClusterConfigRequestPB::kClusterConfigFieldNumber;
8739
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
8740
8741
ChangeMasterClusterConfigRequestPB::ChangeMasterClusterConfigRequestPB()
8742
15.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8743
144
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
8744
144
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsChangeMasterClusterConfigRequestPB();
8745
144
  }
8746
15.9k
  SharedCtor();
8747
  // @@protoc_insertion_point(constructor:yb.master.ChangeMasterClusterConfigRequestPB)
8748
15.9k
}
8749
ChangeMasterClusterConfigRequestPB::ChangeMasterClusterConfigRequestPB(const ChangeMasterClusterConfigRequestPB& from)
8750
  : ::google::protobuf::Message(),
8751
      _internal_metadata_(NULL),
8752
      _has_bits_(from._has_bits_),
8753
0
      _cached_size_(0) {
8754
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8755
0
  if (from.has_cluster_config()) {
8756
0
    cluster_config_ = new ::yb::master::SysClusterConfigEntryPB(*from.cluster_config_);
8757
0
  } else {
8758
0
    cluster_config_ = NULL;
8759
0
  }
8760
  // @@protoc_insertion_point(copy_constructor:yb.master.ChangeMasterClusterConfigRequestPB)
8761
0
}
8762
8763
15.9k
void ChangeMasterClusterConfigRequestPB::SharedCtor() {
8764
15.9k
  _cached_size_ = 0;
8765
15.9k
  cluster_config_ = NULL;
8766
15.9k
}
8767
8768
144
ChangeMasterClusterConfigRequestPB::~ChangeMasterClusterConfigRequestPB() {
8769
  // @@protoc_insertion_point(destructor:yb.master.ChangeMasterClusterConfigRequestPB)
8770
144
  SharedDtor();
8771
144
}
8772
8773
144
void ChangeMasterClusterConfigRequestPB::SharedDtor() {
8774
144
  if (this != internal_default_instance()) delete cluster_config_;
8775
144
}
8776
8777
0
void ChangeMasterClusterConfigRequestPB::SetCachedSize(int size) const {
8778
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8779
0
  _cached_size_ = size;
8780
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8781
0
}
8782
0
const ::google::protobuf::Descriptor* ChangeMasterClusterConfigRequestPB::descriptor() {
8783
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
8784
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
8785
0
}
8786
8787
0
const ChangeMasterClusterConfigRequestPB& ChangeMasterClusterConfigRequestPB::default_instance() {
8788
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsChangeMasterClusterConfigRequestPB();
8789
0
  return *internal_default_instance();
8790
0
}
8791
8792
0
ChangeMasterClusterConfigRequestPB* ChangeMasterClusterConfigRequestPB::New(::google::protobuf::Arena* arena) const {
8793
0
  ChangeMasterClusterConfigRequestPB* n = new ChangeMasterClusterConfigRequestPB;
8794
0
  if (arena != NULL) {
8795
0
    arena->Own(n);
8796
0
  }
8797
0
  return n;
8798
0
}
8799
8800
109
void ChangeMasterClusterConfigRequestPB::Clear() {
8801
// @@protoc_insertion_point(message_clear_start:yb.master.ChangeMasterClusterConfigRequestPB)
8802
109
  ::google::protobuf::uint32 cached_has_bits = 0;
8803
  // Prevent compiler warnings about cached_has_bits being unused
8804
109
  (void) cached_has_bits;
8805
8806
109
  cached_has_bits = _has_bits_[0];
8807
109
  if (cached_has_bits & 0x00000001u) {
8808
0
    GOOGLE_DCHECK(cluster_config_ != NULL);
8809
0
    cluster_config_->Clear();
8810
0
  }
8811
109
  _has_bits_.Clear();
8812
109
  _internal_metadata_.Clear();
8813
109
}
8814
8815
bool ChangeMasterClusterConfigRequestPB::MergePartialFromCodedStream(
8816
109
    ::google::protobuf::io::CodedInputStream* input) {
8817
109
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
8818
109
  ::google::protobuf::uint32 tag;
8819
  // @@protoc_insertion_point(parse_start:yb.master.ChangeMasterClusterConfigRequestPB)
8820
218
  for (;;) {
8821
218
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8822
218
    tag = p.first;
8823
218
    if (!p.second) goto handle_unusual;
8824
109
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8825
      // optional .yb.master.SysClusterConfigEntryPB cluster_config = 1;
8826
109
      case 1: {
8827
109
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8828
109
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
8829
109
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8830
109
               input, mutable_cluster_config()));
8831
0
        } else {
8832
0
          goto handle_unusual;
8833
0
        }
8834
109
        break;
8835
109
      }
8836
8837
0
      default: {
8838
109
      handle_unusual:
8839
109
        if (tag == 0) {
8840
109
          goto success;
8841
109
        }
8842
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
8843
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
8844
0
        break;
8845
0
      }
8846
109
    }
8847
109
  }
8848
109
success:
8849
  // @@protoc_insertion_point(parse_success:yb.master.ChangeMasterClusterConfigRequestPB)
8850
109
  return true;
8851
0
failure:
8852
  // @@protoc_insertion_point(parse_failure:yb.master.ChangeMasterClusterConfigRequestPB)
8853
0
  return false;
8854
109
#undef DO_
8855
109
}
8856
8857
void ChangeMasterClusterConfigRequestPB::SerializeWithCachedSizes(
8858
0
    ::google::protobuf::io::CodedOutputStream* output) const {
8859
  // @@protoc_insertion_point(serialize_start:yb.master.ChangeMasterClusterConfigRequestPB)
8860
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8861
0
  (void) cached_has_bits;
8862
8863
0
  cached_has_bits = _has_bits_[0];
8864
  // optional .yb.master.SysClusterConfigEntryPB cluster_config = 1;
8865
0
  if (cached_has_bits & 0x00000001u) {
8866
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8867
0
      1, *this->cluster_config_, output);
8868
0
  }
8869
8870
0
  if (_internal_metadata_.have_unknown_fields()) {
8871
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8872
0
        _internal_metadata_.unknown_fields(), output);
8873
0
  }
8874
  // @@protoc_insertion_point(serialize_end:yb.master.ChangeMasterClusterConfigRequestPB)
8875
0
}
8876
8877
::google::protobuf::uint8* ChangeMasterClusterConfigRequestPB::InternalSerializeWithCachedSizesToArray(
8878
34
    bool deterministic, ::google::protobuf::uint8* target) const {
8879
34
  (void)deterministic; // Unused
8880
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ChangeMasterClusterConfigRequestPB)
8881
34
  ::google::protobuf::uint32 cached_has_bits = 0;
8882
34
  (void) cached_has_bits;
8883
8884
34
  cached_has_bits = _has_bits_[0];
8885
  // optional .yb.master.SysClusterConfigEntryPB cluster_config = 1;
8886
34
  if (cached_has_bits & 0x00000001u) {
8887
34
    target = ::google::protobuf::internal::WireFormatLite::
8888
34
      InternalWriteMessageToArray(
8889
34
        1, *this->cluster_config_, deterministic, target);
8890
34
  }
8891
8892
34
  if (_internal_metadata_.have_unknown_fields()) {
8893
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8894
0
        _internal_metadata_.unknown_fields(), target);
8895
0
  }
8896
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ChangeMasterClusterConfigRequestPB)
8897
34
  return target;
8898
34
}
8899
8900
68
size_t ChangeMasterClusterConfigRequestPB::ByteSizeLong() const {
8901
// @@protoc_insertion_point(message_byte_size_start:yb.master.ChangeMasterClusterConfigRequestPB)
8902
68
  size_t total_size = 0;
8903
8904
68
  if (_internal_metadata_.have_unknown_fields()) {
8905
0
    total_size +=
8906
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8907
0
        _internal_metadata_.unknown_fields());
8908
0
  }
8909
  // optional .yb.master.SysClusterConfigEntryPB cluster_config = 1;
8910
68
  if (has_cluster_config()) {
8911
68
    total_size += 1 +
8912
68
      ::google::protobuf::internal::WireFormatLite::MessageSize(
8913
68
        *this->cluster_config_);
8914
68
  }
8915
8916
68
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8917
68
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8918
68
  _cached_size_ = cached_size;
8919
68
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8920
68
  return total_size;
8921
68
}
8922
8923
0
void ChangeMasterClusterConfigRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
8924
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ChangeMasterClusterConfigRequestPB)
8925
0
  GOOGLE_DCHECK_NE(&from, this);
8926
0
  const ChangeMasterClusterConfigRequestPB* source =
8927
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ChangeMasterClusterConfigRequestPB>(
8928
0
          &from);
8929
0
  if (source == NULL) {
8930
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ChangeMasterClusterConfigRequestPB)
8931
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8932
0
  } else {
8933
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ChangeMasterClusterConfigRequestPB)
8934
0
    MergeFrom(*source);
8935
0
  }
8936
0
}
8937
8938
0
void ChangeMasterClusterConfigRequestPB::MergeFrom(const ChangeMasterClusterConfigRequestPB& from) {
8939
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ChangeMasterClusterConfigRequestPB)
8940
0
  GOOGLE_DCHECK_NE(&from, this);
8941
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8942
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8943
0
  (void) cached_has_bits;
8944
8945
0
  if (from.has_cluster_config()) {
8946
0
    mutable_cluster_config()->::yb::master::SysClusterConfigEntryPB::MergeFrom(from.cluster_config());
8947
0
  }
8948
0
}
8949
8950
0
void ChangeMasterClusterConfigRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
8951
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ChangeMasterClusterConfigRequestPB)
8952
0
  if (&from == this) return;
8953
0
  Clear();
8954
0
  MergeFrom(from);
8955
0
}
8956
8957
0
void ChangeMasterClusterConfigRequestPB::CopyFrom(const ChangeMasterClusterConfigRequestPB& from) {
8958
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ChangeMasterClusterConfigRequestPB)
8959
0
  if (&from == this) return;
8960
0
  Clear();
8961
0
  MergeFrom(from);
8962
0
}
8963
8964
143
bool ChangeMasterClusterConfigRequestPB::IsInitialized() const {
8965
143
  if (has_cluster_config()) {
8966
143
    if (!this->cluster_config_->IsInitialized()) return false;
8967
143
  }
8968
143
  return true;
8969
143
}
8970
8971
0
void ChangeMasterClusterConfigRequestPB::Swap(ChangeMasterClusterConfigRequestPB* other) {
8972
0
  if (other == this) return;
8973
0
  InternalSwap(other);
8974
0
}
8975
0
void ChangeMasterClusterConfigRequestPB::InternalSwap(ChangeMasterClusterConfigRequestPB* other) {
8976
0
  using std::swap;
8977
0
  swap(cluster_config_, other->cluster_config_);
8978
0
  swap(_has_bits_[0], other->_has_bits_[0]);
8979
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
8980
0
  swap(_cached_size_, other->_cached_size_);
8981
0
}
8982
8983
109
::google::protobuf::Metadata ChangeMasterClusterConfigRequestPB::GetMetadata() const {
8984
109
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
8985
109
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
8986
109
}
8987
8988
8989
// ===================================================================
8990
8991
15.8k
void ChangeMasterClusterConfigResponsePB::InitAsDefaultInstance() {
8992
15.8k
  ::yb::master::_ChangeMasterClusterConfigResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
8993
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
8994
15.8k
}
8995
0
void ChangeMasterClusterConfigResponsePB::clear_error() {
8996
0
  if (error_ != NULL) error_->Clear();
8997
0
  clear_has_error();
8998
0
}
8999
#if !defined(_MSC_VER) || _MSC_VER >= 1900
9000
const int ChangeMasterClusterConfigResponsePB::kErrorFieldNumber;
9001
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
9002
9003
ChangeMasterClusterConfigResponsePB::ChangeMasterClusterConfigResponsePB()
9004
16.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9005
192
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
9006
192
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsChangeMasterClusterConfigResponsePB();
9007
192
  }
9008
16.0k
  SharedCtor();
9009
  // @@protoc_insertion_point(constructor:yb.master.ChangeMasterClusterConfigResponsePB)
9010
16.0k
}
9011
ChangeMasterClusterConfigResponsePB::ChangeMasterClusterConfigResponsePB(const ChangeMasterClusterConfigResponsePB& from)
9012
  : ::google::protobuf::Message(),
9013
      _internal_metadata_(NULL),
9014
      _has_bits_(from._has_bits_),
9015
0
      _cached_size_(0) {
9016
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9017
0
  if (from.has_error()) {
9018
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
9019
0
  } else {
9020
0
    error_ = NULL;
9021
0
  }
9022
  // @@protoc_insertion_point(copy_constructor:yb.master.ChangeMasterClusterConfigResponsePB)
9023
0
}
9024
9025
16.0k
void ChangeMasterClusterConfigResponsePB::SharedCtor() {
9026
16.0k
  _cached_size_ = 0;
9027
16.0k
  error_ = NULL;
9028
16.0k
}
9029
9030
192
ChangeMasterClusterConfigResponsePB::~ChangeMasterClusterConfigResponsePB() {
9031
  // @@protoc_insertion_point(destructor:yb.master.ChangeMasterClusterConfigResponsePB)
9032
192
  SharedDtor();
9033
192
}
9034
9035
192
void ChangeMasterClusterConfigResponsePB::SharedDtor() {
9036
192
  if (this != internal_default_instance()) delete error_;
9037
192
}
9038
9039
0
void ChangeMasterClusterConfigResponsePB::SetCachedSize(int size) const {
9040
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9041
0
  _cached_size_ = size;
9042
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9043
0
}
9044
0
const ::google::protobuf::Descriptor* ChangeMasterClusterConfigResponsePB::descriptor() {
9045
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
9046
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9047
0
}
9048
9049
0
const ChangeMasterClusterConfigResponsePB& ChangeMasterClusterConfigResponsePB::default_instance() {
9050
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsChangeMasterClusterConfigResponsePB();
9051
0
  return *internal_default_instance();
9052
0
}
9053
9054
0
ChangeMasterClusterConfigResponsePB* ChangeMasterClusterConfigResponsePB::New(::google::protobuf::Arena* arena) const {
9055
0
  ChangeMasterClusterConfigResponsePB* n = new ChangeMasterClusterConfigResponsePB;
9056
0
  if (arena != NULL) {
9057
0
    arena->Own(n);
9058
0
  }
9059
0
  return n;
9060
0
}
9061
9062
34
void ChangeMasterClusterConfigResponsePB::Clear() {
9063
// @@protoc_insertion_point(message_clear_start:yb.master.ChangeMasterClusterConfigResponsePB)
9064
34
  ::google::protobuf::uint32 cached_has_bits = 0;
9065
  // Prevent compiler warnings about cached_has_bits being unused
9066
34
  (void) cached_has_bits;
9067
9068
34
  cached_has_bits = _has_bits_[0];
9069
34
  if (cached_has_bits & 0x00000001u) {
9070
0
    GOOGLE_DCHECK(error_ != NULL);
9071
0
    error_->Clear();
9072
0
  }
9073
34
  _has_bits_.Clear();
9074
34
  _internal_metadata_.Clear();
9075
34
}
9076
9077
bool ChangeMasterClusterConfigResponsePB::MergePartialFromCodedStream(
9078
34
    ::google::protobuf::io::CodedInputStream* input) {
9079
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
9080
34
  ::google::protobuf::uint32 tag;
9081
  // @@protoc_insertion_point(parse_start:yb.master.ChangeMasterClusterConfigResponsePB)
9082
34
  for (;;) {
9083
34
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9084
34
    tag = p.first;
9085
34
    if (!p.second) goto handle_unusual;
9086
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9087
      // optional .yb.master.MasterErrorPB error = 1;
9088
0
      case 1: {
9089
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9090
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
9091
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
9092
0
               input, mutable_error()));
9093
0
        } else {
9094
0
          goto handle_unusual;
9095
0
        }
9096
0
        break;
9097
34
      }
9098
9099
0
      default: {
9100
34
      handle_unusual:
9101
34
        if (tag == 0) {
9102
34
          goto success;
9103
34
        }
9104
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
9105
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
9106
0
        break;
9107
0
      }
9108
0
    }
9109
0
  }
9110
34
success:
9111
  // @@protoc_insertion_point(parse_success:yb.master.ChangeMasterClusterConfigResponsePB)
9112
34
  return true;
9113
0
failure:
9114
  // @@protoc_insertion_point(parse_failure:yb.master.ChangeMasterClusterConfigResponsePB)
9115
0
  return false;
9116
34
#undef DO_
9117
34
}
9118
9119
void ChangeMasterClusterConfigResponsePB::SerializeWithCachedSizes(
9120
0
    ::google::protobuf::io::CodedOutputStream* output) const {
9121
  // @@protoc_insertion_point(serialize_start:yb.master.ChangeMasterClusterConfigResponsePB)
9122
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9123
0
  (void) cached_has_bits;
9124
9125
0
  cached_has_bits = _has_bits_[0];
9126
  // optional .yb.master.MasterErrorPB error = 1;
9127
0
  if (cached_has_bits & 0x00000001u) {
9128
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9129
0
      1, *this->error_, output);
9130
0
  }
9131
9132
0
  if (_internal_metadata_.have_unknown_fields()) {
9133
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9134
0
        _internal_metadata_.unknown_fields(), output);
9135
0
  }
9136
  // @@protoc_insertion_point(serialize_end:yb.master.ChangeMasterClusterConfigResponsePB)
9137
0
}
9138
9139
::google::protobuf::uint8* ChangeMasterClusterConfigResponsePB::InternalSerializeWithCachedSizesToArray(
9140
109
    bool deterministic, ::google::protobuf::uint8* target) const {
9141
109
  (void)deterministic; // Unused
9142
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ChangeMasterClusterConfigResponsePB)
9143
109
  ::google::protobuf::uint32 cached_has_bits = 0;
9144
109
  (void) cached_has_bits;
9145
9146
109
  cached_has_bits = _has_bits_[0];
9147
  // optional .yb.master.MasterErrorPB error = 1;
9148
109
  if (cached_has_bits & 0x00000001u) {
9149
0
    target = ::google::protobuf::internal::WireFormatLite::
9150
0
      InternalWriteMessageToArray(
9151
0
        1, *this->error_, deterministic, target);
9152
0
  }
9153
9154
109
  if (_internal_metadata_.have_unknown_fields()) {
9155
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9156
0
        _internal_metadata_.unknown_fields(), target);
9157
0
  }
9158
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ChangeMasterClusterConfigResponsePB)
9159
109
  return target;
9160
109
}
9161
9162
218
size_t ChangeMasterClusterConfigResponsePB::ByteSizeLong() const {
9163
// @@protoc_insertion_point(message_byte_size_start:yb.master.ChangeMasterClusterConfigResponsePB)
9164
218
  size_t total_size = 0;
9165
9166
218
  if (_internal_metadata_.have_unknown_fields()) {
9167
0
    total_size +=
9168
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9169
0
        _internal_metadata_.unknown_fields());
9170
0
  }
9171
  // optional .yb.master.MasterErrorPB error = 1;
9172
218
  if (has_error()) {
9173
0
    total_size += 1 +
9174
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
9175
0
        *this->error_);
9176
0
  }
9177
9178
218
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9179
218
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9180
218
  _cached_size_ = cached_size;
9181
218
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9182
218
  return total_size;
9183
218
}
9184
9185
0
void ChangeMasterClusterConfigResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
9186
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ChangeMasterClusterConfigResponsePB)
9187
0
  GOOGLE_DCHECK_NE(&from, this);
9188
0
  const ChangeMasterClusterConfigResponsePB* source =
9189
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ChangeMasterClusterConfigResponsePB>(
9190
0
          &from);
9191
0
  if (source == NULL) {
9192
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ChangeMasterClusterConfigResponsePB)
9193
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9194
0
  } else {
9195
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ChangeMasterClusterConfigResponsePB)
9196
0
    MergeFrom(*source);
9197
0
  }
9198
0
}
9199
9200
0
void ChangeMasterClusterConfigResponsePB::MergeFrom(const ChangeMasterClusterConfigResponsePB& from) {
9201
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ChangeMasterClusterConfigResponsePB)
9202
0
  GOOGLE_DCHECK_NE(&from, this);
9203
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9204
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9205
0
  (void) cached_has_bits;
9206
9207
0
  if (from.has_error()) {
9208
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
9209
0
  }
9210
0
}
9211
9212
0
void ChangeMasterClusterConfigResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
9213
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ChangeMasterClusterConfigResponsePB)
9214
0
  if (&from == this) return;
9215
0
  Clear();
9216
0
  MergeFrom(from);
9217
0
}
9218
9219
0
void ChangeMasterClusterConfigResponsePB::CopyFrom(const ChangeMasterClusterConfigResponsePB& from) {
9220
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ChangeMasterClusterConfigResponsePB)
9221
0
  if (&from == this) return;
9222
0
  Clear();
9223
0
  MergeFrom(from);
9224
0
}
9225
9226
143
bool ChangeMasterClusterConfigResponsePB::IsInitialized() const {
9227
143
  if (has_error()) {
9228
0
    if (!this->error_->IsInitialized()) return false;
9229
143
  }
9230
143
  return true;
9231
143
}
9232
9233
0
void ChangeMasterClusterConfigResponsePB::Swap(ChangeMasterClusterConfigResponsePB* other) {
9234
0
  if (other == this) return;
9235
0
  InternalSwap(other);
9236
0
}
9237
48
void ChangeMasterClusterConfigResponsePB::InternalSwap(ChangeMasterClusterConfigResponsePB* other) {
9238
48
  using std::swap;
9239
48
  swap(error_, other->error_);
9240
48
  swap(_has_bits_[0], other->_has_bits_[0]);
9241
48
  _internal_metadata_.Swap(&other->_internal_metadata_);
9242
48
  swap(_cached_size_, other->_cached_size_);
9243
48
}
9244
9245
0
::google::protobuf::Metadata ChangeMasterClusterConfigResponsePB::GetMetadata() const {
9246
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
9247
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
9248
0
}
9249
9250
9251
// ===================================================================
9252
9253
15.8k
void GetLoadMovePercentRequestPB::InitAsDefaultInstance() {
9254
15.8k
}
9255
#if !defined(_MSC_VER) || _MSC_VER >= 1900
9256
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
9257
9258
GetLoadMovePercentRequestPB::GetLoadMovePercentRequestPB()
9259
16.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9260
1.01k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
9261
1.01k
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetLoadMovePercentRequestPB();
9262
1.01k
  }
9263
16.8k
  SharedCtor();
9264
  // @@protoc_insertion_point(constructor:yb.master.GetLoadMovePercentRequestPB)
9265
16.8k
}
9266
GetLoadMovePercentRequestPB::GetLoadMovePercentRequestPB(const GetLoadMovePercentRequestPB& from)
9267
  : ::google::protobuf::Message(),
9268
      _internal_metadata_(NULL),
9269
      _has_bits_(from._has_bits_),
9270
0
      _cached_size_(0) {
9271
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9272
  // @@protoc_insertion_point(copy_constructor:yb.master.GetLoadMovePercentRequestPB)
9273
0
}
9274
9275
16.8k
void GetLoadMovePercentRequestPB::SharedCtor() {
9276
16.8k
  _cached_size_ = 0;
9277
16.8k
}
9278
9279
1.01k
GetLoadMovePercentRequestPB::~GetLoadMovePercentRequestPB() {
9280
  // @@protoc_insertion_point(destructor:yb.master.GetLoadMovePercentRequestPB)
9281
1.01k
  SharedDtor();
9282
1.01k
}
9283
9284
1.01k
void GetLoadMovePercentRequestPB::SharedDtor() {
9285
1.01k
}
9286
9287
0
void GetLoadMovePercentRequestPB::SetCachedSize(int size) const {
9288
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9289
0
  _cached_size_ = size;
9290
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9291
0
}
9292
0
const ::google::protobuf::Descriptor* GetLoadMovePercentRequestPB::descriptor() {
9293
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
9294
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9295
0
}
9296
9297
0
const GetLoadMovePercentRequestPB& GetLoadMovePercentRequestPB::default_instance() {
9298
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetLoadMovePercentRequestPB();
9299
0
  return *internal_default_instance();
9300
0
}
9301
9302
0
GetLoadMovePercentRequestPB* GetLoadMovePercentRequestPB::New(::google::protobuf::Arena* arena) const {
9303
0
  GetLoadMovePercentRequestPB* n = new GetLoadMovePercentRequestPB;
9304
0
  if (arena != NULL) {
9305
0
    arena->Own(n);
9306
0
  }
9307
0
  return n;
9308
0
}
9309
9310
1.01k
void GetLoadMovePercentRequestPB::Clear() {
9311
// @@protoc_insertion_point(message_clear_start:yb.master.GetLoadMovePercentRequestPB)
9312
1.01k
  ::google::protobuf::uint32 cached_has_bits = 0;
9313
  // Prevent compiler warnings about cached_has_bits being unused
9314
1.01k
  (void) cached_has_bits;
9315
9316
1.01k
  _has_bits_.Clear();
9317
1.01k
  _internal_metadata_.Clear();
9318
1.01k
}
9319
9320
bool GetLoadMovePercentRequestPB::MergePartialFromCodedStream(
9321
1.00k
    ::google::protobuf::io::CodedInputStream* input) {
9322
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
9323
1.00k
  ::google::protobuf::uint32 tag;
9324
  // @@protoc_insertion_point(parse_start:yb.master.GetLoadMovePercentRequestPB)
9325
1.00k
  for (;;) {
9326
1.00k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9327
1.00k
    tag = p.first;
9328
1.00k
    if (!p.second) goto handle_unusual;
9329
1.00k
  handle_unusual:
9330
1.00k
    if (tag == 0) {
9331
1.00k
      goto success;
9332
1.00k
    }
9333
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
9334
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
9335
0
  }
9336
1.00k
success:
9337
  // @@protoc_insertion_point(parse_success:yb.master.GetLoadMovePercentRequestPB)
9338
1.00k
  return true;
9339
0
failure:
9340
  // @@protoc_insertion_point(parse_failure:yb.master.GetLoadMovePercentRequestPB)
9341
0
  return false;
9342
1.00k
#undef DO_
9343
1.00k
}
9344
9345
void GetLoadMovePercentRequestPB::SerializeWithCachedSizes(
9346
0
    ::google::protobuf::io::CodedOutputStream* output) const {
9347
  // @@protoc_insertion_point(serialize_start:yb.master.GetLoadMovePercentRequestPB)
9348
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9349
0
  (void) cached_has_bits;
9350
9351
0
  if (_internal_metadata_.have_unknown_fields()) {
9352
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9353
0
        _internal_metadata_.unknown_fields(), output);
9354
0
  }
9355
  // @@protoc_insertion_point(serialize_end:yb.master.GetLoadMovePercentRequestPB)
9356
0
}
9357
9358
::google::protobuf::uint8* GetLoadMovePercentRequestPB::InternalSerializeWithCachedSizesToArray(
9359
2
    bool deterministic, ::google::protobuf::uint8* target) const {
9360
2
  (void)deterministic; // Unused
9361
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetLoadMovePercentRequestPB)
9362
2
  ::google::protobuf::uint32 cached_has_bits = 0;
9363
2
  (void) cached_has_bits;
9364
9365
2
  if (_internal_metadata_.have_unknown_fields()) {
9366
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9367
0
        _internal_metadata_.unknown_fields(), target);
9368
0
  }
9369
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetLoadMovePercentRequestPB)
9370
2
  return target;
9371
2
}
9372
9373
4
size_t GetLoadMovePercentRequestPB::ByteSizeLong() const {
9374
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetLoadMovePercentRequestPB)
9375
4
  size_t total_size = 0;
9376
9377
4
  if (_internal_metadata_.have_unknown_fields()) {
9378
0
    total_size +=
9379
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9380
0
        _internal_metadata_.unknown_fields());
9381
0
  }
9382
4
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9383
4
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9384
4
  _cached_size_ = cached_size;
9385
4
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9386
4
  return total_size;
9387
4
}
9388
9389
0
void GetLoadMovePercentRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
9390
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetLoadMovePercentRequestPB)
9391
0
  GOOGLE_DCHECK_NE(&from, this);
9392
0
  const GetLoadMovePercentRequestPB* source =
9393
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetLoadMovePercentRequestPB>(
9394
0
          &from);
9395
0
  if (source == NULL) {
9396
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetLoadMovePercentRequestPB)
9397
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9398
0
  } else {
9399
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetLoadMovePercentRequestPB)
9400
0
    MergeFrom(*source);
9401
0
  }
9402
0
}
9403
9404
0
void GetLoadMovePercentRequestPB::MergeFrom(const GetLoadMovePercentRequestPB& from) {
9405
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetLoadMovePercentRequestPB)
9406
0
  GOOGLE_DCHECK_NE(&from, this);
9407
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9408
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9409
0
  (void) cached_has_bits;
9410
9411
0
}
9412
9413
0
void GetLoadMovePercentRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
9414
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetLoadMovePercentRequestPB)
9415
0
  if (&from == this) return;
9416
0
  Clear();
9417
0
  MergeFrom(from);
9418
0
}
9419
9420
0
void GetLoadMovePercentRequestPB::CopyFrom(const GetLoadMovePercentRequestPB& from) {
9421
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetLoadMovePercentRequestPB)
9422
0
  if (&from == this) return;
9423
0
  Clear();
9424
0
  MergeFrom(from);
9425
0
}
9426
9427
1.01k
bool GetLoadMovePercentRequestPB::IsInitialized() const {
9428
1.01k
  return true;
9429
1.01k
}
9430
9431
0
void GetLoadMovePercentRequestPB::Swap(GetLoadMovePercentRequestPB* other) {
9432
0
  if (other == this) return;
9433
0
  InternalSwap(other);
9434
0
}
9435
0
void GetLoadMovePercentRequestPB::InternalSwap(GetLoadMovePercentRequestPB* other) {
9436
0
  using std::swap;
9437
0
  swap(_has_bits_[0], other->_has_bits_[0]);
9438
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
9439
0
  swap(_cached_size_, other->_cached_size_);
9440
0
}
9441
9442
1.00k
::google::protobuf::Metadata GetLoadMovePercentRequestPB::GetMetadata() const {
9443
1.00k
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
9444
1.00k
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
9445
1.00k
}
9446
9447
9448
// ===================================================================
9449
9450
15.8k
void GetLoadMovePercentResponsePB::InitAsDefaultInstance() {
9451
15.8k
  ::yb::master::_GetLoadMovePercentResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
9452
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
9453
15.8k
}
9454
0
void GetLoadMovePercentResponsePB::clear_error() {
9455
0
  if (error_ != NULL) error_->Clear();
9456
0
  clear_has_error();
9457
0
}
9458
#if !defined(_MSC_VER) || _MSC_VER >= 1900
9459
const int GetLoadMovePercentResponsePB::kErrorFieldNumber;
9460
const int GetLoadMovePercentResponsePB::kPercentFieldNumber;
9461
const int GetLoadMovePercentResponsePB::kRemainingFieldNumber;
9462
const int GetLoadMovePercentResponsePB::kTotalFieldNumber;
9463
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
9464
9465
GetLoadMovePercentResponsePB::GetLoadMovePercentResponsePB()
9466
17.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9467
1.20k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
9468
1.20k
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetLoadMovePercentResponsePB();
9469
1.20k
  }
9470
17.0k
  SharedCtor();
9471
  // @@protoc_insertion_point(constructor:yb.master.GetLoadMovePercentResponsePB)
9472
17.0k
}
9473
GetLoadMovePercentResponsePB::GetLoadMovePercentResponsePB(const GetLoadMovePercentResponsePB& from)
9474
  : ::google::protobuf::Message(),
9475
      _internal_metadata_(NULL),
9476
      _has_bits_(from._has_bits_),
9477
0
      _cached_size_(0) {
9478
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9479
0
  if (from.has_error()) {
9480
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
9481
0
  } else {
9482
0
    error_ = NULL;
9483
0
  }
9484
0
  ::memcpy(&percent_, &from.percent_,
9485
0
    static_cast<size_t>(reinterpret_cast<char*>(&total_) -
9486
0
    reinterpret_cast<char*>(&percent_)) + sizeof(total_));
9487
  // @@protoc_insertion_point(copy_constructor:yb.master.GetLoadMovePercentResponsePB)
9488
0
}
9489
9490
17.0k
void GetLoadMovePercentResponsePB::SharedCtor() {
9491
17.0k
  _cached_size_ = 0;
9492
17.0k
  ::memset(&error_, 0, static_cast<size_t>(
9493
17.0k
      reinterpret_cast<char*>(&total_) -
9494
17.0k
      reinterpret_cast<char*>(&error_)) + sizeof(total_));
9495
17.0k
}
9496
9497
1.20k
GetLoadMovePercentResponsePB::~GetLoadMovePercentResponsePB() {
9498
  // @@protoc_insertion_point(destructor:yb.master.GetLoadMovePercentResponsePB)
9499
1.20k
  SharedDtor();
9500
1.20k
}
9501
9502
1.20k
void GetLoadMovePercentResponsePB::SharedDtor() {
9503
1.20k
  if (this != internal_default_instance()) delete error_;
9504
1.20k
}
9505
9506
0
void GetLoadMovePercentResponsePB::SetCachedSize(int size) const {
9507
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9508
0
  _cached_size_ = size;
9509
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9510
0
}
9511
0
const ::google::protobuf::Descriptor* GetLoadMovePercentResponsePB::descriptor() {
9512
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
9513
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9514
0
}
9515
9516
0
const GetLoadMovePercentResponsePB& GetLoadMovePercentResponsePB::default_instance() {
9517
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetLoadMovePercentResponsePB();
9518
0
  return *internal_default_instance();
9519
0
}
9520
9521
0
GetLoadMovePercentResponsePB* GetLoadMovePercentResponsePB::New(::google::protobuf::Arena* arena) const {
9522
0
  GetLoadMovePercentResponsePB* n = new GetLoadMovePercentResponsePB;
9523
0
  if (arena != NULL) {
9524
0
    arena->Own(n);
9525
0
  }
9526
0
  return n;
9527
0
}
9528
9529
3
void GetLoadMovePercentResponsePB::Clear() {
9530
// @@protoc_insertion_point(message_clear_start:yb.master.GetLoadMovePercentResponsePB)
9531
3
  ::google::protobuf::uint32 cached_has_bits = 0;
9532
  // Prevent compiler warnings about cached_has_bits being unused
9533
3
  (void) cached_has_bits;
9534
9535
3
  cached_has_bits = _has_bits_[0];
9536
3
  if (cached_has_bits & 0x00000001u) {
9537
0
    GOOGLE_DCHECK(error_ != NULL);
9538
0
    error_->Clear();
9539
0
  }
9540
3
  if (cached_has_bits & 14u) {
9541
1
    ::memset(&percent_, 0, static_cast<size_t>(
9542
1
        reinterpret_cast<char*>(&total_) -
9543
1
        reinterpret_cast<char*>(&percent_)) + sizeof(total_));
9544
1
  }
9545
3
  _has_bits_.Clear();
9546
3
  _internal_metadata_.Clear();
9547
3
}
9548
9549
bool GetLoadMovePercentResponsePB::MergePartialFromCodedStream(
9550
2
    ::google::protobuf::io::CodedInputStream* input) {
9551
6
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
9552
2
  ::google::protobuf::uint32 tag;
9553
  // @@protoc_insertion_point(parse_start:yb.master.GetLoadMovePercentResponsePB)
9554
8
  for (;;) {
9555
8
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9556
8
    tag = p.first;
9557
8
    if (!p.second) goto handle_unusual;
9558
6
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9559
      // optional .yb.master.MasterErrorPB error = 1;
9560
0
      case 1: {
9561
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9562
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
9563
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
9564
0
               input, mutable_error()));
9565
0
        } else {
9566
0
          goto handle_unusual;
9567
0
        }
9568
0
        break;
9569
0
      }
9570
9571
      // optional double percent = 2;
9572
2
      case 2: {
9573
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9574
2
            static_cast< ::google::protobuf::uint8>(17u /* 17 & 0xFF */)) {
9575
2
          set_has_percent();
9576
2
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9577
2
                   double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
9578
2
                 input, &percent_)));
9579
0
        } else {
9580
0
          goto handle_unusual;
9581
0
        }
9582
2
        break;
9583
2
      }
9584
9585
      // optional uint64 remaining = 3;
9586
2
      case 3: {
9587
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9588
2
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
9589
2
          set_has_remaining();
9590
2
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9591
2
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
9592
2
                 input, &remaining_)));
9593
0
        } else {
9594
0
          goto handle_unusual;
9595
0
        }
9596
2
        break;
9597
2
      }
9598
9599
      // optional uint64 total = 4;
9600
2
      case 4: {
9601
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9602
2
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
9603
2
          set_has_total();
9604
2
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9605
2
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
9606
2
                 input, &total_)));
9607
0
        } else {
9608
0
          goto handle_unusual;
9609
0
        }
9610
2
        break;
9611
2
      }
9612
9613
0
      default: {
9614
2
      handle_unusual:
9615
2
        if (tag == 0) {
9616
2
          goto success;
9617
2
        }
9618
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
9619
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
9620
0
        break;
9621
0
      }
9622
6
    }
9623
6
  }
9624
2
success:
9625
  // @@protoc_insertion_point(parse_success:yb.master.GetLoadMovePercentResponsePB)
9626
2
  return true;
9627
0
failure:
9628
  // @@protoc_insertion_point(parse_failure:yb.master.GetLoadMovePercentResponsePB)
9629
0
  return false;
9630
2
#undef DO_
9631
2
}
9632
9633
void GetLoadMovePercentResponsePB::SerializeWithCachedSizes(
9634
0
    ::google::protobuf::io::CodedOutputStream* output) const {
9635
  // @@protoc_insertion_point(serialize_start:yb.master.GetLoadMovePercentResponsePB)
9636
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9637
0
  (void) cached_has_bits;
9638
9639
0
  cached_has_bits = _has_bits_[0];
9640
  // optional .yb.master.MasterErrorPB error = 1;
9641
0
  if (cached_has_bits & 0x00000001u) {
9642
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9643
0
      1, *this->error_, output);
9644
0
  }
9645
9646
  // optional double percent = 2;
9647
0
  if (cached_has_bits & 0x00000002u) {
9648
0
    ::google::protobuf::internal::WireFormatLite::WriteDouble(2, this->percent(), output);
9649
0
  }
9650
9651
  // optional uint64 remaining = 3;
9652
0
  if (cached_has_bits & 0x00000004u) {
9653
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->remaining(), output);
9654
0
  }
9655
9656
  // optional uint64 total = 4;
9657
0
  if (cached_has_bits & 0x00000008u) {
9658
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(4, this->total(), output);
9659
0
  }
9660
9661
0
  if (_internal_metadata_.have_unknown_fields()) {
9662
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9663
0
        _internal_metadata_.unknown_fields(), output);
9664
0
  }
9665
  // @@protoc_insertion_point(serialize_end:yb.master.GetLoadMovePercentResponsePB)
9666
0
}
9667
9668
::google::protobuf::uint8* GetLoadMovePercentResponsePB::InternalSerializeWithCachedSizesToArray(
9669
1.20k
    bool deterministic, ::google::protobuf::uint8* target) const {
9670
1.20k
  (void)deterministic; // Unused
9671
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetLoadMovePercentResponsePB)
9672
1.20k
  ::google::protobuf::uint32 cached_has_bits = 0;
9673
1.20k
  (void) cached_has_bits;
9674
9675
1.20k
  cached_has_bits = _has_bits_[0];
9676
  // optional .yb.master.MasterErrorPB error = 1;
9677
1.20k
  if (cached_has_bits & 0x00000001u) {
9678
0
    target = ::google::protobuf::internal::WireFormatLite::
9679
0
      InternalWriteMessageToArray(
9680
0
        1, *this->error_, deterministic, target);
9681
0
  }
9682
9683
  // optional double percent = 2;
9684
1.20k
  if (cached_has_bits & 0x00000002u) {
9685
1.20k
    target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(2, this->percent(), target);
9686
1.20k
  }
9687
9688
  // optional uint64 remaining = 3;
9689
1.20k
  if (cached_has_bits & 0x00000004u) {
9690
1.17k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->remaining(), target);
9691
1.17k
  }
9692
9693
  // optional uint64 total = 4;
9694
1.20k
  if (cached_has_bits & 0x00000008u) {
9695
1.17k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(4, this->total(), target);
9696
1.17k
  }
9697
9698
1.20k
  if (_internal_metadata_.have_unknown_fields()) {
9699
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9700
0
        _internal_metadata_.unknown_fields(), target);
9701
0
  }
9702
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetLoadMovePercentResponsePB)
9703
1.20k
  return target;
9704
1.20k
}
9705
9706
2.40k
size_t GetLoadMovePercentResponsePB::ByteSizeLong() const {
9707
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetLoadMovePercentResponsePB)
9708
2.40k
  size_t total_size = 0;
9709
9710
2.40k
  if (_internal_metadata_.have_unknown_fields()) {
9711
0
    total_size +=
9712
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9713
0
        _internal_metadata_.unknown_fields());
9714
0
  }
9715
2.40k
  if (_has_bits_[0 / 32] & 15u) {
9716
    // optional .yb.master.MasterErrorPB error = 1;
9717
2.40k
    if (has_error()) {
9718
0
      total_size += 1 +
9719
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
9720
0
          *this->error_);
9721
0
    }
9722
9723
    // optional double percent = 2;
9724
2.40k
    if (has_percent()) {
9725
2.40k
      total_size += 1 + 8;
9726
2.40k
    }
9727
9728
    // optional uint64 remaining = 3;
9729
2.40k
    if (has_remaining()) {
9730
2.34k
      total_size += 1 +
9731
2.34k
        ::google::protobuf::internal::WireFormatLite::UInt64Size(
9732
2.34k
          this->remaining());
9733
2.34k
    }
9734
9735
    // optional uint64 total = 4;
9736
2.40k
    if (has_total()) {
9737
2.34k
      total_size += 1 +
9738
2.34k
        ::google::protobuf::internal::WireFormatLite::UInt64Size(
9739
2.34k
          this->total());
9740
2.34k
    }
9741
9742
2.40k
  }
9743
2.40k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9744
2.40k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9745
2.40k
  _cached_size_ = cached_size;
9746
2.40k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9747
2.40k
  return total_size;
9748
2.40k
}
9749
9750
0
void GetLoadMovePercentResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
9751
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetLoadMovePercentResponsePB)
9752
0
  GOOGLE_DCHECK_NE(&from, this);
9753
0
  const GetLoadMovePercentResponsePB* source =
9754
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetLoadMovePercentResponsePB>(
9755
0
          &from);
9756
0
  if (source == NULL) {
9757
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetLoadMovePercentResponsePB)
9758
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9759
0
  } else {
9760
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetLoadMovePercentResponsePB)
9761
0
    MergeFrom(*source);
9762
0
  }
9763
0
}
9764
9765
0
void GetLoadMovePercentResponsePB::MergeFrom(const GetLoadMovePercentResponsePB& from) {
9766
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetLoadMovePercentResponsePB)
9767
0
  GOOGLE_DCHECK_NE(&from, this);
9768
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9769
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9770
0
  (void) cached_has_bits;
9771
9772
0
  cached_has_bits = from._has_bits_[0];
9773
0
  if (cached_has_bits & 15u) {
9774
0
    if (cached_has_bits & 0x00000001u) {
9775
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
9776
0
    }
9777
0
    if (cached_has_bits & 0x00000002u) {
9778
0
      percent_ = from.percent_;
9779
0
    }
9780
0
    if (cached_has_bits & 0x00000004u) {
9781
0
      remaining_ = from.remaining_;
9782
0
    }
9783
0
    if (cached_has_bits & 0x00000008u) {
9784
0
      total_ = from.total_;
9785
0
    }
9786
0
    _has_bits_[0] |= cached_has_bits;
9787
0
  }
9788
0
}
9789
9790
0
void GetLoadMovePercentResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
9791
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetLoadMovePercentResponsePB)
9792
0
  if (&from == this) return;
9793
0
  Clear();
9794
0
  MergeFrom(from);
9795
0
}
9796
9797
0
void GetLoadMovePercentResponsePB::CopyFrom(const GetLoadMovePercentResponsePB& from) {
9798
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetLoadMovePercentResponsePB)
9799
0
  if (&from == this) return;
9800
0
  Clear();
9801
0
  MergeFrom(from);
9802
0
}
9803
9804
1.20k
bool GetLoadMovePercentResponsePB::IsInitialized() const {
9805
1.20k
  if (has_error()) {
9806
0
    if (!this->error_->IsInitialized()) return false;
9807
1.20k
  }
9808
1.20k
  return true;
9809
1.20k
}
9810
9811
0
void GetLoadMovePercentResponsePB::Swap(GetLoadMovePercentResponsePB* other) {
9812
0
  if (other == this) return;
9813
0
  InternalSwap(other);
9814
0
}
9815
0
void GetLoadMovePercentResponsePB::InternalSwap(GetLoadMovePercentResponsePB* other) {
9816
0
  using std::swap;
9817
0
  swap(error_, other->error_);
9818
0
  swap(percent_, other->percent_);
9819
0
  swap(remaining_, other->remaining_);
9820
0
  swap(total_, other->total_);
9821
0
  swap(_has_bits_[0], other->_has_bits_[0]);
9822
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
9823
0
  swap(_cached_size_, other->_cached_size_);
9824
0
}
9825
9826
0
::google::protobuf::Metadata GetLoadMovePercentResponsePB::GetMetadata() const {
9827
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
9828
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
9829
0
}
9830
9831
9832
// ===================================================================
9833
9834
15.8k
void GetLeaderBlacklistPercentRequestPB::InitAsDefaultInstance() {
9835
15.8k
}
9836
#if !defined(_MSC_VER) || _MSC_VER >= 1900
9837
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
9838
9839
GetLeaderBlacklistPercentRequestPB::GetLeaderBlacklistPercentRequestPB()
9840
16.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9841
194
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
9842
194
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetLeaderBlacklistPercentRequestPB();
9843
194
  }
9844
16.0k
  SharedCtor();
9845
  // @@protoc_insertion_point(constructor:yb.master.GetLeaderBlacklistPercentRequestPB)
9846
16.0k
}
9847
GetLeaderBlacklistPercentRequestPB::GetLeaderBlacklistPercentRequestPB(const GetLeaderBlacklistPercentRequestPB& from)
9848
  : ::google::protobuf::Message(),
9849
      _internal_metadata_(NULL),
9850
      _has_bits_(from._has_bits_),
9851
0
      _cached_size_(0) {
9852
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9853
  // @@protoc_insertion_point(copy_constructor:yb.master.GetLeaderBlacklistPercentRequestPB)
9854
0
}
9855
9856
16.0k
void GetLeaderBlacklistPercentRequestPB::SharedCtor() {
9857
16.0k
  _cached_size_ = 0;
9858
16.0k
}
9859
9860
194
GetLeaderBlacklistPercentRequestPB::~GetLeaderBlacklistPercentRequestPB() {
9861
  // @@protoc_insertion_point(destructor:yb.master.GetLeaderBlacklistPercentRequestPB)
9862
194
  SharedDtor();
9863
194
}
9864
9865
194
void GetLeaderBlacklistPercentRequestPB::SharedDtor() {
9866
194
}
9867
9868
0
void GetLeaderBlacklistPercentRequestPB::SetCachedSize(int size) const {
9869
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9870
0
  _cached_size_ = size;
9871
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9872
0
}
9873
0
const ::google::protobuf::Descriptor* GetLeaderBlacklistPercentRequestPB::descriptor() {
9874
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
9875
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9876
0
}
9877
9878
0
const GetLeaderBlacklistPercentRequestPB& GetLeaderBlacklistPercentRequestPB::default_instance() {
9879
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetLeaderBlacklistPercentRequestPB();
9880
0
  return *internal_default_instance();
9881
0
}
9882
9883
0
GetLeaderBlacklistPercentRequestPB* GetLeaderBlacklistPercentRequestPB::New(::google::protobuf::Arena* arena) const {
9884
0
  GetLeaderBlacklistPercentRequestPB* n = new GetLeaderBlacklistPercentRequestPB;
9885
0
  if (arena != NULL) {
9886
0
    arena->Own(n);
9887
0
  }
9888
0
  return n;
9889
0
}
9890
9891
194
void GetLeaderBlacklistPercentRequestPB::Clear() {
9892
// @@protoc_insertion_point(message_clear_start:yb.master.GetLeaderBlacklistPercentRequestPB)
9893
194
  ::google::protobuf::uint32 cached_has_bits = 0;
9894
  // Prevent compiler warnings about cached_has_bits being unused
9895
194
  (void) cached_has_bits;
9896
9897
194
  _has_bits_.Clear();
9898
194
  _internal_metadata_.Clear();
9899
194
}
9900
9901
bool GetLeaderBlacklistPercentRequestPB::MergePartialFromCodedStream(
9902
194
    ::google::protobuf::io::CodedInputStream* input) {
9903
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
9904
194
  ::google::protobuf::uint32 tag;
9905
  // @@protoc_insertion_point(parse_start:yb.master.GetLeaderBlacklistPercentRequestPB)
9906
194
  for (;;) {
9907
194
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9908
194
    tag = p.first;
9909
194
    if (!p.second) goto handle_unusual;
9910
194
  handle_unusual:
9911
194
    if (tag == 0) {
9912
194
      goto success;
9913
194
    }
9914
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
9915
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
9916
0
  }
9917
194
success:
9918
  // @@protoc_insertion_point(parse_success:yb.master.GetLeaderBlacklistPercentRequestPB)
9919
194
  return true;
9920
0
failure:
9921
  // @@protoc_insertion_point(parse_failure:yb.master.GetLeaderBlacklistPercentRequestPB)
9922
0
  return false;
9923
194
#undef DO_
9924
194
}
9925
9926
void GetLeaderBlacklistPercentRequestPB::SerializeWithCachedSizes(
9927
0
    ::google::protobuf::io::CodedOutputStream* output) const {
9928
  // @@protoc_insertion_point(serialize_start:yb.master.GetLeaderBlacklistPercentRequestPB)
9929
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9930
0
  (void) cached_has_bits;
9931
9932
0
  if (_internal_metadata_.have_unknown_fields()) {
9933
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9934
0
        _internal_metadata_.unknown_fields(), output);
9935
0
  }
9936
  // @@protoc_insertion_point(serialize_end:yb.master.GetLeaderBlacklistPercentRequestPB)
9937
0
}
9938
9939
::google::protobuf::uint8* GetLeaderBlacklistPercentRequestPB::InternalSerializeWithCachedSizesToArray(
9940
0
    bool deterministic, ::google::protobuf::uint8* target) const {
9941
0
  (void)deterministic; // Unused
9942
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetLeaderBlacklistPercentRequestPB)
9943
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9944
0
  (void) cached_has_bits;
9945
9946
0
  if (_internal_metadata_.have_unknown_fields()) {
9947
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9948
0
        _internal_metadata_.unknown_fields(), target);
9949
0
  }
9950
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetLeaderBlacklistPercentRequestPB)
9951
0
  return target;
9952
0
}
9953
9954
0
size_t GetLeaderBlacklistPercentRequestPB::ByteSizeLong() const {
9955
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetLeaderBlacklistPercentRequestPB)
9956
0
  size_t total_size = 0;
9957
9958
0
  if (_internal_metadata_.have_unknown_fields()) {
9959
0
    total_size +=
9960
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9961
0
        _internal_metadata_.unknown_fields());
9962
0
  }
9963
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9964
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9965
0
  _cached_size_ = cached_size;
9966
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9967
0
  return total_size;
9968
0
}
9969
9970
0
void GetLeaderBlacklistPercentRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
9971
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetLeaderBlacklistPercentRequestPB)
9972
0
  GOOGLE_DCHECK_NE(&from, this);
9973
0
  const GetLeaderBlacklistPercentRequestPB* source =
9974
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetLeaderBlacklistPercentRequestPB>(
9975
0
          &from);
9976
0
  if (source == NULL) {
9977
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetLeaderBlacklistPercentRequestPB)
9978
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9979
0
  } else {
9980
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetLeaderBlacklistPercentRequestPB)
9981
0
    MergeFrom(*source);
9982
0
  }
9983
0
}
9984
9985
0
void GetLeaderBlacklistPercentRequestPB::MergeFrom(const GetLeaderBlacklistPercentRequestPB& from) {
9986
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetLeaderBlacklistPercentRequestPB)
9987
0
  GOOGLE_DCHECK_NE(&from, this);
9988
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9989
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9990
0
  (void) cached_has_bits;
9991
9992
0
}
9993
9994
0
void GetLeaderBlacklistPercentRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
9995
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetLeaderBlacklistPercentRequestPB)
9996
0
  if (&from == this) return;
9997
0
  Clear();
9998
0
  MergeFrom(from);
9999
0
}
10000
10001
0
void GetLeaderBlacklistPercentRequestPB::CopyFrom(const GetLeaderBlacklistPercentRequestPB& from) {
10002
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetLeaderBlacklistPercentRequestPB)
10003
0
  if (&from == this) return;
10004
0
  Clear();
10005
0
  MergeFrom(from);
10006
0
}
10007
10008
194
bool GetLeaderBlacklistPercentRequestPB::IsInitialized() const {
10009
194
  return true;
10010
194
}
10011
10012
0
void GetLeaderBlacklistPercentRequestPB::Swap(GetLeaderBlacklistPercentRequestPB* other) {
10013
0
  if (other == this) return;
10014
0
  InternalSwap(other);
10015
0
}
10016
0
void GetLeaderBlacklistPercentRequestPB::InternalSwap(GetLeaderBlacklistPercentRequestPB* other) {
10017
0
  using std::swap;
10018
0
  swap(_has_bits_[0], other->_has_bits_[0]);
10019
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
10020
0
  swap(_cached_size_, other->_cached_size_);
10021
0
}
10022
10023
194
::google::protobuf::Metadata GetLeaderBlacklistPercentRequestPB::GetMetadata() const {
10024
194
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
10025
194
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
10026
194
}
10027
10028
10029
// ===================================================================
10030
10031
15.8k
void IsLoadBalancedRequestPB::InitAsDefaultInstance() {
10032
15.8k
}
10033
#if !defined(_MSC_VER) || _MSC_VER >= 1900
10034
const int IsLoadBalancedRequestPB::kExpectedNumServersFieldNumber;
10035
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
10036
10037
IsLoadBalancedRequestPB::IsLoadBalancedRequestPB()
10038
16.2k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
10039
381
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
10040
381
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsIsLoadBalancedRequestPB();
10041
381
  }
10042
16.2k
  SharedCtor();
10043
  // @@protoc_insertion_point(constructor:yb.master.IsLoadBalancedRequestPB)
10044
16.2k
}
10045
IsLoadBalancedRequestPB::IsLoadBalancedRequestPB(const IsLoadBalancedRequestPB& from)
10046
  : ::google::protobuf::Message(),
10047
      _internal_metadata_(NULL),
10048
      _has_bits_(from._has_bits_),
10049
0
      _cached_size_(0) {
10050
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10051
0
  expected_num_servers_ = from.expected_num_servers_;
10052
  // @@protoc_insertion_point(copy_constructor:yb.master.IsLoadBalancedRequestPB)
10053
0
}
10054
10055
16.2k
void IsLoadBalancedRequestPB::SharedCtor() {
10056
16.2k
  _cached_size_ = 0;
10057
16.2k
  expected_num_servers_ = 0;
10058
16.2k
}
10059
10060
381
IsLoadBalancedRequestPB::~IsLoadBalancedRequestPB() {
10061
  // @@protoc_insertion_point(destructor:yb.master.IsLoadBalancedRequestPB)
10062
381
  SharedDtor();
10063
381
}
10064
10065
381
void IsLoadBalancedRequestPB::SharedDtor() {
10066
381
}
10067
10068
0
void IsLoadBalancedRequestPB::SetCachedSize(int size) const {
10069
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10070
0
  _cached_size_ = size;
10071
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10072
0
}
10073
0
const ::google::protobuf::Descriptor* IsLoadBalancedRequestPB::descriptor() {
10074
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
10075
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
10076
0
}
10077
10078
0
const IsLoadBalancedRequestPB& IsLoadBalancedRequestPB::default_instance() {
10079
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsIsLoadBalancedRequestPB();
10080
0
  return *internal_default_instance();
10081
0
}
10082
10083
0
IsLoadBalancedRequestPB* IsLoadBalancedRequestPB::New(::google::protobuf::Arena* arena) const {
10084
0
  IsLoadBalancedRequestPB* n = new IsLoadBalancedRequestPB;
10085
0
  if (arena != NULL) {
10086
0
    arena->Own(n);
10087
0
  }
10088
0
  return n;
10089
0
}
10090
10091
202
void IsLoadBalancedRequestPB::Clear() {
10092
// @@protoc_insertion_point(message_clear_start:yb.master.IsLoadBalancedRequestPB)
10093
202
  ::google::protobuf::uint32 cached_has_bits = 0;
10094
  // Prevent compiler warnings about cached_has_bits being unused
10095
202
  (void) cached_has_bits;
10096
10097
202
  expected_num_servers_ = 0;
10098
202
  _has_bits_.Clear();
10099
202
  _internal_metadata_.Clear();
10100
202
}
10101
10102
bool IsLoadBalancedRequestPB::MergePartialFromCodedStream(
10103
202
    ::google::protobuf::io::CodedInputStream* input) {
10104
202
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
10105
202
  ::google::protobuf::uint32 tag;
10106
  // @@protoc_insertion_point(parse_start:yb.master.IsLoadBalancedRequestPB)
10107
404
  for (;;) {
10108
404
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10109
404
    tag = p.first;
10110
404
    if (!p.second) goto handle_unusual;
10111
202
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10112
      // optional int32 expected_num_servers = 1;
10113
202
      case 1: {
10114
202
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10115
202
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
10116
202
          set_has_expected_num_servers();
10117
202
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
10118
202
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
10119
202
                 input, &expected_num_servers_)));
10120
0
        } else {
10121
0
          goto handle_unusual;
10122
0
        }
10123
202
        break;
10124
202
      }
10125
10126
0
      default: {
10127
202
      handle_unusual:
10128
202
        if (tag == 0) {
10129
202
          goto success;
10130
202
        }
10131
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
10132
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
10133
0
        break;
10134
0
      }
10135
202
    }
10136
202
  }
10137
202
success:
10138
  // @@protoc_insertion_point(parse_success:yb.master.IsLoadBalancedRequestPB)
10139
202
  return true;
10140
0
failure:
10141
  // @@protoc_insertion_point(parse_failure:yb.master.IsLoadBalancedRequestPB)
10142
0
  return false;
10143
202
#undef DO_
10144
202
}
10145
10146
void IsLoadBalancedRequestPB::SerializeWithCachedSizes(
10147
0
    ::google::protobuf::io::CodedOutputStream* output) const {
10148
  // @@protoc_insertion_point(serialize_start:yb.master.IsLoadBalancedRequestPB)
10149
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10150
0
  (void) cached_has_bits;
10151
10152
0
  cached_has_bits = _has_bits_[0];
10153
  // optional int32 expected_num_servers = 1;
10154
0
  if (cached_has_bits & 0x00000001u) {
10155
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->expected_num_servers(), output);
10156
0
  }
10157
10158
0
  if (_internal_metadata_.have_unknown_fields()) {
10159
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10160
0
        _internal_metadata_.unknown_fields(), output);
10161
0
  }
10162
  // @@protoc_insertion_point(serialize_end:yb.master.IsLoadBalancedRequestPB)
10163
0
}
10164
10165
::google::protobuf::uint8* IsLoadBalancedRequestPB::InternalSerializeWithCachedSizesToArray(
10166
178
    bool deterministic, ::google::protobuf::uint8* target) const {
10167
178
  (void)deterministic; // Unused
10168
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.IsLoadBalancedRequestPB)
10169
178
  ::google::protobuf::uint32 cached_has_bits = 0;
10170
178
  (void) cached_has_bits;
10171
10172
178
  cached_has_bits = _has_bits_[0];
10173
  // optional int32 expected_num_servers = 1;
10174
178
  if (cached_has_bits & 0x00000001u) {
10175
178
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->expected_num_servers(), target);
10176
178
  }
10177
10178
178
  if (_internal_metadata_.have_unknown_fields()) {
10179
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
10180
0
        _internal_metadata_.unknown_fields(), target);
10181
0
  }
10182
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.IsLoadBalancedRequestPB)
10183
178
  return target;
10184
178
}
10185
10186
356
size_t IsLoadBalancedRequestPB::ByteSizeLong() const {
10187
// @@protoc_insertion_point(message_byte_size_start:yb.master.IsLoadBalancedRequestPB)
10188
356
  size_t total_size = 0;
10189
10190
356
  if (_internal_metadata_.have_unknown_fields()) {
10191
0
    total_size +=
10192
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
10193
0
        _internal_metadata_.unknown_fields());
10194
0
  }
10195
  // optional int32 expected_num_servers = 1;
10196
356
  if (has_expected_num_servers()) {
10197
356
    total_size += 1 +
10198
356
      ::google::protobuf::internal::WireFormatLite::Int32Size(
10199
356
        this->expected_num_servers());
10200
356
  }
10201
10202
356
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
10203
356
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10204
356
  _cached_size_ = cached_size;
10205
356
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10206
356
  return total_size;
10207
356
}
10208
10209
0
void IsLoadBalancedRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
10210
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.IsLoadBalancedRequestPB)
10211
0
  GOOGLE_DCHECK_NE(&from, this);
10212
0
  const IsLoadBalancedRequestPB* source =
10213
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsLoadBalancedRequestPB>(
10214
0
          &from);
10215
0
  if (source == NULL) {
10216
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.IsLoadBalancedRequestPB)
10217
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
10218
0
  } else {
10219
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.IsLoadBalancedRequestPB)
10220
0
    MergeFrom(*source);
10221
0
  }
10222
0
}
10223
10224
0
void IsLoadBalancedRequestPB::MergeFrom(const IsLoadBalancedRequestPB& from) {
10225
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.IsLoadBalancedRequestPB)
10226
0
  GOOGLE_DCHECK_NE(&from, this);
10227
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10228
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10229
0
  (void) cached_has_bits;
10230
10231
0
  if (from.has_expected_num_servers()) {
10232
0
    set_expected_num_servers(from.expected_num_servers());
10233
0
  }
10234
0
}
10235
10236
0
void IsLoadBalancedRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
10237
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.IsLoadBalancedRequestPB)
10238
0
  if (&from == this) return;
10239
0
  Clear();
10240
0
  MergeFrom(from);
10241
0
}
10242
10243
0
void IsLoadBalancedRequestPB::CopyFrom(const IsLoadBalancedRequestPB& from) {
10244
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.IsLoadBalancedRequestPB)
10245
0
  if (&from == this) return;
10246
0
  Clear();
10247
0
  MergeFrom(from);
10248
0
}
10249
10250
380
bool IsLoadBalancedRequestPB::IsInitialized() const {
10251
380
  return true;
10252
380
}
10253
10254
0
void IsLoadBalancedRequestPB::Swap(IsLoadBalancedRequestPB* other) {
10255
0
  if (other == this) return;
10256
0
  InternalSwap(other);
10257
0
}
10258
0
void IsLoadBalancedRequestPB::InternalSwap(IsLoadBalancedRequestPB* other) {
10259
0
  using std::swap;
10260
0
  swap(expected_num_servers_, other->expected_num_servers_);
10261
0
  swap(_has_bits_[0], other->_has_bits_[0]);
10262
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
10263
0
  swap(_cached_size_, other->_cached_size_);
10264
0
}
10265
10266
202
::google::protobuf::Metadata IsLoadBalancedRequestPB::GetMetadata() const {
10267
202
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
10268
202
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
10269
202
}
10270
10271
10272
// ===================================================================
10273
10274
15.8k
void IsLoadBalancedResponsePB::InitAsDefaultInstance() {
10275
15.8k
  ::yb::master::_IsLoadBalancedResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
10276
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
10277
15.8k
}
10278
0
void IsLoadBalancedResponsePB::clear_error() {
10279
0
  if (error_ != NULL) error_->Clear();
10280
0
  clear_has_error();
10281
0
}
10282
#if !defined(_MSC_VER) || _MSC_VER >= 1900
10283
const int IsLoadBalancedResponsePB::kErrorFieldNumber;
10284
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
10285
10286
IsLoadBalancedResponsePB::IsLoadBalancedResponsePB()
10287
16.2k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
10288
381
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
10289
381
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsIsLoadBalancedResponsePB();
10290
381
  }
10291
16.2k
  SharedCtor();
10292
  // @@protoc_insertion_point(constructor:yb.master.IsLoadBalancedResponsePB)
10293
16.2k
}
10294
IsLoadBalancedResponsePB::IsLoadBalancedResponsePB(const IsLoadBalancedResponsePB& from)
10295
  : ::google::protobuf::Message(),
10296
      _internal_metadata_(NULL),
10297
      _has_bits_(from._has_bits_),
10298
0
      _cached_size_(0) {
10299
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10300
0
  if (from.has_error()) {
10301
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
10302
0
  } else {
10303
0
    error_ = NULL;
10304
0
  }
10305
  // @@protoc_insertion_point(copy_constructor:yb.master.IsLoadBalancedResponsePB)
10306
0
}
10307
10308
16.2k
void IsLoadBalancedResponsePB::SharedCtor() {
10309
16.2k
  _cached_size_ = 0;
10310
16.2k
  error_ = NULL;
10311
16.2k
}
10312
10313
381
IsLoadBalancedResponsePB::~IsLoadBalancedResponsePB() {
10314
  // @@protoc_insertion_point(destructor:yb.master.IsLoadBalancedResponsePB)
10315
381
  SharedDtor();
10316
381
}
10317
10318
381
void IsLoadBalancedResponsePB::SharedDtor() {
10319
381
  if (this != internal_default_instance()) delete error_;
10320
381
}
10321
10322
0
void IsLoadBalancedResponsePB::SetCachedSize(int size) const {
10323
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10324
0
  _cached_size_ = size;
10325
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10326
0
}
10327
0
const ::google::protobuf::Descriptor* IsLoadBalancedResponsePB::descriptor() {
10328
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
10329
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
10330
0
}
10331
10332
0
const IsLoadBalancedResponsePB& IsLoadBalancedResponsePB::default_instance() {
10333
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsIsLoadBalancedResponsePB();
10334
0
  return *internal_default_instance();
10335
0
}
10336
10337
0
IsLoadBalancedResponsePB* IsLoadBalancedResponsePB::New(::google::protobuf::Arena* arena) const {
10338
0
  IsLoadBalancedResponsePB* n = new IsLoadBalancedResponsePB;
10339
0
  if (arena != NULL) {
10340
0
    arena->Own(n);
10341
0
  }
10342
0
  return n;
10343
0
}
10344
10345
178
void IsLoadBalancedResponsePB::Clear() {
10346
// @@protoc_insertion_point(message_clear_start:yb.master.IsLoadBalancedResponsePB)
10347
178
  ::google::protobuf::uint32 cached_has_bits = 0;
10348
  // Prevent compiler warnings about cached_has_bits being unused
10349
178
  (void) cached_has_bits;
10350
10351
178
  cached_has_bits = _has_bits_[0];
10352
178
  if (cached_has_bits & 0x00000001u) {
10353
0
    GOOGLE_DCHECK(error_ != NULL);
10354
0
    error_->Clear();
10355
0
  }
10356
178
  _has_bits_.Clear();
10357
178
  _internal_metadata_.Clear();
10358
178
}
10359
10360
bool IsLoadBalancedResponsePB::MergePartialFromCodedStream(
10361
178
    ::google::protobuf::io::CodedInputStream* input) {
10362
176
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
10363
178
  ::google::protobuf::uint32 tag;
10364
  // @@protoc_insertion_point(parse_start:yb.master.IsLoadBalancedResponsePB)
10365
354
  for (;;) {
10366
354
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10367
354
    tag = p.first;
10368
354
    if (!p.second) goto handle_unusual;
10369
176
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10370
      // optional .yb.master.MasterErrorPB error = 1;
10371
176
      case 1: {
10372
176
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10373
176
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
10374
176
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
10375
176
               input, mutable_error()));
10376
0
        } else {
10377
0
          goto handle_unusual;
10378
0
        }
10379
176
        break;
10380
178
      }
10381
10382
0
      default: {
10383
178
      handle_unusual:
10384
178
        if (tag == 0) {
10385
178
          goto success;
10386
178
        }
10387
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
10388
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
10389
0
        break;
10390
0
      }
10391
176
    }
10392
176
  }
10393
178
success:
10394
  // @@protoc_insertion_point(parse_success:yb.master.IsLoadBalancedResponsePB)
10395
178
  return true;
10396
0
failure:
10397
  // @@protoc_insertion_point(parse_failure:yb.master.IsLoadBalancedResponsePB)
10398
0
  return false;
10399
178
#undef DO_
10400
178
}
10401
10402
void IsLoadBalancedResponsePB::SerializeWithCachedSizes(
10403
0
    ::google::protobuf::io::CodedOutputStream* output) const {
10404
  // @@protoc_insertion_point(serialize_start:yb.master.IsLoadBalancedResponsePB)
10405
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10406
0
  (void) cached_has_bits;
10407
10408
0
  cached_has_bits = _has_bits_[0];
10409
  // optional .yb.master.MasterErrorPB error = 1;
10410
0
  if (cached_has_bits & 0x00000001u) {
10411
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
10412
0
      1, *this->error_, output);
10413
0
  }
10414
10415
0
  if (_internal_metadata_.have_unknown_fields()) {
10416
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10417
0
        _internal_metadata_.unknown_fields(), output);
10418
0
  }
10419
  // @@protoc_insertion_point(serialize_end:yb.master.IsLoadBalancedResponsePB)
10420
0
}
10421
10422
::google::protobuf::uint8* IsLoadBalancedResponsePB::InternalSerializeWithCachedSizesToArray(
10423
202
    bool deterministic, ::google::protobuf::uint8* target) const {
10424
202
  (void)deterministic; // Unused
10425
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.IsLoadBalancedResponsePB)
10426
202
  ::google::protobuf::uint32 cached_has_bits = 0;
10427
202
  (void) cached_has_bits;
10428
10429
202
  cached_has_bits = _has_bits_[0];
10430
  // optional .yb.master.MasterErrorPB error = 1;
10431
202
  if (cached_has_bits & 0x00000001u) {
10432
182
    target = ::google::protobuf::internal::WireFormatLite::
10433
182
      InternalWriteMessageToArray(
10434
182
        1, *this->error_, deterministic, target);
10435
182
  }
10436
10437
202
  if (_internal_metadata_.have_unknown_fields()) {
10438
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
10439
0
        _internal_metadata_.unknown_fields(), target);
10440
0
  }
10441
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.IsLoadBalancedResponsePB)
10442
202
  return target;
10443
202
}
10444
10445
404
size_t IsLoadBalancedResponsePB::ByteSizeLong() const {
10446
// @@protoc_insertion_point(message_byte_size_start:yb.master.IsLoadBalancedResponsePB)
10447
404
  size_t total_size = 0;
10448
10449
404
  if (_internal_metadata_.have_unknown_fields()) {
10450
0
    total_size +=
10451
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
10452
0
        _internal_metadata_.unknown_fields());
10453
0
  }
10454
  // optional .yb.master.MasterErrorPB error = 1;
10455
404
  if (has_error()) {
10456
364
    total_size += 1 +
10457
364
      ::google::protobuf::internal::WireFormatLite::MessageSize(
10458
364
        *this->error_);
10459
364
  }
10460
10461
404
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
10462
404
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10463
404
  _cached_size_ = cached_size;
10464
404
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10465
404
  return total_size;
10466
404
}
10467
10468
0
void IsLoadBalancedResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
10469
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.IsLoadBalancedResponsePB)
10470
0
  GOOGLE_DCHECK_NE(&from, this);
10471
0
  const IsLoadBalancedResponsePB* source =
10472
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsLoadBalancedResponsePB>(
10473
0
          &from);
10474
0
  if (source == NULL) {
10475
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.IsLoadBalancedResponsePB)
10476
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
10477
0
  } else {
10478
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.IsLoadBalancedResponsePB)
10479
0
    MergeFrom(*source);
10480
0
  }
10481
0
}
10482
10483
0
void IsLoadBalancedResponsePB::MergeFrom(const IsLoadBalancedResponsePB& from) {
10484
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.IsLoadBalancedResponsePB)
10485
0
  GOOGLE_DCHECK_NE(&from, this);
10486
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10487
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10488
0
  (void) cached_has_bits;
10489
10490
0
  if (from.has_error()) {
10491
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
10492
0
  }
10493
0
}
10494
10495
0
void IsLoadBalancedResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
10496
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.IsLoadBalancedResponsePB)
10497
0
  if (&from == this) return;
10498
0
  Clear();
10499
0
  MergeFrom(from);
10500
0
}
10501
10502
0
void IsLoadBalancedResponsePB::CopyFrom(const IsLoadBalancedResponsePB& from) {
10503
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.IsLoadBalancedResponsePB)
10504
0
  if (&from == this) return;
10505
0
  Clear();
10506
0
  MergeFrom(from);
10507
0
}
10508
10509
380
bool IsLoadBalancedResponsePB::IsInitialized() const {
10510
380
  if (has_error()) {
10511
358
    if (!this->error_->IsInitialized()) return false;
10512
380
  }
10513
380
  return true;
10514
380
}
10515
10516
0
void IsLoadBalancedResponsePB::Swap(IsLoadBalancedResponsePB* other) {
10517
0
  if (other == this) return;
10518
0
  InternalSwap(other);
10519
0
}
10520
0
void IsLoadBalancedResponsePB::InternalSwap(IsLoadBalancedResponsePB* other) {
10521
0
  using std::swap;
10522
0
  swap(error_, other->error_);
10523
0
  swap(_has_bits_[0], other->_has_bits_[0]);
10524
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
10525
0
  swap(_cached_size_, other->_cached_size_);
10526
0
}
10527
10528
0
::google::protobuf::Metadata IsLoadBalancedResponsePB::GetMetadata() const {
10529
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
10530
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
10531
0
}
10532
10533
10534
// ===================================================================
10535
10536
15.8k
void IsLoadBalancerIdleRequestPB::InitAsDefaultInstance() {
10537
15.8k
}
10538
#if !defined(_MSC_VER) || _MSC_VER >= 1900
10539
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
10540
10541
IsLoadBalancerIdleRequestPB::IsLoadBalancerIdleRequestPB()
10542
20.3k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
10543
4.52k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
10544
4.52k
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsIsLoadBalancerIdleRequestPB();
10545
4.52k
  }
10546
20.3k
  SharedCtor();
10547
  // @@protoc_insertion_point(constructor:yb.master.IsLoadBalancerIdleRequestPB)
10548
20.3k
}
10549
IsLoadBalancerIdleRequestPB::IsLoadBalancerIdleRequestPB(const IsLoadBalancerIdleRequestPB& from)
10550
  : ::google::protobuf::Message(),
10551
      _internal_metadata_(NULL),
10552
      _has_bits_(from._has_bits_),
10553
0
      _cached_size_(0) {
10554
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10555
  // @@protoc_insertion_point(copy_constructor:yb.master.IsLoadBalancerIdleRequestPB)
10556
0
}
10557
10558
20.3k
void IsLoadBalancerIdleRequestPB::SharedCtor() {
10559
20.3k
  _cached_size_ = 0;
10560
20.3k
}
10561
10562
4.52k
IsLoadBalancerIdleRequestPB::~IsLoadBalancerIdleRequestPB() {
10563
  // @@protoc_insertion_point(destructor:yb.master.IsLoadBalancerIdleRequestPB)
10564
4.52k
  SharedDtor();
10565
4.52k
}
10566
10567
4.52k
void IsLoadBalancerIdleRequestPB::SharedDtor() {
10568
4.52k
}
10569
10570
0
void IsLoadBalancerIdleRequestPB::SetCachedSize(int size) const {
10571
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10572
0
  _cached_size_ = size;
10573
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10574
0
}
10575
0
const ::google::protobuf::Descriptor* IsLoadBalancerIdleRequestPB::descriptor() {
10576
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
10577
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
10578
0
}
10579
10580
0
const IsLoadBalancerIdleRequestPB& IsLoadBalancerIdleRequestPB::default_instance() {
10581
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsIsLoadBalancerIdleRequestPB();
10582
0
  return *internal_default_instance();
10583
0
}
10584
10585
0
IsLoadBalancerIdleRequestPB* IsLoadBalancerIdleRequestPB::New(::google::protobuf::Arena* arena) const {
10586
0
  IsLoadBalancerIdleRequestPB* n = new IsLoadBalancerIdleRequestPB;
10587
0
  if (arena != NULL) {
10588
0
    arena->Own(n);
10589
0
  }
10590
0
  return n;
10591
0
}
10592
10593
2.25k
void IsLoadBalancerIdleRequestPB::Clear() {
10594
// @@protoc_insertion_point(message_clear_start:yb.master.IsLoadBalancerIdleRequestPB)
10595
2.25k
  ::google::protobuf::uint32 cached_has_bits = 0;
10596
  // Prevent compiler warnings about cached_has_bits being unused
10597
2.25k
  (void) cached_has_bits;
10598
10599
2.25k
  _has_bits_.Clear();
10600
2.25k
  _internal_metadata_.Clear();
10601
2.25k
}
10602
10603
bool IsLoadBalancerIdleRequestPB::MergePartialFromCodedStream(
10604
2.25k
    ::google::protobuf::io::CodedInputStream* input) {
10605
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
10606
2.25k
  ::google::protobuf::uint32 tag;
10607
  // @@protoc_insertion_point(parse_start:yb.master.IsLoadBalancerIdleRequestPB)
10608
2.25k
  for (;;) {
10609
2.25k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10610
2.25k
    tag = p.first;
10611
2.25k
    if (!p.second) goto handle_unusual;
10612
2.25k
  handle_unusual:
10613
2.25k
    if (tag == 0) {
10614
2.25k
      goto success;
10615
2.25k
    }
10616
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
10617
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
10618
0
  }
10619
2.25k
success:
10620
  // @@protoc_insertion_point(parse_success:yb.master.IsLoadBalancerIdleRequestPB)
10621
2.25k
  return true;
10622
0
failure:
10623
  // @@protoc_insertion_point(parse_failure:yb.master.IsLoadBalancerIdleRequestPB)
10624
0
  return false;
10625
2.25k
#undef DO_
10626
2.25k
}
10627
10628
void IsLoadBalancerIdleRequestPB::SerializeWithCachedSizes(
10629
0
    ::google::protobuf::io::CodedOutputStream* output) const {
10630
  // @@protoc_insertion_point(serialize_start:yb.master.IsLoadBalancerIdleRequestPB)
10631
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10632
0
  (void) cached_has_bits;
10633
10634
0
  if (_internal_metadata_.have_unknown_fields()) {
10635
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10636
0
        _internal_metadata_.unknown_fields(), output);
10637
0
  }
10638
  // @@protoc_insertion_point(serialize_end:yb.master.IsLoadBalancerIdleRequestPB)
10639
0
}
10640
10641
::google::protobuf::uint8* IsLoadBalancerIdleRequestPB::InternalSerializeWithCachedSizesToArray(
10642
2.27k
    bool deterministic, ::google::protobuf::uint8* target) const {
10643
2.27k
  (void)deterministic; // Unused
10644
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.IsLoadBalancerIdleRequestPB)
10645
2.27k
  ::google::protobuf::uint32 cached_has_bits = 0;
10646
2.27k
  (void) cached_has_bits;
10647
10648
2.27k
  if (_internal_metadata_.have_unknown_fields()) {
10649
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
10650
0
        _internal_metadata_.unknown_fields(), target);
10651
0
  }
10652
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.IsLoadBalancerIdleRequestPB)
10653
2.27k
  return target;
10654
2.27k
}
10655
10656
4.54k
size_t IsLoadBalancerIdleRequestPB::ByteSizeLong() const {
10657
// @@protoc_insertion_point(message_byte_size_start:yb.master.IsLoadBalancerIdleRequestPB)
10658
4.54k
  size_t total_size = 0;
10659
10660
4.54k
  if (_internal_metadata_.have_unknown_fields()) {
10661
0
    total_size +=
10662
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
10663
0
        _internal_metadata_.unknown_fields());
10664
0
  }
10665
4.54k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
10666
4.54k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10667
4.54k
  _cached_size_ = cached_size;
10668
4.54k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10669
4.54k
  return total_size;
10670
4.54k
}
10671
10672
0
void IsLoadBalancerIdleRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
10673
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.IsLoadBalancerIdleRequestPB)
10674
0
  GOOGLE_DCHECK_NE(&from, this);
10675
0
  const IsLoadBalancerIdleRequestPB* source =
10676
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsLoadBalancerIdleRequestPB>(
10677
0
          &from);
10678
0
  if (source == NULL) {
10679
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.IsLoadBalancerIdleRequestPB)
10680
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
10681
0
  } else {
10682
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.IsLoadBalancerIdleRequestPB)
10683
0
    MergeFrom(*source);
10684
0
  }
10685
0
}
10686
10687
0
void IsLoadBalancerIdleRequestPB::MergeFrom(const IsLoadBalancerIdleRequestPB& from) {
10688
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.IsLoadBalancerIdleRequestPB)
10689
0
  GOOGLE_DCHECK_NE(&from, this);
10690
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10691
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10692
0
  (void) cached_has_bits;
10693
10694
0
}
10695
10696
0
void IsLoadBalancerIdleRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
10697
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.IsLoadBalancerIdleRequestPB)
10698
0
  if (&from == this) return;
10699
0
  Clear();
10700
0
  MergeFrom(from);
10701
0
}
10702
10703
0
void IsLoadBalancerIdleRequestPB::CopyFrom(const IsLoadBalancerIdleRequestPB& from) {
10704
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.IsLoadBalancerIdleRequestPB)
10705
0
  if (&from == this) return;
10706
0
  Clear();
10707
0
  MergeFrom(from);
10708
0
}
10709
10710
4.52k
bool IsLoadBalancerIdleRequestPB::IsInitialized() const {
10711
4.52k
  return true;
10712
4.52k
}
10713
10714
0
void IsLoadBalancerIdleRequestPB::Swap(IsLoadBalancerIdleRequestPB* other) {
10715
0
  if (other == this) return;
10716
0
  InternalSwap(other);
10717
0
}
10718
0
void IsLoadBalancerIdleRequestPB::InternalSwap(IsLoadBalancerIdleRequestPB* other) {
10719
0
  using std::swap;
10720
0
  swap(_has_bits_[0], other->_has_bits_[0]);
10721
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
10722
0
  swap(_cached_size_, other->_cached_size_);
10723
0
}
10724
10725
2.25k
::google::protobuf::Metadata IsLoadBalancerIdleRequestPB::GetMetadata() const {
10726
2.25k
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
10727
2.25k
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
10728
2.25k
}
10729
10730
10731
// ===================================================================
10732
10733
15.8k
void IsLoadBalancerIdleResponsePB::InitAsDefaultInstance() {
10734
15.8k
  ::yb::master::_IsLoadBalancerIdleResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
10735
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
10736
15.8k
}
10737
0
void IsLoadBalancerIdleResponsePB::clear_error() {
10738
0
  if (error_ != NULL) error_->Clear();
10739
0
  clear_has_error();
10740
0
}
10741
#if !defined(_MSC_VER) || _MSC_VER >= 1900
10742
const int IsLoadBalancerIdleResponsePB::kErrorFieldNumber;
10743
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
10744
10745
IsLoadBalancerIdleResponsePB::IsLoadBalancerIdleResponsePB()
10746
20.3k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
10747
4.52k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
10748
4.52k
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsIsLoadBalancerIdleResponsePB();
10749
4.52k
  }
10750
20.3k
  SharedCtor();
10751
  // @@protoc_insertion_point(constructor:yb.master.IsLoadBalancerIdleResponsePB)
10752
20.3k
}
10753
IsLoadBalancerIdleResponsePB::IsLoadBalancerIdleResponsePB(const IsLoadBalancerIdleResponsePB& from)
10754
  : ::google::protobuf::Message(),
10755
      _internal_metadata_(NULL),
10756
      _has_bits_(from._has_bits_),
10757
0
      _cached_size_(0) {
10758
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10759
0
  if (from.has_error()) {
10760
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
10761
0
  } else {
10762
0
    error_ = NULL;
10763
0
  }
10764
  // @@protoc_insertion_point(copy_constructor:yb.master.IsLoadBalancerIdleResponsePB)
10765
0
}
10766
10767
20.3k
void IsLoadBalancerIdleResponsePB::SharedCtor() {
10768
20.3k
  _cached_size_ = 0;
10769
20.3k
  error_ = NULL;
10770
20.3k
}
10771
10772
4.52k
IsLoadBalancerIdleResponsePB::~IsLoadBalancerIdleResponsePB() {
10773
  // @@protoc_insertion_point(destructor:yb.master.IsLoadBalancerIdleResponsePB)
10774
4.52k
  SharedDtor();
10775
4.52k
}
10776
10777
4.52k
void IsLoadBalancerIdleResponsePB::SharedDtor() {
10778
4.52k
  if (this != internal_default_instance()) delete error_;
10779
4.52k
}
10780
10781
0
void IsLoadBalancerIdleResponsePB::SetCachedSize(int size) const {
10782
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10783
0
  _cached_size_ = size;
10784
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10785
0
}
10786
0
const ::google::protobuf::Descriptor* IsLoadBalancerIdleResponsePB::descriptor() {
10787
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
10788
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
10789
0
}
10790
10791
0
const IsLoadBalancerIdleResponsePB& IsLoadBalancerIdleResponsePB::default_instance() {
10792
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsIsLoadBalancerIdleResponsePB();
10793
0
  return *internal_default_instance();
10794
0
}
10795
10796
0
IsLoadBalancerIdleResponsePB* IsLoadBalancerIdleResponsePB::New(::google::protobuf::Arena* arena) const {
10797
0
  IsLoadBalancerIdleResponsePB* n = new IsLoadBalancerIdleResponsePB;
10798
0
  if (arena != NULL) {
10799
0
    arena->Own(n);
10800
0
  }
10801
0
  return n;
10802
0
}
10803
10804
2.27k
void IsLoadBalancerIdleResponsePB::Clear() {
10805
// @@protoc_insertion_point(message_clear_start:yb.master.IsLoadBalancerIdleResponsePB)
10806
2.27k
  ::google::protobuf::uint32 cached_has_bits = 0;
10807
  // Prevent compiler warnings about cached_has_bits being unused
10808
2.27k
  (void) cached_has_bits;
10809
10810
2.27k
  cached_has_bits = _has_bits_[0];
10811
2.27k
  if (cached_has_bits & 0x00000001u) {
10812
0
    GOOGLE_DCHECK(error_ != NULL);
10813
0
    error_->Clear();
10814
0
  }
10815
2.27k
  _has_bits_.Clear();
10816
2.27k
  _internal_metadata_.Clear();
10817
2.27k
}
10818
10819
bool IsLoadBalancerIdleResponsePB::MergePartialFromCodedStream(
10820
2.27k
    ::google::protobuf::io::CodedInputStream* input) {
10821
1.73k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
10822
2.27k
  ::google::protobuf::uint32 tag;
10823
  // @@protoc_insertion_point(parse_start:yb.master.IsLoadBalancerIdleResponsePB)
10824
4.00k
  for (;;) {
10825
4.00k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10826
4.00k
    tag = p.first;
10827
4.00k
    if (!p.second) goto handle_unusual;
10828
1.73k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10829
      // optional .yb.master.MasterErrorPB error = 1;
10830
1.73k
      case 1: {
10831
1.73k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10832
1.73k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
10833
1.73k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
10834
1.73k
               input, mutable_error()));
10835
0
        } else {
10836
0
          goto handle_unusual;
10837
0
        }
10838
1.73k
        break;
10839
2.27k
      }
10840
10841
0
      default: {
10842
2.27k
      handle_unusual:
10843
2.27k
        if (tag == 0) {
10844
2.27k
          goto success;
10845
2.27k
        }
10846
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
10847
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
10848
0
        break;
10849
0
      }
10850
1.73k
    }
10851
1.73k
  }
10852
2.27k
success:
10853
  // @@protoc_insertion_point(parse_success:yb.master.IsLoadBalancerIdleResponsePB)
10854
2.27k
  return true;
10855
0
failure:
10856
  // @@protoc_insertion_point(parse_failure:yb.master.IsLoadBalancerIdleResponsePB)
10857
0
  return false;
10858
2.27k
#undef DO_
10859
2.27k
}
10860
10861
void IsLoadBalancerIdleResponsePB::SerializeWithCachedSizes(
10862
0
    ::google::protobuf::io::CodedOutputStream* output) const {
10863
  // @@protoc_insertion_point(serialize_start:yb.master.IsLoadBalancerIdleResponsePB)
10864
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10865
0
  (void) cached_has_bits;
10866
10867
0
  cached_has_bits = _has_bits_[0];
10868
  // optional .yb.master.MasterErrorPB error = 1;
10869
0
  if (cached_has_bits & 0x00000001u) {
10870
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
10871
0
      1, *this->error_, output);
10872
0
  }
10873
10874
0
  if (_internal_metadata_.have_unknown_fields()) {
10875
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10876
0
        _internal_metadata_.unknown_fields(), output);
10877
0
  }
10878
  // @@protoc_insertion_point(serialize_end:yb.master.IsLoadBalancerIdleResponsePB)
10879
0
}
10880
10881
::google::protobuf::uint8* IsLoadBalancerIdleResponsePB::InternalSerializeWithCachedSizesToArray(
10882
2.25k
    bool deterministic, ::google::protobuf::uint8* target) const {
10883
2.25k
  (void)deterministic; // Unused
10884
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.IsLoadBalancerIdleResponsePB)
10885
2.25k
  ::google::protobuf::uint32 cached_has_bits = 0;
10886
2.25k
  (void) cached_has_bits;
10887
10888
2.25k
  cached_has_bits = _has_bits_[0];
10889
  // optional .yb.master.MasterErrorPB error = 1;
10890
2.25k
  if (cached_has_bits & 0x00000001u) {
10891
1.72k
    target = ::google::protobuf::internal::WireFormatLite::
10892
1.72k
      InternalWriteMessageToArray(
10893
1.72k
        1, *this->error_, deterministic, target);
10894
1.72k
  }
10895
10896
2.25k
  if (_internal_metadata_.have_unknown_fields()) {
10897
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
10898
0
        _internal_metadata_.unknown_fields(), target);
10899
0
  }
10900
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.IsLoadBalancerIdleResponsePB)
10901
2.25k
  return target;
10902
2.25k
}
10903
10904
4.51k
size_t IsLoadBalancerIdleResponsePB::ByteSizeLong() const {
10905
// @@protoc_insertion_point(message_byte_size_start:yb.master.IsLoadBalancerIdleResponsePB)
10906
4.51k
  size_t total_size = 0;
10907
10908
4.51k
  if (_internal_metadata_.have_unknown_fields()) {
10909
0
    total_size +=
10910
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
10911
0
        _internal_metadata_.unknown_fields());
10912
0
  }
10913
  // optional .yb.master.MasterErrorPB error = 1;
10914
4.51k
  if (has_error()) {
10915
3.45k
    total_size += 1 +
10916
3.45k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
10917
3.45k
        *this->error_);
10918
3.45k
  }
10919
10920
4.51k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
10921
4.51k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10922
4.51k
  _cached_size_ = cached_size;
10923
4.51k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10924
4.51k
  return total_size;
10925
4.51k
}
10926
10927
0
void IsLoadBalancerIdleResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
10928
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.IsLoadBalancerIdleResponsePB)
10929
0
  GOOGLE_DCHECK_NE(&from, this);
10930
0
  const IsLoadBalancerIdleResponsePB* source =
10931
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsLoadBalancerIdleResponsePB>(
10932
0
          &from);
10933
0
  if (source == NULL) {
10934
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.IsLoadBalancerIdleResponsePB)
10935
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
10936
0
  } else {
10937
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.IsLoadBalancerIdleResponsePB)
10938
0
    MergeFrom(*source);
10939
0
  }
10940
0
}
10941
10942
0
void IsLoadBalancerIdleResponsePB::MergeFrom(const IsLoadBalancerIdleResponsePB& from) {
10943
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.IsLoadBalancerIdleResponsePB)
10944
0
  GOOGLE_DCHECK_NE(&from, this);
10945
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10946
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10947
0
  (void) cached_has_bits;
10948
10949
0
  if (from.has_error()) {
10950
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
10951
0
  }
10952
0
}
10953
10954
0
void IsLoadBalancerIdleResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
10955
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.IsLoadBalancerIdleResponsePB)
10956
0
  if (&from == this) return;
10957
0
  Clear();
10958
0
  MergeFrom(from);
10959
0
}
10960
10961
0
void IsLoadBalancerIdleResponsePB::CopyFrom(const IsLoadBalancerIdleResponsePB& from) {
10962
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.IsLoadBalancerIdleResponsePB)
10963
0
  if (&from == this) return;
10964
0
  Clear();
10965
0
  MergeFrom(from);
10966
0
}
10967
10968
4.52k
bool IsLoadBalancerIdleResponsePB::IsInitialized() const {
10969
4.52k
  if (has_error()) {
10970
3.45k
    if (!this->error_->IsInitialized()) return false;
10971
4.52k
  }
10972
4.52k
  return true;
10973
4.52k
}
10974
10975
0
void IsLoadBalancerIdleResponsePB::Swap(IsLoadBalancerIdleResponsePB* other) {
10976
0
  if (other == this) return;
10977
0
  InternalSwap(other);
10978
0
}
10979
0
void IsLoadBalancerIdleResponsePB::InternalSwap(IsLoadBalancerIdleResponsePB* other) {
10980
0
  using std::swap;
10981
0
  swap(error_, other->error_);
10982
0
  swap(_has_bits_[0], other->_has_bits_[0]);
10983
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
10984
0
  swap(_cached_size_, other->_cached_size_);
10985
0
}
10986
10987
0
::google::protobuf::Metadata IsLoadBalancerIdleResponsePB::GetMetadata() const {
10988
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
10989
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
10990
0
}
10991
10992
10993
// ===================================================================
10994
10995
15.8k
void AreLeadersOnPreferredOnlyRequestPB::InitAsDefaultInstance() {
10996
15.8k
}
10997
#if !defined(_MSC_VER) || _MSC_VER >= 1900
10998
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
10999
11000
AreLeadersOnPreferredOnlyRequestPB::AreLeadersOnPreferredOnlyRequestPB()
11001
16.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
11002
268
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
11003
268
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsAreLeadersOnPreferredOnlyRequestPB();
11004
268
  }
11005
16.1k
  SharedCtor();
11006
  // @@protoc_insertion_point(constructor:yb.master.AreLeadersOnPreferredOnlyRequestPB)
11007
16.1k
}
11008
AreLeadersOnPreferredOnlyRequestPB::AreLeadersOnPreferredOnlyRequestPB(const AreLeadersOnPreferredOnlyRequestPB& from)
11009
  : ::google::protobuf::Message(),
11010
      _internal_metadata_(NULL),
11011
      _has_bits_(from._has_bits_),
11012
0
      _cached_size_(0) {
11013
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11014
  // @@protoc_insertion_point(copy_constructor:yb.master.AreLeadersOnPreferredOnlyRequestPB)
11015
0
}
11016
11017
16.1k
void AreLeadersOnPreferredOnlyRequestPB::SharedCtor() {
11018
16.1k
  _cached_size_ = 0;
11019
16.1k
}
11020
11021
268
AreLeadersOnPreferredOnlyRequestPB::~AreLeadersOnPreferredOnlyRequestPB() {
11022
  // @@protoc_insertion_point(destructor:yb.master.AreLeadersOnPreferredOnlyRequestPB)
11023
268
  SharedDtor();
11024
268
}
11025
11026
268
void AreLeadersOnPreferredOnlyRequestPB::SharedDtor() {
11027
268
}
11028
11029
0
void AreLeadersOnPreferredOnlyRequestPB::SetCachedSize(int size) const {
11030
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11031
0
  _cached_size_ = size;
11032
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11033
0
}
11034
0
const ::google::protobuf::Descriptor* AreLeadersOnPreferredOnlyRequestPB::descriptor() {
11035
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
11036
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
11037
0
}
11038
11039
0
const AreLeadersOnPreferredOnlyRequestPB& AreLeadersOnPreferredOnlyRequestPB::default_instance() {
11040
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsAreLeadersOnPreferredOnlyRequestPB();
11041
0
  return *internal_default_instance();
11042
0
}
11043
11044
0
AreLeadersOnPreferredOnlyRequestPB* AreLeadersOnPreferredOnlyRequestPB::New(::google::protobuf::Arena* arena) const {
11045
0
  AreLeadersOnPreferredOnlyRequestPB* n = new AreLeadersOnPreferredOnlyRequestPB;
11046
0
  if (arena != NULL) {
11047
0
    arena->Own(n);
11048
0
  }
11049
0
  return n;
11050
0
}
11051
11052
153
void AreLeadersOnPreferredOnlyRequestPB::Clear() {
11053
// @@protoc_insertion_point(message_clear_start:yb.master.AreLeadersOnPreferredOnlyRequestPB)
11054
153
  ::google::protobuf::uint32 cached_has_bits = 0;
11055
  // Prevent compiler warnings about cached_has_bits being unused
11056
153
  (void) cached_has_bits;
11057
11058
153
  _has_bits_.Clear();
11059
153
  _internal_metadata_.Clear();
11060
153
}
11061
11062
bool AreLeadersOnPreferredOnlyRequestPB::MergePartialFromCodedStream(
11063
153
    ::google::protobuf::io::CodedInputStream* input) {
11064
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
11065
153
  ::google::protobuf::uint32 tag;
11066
  // @@protoc_insertion_point(parse_start:yb.master.AreLeadersOnPreferredOnlyRequestPB)
11067
153
  for (;;) {
11068
153
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
11069
153
    tag = p.first;
11070
153
    if (!p.second) goto handle_unusual;
11071
153
  handle_unusual:
11072
153
    if (tag == 0) {
11073
153
      goto success;
11074
153
    }
11075
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
11076
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
11077
0
  }
11078
153
success:
11079
  // @@protoc_insertion_point(parse_success:yb.master.AreLeadersOnPreferredOnlyRequestPB)
11080
153
  return true;
11081
0
failure:
11082
  // @@protoc_insertion_point(parse_failure:yb.master.AreLeadersOnPreferredOnlyRequestPB)
11083
0
  return false;
11084
153
#undef DO_
11085
153
}
11086
11087
void AreLeadersOnPreferredOnlyRequestPB::SerializeWithCachedSizes(
11088
0
    ::google::protobuf::io::CodedOutputStream* output) const {
11089
  // @@protoc_insertion_point(serialize_start:yb.master.AreLeadersOnPreferredOnlyRequestPB)
11090
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11091
0
  (void) cached_has_bits;
11092
11093
0
  if (_internal_metadata_.have_unknown_fields()) {
11094
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
11095
0
        _internal_metadata_.unknown_fields(), output);
11096
0
  }
11097
  // @@protoc_insertion_point(serialize_end:yb.master.AreLeadersOnPreferredOnlyRequestPB)
11098
0
}
11099
11100
::google::protobuf::uint8* AreLeadersOnPreferredOnlyRequestPB::InternalSerializeWithCachedSizesToArray(
11101
115
    bool deterministic, ::google::protobuf::uint8* target) const {
11102
115
  (void)deterministic; // Unused
11103
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.AreLeadersOnPreferredOnlyRequestPB)
11104
115
  ::google::protobuf::uint32 cached_has_bits = 0;
11105
115
  (void) cached_has_bits;
11106
11107
115
  if (_internal_metadata_.have_unknown_fields()) {
11108
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
11109
0
        _internal_metadata_.unknown_fields(), target);
11110
0
  }
11111
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.AreLeadersOnPreferredOnlyRequestPB)
11112
115
  return target;
11113
115
}
11114
11115
230
size_t AreLeadersOnPreferredOnlyRequestPB::ByteSizeLong() const {
11116
// @@protoc_insertion_point(message_byte_size_start:yb.master.AreLeadersOnPreferredOnlyRequestPB)
11117
230
  size_t total_size = 0;
11118
11119
230
  if (_internal_metadata_.have_unknown_fields()) {
11120
0
    total_size +=
11121
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
11122
0
        _internal_metadata_.unknown_fields());
11123
0
  }
11124
230
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
11125
230
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11126
230
  _cached_size_ = cached_size;
11127
230
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11128
230
  return total_size;
11129
230
}
11130
11131
0
void AreLeadersOnPreferredOnlyRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
11132
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.AreLeadersOnPreferredOnlyRequestPB)
11133
0
  GOOGLE_DCHECK_NE(&from, this);
11134
0
  const AreLeadersOnPreferredOnlyRequestPB* source =
11135
0
      ::google::protobuf::internal::DynamicCastToGenerated<const AreLeadersOnPreferredOnlyRequestPB>(
11136
0
          &from);
11137
0
  if (source == NULL) {
11138
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.AreLeadersOnPreferredOnlyRequestPB)
11139
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
11140
0
  } else {
11141
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.AreLeadersOnPreferredOnlyRequestPB)
11142
0
    MergeFrom(*source);
11143
0
  }
11144
0
}
11145
11146
0
void AreLeadersOnPreferredOnlyRequestPB::MergeFrom(const AreLeadersOnPreferredOnlyRequestPB& from) {
11147
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.AreLeadersOnPreferredOnlyRequestPB)
11148
0
  GOOGLE_DCHECK_NE(&from, this);
11149
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11150
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11151
0
  (void) cached_has_bits;
11152
11153
0
}
11154
11155
0
void AreLeadersOnPreferredOnlyRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
11156
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.AreLeadersOnPreferredOnlyRequestPB)
11157
0
  if (&from == this) return;
11158
0
  Clear();
11159
0
  MergeFrom(from);
11160
0
}
11161
11162
0
void AreLeadersOnPreferredOnlyRequestPB::CopyFrom(const AreLeadersOnPreferredOnlyRequestPB& from) {
11163
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.AreLeadersOnPreferredOnlyRequestPB)
11164
0
  if (&from == this) return;
11165
0
  Clear();
11166
0
  MergeFrom(from);
11167
0
}
11168
11169
268
bool AreLeadersOnPreferredOnlyRequestPB::IsInitialized() const {
11170
268
  return true;
11171
268
}
11172
11173
0
void AreLeadersOnPreferredOnlyRequestPB::Swap(AreLeadersOnPreferredOnlyRequestPB* other) {
11174
0
  if (other == this) return;
11175
0
  InternalSwap(other);
11176
0
}
11177
0
void AreLeadersOnPreferredOnlyRequestPB::InternalSwap(AreLeadersOnPreferredOnlyRequestPB* other) {
11178
0
  using std::swap;
11179
0
  swap(_has_bits_[0], other->_has_bits_[0]);
11180
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
11181
0
  swap(_cached_size_, other->_cached_size_);
11182
0
}
11183
11184
153
::google::protobuf::Metadata AreLeadersOnPreferredOnlyRequestPB::GetMetadata() const {
11185
153
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
11186
153
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
11187
153
}
11188
11189
11190
// ===================================================================
11191
11192
15.8k
void AreLeadersOnPreferredOnlyResponsePB::InitAsDefaultInstance() {
11193
15.8k
  ::yb::master::_AreLeadersOnPreferredOnlyResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
11194
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
11195
15.8k
}
11196
0
void AreLeadersOnPreferredOnlyResponsePB::clear_error() {
11197
0
  if (error_ != NULL) error_->Clear();
11198
0
  clear_has_error();
11199
0
}
11200
#if !defined(_MSC_VER) || _MSC_VER >= 1900
11201
const int AreLeadersOnPreferredOnlyResponsePB::kErrorFieldNumber;
11202
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
11203
11204
AreLeadersOnPreferredOnlyResponsePB::AreLeadersOnPreferredOnlyResponsePB()
11205
16.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
11206
268
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
11207
268
    ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsAreLeadersOnPreferredOnlyResponsePB();
11208
268
  }
11209
16.1k
  SharedCtor();
11210
  // @@protoc_insertion_point(constructor:yb.master.AreLeadersOnPreferredOnlyResponsePB)
11211
16.1k
}
11212
AreLeadersOnPreferredOnlyResponsePB::AreLeadersOnPreferredOnlyResponsePB(const AreLeadersOnPreferredOnlyResponsePB& from)
11213
  : ::google::protobuf::Message(),
11214
      _internal_metadata_(NULL),
11215
      _has_bits_(from._has_bits_),
11216
0
      _cached_size_(0) {
11217
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11218
0
  if (from.has_error()) {
11219
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
11220
0
  } else {
11221
0
    error_ = NULL;
11222
0
  }
11223
  // @@protoc_insertion_point(copy_constructor:yb.master.AreLeadersOnPreferredOnlyResponsePB)
11224
0
}
11225
11226
16.1k
void AreLeadersOnPreferredOnlyResponsePB::SharedCtor() {
11227
16.1k
  _cached_size_ = 0;
11228
16.1k
  error_ = NULL;
11229
16.1k
}
11230
11231
268
AreLeadersOnPreferredOnlyResponsePB::~AreLeadersOnPreferredOnlyResponsePB() {
11232
  // @@protoc_insertion_point(destructor:yb.master.AreLeadersOnPreferredOnlyResponsePB)
11233
268
  SharedDtor();
11234
268
}
11235
11236
268
void AreLeadersOnPreferredOnlyResponsePB::SharedDtor() {
11237
268
  if (this != internal_default_instance()) delete error_;
11238
268
}
11239
11240
0
void AreLeadersOnPreferredOnlyResponsePB::SetCachedSize(int size) const {
11241
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11242
0
  _cached_size_ = size;
11243
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11244
0
}
11245
0
const ::google::protobuf::Descriptor* AreLeadersOnPreferredOnlyResponsePB::descriptor() {
11246
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
11247
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
11248
0
}
11249
11250
0
const AreLeadersOnPreferredOnlyResponsePB& AreLeadersOnPreferredOnlyResponsePB::default_instance() {
11251
0
  ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsAreLeadersOnPreferredOnlyResponsePB();
11252
0
  return *internal_default_instance();
11253
0
}
11254
11255
0
AreLeadersOnPreferredOnlyResponsePB* AreLeadersOnPreferredOnlyResponsePB::New(::google::protobuf::Arena* arena) const {
11256
0
  AreLeadersOnPreferredOnlyResponsePB* n = new AreLeadersOnPreferredOnlyResponsePB;
11257
0
  if (arena != NULL) {
11258
0
    arena->Own(n);
11259
0
  }
11260
0
  return n;
11261
0
}
11262
11263
115
void AreLeadersOnPreferredOnlyResponsePB::Clear() {
11264
// @@protoc_insertion_point(message_clear_start:yb.master.AreLeadersOnPreferredOnlyResponsePB)
11265
115
  ::google::protobuf::uint32 cached_has_bits = 0;
11266
  // Prevent compiler warnings about cached_has_bits being unused
11267
115
  (void) cached_has_bits;
11268
11269
115
  cached_has_bits = _has_bits_[0];
11270
115
  if (cached_has_bits & 0x00000001u) {
11271
0
    GOOGLE_DCHECK(error_ != NULL);
11272
0
    error_->Clear();
11273
0
  }
11274
115
  _has_bits_.Clear();
11275
115
  _internal_metadata_.Clear();
11276
115
}
11277
11278
bool AreLeadersOnPreferredOnlyResponsePB::MergePartialFromCodedStream(
11279
115
    ::google::protobuf::io::CodedInputStream* input) {
11280
113
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
11281
115
  ::google::protobuf::uint32 tag;
11282
  // @@protoc_insertion_point(parse_start:yb.master.AreLeadersOnPreferredOnlyResponsePB)
11283
228
  for (;;) {
11284
228
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
11285
228
    tag = p.first;
11286
228
    if (!p.second) goto handle_unusual;
11287
113
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
11288
      // optional .yb.master.MasterErrorPB error = 1;
11289
113
      case 1: {
11290
113
        if (static_cast< ::google::protobuf::uint8>(tag) ==
11291
113
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
11292
113
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
11293
113
               input, mutable_error()));
11294
0
        } else {
11295
0
          goto handle_unusual;
11296
0
        }
11297
113
        break;
11298
115
      }
11299
11300
0
      default: {
11301
115
      handle_unusual:
11302
115
        if (tag == 0) {
11303
115
          goto success;
11304
115
        }
11305
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
11306
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
11307
0
        break;
11308
0
      }
11309
113
    }
11310
113
  }
11311
115
success:
11312
  // @@protoc_insertion_point(parse_success:yb.master.AreLeadersOnPreferredOnlyResponsePB)
11313
115
  return true;
11314
0
failure:
11315
  // @@protoc_insertion_point(parse_failure:yb.master.AreLeadersOnPreferredOnlyResponsePB)
11316
0
  return false;
11317
115
#undef DO_
11318
115
}
11319
11320
void AreLeadersOnPreferredOnlyResponsePB::SerializeWithCachedSizes(
11321
0
    ::google::protobuf::io::CodedOutputStream* output) const {
11322
  // @@protoc_insertion_point(serialize_start:yb.master.AreLeadersOnPreferredOnlyResponsePB)
11323
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11324
0
  (void) cached_has_bits;
11325
11326
0
  cached_has_bits = _has_bits_[0];
11327
  // optional .yb.master.MasterErrorPB error = 1;
11328
0
  if (cached_has_bits & 0x00000001u) {
11329
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
11330
0
      1, *this->error_, output);
11331
0
  }
11332
11333
0
  if (_internal_metadata_.have_unknown_fields()) {
11334
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
11335
0
        _internal_metadata_.unknown_fields(), output);
11336
0
  }
11337
  // @@protoc_insertion_point(serialize_end:yb.master.AreLeadersOnPreferredOnlyResponsePB)
11338
0
}
11339
11340
::google::protobuf::uint8* AreLeadersOnPreferredOnlyResponsePB::InternalSerializeWithCachedSizesToArray(
11341
153
    bool deterministic, ::google::protobuf::uint8* target) const {
11342
153
  (void)deterministic; // Unused
11343
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.AreLeadersOnPreferredOnlyResponsePB)
11344
153
  ::google::protobuf::uint32 cached_has_bits = 0;
11345
153
  (void) cached_has_bits;
11346
11347
153
  cached_has_bits = _has_bits_[0];
11348
  // optional .yb.master.MasterErrorPB error = 1;
11349
153
  if (cached_has_bits & 0x00000001u) {
11350
138
    target = ::google::protobuf::internal::WireFormatLite::
11351
138
      InternalWriteMessageToArray(
11352
138
        1, *this->error_, deterministic, target);
11353
138
  }
11354
11355
153
  if (_internal_metadata_.have_unknown_fields()) {
11356
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
11357
0
        _internal_metadata_.unknown_fields(), target);
11358
0
  }
11359
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.AreLeadersOnPreferredOnlyResponsePB)
11360
153
  return target;
11361
153
}
11362
11363
306
size_t AreLeadersOnPreferredOnlyResponsePB::ByteSizeLong() const {
11364
// @@protoc_insertion_point(message_byte_size_start:yb.master.AreLeadersOnPreferredOnlyResponsePB)
11365
306
  size_t total_size = 0;
11366
11367
306
  if (_internal_metadata_.have_unknown_fields()) {
11368
0
    total_size +=
11369
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
11370
0
        _internal_metadata_.unknown_fields());
11371
0
  }
11372
  // optional .yb.master.MasterErrorPB error = 1;
11373
306
  if (has_error()) {
11374
276
    total_size += 1 +
11375
276
      ::google::protobuf::internal::WireFormatLite::MessageSize(
11376
276
        *this->error_);
11377
276
  }
11378
11379
306
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
11380
306
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11381
306
  _cached_size_ = cached_size;
11382
306
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11383
306
  return total_size;
11384
306
}
11385
11386
0
void AreLeadersOnPreferredOnlyResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
11387
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.AreLeadersOnPreferredOnlyResponsePB)
11388
0
  GOOGLE_DCHECK_NE(&from, this);
11389
0
  const AreLeadersOnPreferredOnlyResponsePB* source =
11390
0
      ::google::protobuf::internal::DynamicCastToGenerated<const AreLeadersOnPreferredOnlyResponsePB>(
11391
0
          &from);
11392
0
  if (source == NULL) {
11393
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.AreLeadersOnPreferredOnlyResponsePB)
11394
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
11395
0
  } else {
11396
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.AreLeadersOnPreferredOnlyResponsePB)
11397
0
    MergeFrom(*source);
11398
0
  }
11399
0
}
11400
11401
0
void AreLeadersOnPreferredOnlyResponsePB::MergeFrom(const AreLeadersOnPreferredOnlyResponsePB& from) {
11402
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.AreLeadersOnPreferredOnlyResponsePB)
11403
0
  GOOGLE_DCHECK_NE(&from, this);
11404
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11405
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11406
0
  (void) cached_has_bits;
11407
11408
0
  if (from.has_error()) {
11409
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
11410
0
  }
11411
0
}
11412
11413
0
void AreLeadersOnPreferredOnlyResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
11414
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.AreLeadersOnPreferredOnlyResponsePB)
11415
0
  if (&from == this) return;
11416
0
  Clear();
11417
0
  MergeFrom(from);
11418
0
}
11419
11420
0
void AreLeadersOnPreferredOnlyResponsePB::CopyFrom(const AreLeadersOnPreferredOnlyResponsePB& from) {
11421
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.AreLeadersOnPreferredOnlyResponsePB)
11422
0
  if (&from == this) return;
11423
0
  Clear();
11424
0
  MergeFrom(from);
11425
0
}
11426
11427
268
bool AreLeadersOnPreferredOnlyResponsePB::IsInitialized() const {
11428
268
  if (has_error()) {
11429
251
    if (!this->error_->IsInitialized()) return false;
11430
268
  }
11431
268
  return true;
11432
268
}
11433
11434
0
void AreLeadersOnPreferredOnlyResponsePB::Swap(AreLeadersOnPreferredOnlyResponsePB* other) {
11435
0
  if (other == this) return;
11436
0
  InternalSwap(other);
11437
0
}
11438
0
void AreLeadersOnPreferredOnlyResponsePB::InternalSwap(AreLeadersOnPreferredOnlyResponsePB* other) {
11439
0
  using std::swap;
11440
0
  swap(error_, other->error_);
11441
0
  swap(_has_bits_[0], other->_has_bits_[0]);
11442
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
11443
0
  swap(_cached_size_, other->_cached_size_);
11444
0
}
11445
11446
0
::google::protobuf::Metadata AreLeadersOnPreferredOnlyResponsePB::GetMetadata() const {
11447
0
  protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::protobuf_AssignDescriptorsOnce();
11448
0
  return ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::file_level_metadata[kIndexInFileMessages];
11449
0
}
11450
11451
11452
// @@protoc_insertion_point(namespace_scope)
11453
}  // namespace master
11454
}  // namespace yb
11455
11456
// @@protoc_insertion_point(global_scope)