YugabyteDB (2.13.1.0-b60, 21121d69985fbf76aa6958d8f04a9bfa936293b5)

Coverage Report

Created: 2022-03-22 16:43

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/master/catalog_entity_info.pb.cc
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: yb/master/catalog_entity_info.proto
3
4
#include "yb/master/catalog_entity_info.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 PlacementBlockPBDefaultTypeInternal {
26
 public:
27
  ::google::protobuf::internal::ExplicitlyConstructed<PlacementBlockPB>
28
      _instance;
29
} _PlacementBlockPB_default_instance_;
30
class PlacementInfoPBDefaultTypeInternal {
31
 public:
32
  ::google::protobuf::internal::ExplicitlyConstructed<PlacementInfoPB>
33
      _instance;
34
} _PlacementInfoPB_default_instance_;
35
class ReplicationInfoPBDefaultTypeInternal {
36
 public:
37
  ::google::protobuf::internal::ExplicitlyConstructed<ReplicationInfoPB>
38
      _instance;
39
} _ReplicationInfoPB_default_instance_;
40
class BackfillJobPB_BackfillStateEntry_DoNotUseDefaultTypeInternal {
41
 public:
42
  ::google::protobuf::internal::ExplicitlyConstructed<BackfillJobPB_BackfillStateEntry_DoNotUse>
43
      _instance;
44
} _BackfillJobPB_BackfillStateEntry_DoNotUse_default_instance_;
45
class BackfillJobPBDefaultTypeInternal {
46
 public:
47
  ::google::protobuf::internal::ExplicitlyConstructed<BackfillJobPB>
48
      _instance;
49
} _BackfillJobPB_default_instance_;
50
class SysTablesEntryPBDefaultTypeInternal {
51
 public:
52
  ::google::protobuf::internal::ExplicitlyConstructed<SysTablesEntryPB>
53
      _instance;
54
} _SysTablesEntryPB_default_instance_;
55
class SysTabletsEntryPB_BackfilledUntilEntry_DoNotUseDefaultTypeInternal {
56
 public:
57
  ::google::protobuf::internal::ExplicitlyConstructed<SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse>
58
      _instance;
59
} _SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse_default_instance_;
60
class SysTabletsEntryPBDefaultTypeInternal {
61
 public:
62
  ::google::protobuf::internal::ExplicitlyConstructed<SysTabletsEntryPB>
63
      _instance;
64
} _SysTabletsEntryPB_default_instance_;
65
class SysNamespaceEntryPBDefaultTypeInternal {
66
 public:
67
  ::google::protobuf::internal::ExplicitlyConstructed<SysNamespaceEntryPB>
68
      _instance;
69
} _SysNamespaceEntryPB_default_instance_;
70
class SysUDTypeEntryPBDefaultTypeInternal {
71
 public:
72
  ::google::protobuf::internal::ExplicitlyConstructed<SysUDTypeEntryPB>
73
      _instance;
74
} _SysUDTypeEntryPB_default_instance_;
75
class BlacklistPBDefaultTypeInternal {
76
 public:
77
  ::google::protobuf::internal::ExplicitlyConstructed<BlacklistPB>
78
      _instance;
79
} _BlacklistPB_default_instance_;
80
class EncryptionInfoPBDefaultTypeInternal {
81
 public:
82
  ::google::protobuf::internal::ExplicitlyConstructed<EncryptionInfoPB>
83
      _instance;
84
} _EncryptionInfoPB_default_instance_;
85
class SysClusterConfigEntryPBDefaultTypeInternal {
86
 public:
87
  ::google::protobuf::internal::ExplicitlyConstructed<SysClusterConfigEntryPB>
88
      _instance;
89
} _SysClusterConfigEntryPB_default_instance_;
90
class SysRedisConfigEntryPBDefaultTypeInternal {
91
 public:
92
  ::google::protobuf::internal::ExplicitlyConstructed<SysRedisConfigEntryPB>
93
      _instance;
94
} _SysRedisConfigEntryPB_default_instance_;
95
class ResourcePermissionsPBDefaultTypeInternal {
96
 public:
97
  ::google::protobuf::internal::ExplicitlyConstructed<ResourcePermissionsPB>
98
      _instance;
99
} _ResourcePermissionsPB_default_instance_;
100
class SysRoleEntryPBDefaultTypeInternal {
101
 public:
102
  ::google::protobuf::internal::ExplicitlyConstructed<SysRoleEntryPB>
103
      _instance;
104
} _SysRoleEntryPB_default_instance_;
105
class SysSecurityConfigEntryPBDefaultTypeInternal {
106
 public:
107
  ::google::protobuf::internal::ExplicitlyConstructed<SysSecurityConfigEntryPB>
108
      _instance;
109
} _SysSecurityConfigEntryPB_default_instance_;
110
class SysYSQLCatalogConfigEntryPBDefaultTypeInternal {
111
 public:
112
  ::google::protobuf::internal::ExplicitlyConstructed<SysYSQLCatalogConfigEntryPB>
113
      _instance;
114
} _SysYSQLCatalogConfigEntryPB_default_instance_;
115
class SysTransactionTablesConfigEntryPBDefaultTypeInternal {
116
 public:
117
  ::google::protobuf::internal::ExplicitlyConstructed<SysTransactionTablesConfigEntryPB>
118
      _instance;
119
} _SysTransactionTablesConfigEntryPB_default_instance_;
120
class SysConfigEntryPBDefaultTypeInternal {
121
 public:
122
  ::google::protobuf::internal::ExplicitlyConstructed<SysConfigEntryPB>
123
      _instance;
124
  const ::yb::master::SysSecurityConfigEntryPB* security_config_;
125
  const ::yb::master::SysYSQLCatalogConfigEntryPB* ysql_catalog_config_;
126
  const ::yb::master::SysTransactionTablesConfigEntryPB* transaction_tables_config_;
127
} _SysConfigEntryPB_default_instance_;
128
class SysRowEntryDefaultTypeInternal {
129
 public:
130
  ::google::protobuf::internal::ExplicitlyConstructed<SysRowEntry>
131
      _instance;
132
} _SysRowEntry_default_instance_;
133
class SysRowEntriesDefaultTypeInternal {
134
 public:
135
  ::google::protobuf::internal::ExplicitlyConstructed<SysRowEntries>
136
      _instance;
137
} _SysRowEntries_default_instance_;
138
class DdlLogEntryPBDefaultTypeInternal {
139
 public:
140
  ::google::protobuf::internal::ExplicitlyConstructed<DdlLogEntryPB>
141
      _instance;
142
} _DdlLogEntryPB_default_instance_;
143
class CDCStreamOptionsPBDefaultTypeInternal {
144
 public:
145
  ::google::protobuf::internal::ExplicitlyConstructed<CDCStreamOptionsPB>
146
      _instance;
147
} _CDCStreamOptionsPB_default_instance_;
148
class SysCDCStreamEntryPBDefaultTypeInternal {
149
 public:
150
  ::google::protobuf::internal::ExplicitlyConstructed<SysCDCStreamEntryPB>
151
      _instance;
152
} _SysCDCStreamEntryPB_default_instance_;
153
class SysSnapshotEntryPB_TabletSnapshotPBDefaultTypeInternal {
154
 public:
155
  ::google::protobuf::internal::ExplicitlyConstructed<SysSnapshotEntryPB_TabletSnapshotPB>
156
      _instance;
157
} _SysSnapshotEntryPB_TabletSnapshotPB_default_instance_;
158
class SysSnapshotEntryPBDefaultTypeInternal {
159
 public:
160
  ::google::protobuf::internal::ExplicitlyConstructed<SysSnapshotEntryPB>
161
      _instance;
162
} _SysSnapshotEntryPB_default_instance_;
163
class SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUseDefaultTypeInternal {
164
 public:
165
  ::google::protobuf::internal::ExplicitlyConstructed<SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse>
166
      _instance;
167
} _SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse_default_instance_;
168
class SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUseDefaultTypeInternal {
169
 public:
170
  ::google::protobuf::internal::ExplicitlyConstructed<SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse>
171
      _instance;
172
} _SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse_default_instance_;
173
class SysUniverseReplicationEntryPBDefaultTypeInternal {
174
 public:
175
  ::google::protobuf::internal::ExplicitlyConstructed<SysUniverseReplicationEntryPB>
176
      _instance;
177
} _SysUniverseReplicationEntryPB_default_instance_;
178
}  // namespace master
179
}  // namespace yb
180
namespace protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto {
181
26.8k
void InitDefaultsPlacementBlockPBImpl() {
182
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
183
184
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
185
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
186
#else
187
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
188
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
189
26.8k
  protobuf_yb_2fcommon_2fcommon_5fnet_2eproto::InitDefaultsCloudInfoPB();
190
26.8k
  {
191
26.8k
    void* ptr = &::yb::master::_PlacementBlockPB_default_instance_;
192
26.8k
    new (ptr) ::yb::master::PlacementBlockPB();
193
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
194
26.8k
  }
195
26.8k
  ::yb::master::PlacementBlockPB::InitAsDefaultInstance();
196
26.8k
}
197
198
1.31M
void InitDefaultsPlacementBlockPB() {
199
1.31M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
200
1.31M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPlacementBlockPBImpl);
201
1.31M
}
202
203
26.8k
void InitDefaultsPlacementInfoPBImpl() {
204
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
205
206
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
207
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
208
#else
209
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
210
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
211
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsPlacementBlockPB();
212
26.8k
  {
213
26.8k
    void* ptr = &::yb::master::_PlacementInfoPB_default_instance_;
214
26.8k
    new (ptr) ::yb::master::PlacementInfoPB();
215
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
216
26.8k
  }
217
26.8k
  ::yb::master::PlacementInfoPB::InitAsDefaultInstance();
218
26.8k
}
219
220
2.41M
void InitDefaultsPlacementInfoPB() {
221
2.41M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
222
2.41M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPlacementInfoPBImpl);
223
2.41M
}
224
225
26.8k
void InitDefaultsReplicationInfoPBImpl() {
226
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
227
228
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
229
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
230
#else
231
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
232
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
233
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsPlacementInfoPB();
234
26.8k
  protobuf_yb_2fcommon_2fcommon_5fnet_2eproto::InitDefaultsCloudInfoPB();
235
26.8k
  {
236
26.8k
    void* ptr = &::yb::master::_ReplicationInfoPB_default_instance_;
237
26.8k
    new (ptr) ::yb::master::ReplicationInfoPB();
238
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
239
26.8k
  }
240
26.8k
  ::yb::master::ReplicationInfoPB::InitAsDefaultInstance();
241
26.8k
}
242
243
1.82M
void InitDefaultsReplicationInfoPB() {
244
1.82M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
245
1.82M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsReplicationInfoPBImpl);
246
1.82M
}
247
248
26.8k
void InitDefaultsBackfillJobPB_BackfillStateEntry_DoNotUseImpl() {
249
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
250
251
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
252
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
253
#else
254
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
255
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
256
26.8k
  {
257
26.8k
    void* ptr = &::yb::master::_BackfillJobPB_BackfillStateEntry_DoNotUse_default_instance_;
258
26.8k
    new (ptr) ::yb::master::BackfillJobPB_BackfillStateEntry_DoNotUse();
259
26.8k
  }
260
26.8k
  ::yb::master::BackfillJobPB_BackfillStateEntry_DoNotUse::InitAsDefaultInstance();
261
26.8k
}
262
263
53.7k
void InitDefaultsBackfillJobPB_BackfillStateEntry_DoNotUse() {
264
53.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
265
53.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsBackfillJobPB_BackfillStateEntry_DoNotUseImpl);
266
53.7k
}
267
268
26.8k
void InitDefaultsBackfillJobPBImpl() {
269
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
270
271
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
272
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
273
#else
274
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
275
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
276
26.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsIndexInfoPB();
277
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsBackfillJobPB_BackfillStateEntry_DoNotUse();
278
26.8k
  {
279
26.8k
    void* ptr = &::yb::master::_BackfillJobPB_default_instance_;
280
26.8k
    new (ptr) ::yb::master::BackfillJobPB();
281
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
282
26.8k
  }
283
26.8k
  ::yb::master::BackfillJobPB::InitAsDefaultInstance();
284
26.8k
}
285
286
91.1k
void InitDefaultsBackfillJobPB() {
287
91.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
288
91.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsBackfillJobPBImpl);
289
91.1k
}
290
291
26.8k
void InitDefaultsSysTablesEntryPBImpl() {
292
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
293
294
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
295
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
296
#else
297
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
298
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
299
26.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsSchemaPB();
300
26.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsPartitionSchemaPB();
301
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsReplicationInfoPB();
302
26.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsIndexInfoPB();
303
26.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsTransactionMetadataPB();
304
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsBackfillJobPB();
305
26.8k
  {
306
26.8k
    void* ptr = &::yb::master::_SysTablesEntryPB_default_instance_;
307
26.8k
    new (ptr) ::yb::master::SysTablesEntryPB();
308
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
309
26.8k
  }
310
26.8k
  ::yb::master::SysTablesEntryPB::InitAsDefaultInstance();
311
26.8k
}
312
313
1.56M
void InitDefaultsSysTablesEntryPB() {
314
1.56M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
315
1.56M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysTablesEntryPBImpl);
316
1.56M
}
317
318
26.8k
void InitDefaultsSysTabletsEntryPB_BackfilledUntilEntry_DoNotUseImpl() {
319
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
320
321
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
322
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
323
#else
324
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
325
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
326
26.8k
  {
327
26.8k
    void* ptr = &::yb::master::_SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse_default_instance_;
328
26.8k
    new (ptr) ::yb::master::SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse();
329
26.8k
  }
330
26.8k
  ::yb::master::SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse::InitAsDefaultInstance();
331
26.8k
}
332
333
53.7k
void InitDefaultsSysTabletsEntryPB_BackfilledUntilEntry_DoNotUse() {
334
53.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
335
53.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysTabletsEntryPB_BackfilledUntilEntry_DoNotUseImpl);
336
53.7k
}
337
338
26.8k
void InitDefaultsSysTabletsEntryPBImpl() {
339
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
340
341
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
342
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
343
#else
344
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
345
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
346
26.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsPartitionPB();
347
26.8k
  protobuf_yb_2fconsensus_2fmetadata_2eproto::InitDefaultsConsensusStatePB();
348
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysTabletsEntryPB_BackfilledUntilEntry_DoNotUse();
349
26.8k
  {
350
26.8k
    void* ptr = &::yb::master::_SysTabletsEntryPB_default_instance_;
351
26.8k
    new (ptr) ::yb::master::SysTabletsEntryPB();
352
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
353
26.8k
  }
354
26.8k
  ::yb::master::SysTabletsEntryPB::InitAsDefaultInstance();
355
26.8k
}
356
357
834k
void InitDefaultsSysTabletsEntryPB() {
358
834k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
359
834k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysTabletsEntryPBImpl);
360
834k
}
361
362
26.8k
void InitDefaultsSysNamespaceEntryPBImpl() {
363
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
364
365
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
366
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
367
#else
368
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
369
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
370
26.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsTransactionMetadataPB();
371
26.8k
  {
372
26.8k
    void* ptr = &::yb::master::_SysNamespaceEntryPB_default_instance_;
373
26.8k
    new (ptr) ::yb::master::SysNamespaceEntryPB();
374
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
375
26.8k
  }
376
26.8k
  ::yb::master::SysNamespaceEntryPB::InitAsDefaultInstance();
377
26.8k
}
378
379
76.7k
void InitDefaultsSysNamespaceEntryPB() {
380
76.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
381
76.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysNamespaceEntryPBImpl);
382
76.7k
}
383
384
26.8k
void InitDefaultsSysUDTypeEntryPBImpl() {
385
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
386
387
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
388
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
389
#else
390
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
391
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
392
26.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsQLTypePB();
393
26.8k
  {
394
26.8k
    void* ptr = &::yb::master::_SysUDTypeEntryPB_default_instance_;
395
26.8k
    new (ptr) ::yb::master::SysUDTypeEntryPB();
396
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
397
26.8k
  }
398
26.8k
  ::yb::master::SysUDTypeEntryPB::InitAsDefaultInstance();
399
26.8k
}
400
401
27.0k
void InitDefaultsSysUDTypeEntryPB() {
402
27.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
403
27.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysUDTypeEntryPBImpl);
404
27.0k
}
405
406
26.8k
void InitDefaultsBlacklistPBImpl() {
407
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
408
409
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
410
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
411
#else
412
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
413
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
414
26.8k
  protobuf_yb_2fcommon_2fcommon_5fnet_2eproto::InitDefaultsHostPortPB();
415
26.8k
  {
416
26.8k
    void* ptr = &::yb::master::_BlacklistPB_default_instance_;
417
26.8k
    new (ptr) ::yb::master::BlacklistPB();
418
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
419
26.8k
  }
420
26.8k
  ::yb::master::BlacklistPB::InitAsDefaultInstance();
421
26.8k
}
422
423
1.87M
void InitDefaultsBlacklistPB() {
424
1.87M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
425
1.87M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsBlacklistPBImpl);
426
1.87M
}
427
428
26.8k
void InitDefaultsEncryptionInfoPBImpl() {
429
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
430
431
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
432
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
433
#else
434
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
435
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
436
26.8k
  {
437
26.8k
    void* ptr = &::yb::master::_EncryptionInfoPB_default_instance_;
438
26.8k
    new (ptr) ::yb::master::EncryptionInfoPB();
439
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
440
26.8k
  }
441
26.8k
  ::yb::master::EncryptionInfoPB::InitAsDefaultInstance();
442
26.8k
}
443
444
247k
void InitDefaultsEncryptionInfoPB() {
445
247k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
446
247k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsEncryptionInfoPBImpl);
447
247k
}
448
449
26.8k
void InitDefaultsSysClusterConfigEntryPBImpl() {
450
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
451
452
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
453
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
454
#else
455
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
456
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
457
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsReplicationInfoPB();
458
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsBlacklistPB();
459
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsEncryptionInfoPB();
460
26.8k
  protobuf_yb_2fcdc_2fcdc_5fconsumer_2eproto::InitDefaultsConsumerRegistryPB();
461
26.8k
  {
462
26.8k
    void* ptr = &::yb::master::_SysClusterConfigEntryPB_default_instance_;
463
26.8k
    new (ptr) ::yb::master::SysClusterConfigEntryPB();
464
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
465
26.8k
  }
466
26.8k
  ::yb::master::SysClusterConfigEntryPB::InitAsDefaultInstance();
467
26.8k
}
468
469
7.23M
void InitDefaultsSysClusterConfigEntryPB() {
470
7.23M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
471
7.23M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysClusterConfigEntryPBImpl);
472
7.23M
}
473
474
26.8k
void InitDefaultsSysRedisConfigEntryPBImpl() {
475
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
476
477
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
478
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
479
#else
480
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
481
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
482
26.8k
  {
483
26.8k
    void* ptr = &::yb::master::_SysRedisConfigEntryPB_default_instance_;
484
26.8k
    new (ptr) ::yb::master::SysRedisConfigEntryPB();
485
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
486
26.8k
  }
487
26.8k
  ::yb::master::SysRedisConfigEntryPB::InitAsDefaultInstance();
488
26.8k
}
489
490
27.4k
void InitDefaultsSysRedisConfigEntryPB() {
491
27.4k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
492
27.4k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysRedisConfigEntryPBImpl);
493
27.4k
}
494
495
26.8k
void InitDefaultsResourcePermissionsPBImpl() {
496
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
497
498
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
499
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
500
#else
501
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
502
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
503
26.8k
  {
504
26.8k
    void* ptr = &::yb::master::_ResourcePermissionsPB_default_instance_;
505
26.8k
    new (ptr) ::yb::master::ResourcePermissionsPB();
506
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
507
26.8k
  }
508
26.8k
  ::yb::master::ResourcePermissionsPB::InitAsDefaultInstance();
509
26.8k
}
510
511
65.4k
void InitDefaultsResourcePermissionsPB() {
512
65.4k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
513
65.4k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsResourcePermissionsPBImpl);
514
65.4k
}
515
516
26.8k
void InitDefaultsSysRoleEntryPBImpl() {
517
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
518
519
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
520
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
521
#else
522
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
523
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
524
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsResourcePermissionsPB();
525
26.8k
  {
526
26.8k
    void* ptr = &::yb::master::_SysRoleEntryPB_default_instance_;
527
26.8k
    new (ptr) ::yb::master::SysRoleEntryPB();
528
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
529
26.8k
  }
530
26.8k
  ::yb::master::SysRoleEntryPB::InitAsDefaultInstance();
531
26.8k
}
532
533
43.6k
void InitDefaultsSysRoleEntryPB() {
534
43.6k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
535
43.6k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysRoleEntryPBImpl);
536
43.6k
}
537
538
26.8k
void InitDefaultsSysSecurityConfigEntryPBImpl() {
539
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
540
541
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
542
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
543
#else
544
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
545
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
546
26.8k
  {
547
26.8k
    void* ptr = &::yb::master::_SysSecurityConfigEntryPB_default_instance_;
548
26.8k
    new (ptr) ::yb::master::SysSecurityConfigEntryPB();
549
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
550
26.8k
  }
551
26.8k
  ::yb::master::SysSecurityConfigEntryPB::InitAsDefaultInstance();
552
26.8k
}
553
554
67.2k
void InitDefaultsSysSecurityConfigEntryPB() {
555
67.2k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
556
67.2k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysSecurityConfigEntryPBImpl);
557
67.2k
}
558
559
26.8k
void InitDefaultsSysYSQLCatalogConfigEntryPBImpl() {
560
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
561
562
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
563
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
564
#else
565
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
566
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
567
26.8k
  {
568
26.8k
    void* ptr = &::yb::master::_SysYSQLCatalogConfigEntryPB_default_instance_;
569
26.8k
    new (ptr) ::yb::master::SysYSQLCatalogConfigEntryPB();
570
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
571
26.8k
  }
572
26.8k
  ::yb::master::SysYSQLCatalogConfigEntryPB::InitAsDefaultInstance();
573
26.8k
}
574
575
64.9k
void InitDefaultsSysYSQLCatalogConfigEntryPB() {
576
64.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
577
64.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysYSQLCatalogConfigEntryPBImpl);
578
64.9k
}
579
580
26.8k
void InitDefaultsSysTransactionTablesConfigEntryPBImpl() {
581
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
582
583
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
584
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
585
#else
586
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
587
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
588
26.8k
  {
589
26.8k
    void* ptr = &::yb::master::_SysTransactionTablesConfigEntryPB_default_instance_;
590
26.8k
    new (ptr) ::yb::master::SysTransactionTablesConfigEntryPB();
591
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
592
26.8k
  }
593
26.8k
  ::yb::master::SysTransactionTablesConfigEntryPB::InitAsDefaultInstance();
594
26.8k
}
595
596
62.3k
void InitDefaultsSysTransactionTablesConfigEntryPB() {
597
62.3k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
598
62.3k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysTransactionTablesConfigEntryPBImpl);
599
62.3k
}
600
601
26.8k
void InitDefaultsSysConfigEntryPBImpl() {
602
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
603
604
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
605
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
606
#else
607
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
608
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
609
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysSecurityConfigEntryPB();
610
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysYSQLCatalogConfigEntryPB();
611
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysTransactionTablesConfigEntryPB();
612
26.8k
  {
613
26.8k
    void* ptr = &::yb::master::_SysConfigEntryPB_default_instance_;
614
26.8k
    new (ptr) ::yb::master::SysConfigEntryPB();
615
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
616
26.8k
  }
617
26.8k
  ::yb::master::SysConfigEntryPB::InitAsDefaultInstance();
618
26.8k
}
619
620
62.7k
void InitDefaultsSysConfigEntryPB() {
621
62.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
622
62.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysConfigEntryPBImpl);
623
62.7k
}
624
625
26.8k
void InitDefaultsSysRowEntryImpl() {
626
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
627
628
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
629
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
630
#else
631
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
632
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
633
26.8k
  {
634
26.8k
    void* ptr = &::yb::master::_SysRowEntry_default_instance_;
635
26.8k
    new (ptr) ::yb::master::SysRowEntry();
636
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
637
26.8k
  }
638
26.8k
  ::yb::master::SysRowEntry::InitAsDefaultInstance();
639
26.8k
}
640
641
108k
void InitDefaultsSysRowEntry() {
642
108k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
643
108k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysRowEntryImpl);
644
108k
}
645
646
26.8k
void InitDefaultsSysRowEntriesImpl() {
647
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
648
649
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
650
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
651
#else
652
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
653
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
654
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysRowEntry();
655
26.8k
  {
656
26.8k
    void* ptr = &::yb::master::_SysRowEntries_default_instance_;
657
26.8k
    new (ptr) ::yb::master::SysRowEntries();
658
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
659
26.8k
  }
660
26.8k
  ::yb::master::SysRowEntries::InitAsDefaultInstance();
661
26.8k
}
662
663
27.1k
void InitDefaultsSysRowEntries() {
664
27.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
665
27.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysRowEntriesImpl);
666
27.1k
}
667
668
26.8k
void InitDefaultsDdlLogEntryPBImpl() {
669
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
670
671
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
672
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
673
#else
674
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
675
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
676
26.8k
  {
677
26.8k
    void* ptr = &::yb::master::_DdlLogEntryPB_default_instance_;
678
26.8k
    new (ptr) ::yb::master::DdlLogEntryPB();
679
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
680
26.8k
  }
681
26.8k
  ::yb::master::DdlLogEntryPB::InitAsDefaultInstance();
682
26.8k
}
683
684
62.5k
void InitDefaultsDdlLogEntryPB() {
685
62.5k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
686
62.5k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDdlLogEntryPBImpl);
687
62.5k
}
688
689
26.8k
void InitDefaultsCDCStreamOptionsPBImpl() {
690
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
691
692
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
693
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
694
#else
695
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
696
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
697
26.8k
  {
698
26.8k
    void* ptr = &::yb::master::_CDCStreamOptionsPB_default_instance_;
699
26.8k
    new (ptr) ::yb::master::CDCStreamOptionsPB();
700
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
701
26.8k
  }
702
26.8k
  ::yb::master::CDCStreamOptionsPB::InitAsDefaultInstance();
703
26.8k
}
704
705
180k
void InitDefaultsCDCStreamOptionsPB() {
706
180k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
707
180k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCDCStreamOptionsPBImpl);
708
180k
}
709
710
26.8k
void InitDefaultsSysCDCStreamEntryPBImpl() {
711
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
712
713
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
714
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
715
#else
716
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
717
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
718
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsCDCStreamOptionsPB();
719
26.8k
  {
720
26.8k
    void* ptr = &::yb::master::_SysCDCStreamEntryPB_default_instance_;
721
26.8k
    new (ptr) ::yb::master::SysCDCStreamEntryPB();
722
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
723
26.8k
  }
724
26.8k
  ::yb::master::SysCDCStreamEntryPB::InitAsDefaultInstance();
725
26.8k
}
726
727
59.6k
void InitDefaultsSysCDCStreamEntryPB() {
728
59.6k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
729
59.6k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysCDCStreamEntryPBImpl);
730
59.6k
}
731
732
26.8k
void InitDefaultsSysSnapshotEntryPB_TabletSnapshotPBImpl() {
733
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
734
735
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
736
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
737
#else
738
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
739
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
740
26.8k
  {
741
26.8k
    void* ptr = &::yb::master::_SysSnapshotEntryPB_TabletSnapshotPB_default_instance_;
742
26.8k
    new (ptr) ::yb::master::SysSnapshotEntryPB_TabletSnapshotPB();
743
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
744
26.8k
  }
745
26.8k
  ::yb::master::SysSnapshotEntryPB_TabletSnapshotPB::InitAsDefaultInstance();
746
26.8k
}
747
748
54.0k
void InitDefaultsSysSnapshotEntryPB_TabletSnapshotPB() {
749
54.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
750
54.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysSnapshotEntryPB_TabletSnapshotPBImpl);
751
54.0k
}
752
753
26.8k
void InitDefaultsSysSnapshotEntryPBImpl() {
754
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
755
756
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
757
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
758
#else
759
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
760
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
761
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysSnapshotEntryPB_TabletSnapshotPB();
762
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysRowEntry();
763
26.8k
  {
764
26.8k
    void* ptr = &::yb::master::_SysSnapshotEntryPB_default_instance_;
765
26.8k
    new (ptr) ::yb::master::SysSnapshotEntryPB();
766
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
767
26.8k
  }
768
26.8k
  ::yb::master::SysSnapshotEntryPB::InitAsDefaultInstance();
769
26.8k
}
770
771
54.1k
void InitDefaultsSysSnapshotEntryPB() {
772
54.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
773
54.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysSnapshotEntryPBImpl);
774
54.1k
}
775
776
26.8k
void InitDefaultsSysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUseImpl() {
777
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
778
779
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
780
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
781
#else
782
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
783
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
784
26.8k
  {
785
26.8k
    void* ptr = &::yb::master::_SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse_default_instance_;
786
26.8k
    new (ptr) ::yb::master::SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse();
787
26.8k
  }
788
26.8k
  ::yb::master::SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse::InitAsDefaultInstance();
789
26.8k
}
790
791
53.7k
void InitDefaultsSysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse() {
792
53.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
793
53.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUseImpl);
794
53.7k
}
795
796
26.8k
void InitDefaultsSysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUseImpl() {
797
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
798
799
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
800
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
801
#else
802
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
803
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
804
26.8k
  {
805
26.8k
    void* ptr = &::yb::master::_SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse_default_instance_;
806
26.8k
    new (ptr) ::yb::master::SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse();
807
26.8k
  }
808
26.8k
  ::yb::master::SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse::InitAsDefaultInstance();
809
26.8k
}
810
811
53.7k
void InitDefaultsSysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse() {
812
53.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
813
53.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUseImpl);
814
53.7k
}
815
816
26.8k
void InitDefaultsSysUniverseReplicationEntryPBImpl() {
817
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
818
819
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
820
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
821
#else
822
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
823
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
824
26.8k
  protobuf_yb_2fcommon_2fcommon_5fnet_2eproto::InitDefaultsHostPortPB();
825
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse();
826
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse();
827
26.8k
  {
828
26.8k
    void* ptr = &::yb::master::_SysUniverseReplicationEntryPB_default_instance_;
829
26.8k
    new (ptr) ::yb::master::SysUniverseReplicationEntryPB();
830
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
831
26.8k
  }
832
26.8k
  ::yb::master::SysUniverseReplicationEntryPB::InitAsDefaultInstance();
833
26.8k
}
834
835
53.7k
void InitDefaultsSysUniverseReplicationEntryPB() {
836
53.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
837
53.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysUniverseReplicationEntryPBImpl);
838
53.7k
}
839
840
::google::protobuf::Metadata file_level_metadata[30];
841
const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[8];
842
843
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
844
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::PlacementBlockPB, _has_bits_),
845
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::PlacementBlockPB, _internal_metadata_),
846
  ~0u,  // no _extensions_
847
  ~0u,  // no _oneof_case_
848
  ~0u,  // no _weak_field_map_
849
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::PlacementBlockPB, cloud_info_),
850
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::PlacementBlockPB, min_num_replicas_),
851
  0,
852
  1,
853
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::PlacementInfoPB, _has_bits_),
854
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::PlacementInfoPB, _internal_metadata_),
855
  ~0u,  // no _extensions_
856
  ~0u,  // no _oneof_case_
857
  ~0u,  // no _weak_field_map_
858
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::PlacementInfoPB, num_replicas_),
859
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::PlacementInfoPB, placement_blocks_),
860
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::PlacementInfoPB, placement_uuid_),
861
  1,
862
  ~0u,
863
  0,
864
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ReplicationInfoPB, _has_bits_),
865
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ReplicationInfoPB, _internal_metadata_),
866
  ~0u,  // no _extensions_
867
  ~0u,  // no _oneof_case_
868
  ~0u,  // no _weak_field_map_
869
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ReplicationInfoPB, live_replicas_),
870
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ReplicationInfoPB, read_replicas_),
871
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ReplicationInfoPB, affinitized_leaders_),
872
  0,
873
  ~0u,
874
  ~0u,
875
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackfillJobPB_BackfillStateEntry_DoNotUse, _has_bits_),
876
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackfillJobPB_BackfillStateEntry_DoNotUse, _internal_metadata_),
877
  ~0u,  // no _extensions_
878
  ~0u,  // no _oneof_case_
879
  ~0u,  // no _weak_field_map_
880
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackfillJobPB_BackfillStateEntry_DoNotUse, key_),
881
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackfillJobPB_BackfillStateEntry_DoNotUse, value_),
882
  0,
883
  1,
884
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackfillJobPB, _has_bits_),
885
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackfillJobPB, _internal_metadata_),
886
  ~0u,  // no _extensions_
887
  ~0u,  // no _oneof_case_
888
  ~0u,  // no _weak_field_map_
889
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackfillJobPB, indexes_),
890
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackfillJobPB, backfill_state_),
891
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackfillJobPB, num_rows_processed_),
892
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackfillJobPB, backfilling_timestamp_),
893
  ~0u,
894
  ~0u,
895
  1,
896
  0,
897
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, _has_bits_),
898
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, _internal_metadata_),
899
  ~0u,  // no _extensions_
900
  ~0u,  // no _oneof_case_
901
  ~0u,  // no _weak_field_map_
902
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, name_),
903
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, table_type_),
904
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, namespace_id_),
905
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, namespace_name_),
906
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, version_),
907
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, schema_),
908
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, fully_applied_schema_),
909
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, partition_schema_),
910
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, partition_list_version_),
911
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, next_column_id_),
912
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, replication_info_),
913
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, state_),
914
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, state_msg_),
915
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, indexes_),
916
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, indexed_table_id_),
917
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, is_local_index_),
918
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, is_unique_index_),
919
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, index_info_),
920
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, is_pg_shared_table_),
921
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, wal_retention_secs_),
922
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, colocated_),
923
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, fully_applied_schema_version_),
924
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, fully_applied_indexes_),
925
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, fully_applied_index_info_),
926
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, transaction_),
927
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, updates_only_index_permissions_),
928
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, backfill_jobs_),
929
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, hide_state_),
930
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTablesEntryPB, transaction_table_tablespace_id_),
931
  0,
932
  25,
933
  2,
934
  4,
935
  13,
936
  6,
937
  7,
938
  9,
939
  22,
940
  15,
941
  8,
942
  14,
943
  1,
944
  ~0u,
945
  3,
946
  16,
947
  17,
948
  10,
949
  18,
950
  21,
951
  19,
952
  20,
953
  ~0u,
954
  11,
955
  12,
956
  23,
957
  ~0u,
958
  24,
959
  5,
960
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse, _has_bits_),
961
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse, _internal_metadata_),
962
  ~0u,  // no _extensions_
963
  ~0u,  // no _oneof_case_
964
  ~0u,  // no _weak_field_map_
965
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse, key_),
966
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse, value_),
967
  0,
968
  1,
969
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB, _has_bits_),
970
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB, _internal_metadata_),
971
  ~0u,  // no _extensions_
972
  ~0u,  // no _oneof_case_
973
  ~0u,  // no _weak_field_map_
974
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB, obsolete_start_key_),
975
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB, obsolete_end_key_),
976
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB, partition_),
977
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB, committed_consensus_state_),
978
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB, state_),
979
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB, state_msg_),
980
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB, table_id_),
981
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB, table_ids_),
982
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB, colocated_),
983
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB, deprecated_backfilled_until_),
984
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB, split_depth_),
985
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB, split_parent_tablet_id_),
986
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB, backfilled_until_),
987
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB, split_tablet_ids_),
988
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB, hide_hybrid_time_),
989
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTabletsEntryPB, retained_by_snapshot_schedules_),
990
  0,
991
  1,
992
  7,
993
  6,
994
  11,
995
  2,
996
  3,
997
  ~0u,
998
  10,
999
  4,
1000
  8,
1001
  5,
1002
  ~0u,
1003
  ~0u,
1004
  9,
1005
  ~0u,
1006
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysNamespaceEntryPB, _has_bits_),
1007
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysNamespaceEntryPB, _internal_metadata_),
1008
  ~0u,  // no _extensions_
1009
  ~0u,  // no _oneof_case_
1010
  ~0u,  // no _weak_field_map_
1011
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysNamespaceEntryPB, name_),
1012
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysNamespaceEntryPB, database_type_),
1013
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysNamespaceEntryPB, next_pg_oid_),
1014
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysNamespaceEntryPB, colocated_),
1015
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysNamespaceEntryPB, transaction_),
1016
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysNamespaceEntryPB, state_),
1017
  0,
1018
  5,
1019
  2,
1020
  3,
1021
  1,
1022
  4,
1023
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUDTypeEntryPB, _has_bits_),
1024
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUDTypeEntryPB, _internal_metadata_),
1025
  ~0u,  // no _extensions_
1026
  ~0u,  // no _oneof_case_
1027
  ~0u,  // no _weak_field_map_
1028
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUDTypeEntryPB, namespace_id_),
1029
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUDTypeEntryPB, name_),
1030
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUDTypeEntryPB, field_names_),
1031
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUDTypeEntryPB, field_types_),
1032
  0,
1033
  1,
1034
  ~0u,
1035
  ~0u,
1036
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BlacklistPB, _has_bits_),
1037
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BlacklistPB, _internal_metadata_),
1038
  ~0u,  // no _extensions_
1039
  ~0u,  // no _oneof_case_
1040
  ~0u,  // no _weak_field_map_
1041
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BlacklistPB, hosts_),
1042
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BlacklistPB, initial_replica_load_),
1043
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BlacklistPB, initial_leader_load_),
1044
  ~0u,
1045
  0,
1046
  1,
1047
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::EncryptionInfoPB, _has_bits_),
1048
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::EncryptionInfoPB, _internal_metadata_),
1049
  ~0u,  // no _extensions_
1050
  ~0u,  // no _oneof_case_
1051
  ~0u,  // no _weak_field_map_
1052
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::EncryptionInfoPB, encryption_enabled_),
1053
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::EncryptionInfoPB, universe_key_registry_encoded_),
1054
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::EncryptionInfoPB, key_path_),
1055
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::EncryptionInfoPB, latest_version_id_),
1056
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::EncryptionInfoPB, key_in_memory_),
1057
  3,
1058
  0,
1059
  1,
1060
  2,
1061
  4,
1062
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysClusterConfigEntryPB, _has_bits_),
1063
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysClusterConfigEntryPB, _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::SysClusterConfigEntryPB, version_),
1068
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysClusterConfigEntryPB, cluster_uuid_),
1069
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysClusterConfigEntryPB, replication_info_),
1070
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysClusterConfigEntryPB, server_blacklist_),
1071
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysClusterConfigEntryPB, leader_blacklist_),
1072
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysClusterConfigEntryPB, encryption_info_),
1073
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysClusterConfigEntryPB, consumer_registry_),
1074
  6,
1075
  0,
1076
  1,
1077
  2,
1078
  5,
1079
  3,
1080
  4,
1081
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRedisConfigEntryPB, _has_bits_),
1082
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRedisConfigEntryPB, _internal_metadata_),
1083
  ~0u,  // no _extensions_
1084
  ~0u,  // no _oneof_case_
1085
  ~0u,  // no _weak_field_map_
1086
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRedisConfigEntryPB, key_),
1087
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRedisConfigEntryPB, args_),
1088
  0,
1089
  ~0u,
1090
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ResourcePermissionsPB, _has_bits_),
1091
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ResourcePermissionsPB, _internal_metadata_),
1092
  ~0u,  // no _extensions_
1093
  ~0u,  // no _oneof_case_
1094
  ~0u,  // no _weak_field_map_
1095
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ResourcePermissionsPB, resource_name_),
1096
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ResourcePermissionsPB, canonical_resource_),
1097
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ResourcePermissionsPB, namespace_name_),
1098
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ResourcePermissionsPB, resource_type_),
1099
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ResourcePermissionsPB, permissions_),
1100
  0,
1101
  1,
1102
  2,
1103
  3,
1104
  ~0u,
1105
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRoleEntryPB, _has_bits_),
1106
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRoleEntryPB, _internal_metadata_),
1107
  ~0u,  // no _extensions_
1108
  ~0u,  // no _oneof_case_
1109
  ~0u,  // no _weak_field_map_
1110
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRoleEntryPB, role_),
1111
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRoleEntryPB, can_login_),
1112
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRoleEntryPB, is_superuser_),
1113
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRoleEntryPB, member_of_),
1114
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRoleEntryPB, salted_hash_),
1115
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRoleEntryPB, resources_),
1116
  0,
1117
  2,
1118
  3,
1119
  ~0u,
1120
  1,
1121
  ~0u,
1122
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysSecurityConfigEntryPB, _has_bits_),
1123
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysSecurityConfigEntryPB, _internal_metadata_),
1124
  ~0u,  // no _extensions_
1125
  ~0u,  // no _oneof_case_
1126
  ~0u,  // no _weak_field_map_
1127
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysSecurityConfigEntryPB, roles_version_),
1128
  0,
1129
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysYSQLCatalogConfigEntryPB, _has_bits_),
1130
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysYSQLCatalogConfigEntryPB, _internal_metadata_),
1131
  ~0u,  // no _extensions_
1132
  ~0u,  // no _oneof_case_
1133
  ~0u,  // no _weak_field_map_
1134
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysYSQLCatalogConfigEntryPB, version_),
1135
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysYSQLCatalogConfigEntryPB, initdb_done_),
1136
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysYSQLCatalogConfigEntryPB, initdb_error_),
1137
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysYSQLCatalogConfigEntryPB, transactional_sys_catalog_enabled_),
1138
  1,
1139
  2,
1140
  0,
1141
  3,
1142
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTransactionTablesConfigEntryPB, _has_bits_),
1143
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTransactionTablesConfigEntryPB, _internal_metadata_),
1144
  ~0u,  // no _extensions_
1145
  ~0u,  // no _oneof_case_
1146
  ~0u,  // no _weak_field_map_
1147
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysTransactionTablesConfigEntryPB, version_),
1148
  0,
1149
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysConfigEntryPB, _has_bits_),
1150
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysConfigEntryPB, _internal_metadata_),
1151
  ~0u,  // no _extensions_
1152
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysConfigEntryPB, _oneof_case_[0]),
1153
  ~0u,  // no _weak_field_map_
1154
  offsetof(::yb::master::SysConfigEntryPBDefaultTypeInternal, security_config_),
1155
  offsetof(::yb::master::SysConfigEntryPBDefaultTypeInternal, ysql_catalog_config_),
1156
  offsetof(::yb::master::SysConfigEntryPBDefaultTypeInternal, transaction_tables_config_),
1157
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysConfigEntryPB, config_),
1158
  ~0u,
1159
  ~0u,
1160
  ~0u,
1161
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRowEntry, _has_bits_),
1162
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRowEntry, _internal_metadata_),
1163
  ~0u,  // no _extensions_
1164
  ~0u,  // no _oneof_case_
1165
  ~0u,  // no _weak_field_map_
1166
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRowEntry, type_),
1167
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRowEntry, id_),
1168
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRowEntry, data_),
1169
  2,
1170
  0,
1171
  1,
1172
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRowEntries, _has_bits_),
1173
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRowEntries, _internal_metadata_),
1174
  ~0u,  // no _extensions_
1175
  ~0u,  // no _oneof_case_
1176
  ~0u,  // no _weak_field_map_
1177
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRowEntries, entries_),
1178
  ~0u,
1179
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DdlLogEntryPB, _has_bits_),
1180
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DdlLogEntryPB, _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::DdlLogEntryPB, table_type_),
1185
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DdlLogEntryPB, namespace_name_),
1186
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DdlLogEntryPB, namespace_id_),
1187
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DdlLogEntryPB, table_name_),
1188
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DdlLogEntryPB, table_id_),
1189
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DdlLogEntryPB, action_),
1190
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DdlLogEntryPB, time_),
1191
  6,
1192
  0,
1193
  1,
1194
  2,
1195
  3,
1196
  4,
1197
  5,
1198
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CDCStreamOptionsPB, _has_bits_),
1199
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CDCStreamOptionsPB, _internal_metadata_),
1200
  ~0u,  // no _extensions_
1201
  ~0u,  // no _oneof_case_
1202
  ~0u,  // no _weak_field_map_
1203
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CDCStreamOptionsPB, key_),
1204
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CDCStreamOptionsPB, value_),
1205
  0,
1206
  1,
1207
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysCDCStreamEntryPB, _has_bits_),
1208
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysCDCStreamEntryPB, _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::SysCDCStreamEntryPB, table_id_),
1213
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysCDCStreamEntryPB, options_),
1214
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysCDCStreamEntryPB, state_),
1215
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysCDCStreamEntryPB, namespace_id_),
1216
  ~0u,
1217
  ~0u,
1218
  1,
1219
  0,
1220
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysSnapshotEntryPB_TabletSnapshotPB, _has_bits_),
1221
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysSnapshotEntryPB_TabletSnapshotPB, _internal_metadata_),
1222
  ~0u,  // no _extensions_
1223
  ~0u,  // no _oneof_case_
1224
  ~0u,  // no _weak_field_map_
1225
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysSnapshotEntryPB_TabletSnapshotPB, id_),
1226
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysSnapshotEntryPB_TabletSnapshotPB, state_),
1227
  0,
1228
  1,
1229
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysSnapshotEntryPB, _has_bits_),
1230
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysSnapshotEntryPB, _internal_metadata_),
1231
  ~0u,  // no _extensions_
1232
  ~0u,  // no _oneof_case_
1233
  ~0u,  // no _weak_field_map_
1234
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysSnapshotEntryPB, state_),
1235
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysSnapshotEntryPB, tablet_snapshots_),
1236
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysSnapshotEntryPB, entries_),
1237
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysSnapshotEntryPB, snapshot_hybrid_time_),
1238
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysSnapshotEntryPB, version_),
1239
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysSnapshotEntryPB, schedule_id_),
1240
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysSnapshotEntryPB, previous_snapshot_hybrid_time_),
1241
  4,
1242
  ~0u,
1243
  ~0u,
1244
  1,
1245
  2,
1246
  0,
1247
  3,
1248
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse, _has_bits_),
1249
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse, _internal_metadata_),
1250
  ~0u,  // no _extensions_
1251
  ~0u,  // no _oneof_case_
1252
  ~0u,  // no _weak_field_map_
1253
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse, key_),
1254
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse, value_),
1255
  0,
1256
  1,
1257
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse, _has_bits_),
1258
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse, _internal_metadata_),
1259
  ~0u,  // no _extensions_
1260
  ~0u,  // no _oneof_case_
1261
  ~0u,  // no _weak_field_map_
1262
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse, key_),
1263
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse, value_),
1264
  0,
1265
  1,
1266
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUniverseReplicationEntryPB, _has_bits_),
1267
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUniverseReplicationEntryPB, _internal_metadata_),
1268
  ~0u,  // no _extensions_
1269
  ~0u,  // no _oneof_case_
1270
  ~0u,  // no _weak_field_map_
1271
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUniverseReplicationEntryPB, producer_id_),
1272
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUniverseReplicationEntryPB, producer_master_addresses_),
1273
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUniverseReplicationEntryPB, tables_),
1274
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUniverseReplicationEntryPB, state_),
1275
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUniverseReplicationEntryPB, validated_tables_),
1276
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysUniverseReplicationEntryPB, table_streams_),
1277
  0,
1278
  ~0u,
1279
  ~0u,
1280
  1,
1281
  ~0u,
1282
  ~0u,
1283
};
1284
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
1285
  { 0, 7, sizeof(::yb::master::PlacementBlockPB)},
1286
  { 9, 17, sizeof(::yb::master::PlacementInfoPB)},
1287
  { 20, 28, sizeof(::yb::master::ReplicationInfoPB)},
1288
  { 31, 38, sizeof(::yb::master::BackfillJobPB_BackfillStateEntry_DoNotUse)},
1289
  { 40, 49, sizeof(::yb::master::BackfillJobPB)},
1290
  { 53, 87, sizeof(::yb::master::SysTablesEntryPB)},
1291
  { 116, 123, sizeof(::yb::master::SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse)},
1292
  { 125, 146, sizeof(::yb::master::SysTabletsEntryPB)},
1293
  { 162, 173, sizeof(::yb::master::SysNamespaceEntryPB)},
1294
  { 179, 188, sizeof(::yb::master::SysUDTypeEntryPB)},
1295
  { 192, 200, sizeof(::yb::master::BlacklistPB)},
1296
  { 203, 213, sizeof(::yb::master::EncryptionInfoPB)},
1297
  { 218, 230, sizeof(::yb::master::SysClusterConfigEntryPB)},
1298
  { 237, 244, sizeof(::yb::master::SysRedisConfigEntryPB)},
1299
  { 246, 256, sizeof(::yb::master::ResourcePermissionsPB)},
1300
  { 261, 272, sizeof(::yb::master::SysRoleEntryPB)},
1301
  { 278, 284, sizeof(::yb::master::SysSecurityConfigEntryPB)},
1302
  { 285, 294, sizeof(::yb::master::SysYSQLCatalogConfigEntryPB)},
1303
  { 298, 304, sizeof(::yb::master::SysTransactionTablesConfigEntryPB)},
1304
  { 305, 314, sizeof(::yb::master::SysConfigEntryPB)},
1305
  { 317, 325, sizeof(::yb::master::SysRowEntry)},
1306
  { 328, 334, sizeof(::yb::master::SysRowEntries)},
1307
  { 335, 347, sizeof(::yb::master::DdlLogEntryPB)},
1308
  { 354, 361, sizeof(::yb::master::CDCStreamOptionsPB)},
1309
  { 363, 372, sizeof(::yb::master::SysCDCStreamEntryPB)},
1310
  { 376, 383, sizeof(::yb::master::SysSnapshotEntryPB_TabletSnapshotPB)},
1311
  { 385, 397, sizeof(::yb::master::SysSnapshotEntryPB)},
1312
  { 404, 411, sizeof(::yb::master::SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse)},
1313
  { 413, 420, sizeof(::yb::master::SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse)},
1314
  { 422, 433, sizeof(::yb::master::SysUniverseReplicationEntryPB)},
1315
};
1316
1317
static ::google::protobuf::Message const * const file_default_instances[] = {
1318
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_PlacementBlockPB_default_instance_),
1319
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_PlacementInfoPB_default_instance_),
1320
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ReplicationInfoPB_default_instance_),
1321
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_BackfillJobPB_BackfillStateEntry_DoNotUse_default_instance_),
1322
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_BackfillJobPB_default_instance_),
1323
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysTablesEntryPB_default_instance_),
1324
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse_default_instance_),
1325
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysTabletsEntryPB_default_instance_),
1326
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysNamespaceEntryPB_default_instance_),
1327
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysUDTypeEntryPB_default_instance_),
1328
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_BlacklistPB_default_instance_),
1329
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_EncryptionInfoPB_default_instance_),
1330
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysClusterConfigEntryPB_default_instance_),
1331
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysRedisConfigEntryPB_default_instance_),
1332
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ResourcePermissionsPB_default_instance_),
1333
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysRoleEntryPB_default_instance_),
1334
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysSecurityConfigEntryPB_default_instance_),
1335
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysYSQLCatalogConfigEntryPB_default_instance_),
1336
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysTransactionTablesConfigEntryPB_default_instance_),
1337
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysConfigEntryPB_default_instance_),
1338
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysRowEntry_default_instance_),
1339
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysRowEntries_default_instance_),
1340
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_DdlLogEntryPB_default_instance_),
1341
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_CDCStreamOptionsPB_default_instance_),
1342
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysCDCStreamEntryPB_default_instance_),
1343
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysSnapshotEntryPB_TabletSnapshotPB_default_instance_),
1344
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysSnapshotEntryPB_default_instance_),
1345
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse_default_instance_),
1346
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse_default_instance_),
1347
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysUniverseReplicationEntryPB_default_instance_),
1348
};
1349
1350
3.02k
void protobuf_AssignDescriptors() {
1351
3.02k
  AddDescriptors();
1352
3.02k
  ::google::protobuf::MessageFactory* factory = NULL;
1353
3.02k
  AssignDescriptors(
1354
3.02k
      "yb/master/catalog_entity_info.proto", schemas, file_default_instances, TableStruct::offsets, factory,
1355
3.02k
      file_level_metadata, file_level_enum_descriptors, NULL);
1356
3.02k
}
1357
1358
10.5M
void protobuf_AssignDescriptorsOnce() {
1359
10.5M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1360
10.5M
  ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
1361
10.5M
}
1362
1363
void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
1364
0
void protobuf_RegisterTypes(const ::std::string&) {
1365
0
  protobuf_AssignDescriptorsOnce();
1366
0
  ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 30);
1367
0
}
1368
1369
26.8k
void AddDescriptorsImpl() {
1370
26.8k
  InitDefaults();
1371
26.8k
  static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
1372
26.8k
      "\n#yb/master/catalog_entity_info.proto\022\ty"
1373
26.8k
      "b.master\032\031yb/cdc/cdc_consumer.proto\032\026yb/"
1374
26.8k
      "common/common.proto\032\032yb/common/common_ne"
1375
26.8k
      "t.proto\032\034yb/common/common_types.proto\032\033y"
1376
26.8k
      "b/consensus/metadata.proto\032\034yb/master/ma"
1377
26.8k
      "ster_types.proto\"Q\n\020PlacementBlockPB\022#\n\n"
1378
26.8k
      "cloud_info\030\001 \001(\0132\017.yb.CloudInfoPB\022\030\n\020min"
1379
26.8k
      "_num_replicas\030\002 \001(\005\"v\n\017PlacementInfoPB\022\024"
1380
26.8k
      "\n\014num_replicas\030\001 \001(\005\0225\n\020placement_blocks"
1381
26.8k
      "\030\002 \003(\0132\033.yb.master.PlacementBlockPB\022\026\n\016p"
1382
26.8k
      "lacement_uuid\030\003 \001(\014\"\247\001\n\021ReplicationInfoP"
1383
26.8k
      "B\0221\n\rlive_replicas\030\001 \001(\0132\032.yb.master.Pla"
1384
26.8k
      "cementInfoPB\0221\n\rread_replicas\030\002 \003(\0132\032.yb"
1385
26.8k
      ".master.PlacementInfoPB\022,\n\023affinitized_l"
1386
26.8k
      "eaders\030\003 \003(\0132\017.yb.CloudInfoPB\"\275\002\n\rBackfi"
1387
26.8k
      "llJobPB\022 \n\007indexes\030\001 \003(\0132\017.yb.IndexInfoP"
1388
26.8k
      "B\022C\n\016backfill_state\030\002 \003(\0132+.yb.master.Ba"
1389
26.8k
      "ckfillJobPB.BackfillStateEntry\022\035\n\022num_ro"
1390
26.8k
      "ws_processed\030\004 \001(\004:\0010\022\035\n\025backfilling_tim"
1391
26.8k
      "estamp\030\003 \001(\004\032T\n\022BackfillStateEntry\022\013\n\003ke"
1392
26.8k
      "y\030\001 \001(\t\022-\n\005value\030\002 \001(\0162\036.yb.master.Backf"
1393
26.8k
      "illJobPB.State:\0028\001\"1\n\005State\022\017\n\013IN_PROGRE"
1394
26.8k
      "SS\020\000\022\n\n\006FAILED\020\001\022\013\n\007SUCCESS\020\002\"\322\t\n\020SysTab"
1395
26.8k
      "lesEntryPB\022\014\n\004name\030\001 \002(\014\0225\n\ntable_type\030\n"
1396
26.8k
      " \001(\0162\r.yb.TableType:\022DEFAULT_TABLE_TYPE\022"
1397
26.8k
      "\024\n\014namespace_id\030\013 \001(\014\022\026\n\016namespace_name\030"
1398
26.8k
      "\036 \001(\014\022\017\n\007version\030\002 \002(\r\022\034\n\006schema\030\003 \002(\0132\014"
1399
26.8k
      ".yb.SchemaPB\022*\n\024fully_applied_schema\030\004 \001"
1400
26.8k
      "(\0132\014.yb.SchemaPB\022/\n\020partition_schema\030\t \001"
1401
26.8k
      "(\0132\025.yb.PartitionSchemaPB\022\036\n\026partition_l"
1402
26.8k
      "ist_version\030\034 \001(\r\022\026\n\016next_column_id\030\010 \001("
1403
26.8k
      "\005\0226\n\020replication_info\030\005 \001(\0132\034.yb.master."
1404
26.8k
      "ReplicationInfoPB\0229\n\005state\030\006 \001(\0162!.yb.ma"
1405
26.8k
      "ster.SysTablesEntryPB.State:\007UNKNOWN\022\021\n\t"
1406
26.8k
      "state_msg\030\007 \001(\014\022 \n\007indexes\030\014 \003(\0132\017.yb.In"
1407
26.8k
      "dexInfoPB\022\030\n\020indexed_table_id\030\r \001(\014\022\035\n\016i"
1408
26.8k
      "s_local_index\030\016 \001(\010:\005false\022\036\n\017is_unique_"
1409
26.8k
      "index\030\017 \001(\010:\005false\022#\n\nindex_info\030\026 \001(\0132\017"
1410
26.8k
      ".yb.IndexInfoPB\022!\n\022is_pg_shared_table\030\020 "
1411
26.8k
      "\001(\010:\005false\022\032\n\022wal_retention_secs\030\030 \001(\r\022\030"
1412
26.8k
      "\n\tcolocated\030\031 \001(\010:\005false\022$\n\034fully_applie"
1413
26.8k
      "d_schema_version\030\027 \001(\r\022.\n\025fully_applied_"
1414
26.8k
      "indexes\030\032 \003(\0132\017.yb.IndexInfoPB\0221\n\030fully_"
1415
26.8k
      "applied_index_info\030\033 \001(\0132\017.yb.IndexInfoP"
1416
26.8k
      "B\022.\n\013transaction\030\035 \001(\0132\031.yb.TransactionM"
1417
26.8k
      "etadataPB\022-\n\036updates_only_index_permissi"
1418
26.8k
      "ons\030\037 \001(\010:\005false\022/\n\rbackfill_jobs\030  \003(\0132"
1419
26.8k
      "\030.yb.master.BackfillJobPB\0229\n\nhide_state\030"
1420
26.8k
      "! \001(\0162%.yb.master.SysTablesEntryPB.HideS"
1421
26.8k
      "tate\022\'\n\037transaction_table_tablespace_id\030"
1422
26.8k
      "\" \001(\014\"Y\n\005State\022\013\n\007UNKNOWN\020\000\022\r\n\tPREPARING"
1423
26.8k
      "\020\001\022\013\n\007RUNNING\020\002\022\014\n\010ALTERING\020\003\022\014\n\010DELETIN"
1424
26.8k
      "G\020\004\022\013\n\007DELETED\020\005\"0\n\tHideState\022\013\n\007VISIBLE"
1425
26.8k
      "\020\000\022\n\n\006HIDING\020\001\022\n\n\006HIDDEN\020\002\"\333\005\n\021SysTablet"
1426
26.8k
      "sEntryPB\022\032\n\022OBSOLETE_start_key\030\001 \001(\014\022\030\n\020"
1427
26.8k
      "OBSOLETE_end_key\030\002 \001(\014\022\"\n\tpartition\030\007 \001("
1428
26.8k
      "\0132\017.yb.PartitionPB\022A\n\031committed_consensu"
1429
26.8k
      "s_state\030\003 \001(\0132\036.yb.consensus.ConsensusSt"
1430
26.8k
      "atePB\022:\n\005state\030\004 \001(\0162\".yb.master.SysTabl"
1431
26.8k
      "etsEntryPB.State:\007UNKNOWN\022\021\n\tstate_msg\030\005"
1432
26.8k
      " \001(\014\022\020\n\010table_id\030\006 \002(\014\022\021\n\ttable_ids\030\010 \003("
1433
26.8k
      "\014\022\030\n\tcolocated\030\t \001(\010:\005false\022#\n\033DEPRECATE"
1434
26.8k
      "D_backfilled_until\030\n \001(\014\022\023\n\013split_depth\030"
1435
26.8k
      "\013 \001(\004\022\036\n\026split_parent_tablet_id\030\r \001(\014\022K\n"
1436
26.8k
      "\020backfilled_until\030\014 \003(\01321.yb.master.SysT"
1437
26.8k
      "abletsEntryPB.BackfilledUntilEntry\022\030\n\020sp"
1438
26.8k
      "lit_tablet_ids\030\016 \003(\014\022\030\n\020hide_hybrid_time"
1439
26.8k
      "\030\020 \001(\006\022&\n\036retained_by_snapshot_schedules"
1440
26.8k
      "\030\021 \003(\014\0326\n\024BackfilledUntilEntry\022\013\n\003key\030\001 "
1441
26.8k
      "\001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"Z\n\005State\022\014\n\007UNKNO"
1442
26.8k
      "WN\020\347\007\022\r\n\tPREPARING\020\000\022\014\n\010CREATING\020\001\022\013\n\007RU"
1443
26.8k
      "NNING\020\002\022\014\n\010REPLACED\020\003\022\013\n\007DELETED\020\004J\004\010\017\020\020"
1444
26.8k
      "\"\323\002\n\023SysNamespaceEntryPB\022\014\n\004name\030\001 \001(\014\0228"
1445
26.8k
      "\n\rdatabase_type\030\002 \001(\0162\017.yb.YQLDatabase:\020"
1446
26.8k
      "YQL_DATABASE_CQL\022\023\n\013next_pg_oid\030\003 \001(\r\022\030\n"
1447
26.8k
      "\tcolocated\030\004 \001(\010:\005false\022.\n\013transaction\030\006"
1448
26.8k
      " \001(\0132\031.yb.TransactionMetadataPB\022<\n\005state"
1449
26.8k
      "\030\005 \001(\0162$.yb.master.SysNamespaceEntryPB.S"
1450
26.8k
      "tate:\007UNKNOWN\"W\n\005State\022\013\n\007UNKNOWN\020\000\022\r\n\tP"
1451
26.8k
      "REPARING\020\001\022\n\n\006FAILED\020\002\022\013\n\007RUNNING\020\003\022\014\n\010D"
1452
26.8k
      "ELETING\020\004\022\013\n\007DELETED\020\005\"n\n\020SysUDTypeEntry"
1453
26.8k
      "PB\022\024\n\014namespace_id\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022\023"
1454
26.8k
      "\n\013field_names\030\003 \003(\t\022!\n\013field_types\030\004 \003(\013"
1455
26.8k
      "2\014.yb.QLTypePB\"g\n\013BlacklistPB\022\035\n\005hosts\030\001"
1456
26.8k
      " \003(\0132\016.yb.HostPortPB\022\034\n\024initial_replica_"
1457
26.8k
      "load\030\002 \001(\005\022\033\n\023initial_leader_load\030\003 \001(\005\""
1458
26.8k
      "\231\001\n\020EncryptionInfoPB\022\032\n\022encryption_enabl"
1459
26.8k
      "ed\030\001 \001(\010\022%\n\035universe_key_registry_encode"
1460
26.8k
      "d\030\002 \001(\014\022\020\n\010key_path\030\003 \001(\t\022\031\n\021latest_vers"
1461
26.8k
      "ion_id\030\004 \001(\t\022\025\n\rkey_in_memory\030\005 \001(\010\"\311\002\n\027"
1462
26.8k
      "SysClusterConfigEntryPB\022\017\n\007version\030\001 \001(\005"
1463
26.8k
      "\022\024\n\014cluster_uuid\030\004 \001(\t\0226\n\020replication_in"
1464
26.8k
      "fo\030\002 \001(\0132\034.yb.master.ReplicationInfoPB\0220"
1465
26.8k
      "\n\020server_blacklist\030\003 \001(\0132\026.yb.master.Bla"
1466
26.8k
      "cklistPB\0220\n\020leader_blacklist\030\007 \001(\0132\026.yb."
1467
26.8k
      "master.BlacklistPB\0224\n\017encryption_info\030\005 "
1468
26.8k
      "\001(\0132\033.yb.master.EncryptionInfoPB\0225\n\021cons"
1469
26.8k
      "umer_registry\030\006 \001(\0132\032.yb.cdc.ConsumerReg"
1470
26.8k
      "istryPB\"2\n\025SysRedisConfigEntryPB\022\013\n\003key\030"
1471
26.8k
      "\001 \001(\t\022\014\n\004args\030\002 \003(\014\"\264\001\n\025ResourcePermissi"
1472
26.8k
      "onsPB\022\025\n\rresource_name\030\001 \001(\t\022\032\n\022canonica"
1473
26.8k
      "l_resource\030\013 \001(\t\022\026\n\016namespace_name\030\014 \001(\t"
1474
26.8k
      "\022\'\n\rresource_type\030\002 \001(\0162\020.yb.ResourceTyp"
1475
26.8k
      "e\022\'\n\013permissions\030\r \003(\0162\022.yb.PermissionTy"
1476
26.8k
      "pe\"\244\001\n\016SysRoleEntryPB\022\014\n\004role\030\001 \001(\014\022\021\n\tc"
1477
26.8k
      "an_login\030\002 \001(\010\022\024\n\014is_superuser\030\003 \001(\010\022\021\n\t"
1478
26.8k
      "member_of\030\004 \003(\014\022\023\n\013salted_hash\030\005 \001(\014\0223\n\t"
1479
26.8k
      "resources\030\007 \003(\0132 .yb.master.ResourcePerm"
1480
26.8k
      "issionsPB\"1\n\030SysSecurityConfigEntryPB\022\025\n"
1481
26.8k
      "\rroles_version\030\001 \001(\004\"\204\001\n\033SysYSQLCatalogC"
1482
26.8k
      "onfigEntryPB\022\017\n\007version\030\001 \001(\004\022\023\n\013initdb_"
1483
26.8k
      "done\030\002 \001(\010\022\024\n\014initdb_error\030\005 \001(\t\022)\n!tran"
1484
26.8k
      "sactional_sys_catalog_enabled\030\006 \001(\010\"4\n!S"
1485
26.8k
      "ysTransactionTablesConfigEntryPB\022\017\n\007vers"
1486
26.8k
      "ion\030\001 \001(\004\"\366\001\n\020SysConfigEntryPB\022>\n\017securi"
1487
26.8k
      "ty_config\030\001 \001(\0132#.yb.master.SysSecurityC"
1488
26.8k
      "onfigEntryPBH\000\022E\n\023ysql_catalog_config\030\002 "
1489
26.8k
      "\001(\0132&.yb.master.SysYSQLCatalogConfigEntr"
1490
26.8k
      "yPBH\000\022Q\n\031transaction_tables_config\030\003 \001(\013"
1491
26.8k
      "2,.yb.master.SysTransactionTablesConfigE"
1492
26.8k
      "ntryPBH\000B\010\n\006config\"Q\n\013SysRowEntry\022(\n\004typ"
1493
26.8k
      "e\030\001 \001(\0162\032.yb.master.SysRowEntryType\022\n\n\002i"
1494
26.8k
      "d\030\002 \001(\t\022\014\n\004data\030\003 \001(\014\"8\n\rSysRowEntries\022\'"
1495
26.8k
      "\n\007entries\030\001 \003(\0132\026.yb.master.SysRowEntry\""
1496
26.8k
      "\244\001\n\rDdlLogEntryPB\022!\n\ntable_type\030\001 \001(\0162\r."
1497
26.8k
      "yb.TableType\022\026\n\016namespace_name\030\002 \001(\t\022\024\n\014"
1498
26.8k
      "namespace_id\030\003 \001(\t\022\022\n\ntable_name\030\004 \001(\t\022\020"
1499
26.8k
      "\n\010table_id\030\005 \001(\t\022\016\n\006action\030\006 \001(\t\022\014\n\004time"
1500
26.8k
      "\030\007 \001(\006\"0\n\022CDCStreamOptionsPB\022\013\n\003key\030\001 \001("
1501
26.8k
      "\t\022\r\n\005value\030\002 \001(\014\"\351\001\n\023SysCDCStreamEntryPB"
1502
26.8k
      "\022\020\n\010table_id\030\001 \003(\t\022.\n\007options\030\002 \003(\0132\035.yb"
1503
26.8k
      ".master.CDCStreamOptionsPB\022;\n\005state\030\003 \001("
1504
26.8k
      "\0162$.yb.master.SysCDCStreamEntryPB.State:"
1505
26.8k
      "\006ACTIVE\022\024\n\014namespace_id\030\004 \001(\t\"=\n\005State\022\r"
1506
26.8k
      "\n\tINITIATED\020\003\022\n\n\006ACTIVE\020\000\022\014\n\010DELETING\020\001\022"
1507
26.8k
      "\013\n\007DELETED\020\002\"\211\004\n\022SysSnapshotEntryPB\022;\n\005s"
1508
26.8k
      "tate\030\001 \001(\0162#.yb.master.SysSnapshotEntryP"
1509
26.8k
      "B.State:\007UNKNOWN\022H\n\020tablet_snapshots\030\002 \003"
1510
26.8k
      "(\0132..yb.master.SysSnapshotEntryPB.Tablet"
1511
26.8k
      "SnapshotPB\022\'\n\007entries\030\003 \003(\0132\026.yb.master."
1512
26.8k
      "SysRowEntry\022\034\n\024snapshot_hybrid_time\030\004 \001("
1513
26.8k
      "\006\022\017\n\007version\030\005 \001(\003\022\023\n\013schedule_id\030\006 \001(\014\022"
1514
26.8k
      "%\n\035previous_snapshot_hybrid_time\030\007 \001(\006\032R"
1515
26.8k
      "\n\020TabletSnapshotPB\022\n\n\002id\030\001 \001(\014\0222\n\005state\030"
1516
26.8k
      "\002 \001(\0162#.yb.master.SysSnapshotEntryPB.Sta"
1517
26.8k
      "te\"\203\001\n\005State\022\013\n\007UNKNOWN\020\000\022\014\n\010CREATING\020\001\022"
1518
26.8k
      "\014\n\010COMPLETE\020\002\022\014\n\010DELETING\020\003\022\013\n\007DELETED\020\004"
1519
26.8k
      "\022\n\n\006FAILED\020\005\022\r\n\tCANCELLED\020\006\022\r\n\tRESTORING"
1520
26.8k
      "\020\007\022\014\n\010RESTORED\020\010\"\315\004\n\035SysUniverseReplicat"
1521
26.8k
      "ionEntryPB\022\023\n\013producer_id\030\001 \001(\t\0221\n\031produ"
1522
26.8k
      "cer_master_addresses\030\002 \003(\0132\016.yb.HostPort"
1523
26.8k
      "PB\022\016\n\006tables\030\003 \003(\t\022K\n\005state\030\004 \001(\0162..yb.m"
1524
26.8k
      "aster.SysUniverseReplicationEntryPB.Stat"
1525
26.8k
      "e:\014INITIALIZING\022W\n\020validated_tables\030\005 \003("
1526
26.8k
      "\0132=.yb.master.SysUniverseReplicationEntr"
1527
26.8k
      "yPB.ValidatedTablesEntry\022Q\n\rtable_stream"
1528
26.8k
      "s\030\006 \003(\0132:.yb.master.SysUniverseReplicati"
1529
26.8k
      "onEntryPB.TableStreamsEntry\0326\n\024Validated"
1530
26.8k
      "TablesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:"
1531
26.8k
      "\0028\001\0323\n\021TableStreamsEntry\022\013\n\003key\030\001 \001(\t\022\r\n"
1532
26.8k
      "\005value\030\002 \001(\t:\0028\001\"n\n\005State\022\020\n\014INITIALIZIN"
1533
26.8k
      "G\020\000\022\r\n\tVALIDATED\020\001\022\n\n\006ACTIVE\020\002\022\n\n\006FAILED"
1534
26.8k
      "\020\003\022\014\n\010DISABLED\020\006\022\013\n\007DELETED\020\004\022\021\n\rDELETED"
1535
26.8k
      "_ERROR\020\005B\017\n\rorg.yb.master"
1536
26.8k
  };
1537
26.8k
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
1538
26.8k
      descriptor, 6545);
1539
26.8k
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
1540
26.8k
    "yb/master/catalog_entity_info.proto", &protobuf_RegisterTypes);
1541
26.8k
  ::protobuf_yb_2fcdc_2fcdc_5fconsumer_2eproto::AddDescriptors();
1542
26.8k
  ::protobuf_yb_2fcommon_2fcommon_2eproto::AddDescriptors();
1543
26.8k
  ::protobuf_yb_2fcommon_2fcommon_5fnet_2eproto::AddDescriptors();
1544
26.8k
  ::protobuf_yb_2fcommon_2fcommon_5ftypes_2eproto::AddDescriptors();
1545
26.8k
  ::protobuf_yb_2fconsensus_2fmetadata_2eproto::AddDescriptors();
1546
26.8k
  ::protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::AddDescriptors();
1547
26.8k
}
1548
1549
164k
void AddDescriptors() {
1550
164k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1551
164k
  ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
1552
164k
}
1553
// Force AddDescriptors() to be called at dynamic initialization time.
1554
struct StaticDescriptorInitializer {
1555
26.8k
  StaticDescriptorInitializer() {
1556
26.8k
    AddDescriptors();
1557
26.8k
  }
1558
} static_descriptor_initializer;
1559
}  // namespace protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto
1560
namespace yb {
1561
namespace master {
1562
3
const ::google::protobuf::EnumDescriptor* BackfillJobPB_State_descriptor() {
1563
3
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
1564
3
  return protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_enum_descriptors[0];
1565
3
}
1566
469
bool BackfillJobPB_State_IsValid(int value) {
1567
469
  switch (value) {
1568
457
    case 0:
1569
457
    case 1:
1570
469
    case 2:
1571
469
      return true;
1572
0
    default:
1573
0
      return false;
1574
469
  }
1575
469
}
1576
1577
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1578
const BackfillJobPB_State BackfillJobPB::IN_PROGRESS;
1579
const BackfillJobPB_State BackfillJobPB::FAILED;
1580
const BackfillJobPB_State BackfillJobPB::SUCCESS;
1581
const BackfillJobPB_State BackfillJobPB::State_MIN;
1582
const BackfillJobPB_State BackfillJobPB::State_MAX;
1583
const int BackfillJobPB::State_ARRAYSIZE;
1584
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1585
451k
const ::google::protobuf::EnumDescriptor* SysTablesEntryPB_State_descriptor() {
1586
451k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
1587
451k
  return protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_enum_descriptors[1];
1588
451k
}
1589
1.22M
bool SysTablesEntryPB_State_IsValid(int value) {
1590
1.22M
  switch (value) {
1591
0
    case 0:
1592
56.3k
    case 1:
1593
1.18M
    case 2:
1594
1.20M
    case 3:
1595
1.21M
    case 4:
1596
1.22M
    case 5:
1597
1.22M
      return true;
1598
0
    default:
1599
0
      return false;
1600
1.22M
  }
1601
1.22M
}
1602
1603
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1604
const SysTablesEntryPB_State SysTablesEntryPB::UNKNOWN;
1605
const SysTablesEntryPB_State SysTablesEntryPB::PREPARING;
1606
const SysTablesEntryPB_State SysTablesEntryPB::RUNNING;
1607
const SysTablesEntryPB_State SysTablesEntryPB::ALTERING;
1608
const SysTablesEntryPB_State SysTablesEntryPB::DELETING;
1609
const SysTablesEntryPB_State SysTablesEntryPB::DELETED;
1610
const SysTablesEntryPB_State SysTablesEntryPB::State_MIN;
1611
const SysTablesEntryPB_State SysTablesEntryPB::State_MAX;
1612
const int SysTablesEntryPB::State_ARRAYSIZE;
1613
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1614
0
const ::google::protobuf::EnumDescriptor* SysTablesEntryPB_HideState_descriptor() {
1615
0
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
1616
0
  return protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_enum_descriptors[2];
1617
0
}
1618
14
bool SysTablesEntryPB_HideState_IsValid(int value) {
1619
14
  switch (value) {
1620
0
    case 0:
1621
4
    case 1:
1622
14
    case 2:
1623
14
      return true;
1624
0
    default:
1625
0
      return false;
1626
14
  }
1627
14
}
1628
1629
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1630
const SysTablesEntryPB_HideState SysTablesEntryPB::VISIBLE;
1631
const SysTablesEntryPB_HideState SysTablesEntryPB::HIDING;
1632
const SysTablesEntryPB_HideState SysTablesEntryPB::HIDDEN;
1633
const SysTablesEntryPB_HideState SysTablesEntryPB::HideState_MIN;
1634
const SysTablesEntryPB_HideState SysTablesEntryPB::HideState_MAX;
1635
const int SysTablesEntryPB::HideState_ARRAYSIZE;
1636
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1637
67
const ::google::protobuf::EnumDescriptor* SysTabletsEntryPB_State_descriptor() {
1638
67
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
1639
67
  return protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_enum_descriptors[3];
1640
67
}
1641
273k
bool SysTabletsEntryPB_State_IsValid(int value) {
1642
273k
  switch (value) {
1643
83.1k
    case 0:
1644
131k
    case 1:
1645
248k
    case 2:
1646
248k
    case 3:
1647
273k
    case 4:
1648
273k
    case 999:
1649
273k
      return true;
1650
0
    default:
1651
0
      return false;
1652
273k
  }
1653
273k
}
1654
1655
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1656
const SysTabletsEntryPB_State SysTabletsEntryPB::UNKNOWN;
1657
const SysTabletsEntryPB_State SysTabletsEntryPB::PREPARING;
1658
const SysTabletsEntryPB_State SysTabletsEntryPB::CREATING;
1659
const SysTabletsEntryPB_State SysTabletsEntryPB::RUNNING;
1660
const SysTabletsEntryPB_State SysTabletsEntryPB::REPLACED;
1661
const SysTabletsEntryPB_State SysTabletsEntryPB::DELETED;
1662
const SysTabletsEntryPB_State SysTabletsEntryPB::State_MIN;
1663
const SysTabletsEntryPB_State SysTabletsEntryPB::State_MAX;
1664
const int SysTabletsEntryPB::State_ARRAYSIZE;
1665
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1666
6
const ::google::protobuf::EnumDescriptor* SysNamespaceEntryPB_State_descriptor() {
1667
6
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
1668
6
  return protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_enum_descriptors[4];
1669
6
}
1670
25.0k
bool SysNamespaceEntryPB_State_IsValid(int value) {
1671
25.0k
  switch (value) {
1672
0
    case 0:
1673
2.64k
    case 1:
1674
2.65k
    case 2:
1675
24.8k
    case 3:
1676
24.9k
    case 4:
1677
25.0k
    case 5:
1678
25.0k
      return true;
1679
0
    default:
1680
0
      return false;
1681
25.0k
  }
1682
25.0k
}
1683
1684
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1685
const SysNamespaceEntryPB_State SysNamespaceEntryPB::UNKNOWN;
1686
const SysNamespaceEntryPB_State SysNamespaceEntryPB::PREPARING;
1687
const SysNamespaceEntryPB_State SysNamespaceEntryPB::FAILED;
1688
const SysNamespaceEntryPB_State SysNamespaceEntryPB::RUNNING;
1689
const SysNamespaceEntryPB_State SysNamespaceEntryPB::DELETING;
1690
const SysNamespaceEntryPB_State SysNamespaceEntryPB::DELETED;
1691
const SysNamespaceEntryPB_State SysNamespaceEntryPB::State_MIN;
1692
const SysNamespaceEntryPB_State SysNamespaceEntryPB::State_MAX;
1693
const int SysNamespaceEntryPB::State_ARRAYSIZE;
1694
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1695
1
const ::google::protobuf::EnumDescriptor* SysCDCStreamEntryPB_State_descriptor() {
1696
1
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
1697
1
  return protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_enum_descriptors[5];
1698
1
}
1699
16.8k
bool SysCDCStreamEntryPB_State_IsValid(int value) {
1700
16.8k
  switch (value) {
1701
16.7k
    case 0:
1702
16.8k
    case 1:
1703
16.8k
    case 2:
1704
16.8k
    case 3:
1705
16.8k
      return true;
1706
0
    default:
1707
0
      return false;
1708
16.8k
  }
1709
16.8k
}
1710
1711
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1712
const SysCDCStreamEntryPB_State SysCDCStreamEntryPB::INITIATED;
1713
const SysCDCStreamEntryPB_State SysCDCStreamEntryPB::ACTIVE;
1714
const SysCDCStreamEntryPB_State SysCDCStreamEntryPB::DELETING;
1715
const SysCDCStreamEntryPB_State SysCDCStreamEntryPB::DELETED;
1716
const SysCDCStreamEntryPB_State SysCDCStreamEntryPB::State_MIN;
1717
const SysCDCStreamEntryPB_State SysCDCStreamEntryPB::State_MAX;
1718
const int SysCDCStreamEntryPB::State_ARRAYSIZE;
1719
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1720
55
const ::google::protobuf::EnumDescriptor* SysSnapshotEntryPB_State_descriptor() {
1721
55
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
1722
55
  return protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_enum_descriptors[6];
1723
55
}
1724
882
bool SysSnapshotEntryPB_State_IsValid(int value) {
1725
882
  switch (value) {
1726
0
    case 0:
1727
518
    case 1:
1728
801
    case 2:
1729
801
    case 3:
1730
801
    case 4:
1731
801
    case 5:
1732
801
    case 6:
1733
813
    case 7:
1734
882
    case 8:
1735
882
      return true;
1736
0
    default:
1737
0
      return false;
1738
882
  }
1739
882
}
1740
1741
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1742
const SysSnapshotEntryPB_State SysSnapshotEntryPB::UNKNOWN;
1743
const SysSnapshotEntryPB_State SysSnapshotEntryPB::CREATING;
1744
const SysSnapshotEntryPB_State SysSnapshotEntryPB::COMPLETE;
1745
const SysSnapshotEntryPB_State SysSnapshotEntryPB::DELETING;
1746
const SysSnapshotEntryPB_State SysSnapshotEntryPB::DELETED;
1747
const SysSnapshotEntryPB_State SysSnapshotEntryPB::FAILED;
1748
const SysSnapshotEntryPB_State SysSnapshotEntryPB::CANCELLED;
1749
const SysSnapshotEntryPB_State SysSnapshotEntryPB::RESTORING;
1750
const SysSnapshotEntryPB_State SysSnapshotEntryPB::RESTORED;
1751
const SysSnapshotEntryPB_State SysSnapshotEntryPB::State_MIN;
1752
const SysSnapshotEntryPB_State SysSnapshotEntryPB::State_MAX;
1753
const int SysSnapshotEntryPB::State_ARRAYSIZE;
1754
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1755
0
const ::google::protobuf::EnumDescriptor* SysUniverseReplicationEntryPB_State_descriptor() {
1756
0
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
1757
0
  return protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_enum_descriptors[7];
1758
0
}
1759
2
bool SysUniverseReplicationEntryPB_State_IsValid(int value) {
1760
2
  switch (value) {
1761
2
    case 0:
1762
2
    case 1:
1763
2
    case 2:
1764
2
    case 3:
1765
2
    case 4:
1766
2
    case 5:
1767
2
    case 6:
1768
2
      return true;
1769
0
    default:
1770
0
      return false;
1771
2
  }
1772
2
}
1773
1774
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1775
const SysUniverseReplicationEntryPB_State SysUniverseReplicationEntryPB::INITIALIZING;
1776
const SysUniverseReplicationEntryPB_State SysUniverseReplicationEntryPB::VALIDATED;
1777
const SysUniverseReplicationEntryPB_State SysUniverseReplicationEntryPB::ACTIVE;
1778
const SysUniverseReplicationEntryPB_State SysUniverseReplicationEntryPB::FAILED;
1779
const SysUniverseReplicationEntryPB_State SysUniverseReplicationEntryPB::DISABLED;
1780
const SysUniverseReplicationEntryPB_State SysUniverseReplicationEntryPB::DELETED;
1781
const SysUniverseReplicationEntryPB_State SysUniverseReplicationEntryPB::DELETED_ERROR;
1782
const SysUniverseReplicationEntryPB_State SysUniverseReplicationEntryPB::State_MIN;
1783
const SysUniverseReplicationEntryPB_State SysUniverseReplicationEntryPB::State_MAX;
1784
const int SysUniverseReplicationEntryPB::State_ARRAYSIZE;
1785
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1786
1787
// ===================================================================
1788
1789
26.8k
void PlacementBlockPB::InitAsDefaultInstance() {
1790
26.8k
  ::yb::master::_PlacementBlockPB_default_instance_._instance.get_mutable()->cloud_info_ = const_cast< ::yb::CloudInfoPB*>(
1791
26.8k
      ::yb::CloudInfoPB::internal_default_instance());
1792
26.8k
}
1793
0
void PlacementBlockPB::clear_cloud_info() {
1794
0
  if (cloud_info_ != NULL) cloud_info_->Clear();
1795
0
  clear_has_cloud_info();
1796
0
}
1797
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1798
const int PlacementBlockPB::kCloudInfoFieldNumber;
1799
const int PlacementBlockPB::kMinNumReplicasFieldNumber;
1800
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1801
1802
PlacementBlockPB::PlacementBlockPB()
1803
1.29M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
1804
1.29M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
1805
1.26M
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsPlacementBlockPB();
1806
1.26M
  }
1807
1.29M
  SharedCtor();
1808
  // @@protoc_insertion_point(constructor:yb.master.PlacementBlockPB)
1809
1.29M
}
1810
PlacementBlockPB::PlacementBlockPB(const PlacementBlockPB& from)
1811
  : ::google::protobuf::Message(),
1812
      _internal_metadata_(NULL),
1813
      _has_bits_(from._has_bits_),
1814
0
      _cached_size_(0) {
1815
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1816
0
  if (from.has_cloud_info()) {
1817
0
    cloud_info_ = new ::yb::CloudInfoPB(*from.cloud_info_);
1818
0
  } else {
1819
0
    cloud_info_ = NULL;
1820
0
  }
1821
0
  min_num_replicas_ = from.min_num_replicas_;
1822
  // @@protoc_insertion_point(copy_constructor:yb.master.PlacementBlockPB)
1823
0
}
1824
1825
1.29M
void PlacementBlockPB::SharedCtor() {
1826
1.29M
  _cached_size_ = 0;
1827
1.29M
  ::memset(&cloud_info_, 0, static_cast<size_t>(
1828
1.29M
      reinterpret_cast<char*>(&min_num_replicas_) -
1829
1.29M
      reinterpret_cast<char*>(&cloud_info_)) + sizeof(min_num_replicas_));
1830
1.29M
}
1831
1832
1.26M
PlacementBlockPB::~PlacementBlockPB() {
1833
  // @@protoc_insertion_point(destructor:yb.master.PlacementBlockPB)
1834
1.26M
  SharedDtor();
1835
1.26M
}
1836
1837
1.26M
void PlacementBlockPB::SharedDtor() {
1838
1.26M
  if (this != internal_default_instance()) 
delete cloud_info_1.26M
;
1839
1.26M
}
1840
1841
0
void PlacementBlockPB::SetCachedSize(int size) const {
1842
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1843
0
  _cached_size_ = size;
1844
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1845
0
}
1846
0
const ::google::protobuf::Descriptor* PlacementBlockPB::descriptor() {
1847
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
1848
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
1849
0
}
1850
1851
0
const PlacementBlockPB& PlacementBlockPB::default_instance() {
1852
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsPlacementBlockPB();
1853
0
  return *internal_default_instance();
1854
0
}
1855
1856
0
PlacementBlockPB* PlacementBlockPB::New(::google::protobuf::Arena* arena) const {
1857
0
  PlacementBlockPB* n = new PlacementBlockPB;
1858
0
  if (arena != NULL) {
1859
0
    arena->Own(n);
1860
0
  }
1861
0
  return n;
1862
0
}
1863
1864
82
void PlacementBlockPB::Clear() {
1865
// @@protoc_insertion_point(message_clear_start:yb.master.PlacementBlockPB)
1866
82
  ::google::protobuf::uint32 cached_has_bits = 0;
1867
  // Prevent compiler warnings about cached_has_bits being unused
1868
82
  (void) cached_has_bits;
1869
1870
82
  cached_has_bits = _has_bits_[0];
1871
82
  if (cached_has_bits & 0x00000001u) {
1872
81
    GOOGLE_DCHECK(cloud_info_ != NULL);
1873
81
    cloud_info_->Clear();
1874
81
  }
1875
82
  min_num_replicas_ = 0;
1876
82
  _has_bits_.Clear();
1877
82
  _internal_metadata_.Clear();
1878
82
}
1879
1880
bool PlacementBlockPB::MergePartialFromCodedStream(
1881
139
    ::google::protobuf::io::CodedInputStream* input) {
1882
276
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
1883
139
  ::google::protobuf::uint32 tag;
1884
  // @@protoc_insertion_point(parse_start:yb.master.PlacementBlockPB)
1885
415
  for (;;) {
1886
415
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1887
415
    tag = p.first;
1888
415
    if (!p.second) 
goto handle_unusual139
;
1889
276
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1890
      // optional .yb.CloudInfoPB cloud_info = 1;
1891
138
      case 1: {
1892
138
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1893
138
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
1894
138
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
1895
138
               input, mutable_cloud_info()));
1896
138
        } else {
1897
0
          goto handle_unusual;
1898
0
        }
1899
138
        break;
1900
138
      }
1901
1902
      // optional int32 min_num_replicas = 2;
1903
138
      case 2: {
1904
138
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1905
138
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
1906
138
          set_has_min_num_replicas();
1907
138
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1908
138
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
1909
138
                 input, &min_num_replicas_)));
1910
138
        } else {
1911
0
          goto handle_unusual;
1912
0
        }
1913
138
        break;
1914
138
      }
1915
1916
138
      default: {
1917
139
      handle_unusual:
1918
139
        if (tag == 0) {
1919
139
          goto success;
1920
139
        }
1921
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
1922
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
1923
0
        break;
1924
0
      }
1925
276
    }
1926
276
  }
1927
139
success:
1928
  // @@protoc_insertion_point(parse_success:yb.master.PlacementBlockPB)
1929
139
  return true;
1930
0
failure:
1931
  // @@protoc_insertion_point(parse_failure:yb.master.PlacementBlockPB)
1932
0
  return false;
1933
139
#undef DO_
1934
139
}
1935
1936
void PlacementBlockPB::SerializeWithCachedSizes(
1937
0
    ::google::protobuf::io::CodedOutputStream* output) const {
1938
  // @@protoc_insertion_point(serialize_start:yb.master.PlacementBlockPB)
1939
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1940
0
  (void) cached_has_bits;
1941
1942
0
  cached_has_bits = _has_bits_[0];
1943
  // optional .yb.CloudInfoPB cloud_info = 1;
1944
0
  if (cached_has_bits & 0x00000001u) {
1945
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1946
0
      1, *this->cloud_info_, output);
1947
0
  }
1948
1949
  // optional int32 min_num_replicas = 2;
1950
0
  if (cached_has_bits & 0x00000002u) {
1951
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->min_num_replicas(), output);
1952
0
  }
1953
1954
0
  if (_internal_metadata_.have_unknown_fields()) {
1955
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1956
0
        _internal_metadata_.unknown_fields(), output);
1957
0
  }
1958
  // @@protoc_insertion_point(serialize_end:yb.master.PlacementBlockPB)
1959
0
}
1960
1961
::google::protobuf::uint8* PlacementBlockPB::InternalSerializeWithCachedSizesToArray(
1962
277
    bool deterministic, ::google::protobuf::uint8* target) const {
1963
277
  (void)deterministic; // Unused
1964
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.PlacementBlockPB)
1965
277
  ::google::protobuf::uint32 cached_has_bits = 0;
1966
277
  (void) cached_has_bits;
1967
1968
277
  cached_has_bits = _has_bits_[0];
1969
  // optional .yb.CloudInfoPB cloud_info = 1;
1970
277
  if (cached_has_bits & 0x00000001u) {
1971
275
    target = ::google::protobuf::internal::WireFormatLite::
1972
275
      InternalWriteMessageToArray(
1973
275
        1, *this->cloud_info_, deterministic, target);
1974
275
  }
1975
1976
  // optional int32 min_num_replicas = 2;
1977
277
  if (cached_has_bits & 0x00000002u) {
1978
275
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->min_num_replicas(), target);
1979
275
  }
1980
1981
277
  if (_internal_metadata_.have_unknown_fields()) {
1982
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1983
0
        _internal_metadata_.unknown_fields(), target);
1984
0
  }
1985
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.PlacementBlockPB)
1986
277
  return target;
1987
277
}
1988
1989
423
size_t PlacementBlockPB::ByteSizeLong() const {
1990
// @@protoc_insertion_point(message_byte_size_start:yb.master.PlacementBlockPB)
1991
423
  size_t total_size = 0;
1992
1993
423
  if (_internal_metadata_.have_unknown_fields()) {
1994
0
    total_size +=
1995
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1996
0
        _internal_metadata_.unknown_fields());
1997
0
  }
1998
423
  if (_has_bits_[0 / 32] & 3u) {
1999
    // optional .yb.CloudInfoPB cloud_info = 1;
2000
420
    if (has_cloud_info()) {
2001
420
      total_size += 1 +
2002
420
        ::google::protobuf::internal::WireFormatLite::MessageSize(
2003
420
          *this->cloud_info_);
2004
420
    }
2005
2006
    // optional int32 min_num_replicas = 2;
2007
420
    if (has_min_num_replicas()) {
2008
420
      total_size += 1 +
2009
420
        ::google::protobuf::internal::WireFormatLite::Int32Size(
2010
420
          this->min_num_replicas());
2011
420
    }
2012
2013
420
  }
2014
423
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2015
423
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2016
423
  _cached_size_ = cached_size;
2017
423
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2018
423
  return total_size;
2019
423
}
2020
2021
0
void PlacementBlockPB::MergeFrom(const ::google::protobuf::Message& from) {
2022
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.PlacementBlockPB)
2023
0
  GOOGLE_DCHECK_NE(&from, this);
2024
0
  const PlacementBlockPB* source =
2025
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PlacementBlockPB>(
2026
0
          &from);
2027
0
  if (source == NULL) {
2028
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.PlacementBlockPB)
2029
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2030
0
  } else {
2031
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.PlacementBlockPB)
2032
0
    MergeFrom(*source);
2033
0
  }
2034
0
}
2035
2036
1.26M
void PlacementBlockPB::MergeFrom(const PlacementBlockPB& from) {
2037
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.PlacementBlockPB)
2038
1.26M
  GOOGLE_DCHECK_NE(&from, this);
2039
1.26M
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2040
1.26M
  ::google::protobuf::uint32 cached_has_bits = 0;
2041
1.26M
  (void) cached_has_bits;
2042
2043
1.26M
  cached_has_bits = from._has_bits_[0];
2044
1.26M
  if (cached_has_bits & 3u) {
2045
1.26M
    if (
cached_has_bits & 0x00000001u1.26M
) {
2046
1.26M
      mutable_cloud_info()->::yb::CloudInfoPB::MergeFrom(from.cloud_info());
2047
1.26M
    }
2048
1.26M
    if (
cached_has_bits & 0x00000002u1.26M
) {
2049
1.26M
      min_num_replicas_ = from.min_num_replicas_;
2050
1.26M
    }
2051
1.26M
    _has_bits_[0] |= cached_has_bits;
2052
1.26M
  }
2053
1.26M
}
2054
2055
0
void PlacementBlockPB::CopyFrom(const ::google::protobuf::Message& from) {
2056
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.PlacementBlockPB)
2057
0
  if (&from == this) return;
2058
0
  Clear();
2059
0
  MergeFrom(from);
2060
0
}
2061
2062
0
void PlacementBlockPB::CopyFrom(const PlacementBlockPB& from) {
2063
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.PlacementBlockPB)
2064
0
  if (&from == this) return;
2065
0
  Clear();
2066
0
  MergeFrom(from);
2067
0
}
2068
2069
0
bool PlacementBlockPB::IsInitialized() const {
2070
0
  return true;
2071
0
}
2072
2073
0
void PlacementBlockPB::Swap(PlacementBlockPB* other) {
2074
0
  if (other == this) return;
2075
0
  InternalSwap(other);
2076
0
}
2077
0
void PlacementBlockPB::InternalSwap(PlacementBlockPB* other) {
2078
0
  using std::swap;
2079
0
  swap(cloud_info_, other->cloud_info_);
2080
0
  swap(min_num_replicas_, other->min_num_replicas_);
2081
0
  swap(_has_bits_[0], other->_has_bits_[0]);
2082
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
2083
0
  swap(_cached_size_, other->_cached_size_);
2084
0
}
2085
2086
321
::google::protobuf::Metadata PlacementBlockPB::GetMetadata() const {
2087
321
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
2088
321
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
2089
321
}
2090
2091
2092
// ===================================================================
2093
2094
26.8k
void PlacementInfoPB::InitAsDefaultInstance() {
2095
26.8k
}
2096
#if !defined(_MSC_VER) || _MSC_VER >= 1900
2097
const int PlacementInfoPB::kNumReplicasFieldNumber;
2098
const int PlacementInfoPB::kPlacementBlocksFieldNumber;
2099
const int PlacementInfoPB::kPlacementUuidFieldNumber;
2100
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
2101
2102
PlacementInfoPB::PlacementInfoPB()
2103
2.39M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2104
2.39M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
2105
2.36M
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsPlacementInfoPB();
2106
2.36M
  }
2107
2.39M
  SharedCtor();
2108
  // @@protoc_insertion_point(constructor:yb.master.PlacementInfoPB)
2109
2.39M
}
2110
PlacementInfoPB::PlacementInfoPB(const PlacementInfoPB& from)
2111
  : ::google::protobuf::Message(),
2112
      _internal_metadata_(NULL),
2113
      _has_bits_(from._has_bits_),
2114
      _cached_size_(0),
2115
111k
      placement_blocks_(from.placement_blocks_) {
2116
111k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2117
111k
  placement_uuid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2118
111k
  if (from.has_placement_uuid()) {
2119
10.0k
    placement_uuid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.placement_uuid_);
2120
10.0k
  }
2121
111k
  num_replicas_ = from.num_replicas_;
2122
  // @@protoc_insertion_point(copy_constructor:yb.master.PlacementInfoPB)
2123
111k
}
2124
2125
2.39M
void PlacementInfoPB::SharedCtor() {
2126
2.39M
  _cached_size_ = 0;
2127
2.39M
  placement_uuid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2128
2.39M
  num_replicas_ = 0;
2129
2.39M
}
2130
2131
2.47M
PlacementInfoPB::~PlacementInfoPB() {
2132
  // @@protoc_insertion_point(destructor:yb.master.PlacementInfoPB)
2133
2.47M
  SharedDtor();
2134
2.47M
}
2135
2136
2.47M
void PlacementInfoPB::SharedDtor() {
2137
2.47M
  placement_uuid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2138
2.47M
}
2139
2140
0
void PlacementInfoPB::SetCachedSize(int size) const {
2141
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2142
0
  _cached_size_ = size;
2143
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2144
0
}
2145
0
const ::google::protobuf::Descriptor* PlacementInfoPB::descriptor() {
2146
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
2147
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2148
0
}
2149
2150
0
const PlacementInfoPB& PlacementInfoPB::default_instance() {
2151
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsPlacementInfoPB();
2152
0
  return *internal_default_instance();
2153
0
}
2154
2155
0
PlacementInfoPB* PlacementInfoPB::New(::google::protobuf::Arena* arena) const {
2156
0
  PlacementInfoPB* n = new PlacementInfoPB;
2157
0
  if (arena != NULL) {
2158
0
    arena->Own(n);
2159
0
  }
2160
0
  return n;
2161
0
}
2162
2163
891k
void PlacementInfoPB::Clear() {
2164
// @@protoc_insertion_point(message_clear_start:yb.master.PlacementInfoPB)
2165
891k
  ::google::protobuf::uint32 cached_has_bits = 0;
2166
  // Prevent compiler warnings about cached_has_bits being unused
2167
891k
  (void) cached_has_bits;
2168
2169
891k
  placement_blocks_.Clear();
2170
891k
  cached_has_bits = _has_bits_[0];
2171
891k
  if (cached_has_bits & 0x00000001u) {
2172
20
    GOOGLE_DCHECK(!placement_uuid_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
2173
20
    (*placement_uuid_.UnsafeRawStringPointer())->clear();
2174
20
  }
2175
891k
  num_replicas_ = 0;
2176
891k
  _has_bits_.Clear();
2177
891k
  _internal_metadata_.Clear();
2178
891k
}
2179
2180
bool PlacementInfoPB::MergePartialFromCodedStream(
2181
190
    ::google::protobuf::io::CodedInputStream* input) {
2182
349
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
2183
190
  ::google::protobuf::uint32 tag;
2184
  // @@protoc_insertion_point(parse_start:yb.master.PlacementInfoPB)
2185
539
  for (;;) {
2186
539
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2187
539
    tag = p.first;
2188
539
    if (!p.second) 
goto handle_unusual190
;
2189
349
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2190
      // optional int32 num_replicas = 1;
2191
167
      case 1: {
2192
167
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2193
167
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
2194
167
          set_has_num_replicas();
2195
167
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2196
167
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
2197
167
                 input, &num_replicas_)));
2198
167
        } else {
2199
0
          goto handle_unusual;
2200
0
        }
2201
167
        break;
2202
167
      }
2203
2204
      // repeated .yb.master.PlacementBlockPB placement_blocks = 2;
2205
167
      case 2: {
2206
139
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2207
139
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
2208
139
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_placement_blocks()));
2209
139
        } else {
2210
0
          goto handle_unusual;
2211
0
        }
2212
139
        break;
2213
139
      }
2214
2215
      // optional bytes placement_uuid = 3;
2216
139
      case 3: {
2217
43
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2218
43
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
2219
43
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
2220
43
                input, this->mutable_placement_uuid()));
2221
43
        } else {
2222
0
          goto handle_unusual;
2223
0
        }
2224
43
        break;
2225
43
      }
2226
2227
43
      default: {
2228
190
      handle_unusual:
2229
190
        if (tag == 0) {
2230
190
          goto success;
2231
190
        }
2232
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
2233
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
2234
0
        break;
2235
0
      }
2236
349
    }
2237
349
  }
2238
190
success:
2239
  // @@protoc_insertion_point(parse_success:yb.master.PlacementInfoPB)
2240
190
  return true;
2241
0
failure:
2242
  // @@protoc_insertion_point(parse_failure:yb.master.PlacementInfoPB)
2243
0
  return false;
2244
190
#undef DO_
2245
190
}
2246
2247
void PlacementInfoPB::SerializeWithCachedSizes(
2248
0
    ::google::protobuf::io::CodedOutputStream* output) const {
2249
  // @@protoc_insertion_point(serialize_start:yb.master.PlacementInfoPB)
2250
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2251
0
  (void) cached_has_bits;
2252
2253
0
  cached_has_bits = _has_bits_[0];
2254
  // optional int32 num_replicas = 1;
2255
0
  if (cached_has_bits & 0x00000002u) {
2256
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->num_replicas(), output);
2257
0
  }
2258
2259
  // repeated .yb.master.PlacementBlockPB placement_blocks = 2;
2260
0
  for (unsigned int i = 0,
2261
0
      n = static_cast<unsigned int>(this->placement_blocks_size()); i < n; i++) {
2262
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2263
0
      2, this->placement_blocks(static_cast<int>(i)), output);
2264
0
  }
2265
2266
  // optional bytes placement_uuid = 3;
2267
0
  if (cached_has_bits & 0x00000001u) {
2268
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
2269
0
      3, this->placement_uuid(), output);
2270
0
  }
2271
2272
0
  if (_internal_metadata_.have_unknown_fields()) {
2273
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2274
0
        _internal_metadata_.unknown_fields(), output);
2275
0
  }
2276
  // @@protoc_insertion_point(serialize_end:yb.master.PlacementInfoPB)
2277
0
}
2278
2279
::google::protobuf::uint8* PlacementInfoPB::InternalSerializeWithCachedSizesToArray(
2280
416
    bool deterministic, ::google::protobuf::uint8* target) const {
2281
416
  (void)deterministic; // Unused
2282
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.PlacementInfoPB)
2283
416
  ::google::protobuf::uint32 cached_has_bits = 0;
2284
416
  (void) cached_has_bits;
2285
2286
416
  cached_has_bits = _has_bits_[0];
2287
  // optional int32 num_replicas = 1;
2288
416
  if (cached_has_bits & 0x00000002u) {
2289
365
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->num_replicas(), target);
2290
365
  }
2291
2292
  // repeated .yb.master.PlacementBlockPB placement_blocks = 2;
2293
416
  for (unsigned int i = 0,
2294
693
      n = static_cast<unsigned int>(this->placement_blocks_size()); i < n; 
i++277
) {
2295
277
    target = ::google::protobuf::internal::WireFormatLite::
2296
277
      InternalWriteMessageToArray(
2297
277
        2, this->placement_blocks(static_cast<int>(i)), deterministic, target);
2298
277
  }
2299
2300
  // optional bytes placement_uuid = 3;
2301
416
  if (cached_has_bits & 0x00000001u) {
2302
99
    target =
2303
99
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
2304
99
        3, this->placement_uuid(), target);
2305
99
  }
2306
2307
416
  if (_internal_metadata_.have_unknown_fields()) {
2308
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2309
0
        _internal_metadata_.unknown_fields(), target);
2310
0
  }
2311
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.PlacementInfoPB)
2312
416
  return target;
2313
416
}
2314
2315
660
size_t PlacementInfoPB::ByteSizeLong() const {
2316
// @@protoc_insertion_point(message_byte_size_start:yb.master.PlacementInfoPB)
2317
660
  size_t total_size = 0;
2318
2319
660
  if (_internal_metadata_.have_unknown_fields()) {
2320
0
    total_size +=
2321
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2322
0
        _internal_metadata_.unknown_fields());
2323
0
  }
2324
  // repeated .yb.master.PlacementBlockPB placement_blocks = 2;
2325
660
  {
2326
660
    unsigned int count = static_cast<unsigned int>(this->placement_blocks_size());
2327
660
    total_size += 1UL * count;
2328
1.08k
    for (unsigned int i = 0; i < count; 
i++423
) {
2329
423
      total_size +=
2330
423
        ::google::protobuf::internal::WireFormatLite::MessageSize(
2331
423
          this->placement_blocks(static_cast<int>(i)));
2332
423
    }
2333
660
  }
2334
2335
660
  if (_has_bits_[0 / 32] & 3u) {
2336
    // optional bytes placement_uuid = 3;
2337
657
    if (has_placement_uuid()) {
2338
154
      total_size += 1 +
2339
154
        ::google::protobuf::internal::WireFormatLite::BytesSize(
2340
154
          this->placement_uuid());
2341
154
    }
2342
2343
    // optional int32 num_replicas = 1;
2344
657
    if (has_num_replicas()) {
2345
581
      total_size += 1 +
2346
581
        ::google::protobuf::internal::WireFormatLite::Int32Size(
2347
581
          this->num_replicas());
2348
581
    }
2349
2350
657
  }
2351
660
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2352
660
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2353
660
  _cached_size_ = cached_size;
2354
660
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2355
660
  return total_size;
2356
660
}
2357
2358
0
void PlacementInfoPB::MergeFrom(const ::google::protobuf::Message& from) {
2359
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.PlacementInfoPB)
2360
0
  GOOGLE_DCHECK_NE(&from, this);
2361
0
  const PlacementInfoPB* source =
2362
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PlacementInfoPB>(
2363
0
          &from);
2364
0
  if (source == NULL) {
2365
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.PlacementInfoPB)
2366
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2367
0
  } else {
2368
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.PlacementInfoPB)
2369
0
    MergeFrom(*source);
2370
0
  }
2371
0
}
2372
2373
1.47M
void PlacementInfoPB::MergeFrom(const PlacementInfoPB& from) {
2374
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.PlacementInfoPB)
2375
1.47M
  GOOGLE_DCHECK_NE(&from, this);
2376
1.47M
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2377
1.47M
  ::google::protobuf::uint32 cached_has_bits = 0;
2378
1.47M
  (void) cached_has_bits;
2379
2380
1.47M
  placement_blocks_.MergeFrom(from.placement_blocks_);
2381
1.47M
  cached_has_bits = from._has_bits_[0];
2382
1.47M
  if (cached_has_bits & 3u) {
2383
679k
    if (cached_has_bits & 0x00000001u) {
2384
215k
      set_has_placement_uuid();
2385
215k
      placement_uuid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.placement_uuid_);
2386
215k
    }
2387
679k
    if (cached_has_bits & 0x00000002u) {
2388
658k
      num_replicas_ = from.num_replicas_;
2389
658k
    }
2390
679k
    _has_bits_[0] |= cached_has_bits;
2391
679k
  }
2392
1.47M
}
2393
2394
0
void PlacementInfoPB::CopyFrom(const ::google::protobuf::Message& from) {
2395
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.PlacementInfoPB)
2396
0
  if (&from == this) return;
2397
0
  Clear();
2398
0
  MergeFrom(from);
2399
0
}
2400
2401
891k
void PlacementInfoPB::CopyFrom(const PlacementInfoPB& from) {
2402
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.PlacementInfoPB)
2403
891k
  if (&from == this) 
return0
;
2404
891k
  Clear();
2405
891k
  MergeFrom(from);
2406
891k
}
2407
2408
0
bool PlacementInfoPB::IsInitialized() const {
2409
0
  return true;
2410
0
}
2411
2412
0
void PlacementInfoPB::Swap(PlacementInfoPB* other) {
2413
0
  if (other == this) return;
2414
0
  InternalSwap(other);
2415
0
}
2416
891k
void PlacementInfoPB::InternalSwap(PlacementInfoPB* other) {
2417
891k
  using std::swap;
2418
891k
  placement_blocks_.InternalSwap(&other->placement_blocks_);
2419
891k
  placement_uuid_.Swap(&other->placement_uuid_);
2420
891k
  swap(num_replicas_, other->num_replicas_);
2421
891k
  swap(_has_bits_[0], other->_has_bits_[0]);
2422
891k
  _internal_metadata_.Swap(&other->_internal_metadata_);
2423
891k
  swap(_cached_size_, other->_cached_size_);
2424
891k
}
2425
2426
356
::google::protobuf::Metadata PlacementInfoPB::GetMetadata() const {
2427
356
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
2428
356
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
2429
356
}
2430
2431
2432
// ===================================================================
2433
2434
26.8k
void ReplicationInfoPB::InitAsDefaultInstance() {
2435
26.8k
  ::yb::master::_ReplicationInfoPB_default_instance_._instance.get_mutable()->live_replicas_ = const_cast< ::yb::master::PlacementInfoPB*>(
2436
26.8k
      ::yb::master::PlacementInfoPB::internal_default_instance());
2437
26.8k
}
2438
5
void ReplicationInfoPB::clear_affinitized_leaders() {
2439
5
  affinitized_leaders_.Clear();
2440
5
}
2441
#if !defined(_MSC_VER) || _MSC_VER >= 1900
2442
const int ReplicationInfoPB::kLiveReplicasFieldNumber;
2443
const int ReplicationInfoPB::kReadReplicasFieldNumber;
2444
const int ReplicationInfoPB::kAffinitizedLeadersFieldNumber;
2445
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
2446
2447
ReplicationInfoPB::ReplicationInfoPB()
2448
1.66M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2449
1.66M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
2450
1.63M
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsReplicationInfoPB();
2451
1.63M
  }
2452
1.66M
  SharedCtor();
2453
  // @@protoc_insertion_point(constructor:yb.master.ReplicationInfoPB)
2454
1.66M
}
2455
ReplicationInfoPB::ReplicationInfoPB(const ReplicationInfoPB& from)
2456
  : ::google::protobuf::Message(),
2457
      _internal_metadata_(NULL),
2458
      _has_bits_(from._has_bits_),
2459
      _cached_size_(0),
2460
      read_replicas_(from.read_replicas_),
2461
964k
      affinitized_leaders_(from.affinitized_leaders_) {
2462
964k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2463
964k
  if (from.has_live_replicas()) {
2464
111k
    live_replicas_ = new ::yb::master::PlacementInfoPB(*from.live_replicas_);
2465
853k
  } else {
2466
853k
    live_replicas_ = NULL;
2467
853k
  }
2468
  // @@protoc_insertion_point(copy_constructor:yb.master.ReplicationInfoPB)
2469
964k
}
2470
2471
1.66M
void ReplicationInfoPB::SharedCtor() {
2472
1.66M
  _cached_size_ = 0;
2473
1.66M
  live_replicas_ = NULL;
2474
1.66M
}
2475
2476
2.60M
ReplicationInfoPB::~ReplicationInfoPB() {
2477
  // @@protoc_insertion_point(destructor:yb.master.ReplicationInfoPB)
2478
2.60M
  SharedDtor();
2479
2.60M
}
2480
2481
2.60M
void ReplicationInfoPB::SharedDtor() {
2482
2.60M
  if (this != internal_default_instance()) 
delete live_replicas_2.59M
;
2483
2.60M
}
2484
2485
0
void ReplicationInfoPB::SetCachedSize(int size) const {
2486
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2487
0
  _cached_size_ = size;
2488
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2489
0
}
2490
0
const ::google::protobuf::Descriptor* ReplicationInfoPB::descriptor() {
2491
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
2492
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2493
0
}
2494
2495
0
const ReplicationInfoPB& ReplicationInfoPB::default_instance() {
2496
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsReplicationInfoPB();
2497
0
  return *internal_default_instance();
2498
0
}
2499
2500
0
ReplicationInfoPB* ReplicationInfoPB::New(::google::protobuf::Arena* arena) const {
2501
0
  ReplicationInfoPB* n = new ReplicationInfoPB;
2502
0
  if (arena != NULL) {
2503
0
    arena->Own(n);
2504
0
  }
2505
0
  return n;
2506
0
}
2507
2508
211k
void ReplicationInfoPB::Clear() {
2509
// @@protoc_insertion_point(message_clear_start:yb.master.ReplicationInfoPB)
2510
211k
  ::google::protobuf::uint32 cached_has_bits = 0;
2511
  // Prevent compiler warnings about cached_has_bits being unused
2512
211k
  (void) cached_has_bits;
2513
2514
211k
  read_replicas_.Clear();
2515
211k
  affinitized_leaders_.Clear();
2516
211k
  cached_has_bits = _has_bits_[0];
2517
211k
  if (cached_has_bits & 0x00000001u) {
2518
97
    GOOGLE_DCHECK(live_replicas_ != NULL);
2519
97
    live_replicas_->Clear();
2520
97
  }
2521
211k
  _has_bits_.Clear();
2522
211k
  _internal_metadata_.Clear();
2523
211k
}
2524
2525
bool ReplicationInfoPB::MergePartialFromCodedStream(
2526
191
    ::google::protobuf::io::CodedInputStream* input) {
2527
215
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
2528
191
  ::google::protobuf::uint32 tag;
2529
  // @@protoc_insertion_point(parse_start:yb.master.ReplicationInfoPB)
2530
406
  for (;;) {
2531
406
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2532
406
    tag = p.first;
2533
406
    if (!p.second) 
goto handle_unusual191
;
2534
215
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2535
      // optional .yb.master.PlacementInfoPB live_replicas = 1;
2536
173
      case 1: {
2537
173
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2538
173
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
2539
173
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
2540
173
               input, mutable_live_replicas()));
2541
173
        } else {
2542
0
          goto handle_unusual;
2543
0
        }
2544
173
        break;
2545
173
      }
2546
2547
      // repeated .yb.master.PlacementInfoPB read_replicas = 2;
2548
173
      case 2: {
2549
17
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2550
17
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
2551
17
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_read_replicas()));
2552
17
        } else {
2553
0
          goto handle_unusual;
2554
0
        }
2555
17
        break;
2556
17
      }
2557
2558
      // repeated .yb.CloudInfoPB affinitized_leaders = 3;
2559
25
      case 3: {
2560
25
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2561
25
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
2562
25
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_affinitized_leaders()));
2563
25
        } else {
2564
0
          goto handle_unusual;
2565
0
        }
2566
25
        break;
2567
25
      }
2568
2569
25
      default: {
2570
191
      handle_unusual:
2571
191
        if (tag == 0) {
2572
191
          goto success;
2573
191
        }
2574
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
2575
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
2576
0
        break;
2577
0
      }
2578
215
    }
2579
215
  }
2580
191
success:
2581
  // @@protoc_insertion_point(parse_success:yb.master.ReplicationInfoPB)
2582
191
  return true;
2583
0
failure:
2584
  // @@protoc_insertion_point(parse_failure:yb.master.ReplicationInfoPB)
2585
0
  return false;
2586
191
#undef DO_
2587
191
}
2588
2589
void ReplicationInfoPB::SerializeWithCachedSizes(
2590
0
    ::google::protobuf::io::CodedOutputStream* output) const {
2591
  // @@protoc_insertion_point(serialize_start:yb.master.ReplicationInfoPB)
2592
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2593
0
  (void) cached_has_bits;
2594
2595
0
  cached_has_bits = _has_bits_[0];
2596
  // optional .yb.master.PlacementInfoPB live_replicas = 1;
2597
0
  if (cached_has_bits & 0x00000001u) {
2598
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2599
0
      1, *this->live_replicas_, output);
2600
0
  }
2601
2602
  // repeated .yb.master.PlacementInfoPB read_replicas = 2;
2603
0
  for (unsigned int i = 0,
2604
0
      n = static_cast<unsigned int>(this->read_replicas_size()); i < n; i++) {
2605
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2606
0
      2, this->read_replicas(static_cast<int>(i)), output);
2607
0
  }
2608
2609
  // repeated .yb.CloudInfoPB affinitized_leaders = 3;
2610
0
  for (unsigned int i = 0,
2611
0
      n = static_cast<unsigned int>(this->affinitized_leaders_size()); i < n; i++) {
2612
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2613
0
      3, this->affinitized_leaders(static_cast<int>(i)), output);
2614
0
  }
2615
2616
0
  if (_internal_metadata_.have_unknown_fields()) {
2617
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2618
0
        _internal_metadata_.unknown_fields(), output);
2619
0
  }
2620
  // @@protoc_insertion_point(serialize_end:yb.master.ReplicationInfoPB)
2621
0
}
2622
2623
::google::protobuf::uint8* ReplicationInfoPB::InternalSerializeWithCachedSizesToArray(
2624
425
    bool deterministic, ::google::protobuf::uint8* target) const {
2625
425
  (void)deterministic; // Unused
2626
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ReplicationInfoPB)
2627
425
  ::google::protobuf::uint32 cached_has_bits = 0;
2628
425
  (void) cached_has_bits;
2629
2630
425
  cached_has_bits = _has_bits_[0];
2631
  // optional .yb.master.PlacementInfoPB live_replicas = 1;
2632
425
  if (cached_has_bits & 0x00000001u) {
2633
376
    target = ::google::protobuf::internal::WireFormatLite::
2634
376
      InternalWriteMessageToArray(
2635
376
        1, *this->live_replicas_, deterministic, target);
2636
376
  }
2637
2638
  // repeated .yb.master.PlacementInfoPB read_replicas = 2;
2639
425
  for (unsigned int i = 0,
2640
465
      n = static_cast<unsigned int>(this->read_replicas_size()); i < n; 
i++40
) {
2641
40
    target = ::google::protobuf::internal::WireFormatLite::
2642
40
      InternalWriteMessageToArray(
2643
40
        2, this->read_replicas(static_cast<int>(i)), deterministic, target);
2644
40
  }
2645
2646
  // repeated .yb.CloudInfoPB affinitized_leaders = 3;
2647
425
  for (unsigned int i = 0,
2648
485
      n = static_cast<unsigned int>(this->affinitized_leaders_size()); i < n; 
i++60
) {
2649
60
    target = ::google::protobuf::internal::WireFormatLite::
2650
60
      InternalWriteMessageToArray(
2651
60
        3, this->affinitized_leaders(static_cast<int>(i)), deterministic, target);
2652
60
  }
2653
2654
425
  if (_internal_metadata_.have_unknown_fields()) {
2655
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2656
0
        _internal_metadata_.unknown_fields(), target);
2657
0
  }
2658
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ReplicationInfoPB)
2659
425
  return target;
2660
425
}
2661
2662
677
size_t ReplicationInfoPB::ByteSizeLong() const {
2663
// @@protoc_insertion_point(message_byte_size_start:yb.master.ReplicationInfoPB)
2664
677
  size_t total_size = 0;
2665
2666
677
  if (_internal_metadata_.have_unknown_fields()) {
2667
0
    total_size +=
2668
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2669
0
        _internal_metadata_.unknown_fields());
2670
0
  }
2671
  // repeated .yb.master.PlacementInfoPB read_replicas = 2;
2672
677
  {
2673
677
    unsigned int count = static_cast<unsigned int>(this->read_replicas_size());
2674
677
    total_size += 1UL * count;
2675
740
    for (unsigned int i = 0; i < count; 
i++63
) {
2676
63
      total_size +=
2677
63
        ::google::protobuf::internal::WireFormatLite::MessageSize(
2678
63
          this->read_replicas(static_cast<int>(i)));
2679
63
    }
2680
677
  }
2681
2682
  // repeated .yb.CloudInfoPB affinitized_leaders = 3;
2683
677
  {
2684
677
    unsigned int count = static_cast<unsigned int>(this->affinitized_leaders_size());
2685
677
    total_size += 1UL * count;
2686
769
    for (unsigned int i = 0; i < count; 
i++92
) {
2687
92
      total_size +=
2688
92
        ::google::protobuf::internal::WireFormatLite::MessageSize(
2689
92
          this->affinitized_leaders(static_cast<int>(i)));
2690
92
    }
2691
677
  }
2692
2693
  // optional .yb.master.PlacementInfoPB live_replicas = 1;
2694
677
  if (has_live_replicas()) {
2695
597
    total_size += 1 +
2696
597
      ::google::protobuf::internal::WireFormatLite::MessageSize(
2697
597
        *this->live_replicas_);
2698
597
  }
2699
2700
677
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2701
677
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2702
677
  _cached_size_ = cached_size;
2703
677
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2704
677
  return total_size;
2705
677
}
2706
2707
0
void ReplicationInfoPB::MergeFrom(const ::google::protobuf::Message& from) {
2708
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ReplicationInfoPB)
2709
0
  GOOGLE_DCHECK_NE(&from, this);
2710
0
  const ReplicationInfoPB* source =
2711
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ReplicationInfoPB>(
2712
0
          &from);
2713
0
  if (source == NULL) {
2714
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ReplicationInfoPB)
2715
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2716
0
  } else {
2717
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ReplicationInfoPB)
2718
0
    MergeFrom(*source);
2719
0
  }
2720
0
}
2721
2722
679k
void ReplicationInfoPB::MergeFrom(const ReplicationInfoPB& from) {
2723
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ReplicationInfoPB)
2724
679k
  GOOGLE_DCHECK_NE(&from, this);
2725
679k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2726
679k
  ::google::protobuf::uint32 cached_has_bits = 0;
2727
679k
  (void) cached_has_bits;
2728
2729
679k
  read_replicas_.MergeFrom(from.read_replicas_);
2730
679k
  affinitized_leaders_.MergeFrom(from.affinitized_leaders_);
2731
679k
  if (from.has_live_replicas()) {
2732
472k
    mutable_live_replicas()->::yb::master::PlacementInfoPB::MergeFrom(from.live_replicas());
2733
472k
  }
2734
679k
}
2735
2736
0
void ReplicationInfoPB::CopyFrom(const ::google::protobuf::Message& from) {
2737
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ReplicationInfoPB)
2738
0
  if (&from == this) return;
2739
0
  Clear();
2740
0
  MergeFrom(from);
2741
0
}
2742
2743
211k
void ReplicationInfoPB::CopyFrom(const ReplicationInfoPB& from) {
2744
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ReplicationInfoPB)
2745
211k
  if (&from == this) 
return0
;
2746
211k
  Clear();
2747
211k
  MergeFrom(from);
2748
211k
}
2749
2750
0
bool ReplicationInfoPB::IsInitialized() const {
2751
0
  return true;
2752
0
}
2753
2754
0
void ReplicationInfoPB::Swap(ReplicationInfoPB* other) {
2755
0
  if (other == this) return;
2756
0
  InternalSwap(other);
2757
0
}
2758
955k
void ReplicationInfoPB::InternalSwap(ReplicationInfoPB* other) {
2759
955k
  using std::swap;
2760
955k
  read_replicas_.InternalSwap(&other->read_replicas_);
2761
955k
  affinitized_leaders_.InternalSwap(&other->affinitized_leaders_);
2762
955k
  swap(live_replicas_, other->live_replicas_);
2763
955k
  swap(_has_bits_[0], other->_has_bits_[0]);
2764
955k
  _internal_metadata_.Swap(&other->_internal_metadata_);
2765
955k
  swap(_cached_size_, other->_cached_size_);
2766
955k
}
2767
2768
289
::google::protobuf::Metadata ReplicationInfoPB::GetMetadata() const {
2769
289
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
2770
289
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
2771
289
}
2772
2773
2774
// ===================================================================
2775
2776
34.1k
BackfillJobPB_BackfillStateEntry_DoNotUse::BackfillJobPB_BackfillStateEntry_DoNotUse() {}
2777
12.3k
BackfillJobPB_BackfillStateEntry_DoNotUse::BackfillJobPB_BackfillStateEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {}
2778
0
void BackfillJobPB_BackfillStateEntry_DoNotUse::MergeFrom(const BackfillJobPB_BackfillStateEntry_DoNotUse& other) {
2779
0
  MergeFromInternal(other);
2780
0
}
2781
87.2k
::google::protobuf::Metadata BackfillJobPB_BackfillStateEntry_DoNotUse::GetMetadata() const {
2782
87.2k
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
2783
87.2k
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[3];
2784
87.2k
}
2785
void BackfillJobPB_BackfillStateEntry_DoNotUse::MergeFrom(
2786
0
    const ::google::protobuf::Message& other) {
2787
0
  ::google::protobuf::Message::MergeFrom(other);
2788
0
}
2789
2790
2791
// ===================================================================
2792
2793
26.8k
void BackfillJobPB::InitAsDefaultInstance() {
2794
26.8k
}
2795
0
void BackfillJobPB::clear_indexes() {
2796
0
  indexes_.Clear();
2797
0
}
2798
#if !defined(_MSC_VER) || _MSC_VER >= 1900
2799
const int BackfillJobPB::kIndexesFieldNumber;
2800
const int BackfillJobPB::kBackfillStateFieldNumber;
2801
const int BackfillJobPB::kNumRowsProcessedFieldNumber;
2802
const int BackfillJobPB::kBackfillingTimestampFieldNumber;
2803
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
2804
2805
BackfillJobPB::BackfillJobPB()
2806
37.4k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2807
37.4k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
2808
10.5k
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsBackfillJobPB();
2809
10.5k
  }
2810
37.4k
  SharedCtor();
2811
  // @@protoc_insertion_point(constructor:yb.master.BackfillJobPB)
2812
37.4k
}
2813
BackfillJobPB::BackfillJobPB(const BackfillJobPB& from)
2814
  : ::google::protobuf::Message(),
2815
      _internal_metadata_(NULL),
2816
      _has_bits_(from._has_bits_),
2817
      _cached_size_(0),
2818
802
      indexes_(from.indexes_) {
2819
802
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2820
802
  backfill_state_.MergeFrom(from.backfill_state_);
2821
802
  ::memcpy(&backfilling_timestamp_, &from.backfilling_timestamp_,
2822
802
    static_cast<size_t>(reinterpret_cast<char*>(&num_rows_processed_) -
2823
802
    reinterpret_cast<char*>(&backfilling_timestamp_)) + sizeof(num_rows_processed_));
2824
  // @@protoc_insertion_point(copy_constructor:yb.master.BackfillJobPB)
2825
802
}
2826
2827
37.4k
void BackfillJobPB::SharedCtor() {
2828
37.4k
  _cached_size_ = 0;
2829
37.4k
  ::memset(&backfilling_timestamp_, 0, static_cast<size_t>(
2830
37.4k
      reinterpret_cast<char*>(&num_rows_processed_) -
2831
37.4k
      reinterpret_cast<char*>(&backfilling_timestamp_)) + sizeof(num_rows_processed_));
2832
37.4k
}
2833
2834
11.2k
BackfillJobPB::~BackfillJobPB() {
2835
  // @@protoc_insertion_point(destructor:yb.master.BackfillJobPB)
2836
11.2k
  SharedDtor();
2837
11.2k
}
2838
2839
11.2k
void BackfillJobPB::SharedDtor() {
2840
11.2k
}
2841
2842
0
void BackfillJobPB::SetCachedSize(int size) const {
2843
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2844
0
  _cached_size_ = size;
2845
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2846
0
}
2847
0
const ::google::protobuf::Descriptor* BackfillJobPB::descriptor() {
2848
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
2849
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2850
0
}
2851
2852
0
const BackfillJobPB& BackfillJobPB::default_instance() {
2853
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsBackfillJobPB();
2854
0
  return *internal_default_instance();
2855
0
}
2856
2857
0
BackfillJobPB* BackfillJobPB::New(::google::protobuf::Arena* arena) const {
2858
0
  BackfillJobPB* n = new BackfillJobPB;
2859
0
  if (arena != NULL) {
2860
0
    arena->Own(n);
2861
0
  }
2862
0
  return n;
2863
0
}
2864
2865
861
void BackfillJobPB::Clear() {
2866
// @@protoc_insertion_point(message_clear_start:yb.master.BackfillJobPB)
2867
861
  ::google::protobuf::uint32 cached_has_bits = 0;
2868
  // Prevent compiler warnings about cached_has_bits being unused
2869
861
  (void) cached_has_bits;
2870
2871
861
  indexes_.Clear();
2872
861
  backfill_state_.Clear();
2873
861
  cached_has_bits = _has_bits_[0];
2874
861
  if (cached_has_bits & 3u) {
2875
861
    ::memset(&backfilling_timestamp_, 0, static_cast<size_t>(
2876
861
        reinterpret_cast<char*>(&num_rows_processed_) -
2877
861
        reinterpret_cast<char*>(&backfilling_timestamp_)) + sizeof(num_rows_processed_));
2878
861
  }
2879
861
  _has_bits_.Clear();
2880
861
  _internal_metadata_.Clear();
2881
861
}
2882
2883
bool BackfillJobPB::MergePartialFromCodedStream(
2884
466
    ::google::protobuf::io::CodedInputStream* input) {
2885
1.86k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
2886
466
  ::google::protobuf::uint32 tag;
2887
  // @@protoc_insertion_point(parse_start:yb.master.BackfillJobPB)
2888
1.86k
  for (;;) {
2889
1.86k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2890
1.86k
    tag = p.first;
2891
1.86k
    if (!p.second) 
goto handle_unusual466
;
2892
1.39k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2893
      // repeated .yb.IndexInfoPB indexes = 1;
2894
469
      case 1: {
2895
469
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2896
469
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
2897
469
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_indexes()));
2898
469
        } else {
2899
0
          goto handle_unusual;
2900
0
        }
2901
469
        break;
2902
469
      }
2903
2904
      // map<string, .yb.master.BackfillJobPB.State> backfill_state = 2;
2905
469
      case 2: {
2906
469
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2907
469
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
2908
469
          ::google::protobuf::scoped_ptr<BackfillJobPB_BackfillStateEntry_DoNotUse> entry(backfill_state_.NewEntry());
2909
469
          {
2910
469
            ::std::string data;
2911
469
            DO_(::google::protobuf::internal::WireFormatLite::ReadString(input, &data));
2912
469
            DO_(entry->ParseFromString(data));
2913
469
            if (::yb::master::BackfillJobPB_State_IsValid(*entry->mutable_value())) {
2914
469
              (*mutable_backfill_state())[entry->key()] =
2915
469
                  static_cast< ::yb::master::BackfillJobPB_State >(*entry->mutable_value());
2916
469
            } else {
2917
0
              mutable_unknown_fields()->AddLengthDelimited(2, data);
2918
0
            }
2919
469
          }
2920
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
2921
469
            entry->key().data(), static_cast<int>(entry->key().length()),
2922
469
            ::google::protobuf::internal::WireFormat::PARSE,
2923
469
            "yb.master.BackfillJobPB.BackfillStateEntry.key");
2924
469
        } else {
2925
0
          goto handle_unusual;
2926
0
        }
2927
469
        break;
2928
469
      }
2929
2930
      // optional uint64 backfilling_timestamp = 3;
2931
469
      case 3: {
2932
354
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2933
354
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
2934
354
          set_has_backfilling_timestamp();
2935
354
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2936
354
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
2937
354
                 input, &backfilling_timestamp_)));
2938
354
        } else {
2939
0
          goto handle_unusual;
2940
0
        }
2941
354
        break;
2942
354
      }
2943
2944
      // optional uint64 num_rows_processed = 4 [default = 0];
2945
354
      case 4: {
2946
102
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2947
102
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
2948
102
          set_has_num_rows_processed();
2949
102
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2950
102
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
2951
102
                 input, &num_rows_processed_)));
2952
102
        } else {
2953
0
          goto handle_unusual;
2954
0
        }
2955
102
        break;
2956
102
      }
2957
2958
102
      default: {
2959
466
      handle_unusual:
2960
466
        if (tag == 0) {
2961
466
          goto success;
2962
466
        }
2963
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
2964
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
2965
0
        break;
2966
0
      }
2967
1.39k
    }
2968
1.39k
  }
2969
466
success:
2970
  // @@protoc_insertion_point(parse_success:yb.master.BackfillJobPB)
2971
466
  return true;
2972
0
failure:
2973
  // @@protoc_insertion_point(parse_failure:yb.master.BackfillJobPB)
2974
0
  return false;
2975
466
#undef DO_
2976
466
}
2977
2978
void BackfillJobPB::SerializeWithCachedSizes(
2979
0
    ::google::protobuf::io::CodedOutputStream* output) const {
2980
  // @@protoc_insertion_point(serialize_start:yb.master.BackfillJobPB)
2981
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2982
0
  (void) cached_has_bits;
2983
2984
  // repeated .yb.IndexInfoPB indexes = 1;
2985
0
  for (unsigned int i = 0,
2986
0
      n = static_cast<unsigned int>(this->indexes_size()); i < n; i++) {
2987
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2988
0
      1, this->indexes(static_cast<int>(i)), output);
2989
0
  }
2990
2991
  // map<string, .yb.master.BackfillJobPB.State> backfill_state = 2;
2992
0
  if (!this->backfill_state().empty()) {
2993
0
    typedef ::google::protobuf::Map< ::std::string, ::yb::master::BackfillJobPB_State >::const_pointer
2994
0
        ConstPtr;
2995
0
    typedef ConstPtr SortItem;
2996
0
    typedef ::google::protobuf::internal::CompareByDerefFirst<SortItem> Less;
2997
0
    struct Utf8Check {
2998
0
      static void Check(ConstPtr p) {
2999
0
        ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
3000
0
          p->first.data(), static_cast<int>(p->first.length()),
3001
0
          ::google::protobuf::internal::WireFormat::SERIALIZE,
3002
0
          "yb.master.BackfillJobPB.BackfillStateEntry.key");
3003
0
      }
3004
0
    };
3005
3006
0
    if (output->IsSerializationDeterministic() &&
3007
0
        this->backfill_state().size() > 1) {
3008
0
      ::google::protobuf::scoped_array<SortItem> items(
3009
0
          new SortItem[this->backfill_state().size()]);
3010
0
      typedef ::google::protobuf::Map< ::std::string, ::yb::master::BackfillJobPB_State >::size_type size_type;
3011
0
      size_type n = 0;
3012
0
      for (::google::protobuf::Map< ::std::string, ::yb::master::BackfillJobPB_State >::const_iterator
3013
0
          it = this->backfill_state().begin();
3014
0
          it != this->backfill_state().end(); ++it, ++n) {
3015
0
        items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
3016
0
      }
3017
0
      ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
3018
0
      ::google::protobuf::scoped_ptr<BackfillJobPB_BackfillStateEntry_DoNotUse> entry;
3019
0
      for (size_type i = 0; i < n; i++) {
3020
0
        entry.reset(backfill_state_.NewEnumEntryWrapper(
3021
0
            items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second));
3022
0
        ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3023
0
            2, *entry, output);
3024
0
        Utf8Check::Check(items[static_cast<ptrdiff_t>(i)]);
3025
0
      }
3026
0
    } else {
3027
0
      ::google::protobuf::scoped_ptr<BackfillJobPB_BackfillStateEntry_DoNotUse> entry;
3028
0
      for (::google::protobuf::Map< ::std::string, ::yb::master::BackfillJobPB_State >::const_iterator
3029
0
          it = this->backfill_state().begin();
3030
0
          it != this->backfill_state().end(); ++it) {
3031
0
        entry.reset(backfill_state_.NewEnumEntryWrapper(
3032
0
            it->first, it->second));
3033
0
        ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3034
0
            2, *entry, output);
3035
0
        Utf8Check::Check(&*it);
3036
0
      }
3037
0
    }
3038
0
  }
3039
3040
0
  cached_has_bits = _has_bits_[0];
3041
  // optional uint64 backfilling_timestamp = 3;
3042
0
  if (cached_has_bits & 0x00000001u) {
3043
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->backfilling_timestamp(), output);
3044
0
  }
3045
3046
  // optional uint64 num_rows_processed = 4 [default = 0];
3047
0
  if (cached_has_bits & 0x00000002u) {
3048
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(4, this->num_rows_processed(), output);
3049
0
  }
3050
3051
0
  if (_internal_metadata_.have_unknown_fields()) {
3052
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3053
0
        _internal_metadata_.unknown_fields(), output);
3054
0
  }
3055
  // @@protoc_insertion_point(serialize_end:yb.master.BackfillJobPB)
3056
0
}
3057
3058
::google::protobuf::uint8* BackfillJobPB::InternalSerializeWithCachedSizesToArray(
3059
5.83k
    bool deterministic, ::google::protobuf::uint8* target) const {
3060
5.83k
  (void)deterministic; // Unused
3061
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.BackfillJobPB)
3062
5.83k
  ::google::protobuf::uint32 cached_has_bits = 0;
3063
5.83k
  (void) cached_has_bits;
3064
3065
  // repeated .yb.IndexInfoPB indexes = 1;
3066
5.83k
  for (unsigned int i = 0,
3067
11.7k
      n = static_cast<unsigned int>(this->indexes_size()); i < n; 
i++5.95k
) {
3068
5.95k
    target = ::google::protobuf::internal::WireFormatLite::
3069
5.95k
      InternalWriteMessageToArray(
3070
5.95k
        1, this->indexes(static_cast<int>(i)), deterministic, target);
3071
5.95k
  }
3072
3073
  // map<string, .yb.master.BackfillJobPB.State> backfill_state = 2;
3074
5.83k
  if (!this->backfill_state().empty()) {
3075
5.83k
    typedef ::google::protobuf::Map< ::std::string, ::yb::master::BackfillJobPB_State >::const_pointer
3076
5.83k
        ConstPtr;
3077
5.83k
    typedef ConstPtr SortItem;
3078
5.83k
    typedef ::google::protobuf::internal::CompareByDerefFirst<SortItem> Less;
3079
5.83k
    struct Utf8Check {
3080
5.95k
      static void Check(ConstPtr p) {
3081
5.95k
        ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
3082
5.95k
          p->first.data(), static_cast<int>(p->first.length()),
3083
5.95k
          ::google::protobuf::internal::WireFormat::SERIALIZE,
3084
5.95k
          "yb.master.BackfillJobPB.BackfillStateEntry.key");
3085
5.95k
      }
3086
5.83k
    };
3087
3088
5.83k
    if (deterministic &&
3089
5.83k
        
this->backfill_state().size() > 10
) {
3090
0
      ::google::protobuf::scoped_array<SortItem> items(
3091
0
          new SortItem[this->backfill_state().size()]);
3092
0
      typedef ::google::protobuf::Map< ::std::string, ::yb::master::BackfillJobPB_State >::size_type size_type;
3093
0
      size_type n = 0;
3094
0
      for (::google::protobuf::Map< ::std::string, ::yb::master::BackfillJobPB_State >::const_iterator
3095
0
          it = this->backfill_state().begin();
3096
0
          it != this->backfill_state().end(); ++it, ++n) {
3097
0
        items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
3098
0
      }
3099
0
      ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
3100
0
      ::google::protobuf::scoped_ptr<BackfillJobPB_BackfillStateEntry_DoNotUse> entry;
3101
0
      for (size_type i = 0; i < n; i++) {
3102
0
        entry.reset(backfill_state_.NewEnumEntryWrapper(
3103
0
            items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second));
3104
0
        target = ::google::protobuf::internal::WireFormatLite::
3105
0
                   InternalWriteMessageNoVirtualToArray(
3106
0
                       2, *entry, deterministic, target);
3107
0
;
3108
0
        Utf8Check::Check(items[static_cast<ptrdiff_t>(i)]);
3109
0
      }
3110
5.83k
    } else {
3111
5.83k
      ::google::protobuf::scoped_ptr<BackfillJobPB_BackfillStateEntry_DoNotUse> entry;
3112
5.83k
      for (::google::protobuf::Map< ::std::string, ::yb::master::BackfillJobPB_State >::const_iterator
3113
5.83k
          it = this->backfill_state().begin();
3114
11.7k
          it != this->backfill_state().end(); 
++it5.95k
) {
3115
5.95k
        entry.reset(backfill_state_.NewEnumEntryWrapper(
3116
5.95k
            it->first, it->second));
3117
5.95k
        target = ::google::protobuf::internal::WireFormatLite::
3118
5.95k
                   InternalWriteMessageNoVirtualToArray(
3119
5.95k
                       2, *entry, deterministic, target);
3120
5.95k
;
3121
5.95k
        Utf8Check::Check(&*it);
3122
5.95k
      }
3123
5.83k
    }
3124
5.83k
  }
3125
3126
5.83k
  cached_has_bits = _has_bits_[0];
3127
  // optional uint64 backfilling_timestamp = 3;
3128
5.83k
  if (cached_has_bits & 0x00000001u) {
3129
4.80k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->backfilling_timestamp(), target);
3130
4.80k
  }
3131
3132
  // optional uint64 num_rows_processed = 4 [default = 0];
3133
5.83k
  if (cached_has_bits & 0x00000002u) {
3134
3.52k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(4, this->num_rows_processed(), target);
3135
3.52k
  }
3136
3137
5.83k
  if (_internal_metadata_.have_unknown_fields()) {
3138
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3139
0
        _internal_metadata_.unknown_fields(), target);
3140
0
  }
3141
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.BackfillJobPB)
3142
5.83k
  return target;
3143
5.83k
}
3144
3145
6.29k
size_t BackfillJobPB::ByteSizeLong() const {
3146
// @@protoc_insertion_point(message_byte_size_start:yb.master.BackfillJobPB)
3147
6.29k
  size_t total_size = 0;
3148
3149
6.29k
  if (_internal_metadata_.have_unknown_fields()) {
3150
0
    total_size +=
3151
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3152
0
        _internal_metadata_.unknown_fields());
3153
0
  }
3154
  // repeated .yb.IndexInfoPB indexes = 1;
3155
6.29k
  {
3156
6.29k
    unsigned int count = static_cast<unsigned int>(this->indexes_size());
3157
6.29k
    total_size += 1UL * count;
3158
12.7k
    for (unsigned int i = 0; i < count; 
i++6.42k
) {
3159
6.42k
      total_size +=
3160
6.42k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
3161
6.42k
          this->indexes(static_cast<int>(i)));
3162
6.42k
    }
3163
6.29k
  }
3164
3165
  // map<string, .yb.master.BackfillJobPB.State> backfill_state = 2;
3166
6.29k
  total_size += 1 *
3167
6.29k
      ::google::protobuf::internal::FromIntSize(this->backfill_state_size());
3168
6.29k
  {
3169
6.29k
    ::google::protobuf::scoped_ptr<BackfillJobPB_BackfillStateEntry_DoNotUse> entry;
3170
6.29k
    for (::google::protobuf::Map< ::std::string, ::yb::master::BackfillJobPB_State >::const_iterator
3171
6.29k
        it = this->backfill_state().begin();
3172
12.7k
        it != this->backfill_state().end(); 
++it6.42k
) {
3173
6.42k
      entry.reset(backfill_state_.NewEnumEntryWrapper(it->first, it->second));
3174
6.42k
      total_size += ::google::protobuf::internal::WireFormatLite::
3175
6.42k
          MessageSizeNoVirtual(*entry);
3176
6.42k
    }
3177
6.29k
  }
3178
3179
6.29k
  if (_has_bits_[0 / 32] & 3u) {
3180
    // optional uint64 backfilling_timestamp = 3;
3181
5.16k
    if (has_backfilling_timestamp()) {
3182
5.16k
      total_size += 1 +
3183
5.16k
        ::google::protobuf::internal::WireFormatLite::UInt64Size(
3184
5.16k
          this->backfilling_timestamp());
3185
5.16k
    }
3186
3187
    // optional uint64 num_rows_processed = 4 [default = 0];
3188
5.16k
    if (has_num_rows_processed()) {
3189
3.62k
      total_size += 1 +
3190
3.62k
        ::google::protobuf::internal::WireFormatLite::UInt64Size(
3191
3.62k
          this->num_rows_processed());
3192
3.62k
    }
3193
3194
5.16k
  }
3195
6.29k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3196
6.29k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3197
6.29k
  _cached_size_ = cached_size;
3198
6.29k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3199
6.29k
  return total_size;
3200
6.29k
}
3201
3202
0
void BackfillJobPB::MergeFrom(const ::google::protobuf::Message& from) {
3203
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.BackfillJobPB)
3204
0
  GOOGLE_DCHECK_NE(&from, this);
3205
0
  const BackfillJobPB* source =
3206
0
      ::google::protobuf::internal::DynamicCastToGenerated<const BackfillJobPB>(
3207
0
          &from);
3208
0
  if (source == NULL) {
3209
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.BackfillJobPB)
3210
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3211
0
  } else {
3212
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.BackfillJobPB)
3213
0
    MergeFrom(*source);
3214
0
  }
3215
0
}
3216
3217
8.83k
void BackfillJobPB::MergeFrom(const BackfillJobPB& from) {
3218
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.BackfillJobPB)
3219
8.83k
  GOOGLE_DCHECK_NE(&from, this);
3220
8.83k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3221
8.83k
  ::google::protobuf::uint32 cached_has_bits = 0;
3222
8.83k
  (void) cached_has_bits;
3223
3224
8.83k
  indexes_.MergeFrom(from.indexes_);
3225
8.83k
  backfill_state_.MergeFrom(from.backfill_state_);
3226
8.83k
  cached_has_bits = from._has_bits_[0];
3227
8.83k
  if (cached_has_bits & 3u) {
3228
7.72k
    if (cached_has_bits & 0x00000001u) {
3229
7.72k
      backfilling_timestamp_ = from.backfilling_timestamp_;
3230
7.72k
    }
3231
7.72k
    if (cached_has_bits & 0x00000002u) {
3232
6.28k
      num_rows_processed_ = from.num_rows_processed_;
3233
6.28k
    }
3234
7.72k
    _has_bits_[0] |= cached_has_bits;
3235
7.72k
  }
3236
8.83k
}
3237
3238
0
void BackfillJobPB::CopyFrom(const ::google::protobuf::Message& from) {
3239
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.BackfillJobPB)
3240
0
  if (&from == this) return;
3241
0
  Clear();
3242
0
  MergeFrom(from);
3243
0
}
3244
3245
0
void BackfillJobPB::CopyFrom(const BackfillJobPB& from) {
3246
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.BackfillJobPB)
3247
0
  if (&from == this) return;
3248
0
  Clear();
3249
0
  MergeFrom(from);
3250
0
}
3251
3252
6.29k
bool BackfillJobPB::IsInitialized() const {
3253
6.29k
  if (!::google::protobuf::internal::AllAreInitialized(this->indexes())) 
return false0
;
3254
6.29k
  return true;
3255
6.29k
}
3256
3257
0
void BackfillJobPB::Swap(BackfillJobPB* other) {
3258
0
  if (other == this) return;
3259
0
  InternalSwap(other);
3260
0
}
3261
338
void BackfillJobPB::InternalSwap(BackfillJobPB* other) {
3262
338
  using std::swap;
3263
338
  indexes_.InternalSwap(&other->indexes_);
3264
338
  backfill_state_.Swap(&other->backfill_state_);
3265
338
  swap(backfilling_timestamp_, other->backfilling_timestamp_);
3266
338
  swap(num_rows_processed_, other->num_rows_processed_);
3267
338
  swap(_has_bits_[0], other->_has_bits_[0]);
3268
338
  _internal_metadata_.Swap(&other->_internal_metadata_);
3269
338
  swap(_cached_size_, other->_cached_size_);
3270
338
}
3271
3272
165k
::google::protobuf::Metadata BackfillJobPB::GetMetadata() const {
3273
165k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
3274
165k
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
3275
165k
}
3276
3277
3278
// ===================================================================
3279
3280
26.8k
void SysTablesEntryPB::InitAsDefaultInstance() {
3281
26.8k
  ::yb::master::_SysTablesEntryPB_default_instance_._instance.get_mutable()->schema_ = const_cast< ::yb::SchemaPB*>(
3282
26.8k
      ::yb::SchemaPB::internal_default_instance());
3283
26.8k
  ::yb::master::_SysTablesEntryPB_default_instance_._instance.get_mutable()->fully_applied_schema_ = const_cast< ::yb::SchemaPB*>(
3284
26.8k
      ::yb::SchemaPB::internal_default_instance());
3285
26.8k
  ::yb::master::_SysTablesEntryPB_default_instance_._instance.get_mutable()->partition_schema_ = const_cast< ::yb::PartitionSchemaPB*>(
3286
26.8k
      ::yb::PartitionSchemaPB::internal_default_instance());
3287
26.8k
  ::yb::master::_SysTablesEntryPB_default_instance_._instance.get_mutable()->replication_info_ = const_cast< ::yb::master::ReplicationInfoPB*>(
3288
26.8k
      ::yb::master::ReplicationInfoPB::internal_default_instance());
3289
26.8k
  ::yb::master::_SysTablesEntryPB_default_instance_._instance.get_mutable()->index_info_ = const_cast< ::yb::IndexInfoPB*>(
3290
26.8k
      ::yb::IndexInfoPB::internal_default_instance());
3291
26.8k
  ::yb::master::_SysTablesEntryPB_default_instance_._instance.get_mutable()->fully_applied_index_info_ = const_cast< ::yb::IndexInfoPB*>(
3292
26.8k
      ::yb::IndexInfoPB::internal_default_instance());
3293
26.8k
  ::yb::master::_SysTablesEntryPB_default_instance_._instance.get_mutable()->transaction_ = const_cast< ::yb::TransactionMetadataPB*>(
3294
26.8k
      ::yb::TransactionMetadataPB::internal_default_instance());
3295
26.8k
}
3296
2
void SysTablesEntryPB::clear_schema() {
3297
2
  if (schema_ != NULL) schema_->Clear();
3298
2
  clear_has_schema();
3299
2
}
3300
9.84k
void SysTablesEntryPB::clear_fully_applied_schema() {
3301
9.84k
  if (fully_applied_schema_ != NULL) 
fully_applied_schema_->Clear()3.36k
;
3302
9.84k
  clear_has_fully_applied_schema();
3303
9.84k
}
3304
2
void SysTablesEntryPB::clear_partition_schema() {
3305
2
  if (partition_schema_ != NULL) partition_schema_->Clear();
3306
2
  clear_has_partition_schema();
3307
2
}
3308
2
void SysTablesEntryPB::clear_indexes() {
3309
2
  indexes_.Clear();
3310
2
}
3311
2
void SysTablesEntryPB::clear_index_info() {
3312
2
  if (index_info_ != NULL) 
index_info_->Clear()0
;
3313
2
  clear_has_index_info();
3314
2
}
3315
9.83k
void SysTablesEntryPB::clear_fully_applied_indexes() {
3316
9.83k
  fully_applied_indexes_.Clear();
3317
9.83k
}
3318
9.84k
void SysTablesEntryPB::clear_fully_applied_index_info() {
3319
9.84k
  if (fully_applied_index_info_ != NULL) 
fully_applied_index_info_->Clear()0
;
3320
9.84k
  clear_has_fully_applied_index_info();
3321
9.84k
}
3322
4.61k
void SysTablesEntryPB::clear_transaction() {
3323
4.61k
  if (transaction_ != NULL) 
transaction_->Clear()4.61k
;
3324
4.61k
  clear_has_transaction();
3325
4.61k
}
3326
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3327
const int SysTablesEntryPB::kNameFieldNumber;
3328
const int SysTablesEntryPB::kTableTypeFieldNumber;
3329
const int SysTablesEntryPB::kNamespaceIdFieldNumber;
3330
const int SysTablesEntryPB::kNamespaceNameFieldNumber;
3331
const int SysTablesEntryPB::kVersionFieldNumber;
3332
const int SysTablesEntryPB::kSchemaFieldNumber;
3333
const int SysTablesEntryPB::kFullyAppliedSchemaFieldNumber;
3334
const int SysTablesEntryPB::kPartitionSchemaFieldNumber;
3335
const int SysTablesEntryPB::kPartitionListVersionFieldNumber;
3336
const int SysTablesEntryPB::kNextColumnIdFieldNumber;
3337
const int SysTablesEntryPB::kReplicationInfoFieldNumber;
3338
const int SysTablesEntryPB::kStateFieldNumber;
3339
const int SysTablesEntryPB::kStateMsgFieldNumber;
3340
const int SysTablesEntryPB::kIndexesFieldNumber;
3341
const int SysTablesEntryPB::kIndexedTableIdFieldNumber;
3342
const int SysTablesEntryPB::kIsLocalIndexFieldNumber;
3343
const int SysTablesEntryPB::kIsUniqueIndexFieldNumber;
3344
const int SysTablesEntryPB::kIndexInfoFieldNumber;
3345
const int SysTablesEntryPB::kIsPgSharedTableFieldNumber;
3346
const int SysTablesEntryPB::kWalRetentionSecsFieldNumber;
3347
const int SysTablesEntryPB::kColocatedFieldNumber;
3348
const int SysTablesEntryPB::kFullyAppliedSchemaVersionFieldNumber;
3349
const int SysTablesEntryPB::kFullyAppliedIndexesFieldNumber;
3350
const int SysTablesEntryPB::kFullyAppliedIndexInfoFieldNumber;
3351
const int SysTablesEntryPB::kTransactionFieldNumber;
3352
const int SysTablesEntryPB::kUpdatesOnlyIndexPermissionsFieldNumber;
3353
const int SysTablesEntryPB::kBackfillJobsFieldNumber;
3354
const int SysTablesEntryPB::kHideStateFieldNumber;
3355
const int SysTablesEntryPB::kTransactionTableTablespaceIdFieldNumber;
3356
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3357
3358
SysTablesEntryPB::SysTablesEntryPB()
3359
1.56M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3360
1.56M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3361
1.53M
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysTablesEntryPB();
3362
1.53M
  }
3363
1.56M
  SharedCtor();
3364
  // @@protoc_insertion_point(constructor:yb.master.SysTablesEntryPB)
3365
1.56M
}
3366
SysTablesEntryPB::SysTablesEntryPB(const SysTablesEntryPB& from)
3367
  : ::google::protobuf::Message(),
3368
      _internal_metadata_(NULL),
3369
      _has_bits_(from._has_bits_),
3370
      _cached_size_(0),
3371
      indexes_(from.indexes_),
3372
      fully_applied_indexes_(from.fully_applied_indexes_),
3373
1.43M
      backfill_jobs_(from.backfill_jobs_) {
3374
1.43M
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3375
1.43M
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3376
1.43M
  if (from.has_name()) {
3377
935k
    name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
3378
935k
  }
3379
1.43M
  state_msg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3380
1.43M
  if (from.has_state_msg()) {
3381
48.6k
    state_msg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.state_msg_);
3382
48.6k
  }
3383
1.43M
  namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3384
1.43M
  if (from.has_namespace_id()) {
3385
935k
    namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_id_);
3386
935k
  }
3387
1.43M
  indexed_table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3388
1.43M
  if (from.has_indexed_table_id()) {
3389
240k
    indexed_table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.indexed_table_id_);
3390
240k
  }
3391
1.43M
  namespace_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3392
1.43M
  if (from.has_namespace_name()) {
3393
933k
    namespace_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_name_);
3394
933k
  }
3395
1.43M
  transaction_table_tablespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3396
1.43M
  if (from.has_transaction_table_tablespace_id()) {
3397
1.36k
    transaction_table_tablespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.transaction_table_tablespace_id_);
3398
1.36k
  }
3399
1.43M
  if (from.has_schema()) {
3400
935k
    schema_ = new ::yb::SchemaPB(*from.schema_);
3401
935k
  } else {
3402
499k
    schema_ = NULL;
3403
499k
  }
3404
1.43M
  if (from.has_fully_applied_schema()) {
3405
6.32k
    fully_applied_schema_ = new ::yb::SchemaPB(*from.fully_applied_schema_);
3406
1.42M
  } else {
3407
1.42M
    fully_applied_schema_ = NULL;
3408
1.42M
  }
3409
1.43M
  if (from.has_replication_info()) {
3410
235
    replication_info_ = new ::yb::master::ReplicationInfoPB(*from.replication_info_);
3411
1.43M
  } else {
3412
1.43M
    replication_info_ = NULL;
3413
1.43M
  }
3414
1.43M
  if (from.has_partition_schema()) {
3415
935k
    partition_schema_ = new ::yb::PartitionSchemaPB(*from.partition_schema_);
3416
935k
  } else {
3417
499k
    partition_schema_ = NULL;
3418
499k
  }
3419
1.43M
  if (from.has_index_info()) {
3420
240k
    index_info_ = new ::yb::IndexInfoPB(*from.index_info_);
3421
1.19M
  } else {
3422
1.19M
    index_info_ = NULL;
3423
1.19M
  }
3424
1.43M
  if (from.has_fully_applied_index_info()) {
3425
0
    fully_applied_index_info_ = new ::yb::IndexInfoPB(*from.fully_applied_index_info_);
3426
1.43M
  } else {
3427
1.43M
    fully_applied_index_info_ = NULL;
3428
1.43M
  }
3429
1.43M
  if (from.has_transaction()) {
3430
109k
    transaction_ = new ::yb::TransactionMetadataPB(*from.transaction_);
3431
1.32M
  } else {
3432
1.32M
    transaction_ = NULL;
3433
1.32M
  }
3434
1.43M
  ::memcpy(&version_, &from.version_,
3435
1.43M
    static_cast<size_t>(reinterpret_cast<char*>(&table_type_) -
3436
1.43M
    reinterpret_cast<char*>(&version_)) + sizeof(table_type_));
3437
  // @@protoc_insertion_point(copy_constructor:yb.master.SysTablesEntryPB)
3438
1.43M
}
3439
3440
1.56M
void SysTablesEntryPB::SharedCtor() {
3441
1.56M
  _cached_size_ = 0;
3442
1.56M
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3443
1.56M
  state_msg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3444
1.56M
  namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3445
1.56M
  indexed_table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3446
1.56M
  namespace_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3447
1.56M
  transaction_table_tablespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3448
1.56M
  ::memset(&schema_, 0, static_cast<size_t>(
3449
1.56M
      reinterpret_cast<char*>(&hide_state_) -
3450
1.56M
      reinterpret_cast<char*>(&schema_)) + sizeof(hide_state_));
3451
1.56M
  table_type_ = 2;
3452
1.56M
}
3453
3454
2.47M
SysTablesEntryPB::~SysTablesEntryPB() {
3455
  // @@protoc_insertion_point(destructor:yb.master.SysTablesEntryPB)
3456
2.47M
  SharedDtor();
3457
2.47M
}
3458
3459
2.47M
void SysTablesEntryPB::SharedDtor() {
3460
2.47M
  name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3461
2.47M
  state_msg_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3462
2.47M
  namespace_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3463
2.47M
  indexed_table_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3464
2.47M
  namespace_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3465
2.47M
  transaction_table_tablespace_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3466
2.47M
  if (this != internal_default_instance()) 
delete schema_2.47M
;
3467
2.47M
  if (this != internal_default_instance()) 
delete fully_applied_schema_2.47M
;
3468
2.47M
  if (this != internal_default_instance()) 
delete replication_info_2.47M
;
3469
2.47M
  if (this != internal_default_instance()) 
delete partition_schema_2.47M
;
3470
2.47M
  if (this != internal_default_instance()) 
delete index_info_2.47M
;
3471
2.47M
  if (this != internal_default_instance()) 
delete fully_applied_index_info_2.47M
;
3472
2.47M
  if (this != internal_default_instance()) 
delete transaction_2.47M
;
3473
2.47M
}
3474
3475
0
void SysTablesEntryPB::SetCachedSize(int size) const {
3476
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3477
0
  _cached_size_ = size;
3478
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3479
0
}
3480
0
const ::google::protobuf::Descriptor* SysTablesEntryPB::descriptor() {
3481
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
3482
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3483
0
}
3484
3485
0
const SysTablesEntryPB& SysTablesEntryPB::default_instance() {
3486
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysTablesEntryPB();
3487
0
  return *internal_default_instance();
3488
0
}
3489
3490
0
SysTablesEntryPB* SysTablesEntryPB::New(::google::protobuf::Arena* arena) const {
3491
0
  SysTablesEntryPB* n = new SysTablesEntryPB;
3492
0
  if (arena != NULL) {
3493
0
    arena->Own(n);
3494
0
  }
3495
0
  return n;
3496
0
}
3497
3498
890k
void SysTablesEntryPB::Clear() {
3499
// @@protoc_insertion_point(message_clear_start:yb.master.SysTablesEntryPB)
3500
890k
  ::google::protobuf::uint32 cached_has_bits = 0;
3501
  // Prevent compiler warnings about cached_has_bits being unused
3502
890k
  (void) cached_has_bits;
3503
3504
890k
  indexes_.Clear();
3505
890k
  fully_applied_indexes_.Clear();
3506
890k
  backfill_jobs_.Clear();
3507
890k
  cached_has_bits = _has_bits_[0];
3508
890k
  if (cached_has_bits & 255u) {
3509
0
    if (cached_has_bits & 0x00000001u) {
3510
0
      GOOGLE_DCHECK(!name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3511
0
      (*name_.UnsafeRawStringPointer())->clear();
3512
0
    }
3513
0
    if (cached_has_bits & 0x00000002u) {
3514
0
      GOOGLE_DCHECK(!state_msg_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3515
0
      (*state_msg_.UnsafeRawStringPointer())->clear();
3516
0
    }
3517
0
    if (cached_has_bits & 0x00000004u) {
3518
0
      GOOGLE_DCHECK(!namespace_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3519
0
      (*namespace_id_.UnsafeRawStringPointer())->clear();
3520
0
    }
3521
0
    if (cached_has_bits & 0x00000008u) {
3522
0
      GOOGLE_DCHECK(!indexed_table_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3523
0
      (*indexed_table_id_.UnsafeRawStringPointer())->clear();
3524
0
    }
3525
0
    if (cached_has_bits & 0x00000010u) {
3526
0
      GOOGLE_DCHECK(!namespace_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3527
0
      (*namespace_name_.UnsafeRawStringPointer())->clear();
3528
0
    }
3529
0
    if (cached_has_bits & 0x00000020u) {
3530
0
      GOOGLE_DCHECK(!transaction_table_tablespace_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3531
0
      (*transaction_table_tablespace_id_.UnsafeRawStringPointer())->clear();
3532
0
    }
3533
0
    if (cached_has_bits & 0x00000040u) {
3534
0
      GOOGLE_DCHECK(schema_ != NULL);
3535
0
      schema_->Clear();
3536
0
    }
3537
0
    if (cached_has_bits & 0x00000080u) {
3538
0
      GOOGLE_DCHECK(fully_applied_schema_ != NULL);
3539
0
      fully_applied_schema_->Clear();
3540
0
    }
3541
0
  }
3542
890k
  if (cached_has_bits & 7936u) {
3543
0
    if (cached_has_bits & 0x00000100u) {
3544
0
      GOOGLE_DCHECK(replication_info_ != NULL);
3545
0
      replication_info_->Clear();
3546
0
    }
3547
0
    if (cached_has_bits & 0x00000200u) {
3548
0
      GOOGLE_DCHECK(partition_schema_ != NULL);
3549
0
      partition_schema_->Clear();
3550
0
    }
3551
0
    if (cached_has_bits & 0x00000400u) {
3552
0
      GOOGLE_DCHECK(index_info_ != NULL);
3553
0
      index_info_->Clear();
3554
0
    }
3555
0
    if (cached_has_bits & 0x00000800u) {
3556
0
      GOOGLE_DCHECK(fully_applied_index_info_ != NULL);
3557
0
      fully_applied_index_info_->Clear();
3558
0
    }
3559
0
    if (cached_has_bits & 0x00001000u) {
3560
0
      GOOGLE_DCHECK(transaction_ != NULL);
3561
0
      transaction_->Clear();
3562
0
    }
3563
0
  }
3564
890k
  if (cached_has_bits & 57344u) {
3565
0
    ::memset(&version_, 0, static_cast<size_t>(
3566
0
        reinterpret_cast<char*>(&next_column_id_) -
3567
0
        reinterpret_cast<char*>(&version_)) + sizeof(next_column_id_));
3568
0
  }
3569
890k
  if (cached_has_bits & 16711680u) {
3570
0
    ::memset(&is_local_index_, 0, static_cast<size_t>(
3571
0
        reinterpret_cast<char*>(&updates_only_index_permissions_) -
3572
0
        reinterpret_cast<char*>(&is_local_index_)) + sizeof(updates_only_index_permissions_));
3573
0
  }
3574
890k
  if (cached_has_bits & 50331648u) {
3575
0
    hide_state_ = 0;
3576
0
    table_type_ = 2;
3577
0
  }
3578
890k
  _has_bits_.Clear();
3579
890k
  _internal_metadata_.Clear();
3580
890k
}
3581
3582
bool SysTablesEntryPB::MergePartialFromCodedStream(
3583
449k
    ::google::protobuf::io::CodedInputStream* input) {
3584
4.82M
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
3585
449k
  ::google::protobuf::uint32 tag;
3586
  // @@protoc_insertion_point(parse_start:yb.master.SysTablesEntryPB)
3587
5.27M
  for (;;) {
3588
5.27M
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u);
3589
5.27M
    tag = p.first;
3590
5.27M
    if (!p.second) 
goto handle_unusual449k
;
3591
4.82M
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3592
      // required bytes name = 1;
3593
449k
      case 1: {
3594
449k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3595
449k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
3596
449k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3597
449k
                input, this->mutable_name()));
3598
449k
        } else {
3599
0
          goto handle_unusual;
3600
0
        }
3601
449k
        break;
3602
449k
      }
3603
3604
      // required uint32 version = 2;
3605
449k
      case 2: {
3606
449k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3607
449k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
3608
449k
          set_has_version();
3609
449k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3610
449k
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
3611
449k
                 input, &version_)));
3612
449k
        } else {
3613
0
          goto handle_unusual;
3614
0
        }
3615
449k
        break;
3616
449k
      }
3617
3618
      // required .yb.SchemaPB schema = 3;
3619
449k
      case 3: {
3620
449k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3621
449k
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
3622
449k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3623
449k
               input, mutable_schema()));
3624
449k
        } else {
3625
0
          goto handle_unusual;
3626
0
        }
3627
449k
        break;
3628
449k
      }
3629
3630
      // optional .yb.SchemaPB fully_applied_schema = 4;
3631
449k
      case 4: {
3632
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3633
0
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
3634
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3635
0
               input, mutable_fully_applied_schema()));
3636
0
        } else {
3637
0
          goto handle_unusual;
3638
0
        }
3639
0
        break;
3640
0
      }
3641
3642
      // optional .yb.master.ReplicationInfoPB replication_info = 5;
3643
3
      case 5: {
3644
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3645
3
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
3646
3
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3647
3
               input, mutable_replication_info()));
3648
3
        } else {
3649
0
          goto handle_unusual;
3650
0
        }
3651
3
        break;
3652
3
      }
3653
3654
      // optional .yb.master.SysTablesEntryPB.State state = 6 [default = UNKNOWN];
3655
449k
      case 6: {
3656
449k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3657
449k
            static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
3658
449k
          int value;
3659
449k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3660
449k
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
3661
449k
                 input, &value)));
3662
449k
          if (::yb::master::SysTablesEntryPB_State_IsValid(value)) {
3663
449k
            set_state(static_cast< ::yb::master::SysTablesEntryPB_State >(value));
3664
449k
          } else {
3665
0
            mutable_unknown_fields()->AddVarint(
3666
0
                6, static_cast< ::google::protobuf::uint64>(value));
3667
0
          }
3668
449k
        } else {
3669
0
          goto handle_unusual;
3670
0
        }
3671
449k
        break;
3672
449k
      }
3673
3674
      // optional bytes state_msg = 7;
3675
449k
      case 7: {
3676
94
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3677
94
            static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
3678
94
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3679
94
                input, this->mutable_state_msg()));
3680
94
        } else {
3681
0
          goto handle_unusual;
3682
0
        }
3683
94
        break;
3684
94
      }
3685
3686
      // optional int32 next_column_id = 8;
3687
448k
      case 8: {
3688
448k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3689
448k
            static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
3690
448k
          set_has_next_column_id();
3691
448k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3692
448k
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
3693
448k
                 input, &next_column_id_)));
3694
448k
        } else {
3695
0
          goto handle_unusual;
3696
0
        }
3697
448k
        break;
3698
448k
      }
3699
3700
      // optional .yb.PartitionSchemaPB partition_schema = 9;
3701
448k
      case 9: {
3702
448k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3703
448k
            static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) {
3704
448k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3705
448k
               input, mutable_partition_schema()));
3706
448k
        } else {
3707
0
          goto handle_unusual;
3708
0
        }
3709
448k
        break;
3710
448k
      }
3711
3712
      // optional .yb.TableType table_type = 10 [default = DEFAULT_TABLE_TYPE];
3713
449k
      case 10: {
3714
449k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3715
449k
            static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
3716
449k
          int value;
3717
449k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3718
449k
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
3719
449k
                 input, &value)));
3720
449k
          if (::yb::TableType_IsValid(value)) {
3721
449k
            set_table_type(static_cast< ::yb::TableType >(value));
3722
449k
          } else {
3723
0
            mutable_unknown_fields()->AddVarint(
3724
0
                10, static_cast< ::google::protobuf::uint64>(value));
3725
0
          }
3726
449k
        } else {
3727
0
          goto handle_unusual;
3728
0
        }
3729
449k
        break;
3730
449k
      }
3731
3732
      // optional bytes namespace_id = 11;
3733
449k
      case 11: {
3734
449k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3735
449k
            static_cast< ::google::protobuf::uint8>(90u /* 90 & 0xFF */)) {
3736
449k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3737
449k
                input, this->mutable_namespace_id()));
3738
449k
        } else {
3739
0
          goto handle_unusual;
3740
0
        }
3741
449k
        break;
3742
449k
      }
3743
3744
      // repeated .yb.IndexInfoPB indexes = 12;
3745
449k
      case 12: {
3746
28
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3747
28
            static_cast< ::google::protobuf::uint8>(98u /* 98 & 0xFF */)) {
3748
28
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_indexes()));
3749
28
        } else {
3750
0
          goto handle_unusual;
3751
0
        }
3752
28
        break;
3753
28
      }
3754
3755
      // optional bytes indexed_table_id = 13;
3756
192k
      case 13: {
3757
192k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3758
192k
            static_cast< ::google::protobuf::uint8>(106u /* 106 & 0xFF */)) {
3759
192k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3760
192k
                input, this->mutable_indexed_table_id()));
3761
192k
        } else {
3762
0
          goto handle_unusual;
3763
0
        }
3764
192k
        break;
3765
192k
      }
3766
3767
      // optional bool is_local_index = 14 [default = false];
3768
192k
      case 14: {
3769
192k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3770
192k
            static_cast< ::google::protobuf::uint8>(112u /* 112 & 0xFF */)) {
3771
192k
          set_has_is_local_index();
3772
192k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3773
192k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
3774
192k
                 input, &is_local_index_)));
3775
192k
        } else {
3776
0
          goto handle_unusual;
3777
0
        }
3778
192k
        break;
3779
192k
      }
3780
3781
      // optional bool is_unique_index = 15 [default = false];
3782
192k
      case 15: {
3783
192k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3784
192k
            static_cast< ::google::protobuf::uint8>(120u /* 120 & 0xFF */)) {
3785
192k
          set_has_is_unique_index();
3786
192k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3787
192k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
3788
192k
                 input, &is_unique_index_)));
3789
192k
        } else {
3790
0
          goto handle_unusual;
3791
0
        }
3792
192k
        break;
3793
192k
      }
3794
3795
      // optional bool is_pg_shared_table = 16 [default = false];
3796
192k
      case 16: {
3797
15.4k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3798
15.4k
            static_cast< ::google::protobuf::uint8>(128u /* 128 & 0xFF */)) {
3799
15.4k
          set_has_is_pg_shared_table();
3800
15.4k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3801
15.4k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
3802
15.4k
                 input, &is_pg_shared_table_)));
3803
15.4k
        } else {
3804
0
          goto handle_unusual;
3805
0
        }
3806
15.4k
        break;
3807
15.4k
      }
3808
3809
      // optional .yb.IndexInfoPB index_info = 22;
3810
192k
      case 22: {
3811
192k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3812
192k
            static_cast< ::google::protobuf::uint8>(178u /* 178 & 0xFF */)) {
3813
192k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3814
192k
               input, mutable_index_info()));
3815
192k
        } else {
3816
0
          goto handle_unusual;
3817
0
        }
3818
192k
        break;
3819
192k
      }
3820
3821
      // optional uint32 fully_applied_schema_version = 23;
3822
192k
      case 23: {
3823
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3824
0
            static_cast< ::google::protobuf::uint8>(184u /* 184 & 0xFF */)) {
3825
0
          set_has_fully_applied_schema_version();
3826
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3827
0
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
3828
0
                 input, &fully_applied_schema_version_)));
3829
0
        } else {
3830
0
          goto handle_unusual;
3831
0
        }
3832
0
        break;
3833
0
      }
3834
3835
      // optional uint32 wal_retention_secs = 24;
3836
0
      case 24: {
3837
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3838
0
            static_cast< ::google::protobuf::uint8>(192u /* 192 & 0xFF */)) {
3839
0
          set_has_wal_retention_secs();
3840
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3841
0
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
3842
0
                 input, &wal_retention_secs_)));
3843
0
        } else {
3844
0
          goto handle_unusual;
3845
0
        }
3846
0
        break;
3847
0
      }
3848
3849
      // optional bool colocated = 25 [default = false];
3850
5
      case 25: {
3851
5
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3852
5
            static_cast< ::google::protobuf::uint8>(200u /* 200 & 0xFF */)) {
3853
5
          set_has_colocated();
3854
5
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3855
5
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
3856
5
                 input, &colocated_)));
3857
5
        } else {
3858
0
          goto handle_unusual;
3859
0
        }
3860
5
        break;
3861
5
      }
3862
3863
      // repeated .yb.IndexInfoPB fully_applied_indexes = 26;
3864
5
      case 26: {
3865
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3866
0
            static_cast< ::google::protobuf::uint8>(210u /* 210 & 0xFF */)) {
3867
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_fully_applied_indexes()));
3868
0
        } else {
3869
0
          goto handle_unusual;
3870
0
        }
3871
0
        break;
3872
0
      }
3873
3874
      // optional .yb.IndexInfoPB fully_applied_index_info = 27;
3875
0
      case 27: {
3876
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3877
0
            static_cast< ::google::protobuf::uint8>(218u /* 218 & 0xFF */)) {
3878
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3879
0
               input, mutable_fully_applied_index_info()));
3880
0
        } else {
3881
0
          goto handle_unusual;
3882
0
        }
3883
0
        break;
3884
0
      }
3885
3886
      // optional uint32 partition_list_version = 28;
3887
2
      case 28: {
3888
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3889
2
            static_cast< ::google::protobuf::uint8>(224u /* 224 & 0xFF */)) {
3890
2
          set_has_partition_list_version();
3891
2
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3892
2
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
3893
2
                 input, &partition_list_version_)));
3894
2
        } else {
3895
0
          goto handle_unusual;
3896
0
        }
3897
2
        break;
3898
2
      }
3899
3900
      // optional .yb.TransactionMetadataPB transaction = 29;
3901
6
      case 29: {
3902
6
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3903
6
            static_cast< ::google::protobuf::uint8>(234u /* 234 & 0xFF */)) {
3904
6
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3905
6
               input, mutable_transaction()));
3906
6
        } else {
3907
0
          goto handle_unusual;
3908
0
        }
3909
6
        break;
3910
6
      }
3911
3912
      // optional bytes namespace_name = 30;
3913
446k
      case 30: {
3914
446k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3915
446k
            static_cast< ::google::protobuf::uint8>(242u /* 242 & 0xFF */)) {
3916
446k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3917
446k
                input, this->mutable_namespace_name()));
3918
446k
        } else {
3919
0
          goto handle_unusual;
3920
0
        }
3921
446k
        break;
3922
446k
      }
3923
3924
      // optional bool updates_only_index_permissions = 31 [default = false];
3925
446k
      case 31: {
3926
45
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3927
45
            static_cast< ::google::protobuf::uint8>(248u /* 248 & 0xFF */)) {
3928
45
          set_has_updates_only_index_permissions();
3929
45
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3930
45
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
3931
45
                 input, &updates_only_index_permissions_)));
3932
45
        } else {
3933
0
          goto handle_unusual;
3934
0
        }
3935
45
        break;
3936
45
      }
3937
3938
      // repeated .yb.master.BackfillJobPB backfill_jobs = 32;
3939
45
      case 32: {
3940
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3941
2
            static_cast< ::google::protobuf::uint8>(2u /* 258 & 0xFF */)) {
3942
2
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_backfill_jobs()));
3943
2
        } else {
3944
0
          goto handle_unusual;
3945
0
        }
3946
2
        break;
3947
2
      }
3948
3949
      // optional .yb.master.SysTablesEntryPB.HideState hide_state = 33;
3950
3
      case 33: {
3951
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3952
3
            static_cast< ::google::protobuf::uint8>(8u /* 264 & 0xFF */)) {
3953
3
          int value;
3954
3
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3955
3
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
3956
3
                 input, &value)));
3957
3
          if (::yb::master::SysTablesEntryPB_HideState_IsValid(value)) {
3958
3
            set_hide_state(static_cast< ::yb::master::SysTablesEntryPB_HideState >(value));
3959
3
          } else {
3960
0
            mutable_unknown_fields()->AddVarint(
3961
0
                33, static_cast< ::google::protobuf::uint64>(value));
3962
0
          }
3963
3
        } else {
3964
0
          goto handle_unusual;
3965
0
        }
3966
3
        break;
3967
3
      }
3968
3969
      // optional bytes transaction_table_tablespace_id = 34;
3970
3
      case 34: {
3971
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3972
1
            static_cast< ::google::protobuf::uint8>(18u /* 274 & 0xFF */)) {
3973
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3974
1
                input, this->mutable_transaction_table_tablespace_id()));
3975
1
        } else {
3976
0
          goto handle_unusual;
3977
0
        }
3978
1
        break;
3979
1
      }
3980
3981
1
      default: {
3982
449k
      handle_unusual:
3983
449k
        if (tag == 0) {
3984
449k
          goto success;
3985
449k
        }
3986
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3987
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3988
0
        break;
3989
0
      }
3990
4.82M
    }
3991
4.82M
  }
3992
449k
success:
3993
  // @@protoc_insertion_point(parse_success:yb.master.SysTablesEntryPB)
3994
449k
  return true;
3995
0
failure:
3996
  // @@protoc_insertion_point(parse_failure:yb.master.SysTablesEntryPB)
3997
0
  return false;
3998
449k
#undef DO_
3999
449k
}
4000
4001
void SysTablesEntryPB::SerializeWithCachedSizes(
4002
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4003
  // @@protoc_insertion_point(serialize_start:yb.master.SysTablesEntryPB)
4004
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4005
0
  (void) cached_has_bits;
4006
4007
0
  cached_has_bits = _has_bits_[0];
4008
  // required bytes name = 1;
4009
0
  if (cached_has_bits & 0x00000001u) {
4010
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4011
0
      1, this->name(), output);
4012
0
  }
4013
4014
  // required uint32 version = 2;
4015
0
  if (cached_has_bits & 0x00002000u) {
4016
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->version(), output);
4017
0
  }
4018
4019
  // required .yb.SchemaPB schema = 3;
4020
0
  if (cached_has_bits & 0x00000040u) {
4021
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4022
0
      3, *this->schema_, output);
4023
0
  }
4024
4025
  // optional .yb.SchemaPB fully_applied_schema = 4;
4026
0
  if (cached_has_bits & 0x00000080u) {
4027
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4028
0
      4, *this->fully_applied_schema_, output);
4029
0
  }
4030
4031
  // optional .yb.master.ReplicationInfoPB replication_info = 5;
4032
0
  if (cached_has_bits & 0x00000100u) {
4033
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4034
0
      5, *this->replication_info_, output);
4035
0
  }
4036
4037
  // optional .yb.master.SysTablesEntryPB.State state = 6 [default = UNKNOWN];
4038
0
  if (cached_has_bits & 0x00004000u) {
4039
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
4040
0
      6, this->state(), output);
4041
0
  }
4042
4043
  // optional bytes state_msg = 7;
4044
0
  if (cached_has_bits & 0x00000002u) {
4045
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4046
0
      7, this->state_msg(), output);
4047
0
  }
4048
4049
  // optional int32 next_column_id = 8;
4050
0
  if (cached_has_bits & 0x00008000u) {
4051
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->next_column_id(), output);
4052
0
  }
4053
4054
  // optional .yb.PartitionSchemaPB partition_schema = 9;
4055
0
  if (cached_has_bits & 0x00000200u) {
4056
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4057
0
      9, *this->partition_schema_, output);
4058
0
  }
4059
4060
  // optional .yb.TableType table_type = 10 [default = DEFAULT_TABLE_TYPE];
4061
0
  if (cached_has_bits & 0x02000000u) {
4062
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
4063
0
      10, this->table_type(), output);
4064
0
  }
4065
4066
  // optional bytes namespace_id = 11;
4067
0
  if (cached_has_bits & 0x00000004u) {
4068
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4069
0
      11, this->namespace_id(), output);
4070
0
  }
4071
4072
  // repeated .yb.IndexInfoPB indexes = 12;
4073
0
  for (unsigned int i = 0,
4074
0
      n = static_cast<unsigned int>(this->indexes_size()); i < n; i++) {
4075
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4076
0
      12, this->indexes(static_cast<int>(i)), output);
4077
0
  }
4078
4079
  // optional bytes indexed_table_id = 13;
4080
0
  if (cached_has_bits & 0x00000008u) {
4081
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4082
0
      13, this->indexed_table_id(), output);
4083
0
  }
4084
4085
  // optional bool is_local_index = 14 [default = false];
4086
0
  if (cached_has_bits & 0x00010000u) {
4087
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(14, this->is_local_index(), output);
4088
0
  }
4089
4090
  // optional bool is_unique_index = 15 [default = false];
4091
0
  if (cached_has_bits & 0x00020000u) {
4092
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(15, this->is_unique_index(), output);
4093
0
  }
4094
4095
  // optional bool is_pg_shared_table = 16 [default = false];
4096
0
  if (cached_has_bits & 0x00040000u) {
4097
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(16, this->is_pg_shared_table(), output);
4098
0
  }
4099
4100
  // optional .yb.IndexInfoPB index_info = 22;
4101
0
  if (cached_has_bits & 0x00000400u) {
4102
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4103
0
      22, *this->index_info_, output);
4104
0
  }
4105
4106
  // optional uint32 fully_applied_schema_version = 23;
4107
0
  if (cached_has_bits & 0x00100000u) {
4108
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(23, this->fully_applied_schema_version(), output);
4109
0
  }
4110
4111
  // optional uint32 wal_retention_secs = 24;
4112
0
  if (cached_has_bits & 0x00200000u) {
4113
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(24, this->wal_retention_secs(), output);
4114
0
  }
4115
4116
  // optional bool colocated = 25 [default = false];
4117
0
  if (cached_has_bits & 0x00080000u) {
4118
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(25, this->colocated(), output);
4119
0
  }
4120
4121
  // repeated .yb.IndexInfoPB fully_applied_indexes = 26;
4122
0
  for (unsigned int i = 0,
4123
0
      n = static_cast<unsigned int>(this->fully_applied_indexes_size()); i < n; i++) {
4124
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4125
0
      26, this->fully_applied_indexes(static_cast<int>(i)), output);
4126
0
  }
4127
4128
  // optional .yb.IndexInfoPB fully_applied_index_info = 27;
4129
0
  if (cached_has_bits & 0x00000800u) {
4130
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4131
0
      27, *this->fully_applied_index_info_, output);
4132
0
  }
4133
4134
  // optional uint32 partition_list_version = 28;
4135
0
  if (cached_has_bits & 0x00400000u) {
4136
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(28, this->partition_list_version(), output);
4137
0
  }
4138
4139
  // optional .yb.TransactionMetadataPB transaction = 29;
4140
0
  if (cached_has_bits & 0x00001000u) {
4141
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4142
0
      29, *this->transaction_, output);
4143
0
  }
4144
4145
  // optional bytes namespace_name = 30;
4146
0
  if (cached_has_bits & 0x00000010u) {
4147
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4148
0
      30, this->namespace_name(), output);
4149
0
  }
4150
4151
  // optional bool updates_only_index_permissions = 31 [default = false];
4152
0
  if (cached_has_bits & 0x00800000u) {
4153
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(31, this->updates_only_index_permissions(), output);
4154
0
  }
4155
4156
  // repeated .yb.master.BackfillJobPB backfill_jobs = 32;
4157
0
  for (unsigned int i = 0,
4158
0
      n = static_cast<unsigned int>(this->backfill_jobs_size()); i < n; i++) {
4159
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4160
0
      32, this->backfill_jobs(static_cast<int>(i)), output);
4161
0
  }
4162
4163
  // optional .yb.master.SysTablesEntryPB.HideState hide_state = 33;
4164
0
  if (cached_has_bits & 0x01000000u) {
4165
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
4166
0
      33, this->hide_state(), output);
4167
0
  }
4168
4169
  // optional bytes transaction_table_tablespace_id = 34;
4170
0
  if (cached_has_bits & 0x00000020u) {
4171
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4172
0
      34, this->transaction_table_tablespace_id(), output);
4173
0
  }
4174
4175
0
  if (_internal_metadata_.have_unknown_fields()) {
4176
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4177
0
        _internal_metadata_.unknown_fields(), output);
4178
0
  }
4179
  // @@protoc_insertion_point(serialize_end:yb.master.SysTablesEntryPB)
4180
0
}
4181
4182
::google::protobuf::uint8* SysTablesEntryPB::InternalSerializeWithCachedSizesToArray(
4183
116k
    bool deterministic, ::google::protobuf::uint8* target) const {
4184
116k
  (void)deterministic; // Unused
4185
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SysTablesEntryPB)
4186
116k
  ::google::protobuf::uint32 cached_has_bits = 0;
4187
116k
  (void) cached_has_bits;
4188
4189
116k
  cached_has_bits = _has_bits_[0];
4190
  // required bytes name = 1;
4191
116k
  if (cached_has_bits & 0x00000001u) {
4192
116k
    target =
4193
116k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
4194
116k
        1, this->name(), target);
4195
116k
  }
4196
4197
  // required uint32 version = 2;
4198
116k
  if (cached_has_bits & 0x00002000u) {
4199
116k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->version(), target);
4200
116k
  }
4201
4202
  // required .yb.SchemaPB schema = 3;
4203
116k
  if (
cached_has_bits & 0x00000040u116k
) {
4204
116k
    target = ::google::protobuf::internal::WireFormatLite::
4205
116k
      InternalWriteMessageToArray(
4206
116k
        3, *this->schema_, deterministic, target);
4207
116k
  }
4208
4209
  // optional .yb.SchemaPB fully_applied_schema = 4;
4210
116k
  if (cached_has_bits & 0x00000080u) {
4211
5.90k
    target = ::google::protobuf::internal::WireFormatLite::
4212
5.90k
      InternalWriteMessageToArray(
4213
5.90k
        4, *this->fully_applied_schema_, deterministic, target);
4214
5.90k
  }
4215
4216
  // optional .yb.master.ReplicationInfoPB replication_info = 5;
4217
116k
  if (cached_has_bits & 0x00000100u) {
4218
14
    target = ::google::protobuf::internal::WireFormatLite::
4219
14
      InternalWriteMessageToArray(
4220
14
        5, *this->replication_info_, deterministic, target);
4221
14
  }
4222
4223
  // optional .yb.master.SysTablesEntryPB.State state = 6 [default = UNKNOWN];
4224
116k
  if (
cached_has_bits & 0x00004000u116k
) {
4225
116k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
4226
116k
      6, this->state(), target);
4227
116k
  }
4228
4229
  // optional bytes state_msg = 7;
4230
116k
  if (cached_has_bits & 0x00000002u) {
4231
52.7k
    target =
4232
52.7k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
4233
52.7k
        7, this->state_msg(), target);
4234
52.7k
  }
4235
4236
  // optional int32 next_column_id = 8;
4237
116k
  if (cached_has_bits & 0x00008000u) {
4238
114k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->next_column_id(), target);
4239
114k
  }
4240
4241
  // optional .yb.PartitionSchemaPB partition_schema = 9;
4242
116k
  if (cached_has_bits & 0x00000200u) {
4243
114k
    target = ::google::protobuf::internal::WireFormatLite::
4244
114k
      InternalWriteMessageToArray(
4245
114k
        9, *this->partition_schema_, deterministic, target);
4246
114k
  }
4247
4248
  // optional .yb.TableType table_type = 10 [default = DEFAULT_TABLE_TYPE];
4249
116k
  if (cached_has_bits & 0x02000000u) {
4250
116k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
4251
116k
      10, this->table_type(), target);
4252
116k
  }
4253
4254
  // optional bytes namespace_id = 11;
4255
116k
  if (cached_has_bits & 0x00000004u) {
4256
116k
    target =
4257
116k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
4258
116k
        11, this->namespace_id(), target);
4259
116k
  }
4260
4261
  // repeated .yb.IndexInfoPB indexes = 12;
4262
116k
  for (unsigned int i = 0,
4263
137k
      n = static_cast<unsigned int>(this->indexes_size()); i < n; 
i++20.6k
) {
4264
20.6k
    target = ::google::protobuf::internal::WireFormatLite::
4265
20.6k
      InternalWriteMessageToArray(
4266
20.6k
        12, this->indexes(static_cast<int>(i)), deterministic, target);
4267
20.6k
  }
4268
4269
  // optional bytes indexed_table_id = 13;
4270
116k
  if (cached_has_bits & 0x00000008u) {
4271
18.0k
    target =
4272
18.0k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
4273
18.0k
        13, this->indexed_table_id(), target);
4274
18.0k
  }
4275
4276
  // optional bool is_local_index = 14 [default = false];
4277
116k
  if (cached_has_bits & 0x00010000u) {
4278
18.0k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(14, this->is_local_index(), target);
4279
18.0k
  }
4280
4281
  // optional bool is_unique_index = 15 [default = false];
4282
116k
  if (cached_has_bits & 0x00020000u) {
4283
18.0k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(15, this->is_unique_index(), target);
4284
18.0k
  }
4285
4286
  // optional bool is_pg_shared_table = 16 [default = false];
4287
116k
  if (cached_has_bits & 0x00040000u) {
4288
60
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(16, this->is_pg_shared_table(), target);
4289
60
  }
4290
4291
  // optional .yb.IndexInfoPB index_info = 22;
4292
116k
  if (cached_has_bits & 0x00000400u) {
4293
18.0k
    target = ::google::protobuf::internal::WireFormatLite::
4294
18.0k
      InternalWriteMessageToArray(
4295
18.0k
        22, *this->index_info_, deterministic, target);
4296
18.0k
  }
4297
4298
  // optional uint32 fully_applied_schema_version = 23;
4299
116k
  if (cached_has_bits & 0x00100000u) {
4300
5.90k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(23, this->fully_applied_schema_version(), target);
4301
5.90k
  }
4302
4303
  // optional uint32 wal_retention_secs = 24;
4304
116k
  if (cached_has_bits & 0x00200000u) {
4305
10.5k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(24, this->wal_retention_secs(), target);
4306
10.5k
  }
4307
4308
  // optional bool colocated = 25 [default = false];
4309
116k
  if (cached_has_bits & 0x00080000u) {
4310
1.02k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(25, this->colocated(), target);
4311
1.02k
  }
4312
4313
  // repeated .yb.IndexInfoPB fully_applied_indexes = 26;
4314
116k
  for (unsigned int i = 0,
4315
124k
      n = static_cast<unsigned int>(this->fully_applied_indexes_size()); i < n; 
i++7.87k
) {
4316
7.87k
    target = ::google::protobuf::internal::WireFormatLite::
4317
7.87k
      InternalWriteMessageToArray(
4318
7.87k
        26, this->fully_applied_indexes(static_cast<int>(i)), deterministic, target);
4319
7.87k
  }
4320
4321
  // optional .yb.IndexInfoPB fully_applied_index_info = 27;
4322
116k
  if (cached_has_bits & 0x00000800u) {
4323
0
    target = ::google::protobuf::internal::WireFormatLite::
4324
0
      InternalWriteMessageToArray(
4325
0
        27, *this->fully_applied_index_info_, deterministic, target);
4326
0
  }
4327
4328
  // optional uint32 partition_list_version = 28;
4329
116k
  if (cached_has_bits & 0x00400000u) {
4330
104
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(28, this->partition_list_version(), target);
4331
104
  }
4332
4333
  // optional .yb.TransactionMetadataPB transaction = 29;
4334
116k
  if (cached_has_bits & 0x00001000u) {
4335
7.33k
    target = ::google::protobuf::internal::WireFormatLite::
4336
7.33k
      InternalWriteMessageToArray(
4337
7.33k
        29, *this->transaction_, deterministic, target);
4338
7.33k
  }
4339
4340
  // optional bytes namespace_name = 30;
4341
116k
  if (cached_has_bits & 0x00000010u) {
4342
114k
    target =
4343
114k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
4344
114k
        30, this->namespace_name(), target);
4345
114k
  }
4346
4347
  // optional bool updates_only_index_permissions = 31 [default = false];
4348
116k
  if (cached_has_bits & 0x00800000u) {
4349
16.4k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(31, this->updates_only_index_permissions(), target);
4350
16.4k
  }
4351
4352
  // repeated .yb.master.BackfillJobPB backfill_jobs = 32;
4353
116k
  for (unsigned int i = 0,
4354
121k
      n = static_cast<unsigned int>(this->backfill_jobs_size()); i < n; 
i++5.36k
) {
4355
5.36k
    target = ::google::protobuf::internal::WireFormatLite::
4356
5.36k
      InternalWriteMessageToArray(
4357
5.36k
        32, this->backfill_jobs(static_cast<int>(i)), deterministic, target);
4358
5.36k
  }
4359
4360
  // optional .yb.master.SysTablesEntryPB.HideState hide_state = 33;
4361
116k
  if (cached_has_bits & 0x01000000u) {
4362
8
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
4363
8
      33, this->hide_state(), target);
4364
8
  }
4365
4366
  // optional bytes transaction_table_tablespace_id = 34;
4367
116k
  if (cached_has_bits & 0x00000020u) {
4368
22
    target =
4369
22
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
4370
22
        34, this->transaction_table_tablespace_id(), target);
4371
22
  }
4372
4373
116k
  if (_internal_metadata_.have_unknown_fields()) {
4374
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4375
0
        _internal_metadata_.unknown_fields(), target);
4376
0
  }
4377
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SysTablesEntryPB)
4378
116k
  return target;
4379
116k
}
4380
4381
0
size_t SysTablesEntryPB::RequiredFieldsByteSizeFallback() const {
4382
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:yb.master.SysTablesEntryPB)
4383
0
  size_t total_size = 0;
4384
4385
0
  if (has_name()) {
4386
    // required bytes name = 1;
4387
0
    total_size += 1 +
4388
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
4389
0
        this->name());
4390
0
  }
4391
4392
0
  if (has_schema()) {
4393
    // required .yb.SchemaPB schema = 3;
4394
0
    total_size += 1 +
4395
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
4396
0
        *this->schema_);
4397
0
  }
4398
4399
0
  if (has_version()) {
4400
    // required uint32 version = 2;
4401
0
    total_size += 1 +
4402
0
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
4403
0
        this->version());
4404
0
  }
4405
4406
0
  return total_size;
4407
0
}
4408
116k
size_t SysTablesEntryPB::ByteSizeLong() const {
4409
// @@protoc_insertion_point(message_byte_size_start:yb.master.SysTablesEntryPB)
4410
116k
  size_t total_size = 0;
4411
4412
116k
  if (_internal_metadata_.have_unknown_fields()) {
4413
0
    total_size +=
4414
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4415
0
        _internal_metadata_.unknown_fields());
4416
0
  }
4417
116k
  if (((_has_bits_[0] & 0x00002041) ^ 0x00002041) == 0) {  // All required fields are present.
4418
    // required bytes name = 1;
4419
116k
    total_size += 1 +
4420
116k
      ::google::protobuf::internal::WireFormatLite::BytesSize(
4421
116k
        this->name());
4422
4423
    // required .yb.SchemaPB schema = 3;
4424
116k
    total_size += 1 +
4425
116k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
4426
116k
        *this->schema_);
4427
4428
    // required uint32 version = 2;
4429
116k
    total_size += 1 +
4430
116k
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
4431
116k
        this->version());
4432
4433
116k
  } else {
4434
8
    total_size += RequiredFieldsByteSizeFallback();
4435
8
  }
4436
  // repeated .yb.IndexInfoPB indexes = 12;
4437
116k
  {
4438
116k
    unsigned int count = static_cast<unsigned int>(this->indexes_size());
4439
116k
    total_size += 1UL * count;
4440
137k
    for (unsigned int i = 0; i < count; 
i++20.6k
) {
4441
20.6k
      total_size +=
4442
20.6k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
4443
20.6k
          this->indexes(static_cast<int>(i)));
4444
20.6k
    }
4445
116k
  }
4446
4447
  // repeated .yb.IndexInfoPB fully_applied_indexes = 26;
4448
116k
  {
4449
116k
    unsigned int count = static_cast<unsigned int>(this->fully_applied_indexes_size());
4450
116k
    total_size += 2UL * count;
4451
124k
    for (unsigned int i = 0; i < count; 
i++7.87k
) {
4452
7.87k
      total_size +=
4453
7.87k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
4454
7.87k
          this->fully_applied_indexes(static_cast<int>(i)));
4455
7.87k
    }
4456
116k
  }
4457
4458
  // repeated .yb.master.BackfillJobPB backfill_jobs = 32;
4459
116k
  {
4460
116k
    unsigned int count = static_cast<unsigned int>(this->backfill_jobs_size());
4461
116k
    total_size += 2UL * count;
4462
121k
    for (unsigned int i = 0; i < count; 
i++5.36k
) {
4463
5.36k
      total_size +=
4464
5.36k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
4465
5.36k
          this->backfill_jobs(static_cast<int>(i)));
4466
5.36k
    }
4467
116k
  }
4468
4469
116k
  if (_has_bits_[0 / 32] & 62u) {
4470
    // optional bytes state_msg = 7;
4471
116k
    if (has_state_msg()) {
4472
52.7k
      total_size += 1 +
4473
52.7k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
4474
52.7k
          this->state_msg());
4475
52.7k
    }
4476
4477
    // optional bytes namespace_id = 11;
4478
116k
    if (has_namespace_id()) {
4479
116k
      total_size += 1 +
4480
116k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
4481
116k
          this->namespace_id());
4482
116k
    }
4483
4484
    // optional bytes indexed_table_id = 13;
4485
116k
    if (has_indexed_table_id()) {
4486
18.0k
      total_size += 1 +
4487
18.0k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
4488
18.0k
          this->indexed_table_id());
4489
18.0k
    }
4490
4491
    // optional bytes namespace_name = 30;
4492
116k
    if (has_namespace_name()) {
4493
114k
      total_size += 2 +
4494
114k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
4495
114k
          this->namespace_name());
4496
114k
    }
4497
4498
    // optional bytes transaction_table_tablespace_id = 34;
4499
116k
    if (has_transaction_table_tablespace_id()) {
4500
22
      total_size += 2 +
4501
22
        ::google::protobuf::internal::WireFormatLite::BytesSize(
4502
22
          this->transaction_table_tablespace_id());
4503
22
    }
4504
4505
116k
  }
4506
  // optional .yb.SchemaPB fully_applied_schema = 4;
4507
116k
  if (has_fully_applied_schema()) {
4508
5.90k
    total_size += 1 +
4509
5.90k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
4510
5.90k
        *this->fully_applied_schema_);
4511
5.90k
  }
4512
4513
116k
  if (_has_bits_[8 / 32] & 7936u) {
4514
    // optional .yb.master.ReplicationInfoPB replication_info = 5;
4515
114k
    if (has_replication_info()) {
4516
14
      total_size += 1 +
4517
14
        ::google::protobuf::internal::WireFormatLite::MessageSize(
4518
14
          *this->replication_info_);
4519
14
    }
4520
4521
    // optional .yb.PartitionSchemaPB partition_schema = 9;
4522
114k
    if (has_partition_schema()) {
4523
114k
      total_size += 1 +
4524
114k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
4525
114k
          *this->partition_schema_);
4526
114k
    }
4527
4528
    // optional .yb.IndexInfoPB index_info = 22;
4529
114k
    if (has_index_info()) {
4530
18.0k
      total_size += 2 +
4531
18.0k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
4532
18.0k
          *this->index_info_);
4533
18.0k
    }
4534
4535
    // optional .yb.IndexInfoPB fully_applied_index_info = 27;
4536
114k
    if (has_fully_applied_index_info()) {
4537
0
      total_size += 2 +
4538
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
4539
0
          *this->fully_applied_index_info_);
4540
0
    }
4541
4542
    // optional .yb.TransactionMetadataPB transaction = 29;
4543
114k
    if (has_transaction()) {
4544
7.33k
      total_size += 2 +
4545
7.33k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
4546
7.33k
          *this->transaction_);
4547
7.33k
    }
4548
4549
114k
  }
4550
116k
  if (_has_bits_[8 / 32] & 49152u) {
4551
    // optional .yb.master.SysTablesEntryPB.State state = 6 [default = UNKNOWN];
4552
116k
    if (
has_state()116k
) {
4553
116k
      total_size += 1 +
4554
116k
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->state());
4555
116k
    }
4556
4557
    // optional int32 next_column_id = 8;
4558
116k
    if (has_next_column_id()) {
4559
114k
      total_size += 1 +
4560
114k
        ::google::protobuf::internal::WireFormatLite::Int32Size(
4561
114k
          this->next_column_id());
4562
114k
    }
4563
4564
116k
  }
4565
116k
  if (_has_bits_[16 / 32] & 16711680u) {
4566
    // optional bool is_local_index = 14 [default = false];
4567
45.5k
    if (has_is_local_index()) {
4568
18.0k
      total_size += 1 + 1;
4569
18.0k
    }
4570
4571
    // optional bool is_unique_index = 15 [default = false];
4572
45.5k
    if (has_is_unique_index()) {
4573
18.0k
      total_size += 1 + 1;
4574
18.0k
    }
4575
4576
    // optional bool is_pg_shared_table = 16 [default = false];
4577
45.5k
    if (has_is_pg_shared_table()) {
4578
60
      total_size += 2 + 1;
4579
60
    }
4580
4581
    // optional bool colocated = 25 [default = false];
4582
45.5k
    if (has_colocated()) {
4583
1.02k
      total_size += 2 + 1;
4584
1.02k
    }
4585
4586
    // optional uint32 fully_applied_schema_version = 23;
4587
45.5k
    if (has_fully_applied_schema_version()) {
4588
5.90k
      total_size += 2 +
4589
5.90k
        ::google::protobuf::internal::WireFormatLite::UInt32Size(
4590
5.90k
          this->fully_applied_schema_version());
4591
5.90k
    }
4592
4593
    // optional uint32 wal_retention_secs = 24;
4594
45.5k
    if (has_wal_retention_secs()) {
4595
10.5k
      total_size += 2 +
4596
10.5k
        ::google::protobuf::internal::WireFormatLite::UInt32Size(
4597
10.5k
          this->wal_retention_secs());
4598
10.5k
    }
4599
4600
    // optional uint32 partition_list_version = 28;
4601
45.5k
    if (has_partition_list_version()) {
4602
104
      total_size += 2 +
4603
104
        ::google::protobuf::internal::WireFormatLite::UInt32Size(
4604
104
          this->partition_list_version());
4605
104
    }
4606
4607
    // optional bool updates_only_index_permissions = 31 [default = false];
4608
45.5k
    if (has_updates_only_index_permissions()) {
4609
16.4k
      total_size += 2 + 1;
4610
16.4k
    }
4611
4612
45.5k
  }
4613
116k
  if (_has_bits_[24 / 32] & 50331648u) {
4614
    // optional .yb.master.SysTablesEntryPB.HideState hide_state = 33;
4615
116k
    if (has_hide_state()) {
4616
8
      total_size += 2 +
4617
8
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->hide_state());
4618
8
    }
4619
4620
    // optional .yb.TableType table_type = 10 [default = DEFAULT_TABLE_TYPE];
4621
116k
    if (has_table_type()) {
4622
116k
      total_size += 1 +
4623
116k
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->table_type());
4624
116k
    }
4625
4626
116k
  }
4627
116k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4628
116k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4629
116k
  _cached_size_ = cached_size;
4630
116k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4631
116k
  return total_size;
4632
116k
}
4633
4634
0
void SysTablesEntryPB::MergeFrom(const ::google::protobuf::Message& from) {
4635
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SysTablesEntryPB)
4636
0
  GOOGLE_DCHECK_NE(&from, this);
4637
0
  const SysTablesEntryPB* source =
4638
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SysTablesEntryPB>(
4639
0
          &from);
4640
0
  if (source == NULL) {
4641
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SysTablesEntryPB)
4642
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4643
0
  } else {
4644
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SysTablesEntryPB)
4645
0
    MergeFrom(*source);
4646
0
  }
4647
0
}
4648
4649
441k
void SysTablesEntryPB::MergeFrom(const SysTablesEntryPB& from) {
4650
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SysTablesEntryPB)
4651
441k
  GOOGLE_DCHECK_NE(&from, this);
4652
441k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4653
441k
  ::google::protobuf::uint32 cached_has_bits = 0;
4654
441k
  (void) cached_has_bits;
4655
4656
441k
  indexes_.MergeFrom(from.indexes_);
4657
441k
  fully_applied_indexes_.MergeFrom(from.fully_applied_indexes_);
4658
441k
  backfill_jobs_.MergeFrom(from.backfill_jobs_);
4659
441k
  cached_has_bits = from._has_bits_[0];
4660
441k
  if (cached_has_bits & 255u) {
4661
441k
    if (cached_has_bits & 0x00000001u) {
4662
441k
      set_has_name();
4663
441k
      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
4664
441k
    }
4665
441k
    if (cached_has_bits & 0x00000002u) {
4666
40
      set_has_state_msg();
4667
40
      state_msg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.state_msg_);
4668
40
    }
4669
441k
    if (cached_has_bits & 0x00000004u) {
4670
441k
      set_has_namespace_id();
4671
441k
      namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_id_);
4672
441k
    }
4673
441k
    if (cached_has_bits & 0x00000008u) {
4674
188k
      set_has_indexed_table_id();
4675
188k
      indexed_table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.indexed_table_id_);
4676
188k
    }
4677
441k
    if (cached_has_bits & 0x00000010u) {
4678
438k
      set_has_namespace_name();
4679
438k
      namespace_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_name_);
4680
438k
    }
4681
441k
    if (cached_has_bits & 0x00000020u) {
4682
1
      set_has_transaction_table_tablespace_id();
4683
1
      transaction_table_tablespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.transaction_table_tablespace_id_);
4684
1
    }
4685
441k
    if (cached_has_bits & 0x00000040u) {
4686
441k
      mutable_schema()->::yb::SchemaPB::MergeFrom(from.schema());
4687
441k
    }
4688
441k
    if (cached_has_bits & 0x00000080u) {
4689
0
      mutable_fully_applied_schema()->::yb::SchemaPB::MergeFrom(from.fully_applied_schema());
4690
0
    }
4691
441k
  }
4692
441k
  if (cached_has_bits & 65280u) {
4693
441k
    if (cached_has_bits & 0x00000100u) {
4694
3
      mutable_replication_info()->::yb::master::ReplicationInfoPB::MergeFrom(from.replication_info());
4695
3
    }
4696
441k
    if (cached_has_bits & 0x00000200u) {
4697
440k
      mutable_partition_schema()->::yb::PartitionSchemaPB::MergeFrom(from.partition_schema());
4698
440k
    }
4699
441k
    if (cached_has_bits & 0x00000400u) {
4700
188k
      mutable_index_info()->::yb::IndexInfoPB::MergeFrom(from.index_info());
4701
188k
    }
4702
441k
    if (cached_has_bits & 0x00000800u) {
4703
0
      mutable_fully_applied_index_info()->::yb::IndexInfoPB::MergeFrom(from.fully_applied_index_info());
4704
0
    }
4705
441k
    if (cached_has_bits & 0x00001000u) {
4706
4
      mutable_transaction()->::yb::TransactionMetadataPB::MergeFrom(from.transaction());
4707
4
    }
4708
441k
    if (cached_has_bits & 0x00002000u) {
4709
441k
      version_ = from.version_;
4710
441k
    }
4711
441k
    if (cached_has_bits & 0x00004000u) {
4712
441k
      state_ = from.state_;
4713
441k
    }
4714
441k
    if (cached_has_bits & 0x00008000u) {
4715
440k
      next_column_id_ = from.next_column_id_;
4716
440k
    }
4717
441k
    _has_bits_[0] |= cached_has_bits;
4718
441k
  }
4719
441k
  if (cached_has_bits & 16711680u) {
4720
198k
    if (cached_has_bits & 0x00010000u) {
4721
188k
      is_local_index_ = from.is_local_index_;
4722
188k
    }
4723
198k
    if (cached_has_bits & 0x00020000u) {
4724
188k
      is_unique_index_ = from.is_unique_index_;
4725
188k
    }
4726
198k
    if (cached_has_bits & 0x00040000u) {
4727
15.2k
      is_pg_shared_table_ = from.is_pg_shared_table_;
4728
15.2k
    }
4729
198k
    if (cached_has_bits & 0x00080000u) {
4730
5
      colocated_ = from.colocated_;
4731
5
    }
4732
198k
    if (cached_has_bits & 0x00100000u) {
4733
0
      fully_applied_schema_version_ = from.fully_applied_schema_version_;
4734
0
    }
4735
198k
    if (cached_has_bits & 0x00200000u) {
4736
0
      wal_retention_secs_ = from.wal_retention_secs_;
4737
0
    }
4738
198k
    if (cached_has_bits & 0x00400000u) {
4739
2
      partition_list_version_ = from.partition_list_version_;
4740
2
    }
4741
198k
    if (cached_has_bits & 0x00800000u) {
4742
38
      updates_only_index_permissions_ = from.updates_only_index_permissions_;
4743
38
    }
4744
198k
    _has_bits_[0] |= cached_has_bits;
4745
198k
  }
4746
441k
  if (cached_has_bits & 50331648u) {
4747
441k
    if (cached_has_bits & 0x01000000u) {
4748
0
      hide_state_ = from.hide_state_;
4749
0
    }
4750
441k
    if (cached_has_bits & 0x02000000u) {
4751
441k
      table_type_ = from.table_type_;
4752
441k
    }
4753
441k
    _has_bits_[0] |= cached_has_bits;
4754
441k
  }
4755
441k
}
4756
4757
0
void SysTablesEntryPB::CopyFrom(const ::google::protobuf::Message& from) {
4758
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SysTablesEntryPB)
4759
0
  if (&from == this) return;
4760
0
  Clear();
4761
0
  MergeFrom(from);
4762
0
}
4763
4764
441k
void SysTablesEntryPB::CopyFrom(const SysTablesEntryPB& from) {
4765
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SysTablesEntryPB)
4766
441k
  if (&from == this) 
return0
;
4767
441k
  Clear();
4768
441k
  MergeFrom(from);
4769
441k
}
4770
4771
614k
bool SysTablesEntryPB::IsInitialized() const {
4772
614k
  if ((_has_bits_[0] & 0x00002041) != 0x00002041) 
return false0
;
4773
614k
  if (!::google::protobuf::internal::AllAreInitialized(this->indexes())) 
return false0
;
4774
614k
  if (!::google::protobuf::internal::AllAreInitialized(this->fully_applied_indexes())) 
return false0
;
4775
614k
  if (!::google::protobuf::internal::AllAreInitialized(this->backfill_jobs())) 
return false0
;
4776
614k
  if (has_schema()) {
4777
614k
    if (!this->schema_->IsInitialized()) 
return false0
;
4778
614k
  }
4779
614k
  if (has_fully_applied_schema()) {
4780
5.90k
    if (!this->fully_applied_schema_->IsInitialized()) 
return false0
;
4781
5.90k
  }
4782
614k
  if (has_partition_schema()) {
4783
611k
    if (!this->partition_schema_->IsInitialized()) 
return false0
;
4784
611k
  }
4785
614k
  if (has_index_info()) {
4786
215k
    if (!this->index_info_->IsInitialized()) 
return false0
;
4787
215k
  }
4788
614k
  if (has_fully_applied_index_info()) {
4789
0
    if (!this->fully_applied_index_info_->IsInitialized()) return false;
4790
0
  }
4791
614k
  return true;
4792
614k
}
4793
4794
0
void SysTablesEntryPB::Swap(SysTablesEntryPB* other) {
4795
0
  if (other == this) return;
4796
0
  InternalSwap(other);
4797
0
}
4798
1.70M
void SysTablesEntryPB::InternalSwap(SysTablesEntryPB* other) {
4799
1.70M
  using std::swap;
4800
1.70M
  indexes_.InternalSwap(&other->indexes_);
4801
1.70M
  fully_applied_indexes_.InternalSwap(&other->fully_applied_indexes_);
4802
1.70M
  backfill_jobs_.InternalSwap(&other->backfill_jobs_);
4803
1.70M
  name_.Swap(&other->name_);
4804
1.70M
  state_msg_.Swap(&other->state_msg_);
4805
1.70M
  namespace_id_.Swap(&other->namespace_id_);
4806
1.70M
  indexed_table_id_.Swap(&other->indexed_table_id_);
4807
1.70M
  namespace_name_.Swap(&other->namespace_name_);
4808
1.70M
  transaction_table_tablespace_id_.Swap(&other->transaction_table_tablespace_id_);
4809
1.70M
  swap(schema_, other->schema_);
4810
1.70M
  swap(fully_applied_schema_, other->fully_applied_schema_);
4811
1.70M
  swap(replication_info_, other->replication_info_);
4812
1.70M
  swap(partition_schema_, other->partition_schema_);
4813
1.70M
  swap(index_info_, other->index_info_);
4814
1.70M
  swap(fully_applied_index_info_, other->fully_applied_index_info_);
4815
1.70M
  swap(transaction_, other->transaction_);
4816
1.70M
  swap(version_, other->version_);
4817
1.70M
  swap(state_, other->state_);
4818
1.70M
  swap(next_column_id_, other->next_column_id_);
4819
1.70M
  swap(is_local_index_, other->is_local_index_);
4820
1.70M
  swap(is_unique_index_, other->is_unique_index_);
4821
1.70M
  swap(is_pg_shared_table_, other->is_pg_shared_table_);
4822
1.70M
  swap(colocated_, other->colocated_);
4823
1.70M
  swap(fully_applied_schema_version_, other->fully_applied_schema_version_);
4824
1.70M
  swap(wal_retention_secs_, other->wal_retention_secs_);
4825
1.70M
  swap(partition_list_version_, other->partition_list_version_);
4826
1.70M
  swap(updates_only_index_permissions_, other->updates_only_index_permissions_);
4827
1.70M
  swap(hide_state_, other->hide_state_);
4828
1.70M
  swap(table_type_, other->table_type_);
4829
1.70M
  swap(_has_bits_[0], other->_has_bits_[0]);
4830
1.70M
  _internal_metadata_.Swap(&other->_internal_metadata_);
4831
1.70M
  swap(_cached_size_, other->_cached_size_);
4832
1.70M
}
4833
4834
1.88M
::google::protobuf::Metadata SysTablesEntryPB::GetMetadata() const {
4835
1.88M
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
4836
1.88M
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
4837
1.88M
}
4838
4839
4840
// ===================================================================
4841
4842
31.2k
SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse::SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse() {}
4843
8.45k
SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse::SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {}
4844
0
void SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse::MergeFrom(const SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse& other) {
4845
0
  MergeFromInternal(other);
4846
0
}
4847
2.01k
::google::protobuf::Metadata SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse::GetMetadata() const {
4848
2.01k
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
4849
2.01k
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[6];
4850
2.01k
}
4851
void SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse::MergeFrom(
4852
0
    const ::google::protobuf::Message& other) {
4853
0
  ::google::protobuf::Message::MergeFrom(other);
4854
0
}
4855
4856
4857
// ===================================================================
4858
4859
26.8k
void SysTabletsEntryPB::InitAsDefaultInstance() {
4860
26.8k
  ::yb::master::_SysTabletsEntryPB_default_instance_._instance.get_mutable()->partition_ = const_cast< ::yb::PartitionPB*>(
4861
26.8k
      ::yb::PartitionPB::internal_default_instance());
4862
26.8k
  ::yb::master::_SysTabletsEntryPB_default_instance_._instance.get_mutable()->committed_consensus_state_ = const_cast< ::yb::consensus::ConsensusStatePB*>(
4863
26.8k
      ::yb::consensus::ConsensusStatePB::internal_default_instance());
4864
26.8k
}
4865
0
void SysTabletsEntryPB::clear_partition() {
4866
0
  if (partition_ != NULL) partition_->Clear();
4867
0
  clear_has_partition();
4868
0
}
4869
0
void SysTabletsEntryPB::clear_committed_consensus_state() {
4870
0
  if (committed_consensus_state_ != NULL) committed_consensus_state_->Clear();
4871
0
  clear_has_committed_consensus_state();
4872
0
}
4873
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4874
const int SysTabletsEntryPB::kOBSOLETEStartKeyFieldNumber;
4875
const int SysTabletsEntryPB::kOBSOLETEEndKeyFieldNumber;
4876
const int SysTabletsEntryPB::kPartitionFieldNumber;
4877
const int SysTabletsEntryPB::kCommittedConsensusStateFieldNumber;
4878
const int SysTabletsEntryPB::kStateFieldNumber;
4879
const int SysTabletsEntryPB::kStateMsgFieldNumber;
4880
const int SysTabletsEntryPB::kTableIdFieldNumber;
4881
const int SysTabletsEntryPB::kTableIdsFieldNumber;
4882
const int SysTabletsEntryPB::kColocatedFieldNumber;
4883
const int SysTabletsEntryPB::kDEPRECATEDBackfilledUntilFieldNumber;
4884
const int SysTabletsEntryPB::kSplitDepthFieldNumber;
4885
const int SysTabletsEntryPB::kSplitParentTabletIdFieldNumber;
4886
const int SysTabletsEntryPB::kBackfilledUntilFieldNumber;
4887
const int SysTabletsEntryPB::kSplitTabletIdsFieldNumber;
4888
const int SysTabletsEntryPB::kHideHybridTimeFieldNumber;
4889
const int SysTabletsEntryPB::kRetainedBySnapshotSchedulesFieldNumber;
4890
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4891
4892
SysTabletsEntryPB::SysTabletsEntryPB()
4893
834k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4894
834k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4895
807k
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysTabletsEntryPB();
4896
807k
  }
4897
834k
  SharedCtor();
4898
  // @@protoc_insertion_point(constructor:yb.master.SysTabletsEntryPB)
4899
834k
}
4900
SysTabletsEntryPB::SysTabletsEntryPB(const SysTabletsEntryPB& from)
4901
  : ::google::protobuf::Message(),
4902
      _internal_metadata_(NULL),
4903
      _has_bits_(from._has_bits_),
4904
      _cached_size_(0),
4905
      table_ids_(from.table_ids_),
4906
      split_tablet_ids_(from.split_tablet_ids_),
4907
689k
      retained_by_snapshot_schedules_(from.retained_by_snapshot_schedules_) {
4908
689k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4909
689k
  backfilled_until_.MergeFrom(from.backfilled_until_);
4910
689k
  obsolete_start_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4911
689k
  if (from.has_obsolete_start_key()) {
4912
0
    obsolete_start_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_start_key_);
4913
0
  }
4914
689k
  obsolete_end_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4915
689k
  if (from.has_obsolete_end_key()) {
4916
0
    obsolete_end_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_end_key_);
4917
0
  }
4918
689k
  state_msg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4919
689k
  if (from.has_state_msg()) {
4920
526k
    state_msg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.state_msg_);
4921
526k
  }
4922
689k
  table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4923
689k
  if (from.has_table_id()) {
4924
588k
    table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_id_);
4925
588k
  }
4926
689k
  deprecated_backfilled_until_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4927
689k
  if (from.has_deprecated_backfilled_until()) {
4928
0
    deprecated_backfilled_until_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.deprecated_backfilled_until_);
4929
0
  }
4930
689k
  split_parent_tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4931
689k
  if (from.has_split_parent_tablet_id()) {
4932
1.06k
    split_parent_tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.split_parent_tablet_id_);
4933
1.06k
  }
4934
689k
  if (from.has_committed_consensus_state()) {
4935
526k
    committed_consensus_state_ = new ::yb::consensus::ConsensusStatePB(*from.committed_consensus_state_);
4936
526k
  } else {
4937
162k
    committed_consensus_state_ = NULL;
4938
162k
  }
4939
689k
  if (from.has_partition()) {
4940
589k
    partition_ = new ::yb::PartitionPB(*from.partition_);
4941
589k
  } else {
4942
100k
    partition_ = NULL;
4943
100k
  }
4944
689k
  ::memcpy(&split_depth_, &from.split_depth_,
4945
689k
    static_cast<size_t>(reinterpret_cast<char*>(&state_) -
4946
689k
    reinterpret_cast<char*>(&split_depth_)) + sizeof(state_));
4947
  // @@protoc_insertion_point(copy_constructor:yb.master.SysTabletsEntryPB)
4948
689k
}
4949
4950
834k
void SysTabletsEntryPB::SharedCtor() {
4951
834k
  _cached_size_ = 0;
4952
834k
  obsolete_start_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4953
834k
  obsolete_end_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4954
834k
  state_msg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4955
834k
  table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4956
834k
  deprecated_backfilled_until_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4957
834k
  split_parent_tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4958
834k
  ::memset(&committed_consensus_state_, 0, static_cast<size_t>(
4959
834k
      reinterpret_cast<char*>(&colocated_) -
4960
834k
      reinterpret_cast<char*>(&committed_consensus_state_)) + sizeof(colocated_));
4961
834k
  state_ = 999;
4962
834k
}
4963
4964
1.39M
SysTabletsEntryPB::~SysTabletsEntryPB() {
4965
  // @@protoc_insertion_point(destructor:yb.master.SysTabletsEntryPB)
4966
1.39M
  SharedDtor();
4967
1.39M
}
4968
4969
1.39M
void SysTabletsEntryPB::SharedDtor() {
4970
1.39M
  obsolete_start_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4971
1.39M
  obsolete_end_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4972
1.39M
  state_msg_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4973
1.39M
  table_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4974
1.39M
  deprecated_backfilled_until_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4975
1.39M
  split_parent_tablet_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4976
1.39M
  if (this != internal_default_instance()) 
delete committed_consensus_state_1.39M
;
4977
1.39M
  if (
this != internal_default_instance()1.39M
) delete partition_;
4978
1.39M
}
4979
4980
0
void SysTabletsEntryPB::SetCachedSize(int size) const {
4981
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4982
0
  _cached_size_ = size;
4983
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4984
0
}
4985
0
const ::google::protobuf::Descriptor* SysTabletsEntryPB::descriptor() {
4986
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
4987
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4988
0
}
4989
4990
0
const SysTabletsEntryPB& SysTabletsEntryPB::default_instance() {
4991
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysTabletsEntryPB();
4992
0
  return *internal_default_instance();
4993
0
}
4994
4995
0
SysTabletsEntryPB* SysTabletsEntryPB::New(::google::protobuf::Arena* arena) const {
4996
0
  SysTabletsEntryPB* n = new SysTabletsEntryPB;
4997
0
  if (arena != NULL) {
4998
0
    arena->Own(n);
4999
0
  }
5000
0
  return n;
5001
0
}
5002
5003
31.4k
void SysTabletsEntryPB::Clear() {
5004
// @@protoc_insertion_point(message_clear_start:yb.master.SysTabletsEntryPB)
5005
31.4k
  ::google::protobuf::uint32 cached_has_bits = 0;
5006
  // Prevent compiler warnings about cached_has_bits being unused
5007
31.4k
  (void) cached_has_bits;
5008
5009
31.4k
  table_ids_.Clear();
5010
31.4k
  backfilled_until_.Clear();
5011
31.4k
  split_tablet_ids_.Clear();
5012
31.4k
  retained_by_snapshot_schedules_.Clear();
5013
31.4k
  cached_has_bits = _has_bits_[0];
5014
31.4k
  if (cached_has_bits & 255u) {
5015
0
    if (cached_has_bits & 0x00000001u) {
5016
0
      GOOGLE_DCHECK(!obsolete_start_key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
5017
0
      (*obsolete_start_key_.UnsafeRawStringPointer())->clear();
5018
0
    }
5019
0
    if (cached_has_bits & 0x00000002u) {
5020
0
      GOOGLE_DCHECK(!obsolete_end_key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
5021
0
      (*obsolete_end_key_.UnsafeRawStringPointer())->clear();
5022
0
    }
5023
0
    if (cached_has_bits & 0x00000004u) {
5024
0
      GOOGLE_DCHECK(!state_msg_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
5025
0
      (*state_msg_.UnsafeRawStringPointer())->clear();
5026
0
    }
5027
0
    if (cached_has_bits & 0x00000008u) {
5028
0
      GOOGLE_DCHECK(!table_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
5029
0
      (*table_id_.UnsafeRawStringPointer())->clear();
5030
0
    }
5031
0
    if (cached_has_bits & 0x00000010u) {
5032
0
      GOOGLE_DCHECK(!deprecated_backfilled_until_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
5033
0
      (*deprecated_backfilled_until_.UnsafeRawStringPointer())->clear();
5034
0
    }
5035
0
    if (cached_has_bits & 0x00000020u) {
5036
0
      GOOGLE_DCHECK(!split_parent_tablet_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
5037
0
      (*split_parent_tablet_id_.UnsafeRawStringPointer())->clear();
5038
0
    }
5039
0
    if (cached_has_bits & 0x00000040u) {
5040
0
      GOOGLE_DCHECK(committed_consensus_state_ != NULL);
5041
0
      committed_consensus_state_->Clear();
5042
0
    }
5043
0
    if (cached_has_bits & 0x00000080u) {
5044
0
      GOOGLE_DCHECK(partition_ != NULL);
5045
0
      partition_->Clear();
5046
0
    }
5047
0
  }
5048
31.4k
  if (cached_has_bits & 3840u) {
5049
0
    ::memset(&split_depth_, 0, static_cast<size_t>(
5050
0
        reinterpret_cast<char*>(&colocated_) -
5051
0
        reinterpret_cast<char*>(&split_depth_)) + sizeof(colocated_));
5052
0
    state_ = 999;
5053
0
  }
5054
31.4k
  _has_bits_.Clear();
5055
31.4k
  _internal_metadata_.Clear();
5056
31.4k
}
5057
5058
bool SysTabletsEntryPB::MergePartialFromCodedStream(
5059
16.0k
    ::google::protobuf::io::CodedInputStream* input) {
5060
500k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
5061
16.0k
  ::google::protobuf::uint32 tag;
5062
  // @@protoc_insertion_point(parse_start:yb.master.SysTabletsEntryPB)
5063
517k
  for (;;) {
5064
517k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u);
5065
517k
    tag = p.first;
5066
517k
    if (!p.second) 
goto handle_unusual16.0k
;
5067
500k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5068
      // optional bytes OBSOLETE_start_key = 1;
5069
0
      case 1: {
5070
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5071
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
5072
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
5073
0
                input, this->mutable_obsolete_start_key()));
5074
0
        } else {
5075
0
          goto handle_unusual;
5076
0
        }
5077
0
        break;
5078
0
      }
5079
5080
      // optional bytes OBSOLETE_end_key = 2;
5081
0
      case 2: {
5082
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5083
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
5084
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
5085
0
                input, this->mutable_obsolete_end_key()));
5086
0
        } else {
5087
0
          goto handle_unusual;
5088
0
        }
5089
0
        break;
5090
0
      }
5091
5092
      // optional .yb.consensus.ConsensusStatePB committed_consensus_state = 3;
5093
1.21k
      case 3: {
5094
1.21k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5095
1.21k
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
5096
1.21k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5097
1.21k
               input, mutable_committed_consensus_state()));
5098
1.21k
        } else {
5099
0
          goto handle_unusual;
5100
0
        }
5101
1.21k
        break;
5102
1.21k
      }
5103
5104
      // optional .yb.master.SysTabletsEntryPB.State state = 4 [default = UNKNOWN];
5105
16.0k
      case 4: {
5106
16.0k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5107
16.0k
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
5108
16.0k
          int value;
5109
16.0k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5110
16.0k
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
5111
16.0k
                 input, &value)));
5112
16.0k
          if (::yb::master::SysTabletsEntryPB_State_IsValid(value)) {
5113
16.0k
            set_state(static_cast< ::yb::master::SysTabletsEntryPB_State >(value));
5114
16.0k
          } else {
5115
0
            mutable_unknown_fields()->AddVarint(
5116
0
                4, static_cast< ::google::protobuf::uint64>(value));
5117
0
          }
5118
16.0k
        } else {
5119
0
          goto handle_unusual;
5120
0
        }
5121
16.0k
        break;
5122
16.0k
      }
5123
5124
      // optional bytes state_msg = 5;
5125
16.0k
      case 5: {
5126
1.21k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5127
1.21k
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
5128
1.21k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
5129
1.21k
                input, this->mutable_state_msg()));
5130
1.21k
        } else {
5131
0
          goto handle_unusual;
5132
0
        }
5133
1.21k
        break;
5134
1.21k
      }
5135
5136
      // required bytes table_id = 6;
5137
16.0k
      case 6: {
5138
16.0k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5139
16.0k
            static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
5140
16.0k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
5141
16.0k
                input, this->mutable_table_id()));
5142
16.0k
        } else {
5143
0
          goto handle_unusual;
5144
0
        }
5145
16.0k
        break;
5146
16.0k
      }
5147
5148
      // optional .yb.PartitionPB partition = 7;
5149
16.0k
      case 7: {
5150
16.0k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5151
16.0k
            static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
5152
16.0k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5153
16.0k
               input, mutable_partition()));
5154
16.0k
        } else {
5155
0
          goto handle_unusual;
5156
0
        }
5157
16.0k
        break;
5158
16.0k
      }
5159
5160
      // repeated bytes table_ids = 8;
5161
450k
      case 8: {
5162
450k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5163
450k
            static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
5164
450k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
5165
450k
                input, this->add_table_ids()));
5166
450k
        } else {
5167
0
          goto handle_unusual;
5168
0
        }
5169
450k
        break;
5170
450k
      }
5171
5172
      // optional bool colocated = 9 [default = false];
5173
450k
      case 9: {
5174
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5175
3
            static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
5176
3
          set_has_colocated();
5177
3
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5178
3
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
5179
3
                 input, &colocated_)));
5180
3
        } else {
5181
0
          goto handle_unusual;
5182
0
        }
5183
3
        break;
5184
3
      }
5185
5186
      // optional bytes DEPRECATED_backfilled_until = 10;
5187
3
      case 10: {
5188
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5189
0
            static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) {
5190
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
5191
0
                input, this->mutable_deprecated_backfilled_until()));
5192
0
        } else {
5193
0
          goto handle_unusual;
5194
0
        }
5195
0
        break;
5196
0
      }
5197
5198
      // optional uint64 split_depth = 11;
5199
2
      case 11: {
5200
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5201
2
            static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) {
5202
2
          set_has_split_depth();
5203
2
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5204
2
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
5205
2
                 input, &split_depth_)));
5206
2
        } else {
5207
0
          goto handle_unusual;
5208
0
        }
5209
2
        break;
5210
2
      }
5211
5212
      // map<string, bytes> backfilled_until = 12;
5213
2
      case 12: {
5214
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5215
0
            static_cast< ::google::protobuf::uint8>(98u /* 98 & 0xFF */)) {
5216
0
          SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField<
5217
0
              SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse,
5218
0
              ::std::string, ::std::string,
5219
0
              ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
5220
0
              ::google::protobuf::internal::WireFormatLite::TYPE_BYTES,
5221
0
              0 >,
5222
0
            ::google::protobuf::Map< ::std::string, ::std::string > > parser(&backfilled_until_);
5223
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
5224
0
              input, &parser));
5225
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
5226
0
            parser.key().data(), static_cast<int>(parser.key().length()),
5227
0
            ::google::protobuf::internal::WireFormat::PARSE,
5228
0
            "yb.master.SysTabletsEntryPB.BackfilledUntilEntry.key");
5229
0
        } else {
5230
0
          goto handle_unusual;
5231
0
        }
5232
0
        break;
5233
0
      }
5234
5235
      // optional bytes split_parent_tablet_id = 13;
5236
2
      case 13: {
5237
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5238
2
            static_cast< ::google::protobuf::uint8>(106u /* 106 & 0xFF */)) {
5239
2
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
5240
2
                input, this->mutable_split_parent_tablet_id()));
5241
2
        } else {
5242
0
          goto handle_unusual;
5243
0
        }
5244
2
        break;
5245
2
      }
5246
5247
      // repeated bytes split_tablet_ids = 14;
5248
2
      case 14: {
5249
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5250
2
            static_cast< ::google::protobuf::uint8>(114u /* 114 & 0xFF */)) {
5251
2
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
5252
2
                input, this->add_split_tablet_ids()));
5253
2
        } else {
5254
0
          goto handle_unusual;
5255
0
        }
5256
2
        break;
5257
2
      }
5258
5259
      // optional fixed64 hide_hybrid_time = 16;
5260
9
      case 16: {
5261
9
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5262
9
            static_cast< ::google::protobuf::uint8>(129u /* 129 & 0xFF */)) {
5263
9
          set_has_hide_hybrid_time();
5264
9
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5265
9
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
5266
9
                 input, &hide_hybrid_time_)));
5267
9
        } else {
5268
0
          goto handle_unusual;
5269
0
        }
5270
9
        break;
5271
9
      }
5272
5273
      // repeated bytes retained_by_snapshot_schedules = 17;
5274
9
      case 17: {
5275
9
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5276
9
            static_cast< ::google::protobuf::uint8>(138u /* 138 & 0xFF */)) {
5277
9
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
5278
9
                input, this->add_retained_by_snapshot_schedules()));
5279
9
        } else {
5280
0
          goto handle_unusual;
5281
0
        }
5282
9
        break;
5283
9
      }
5284
5285
9
      default: {
5286
16.0k
      handle_unusual:
5287
16.0k
        if (tag == 0) {
5288
16.0k
          goto success;
5289
16.0k
        }
5290
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
5291
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
5292
0
        break;
5293
0
      }
5294
500k
    }
5295
500k
  }
5296
16.0k
success:
5297
  // @@protoc_insertion_point(parse_success:yb.master.SysTabletsEntryPB)
5298
16.0k
  return true;
5299
0
failure:
5300
  // @@protoc_insertion_point(parse_failure:yb.master.SysTabletsEntryPB)
5301
0
  return false;
5302
16.0k
#undef DO_
5303
16.0k
}
5304
5305
void SysTabletsEntryPB::SerializeWithCachedSizes(
5306
0
    ::google::protobuf::io::CodedOutputStream* output) const {
5307
  // @@protoc_insertion_point(serialize_start:yb.master.SysTabletsEntryPB)
5308
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5309
0
  (void) cached_has_bits;
5310
5311
0
  cached_has_bits = _has_bits_[0];
5312
  // optional bytes OBSOLETE_start_key = 1;
5313
0
  if (cached_has_bits & 0x00000001u) {
5314
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
5315
0
      1, this->obsolete_start_key(), output);
5316
0
  }
5317
5318
  // optional bytes OBSOLETE_end_key = 2;
5319
0
  if (cached_has_bits & 0x00000002u) {
5320
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
5321
0
      2, this->obsolete_end_key(), output);
5322
0
  }
5323
5324
  // optional .yb.consensus.ConsensusStatePB committed_consensus_state = 3;
5325
0
  if (cached_has_bits & 0x00000040u) {
5326
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5327
0
      3, *this->committed_consensus_state_, output);
5328
0
  }
5329
5330
  // optional .yb.master.SysTabletsEntryPB.State state = 4 [default = UNKNOWN];
5331
0
  if (cached_has_bits & 0x00000800u) {
5332
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
5333
0
      4, this->state(), output);
5334
0
  }
5335
5336
  // optional bytes state_msg = 5;
5337
0
  if (cached_has_bits & 0x00000004u) {
5338
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
5339
0
      5, this->state_msg(), output);
5340
0
  }
5341
5342
  // required bytes table_id = 6;
5343
0
  if (cached_has_bits & 0x00000008u) {
5344
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
5345
0
      6, this->table_id(), output);
5346
0
  }
5347
5348
  // optional .yb.PartitionPB partition = 7;
5349
0
  if (cached_has_bits & 0x00000080u) {
5350
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5351
0
      7, *this->partition_, output);
5352
0
  }
5353
5354
  // repeated bytes table_ids = 8;
5355
0
  for (int i = 0, n = this->table_ids_size(); i < n; i++) {
5356
0
    ::google::protobuf::internal::WireFormatLite::WriteBytes(
5357
0
      8, this->table_ids(i), output);
5358
0
  }
5359
5360
  // optional bool colocated = 9 [default = false];
5361
0
  if (cached_has_bits & 0x00000400u) {
5362
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(9, this->colocated(), output);
5363
0
  }
5364
5365
  // optional bytes DEPRECATED_backfilled_until = 10;
5366
0
  if (cached_has_bits & 0x00000010u) {
5367
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
5368
0
      10, this->deprecated_backfilled_until(), output);
5369
0
  }
5370
5371
  // optional uint64 split_depth = 11;
5372
0
  if (cached_has_bits & 0x00000100u) {
5373
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(11, this->split_depth(), output);
5374
0
  }
5375
5376
  // map<string, bytes> backfilled_until = 12;
5377
0
  if (!this->backfilled_until().empty()) {
5378
0
    typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer
5379
0
        ConstPtr;
5380
0
    typedef ConstPtr SortItem;
5381
0
    typedef ::google::protobuf::internal::CompareByDerefFirst<SortItem> Less;
5382
0
    struct Utf8Check {
5383
0
      static void Check(ConstPtr p) {
5384
0
        ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
5385
0
          p->first.data(), static_cast<int>(p->first.length()),
5386
0
          ::google::protobuf::internal::WireFormat::SERIALIZE,
5387
0
          "yb.master.SysTabletsEntryPB.BackfilledUntilEntry.key");
5388
0
      }
5389
0
    };
5390
5391
0
    if (output->IsSerializationDeterministic() &&
5392
0
        this->backfilled_until().size() > 1) {
5393
0
      ::google::protobuf::scoped_array<SortItem> items(
5394
0
          new SortItem[this->backfilled_until().size()]);
5395
0
      typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type;
5396
0
      size_type n = 0;
5397
0
      for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator
5398
0
          it = this->backfilled_until().begin();
5399
0
          it != this->backfilled_until().end(); ++it, ++n) {
5400
0
        items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
5401
0
      }
5402
0
      ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
5403
0
      ::google::protobuf::scoped_ptr<SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse> entry;
5404
0
      for (size_type i = 0; i < n; i++) {
5405
0
        entry.reset(backfilled_until_.NewEntryWrapper(
5406
0
            items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second));
5407
0
        ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5408
0
            12, *entry, output);
5409
0
        Utf8Check::Check(items[static_cast<ptrdiff_t>(i)]);
5410
0
      }
5411
0
    } else {
5412
0
      ::google::protobuf::scoped_ptr<SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse> entry;
5413
0
      for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator
5414
0
          it = this->backfilled_until().begin();
5415
0
          it != this->backfilled_until().end(); ++it) {
5416
0
        entry.reset(backfilled_until_.NewEntryWrapper(
5417
0
            it->first, it->second));
5418
0
        ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5419
0
            12, *entry, output);
5420
0
        Utf8Check::Check(&*it);
5421
0
      }
5422
0
    }
5423
0
  }
5424
5425
  // optional bytes split_parent_tablet_id = 13;
5426
0
  if (cached_has_bits & 0x00000020u) {
5427
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
5428
0
      13, this->split_parent_tablet_id(), output);
5429
0
  }
5430
5431
  // repeated bytes split_tablet_ids = 14;
5432
0
  for (int i = 0, n = this->split_tablet_ids_size(); i < n; i++) {
5433
0
    ::google::protobuf::internal::WireFormatLite::WriteBytes(
5434
0
      14, this->split_tablet_ids(i), output);
5435
0
  }
5436
5437
  // optional fixed64 hide_hybrid_time = 16;
5438
0
  if (cached_has_bits & 0x00000200u) {
5439
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(16, this->hide_hybrid_time(), output);
5440
0
  }
5441
5442
  // repeated bytes retained_by_snapshot_schedules = 17;
5443
0
  for (int i = 0, n = this->retained_by_snapshot_schedules_size(); i < n; i++) {
5444
0
    ::google::protobuf::internal::WireFormatLite::WriteBytes(
5445
0
      17, this->retained_by_snapshot_schedules(i), output);
5446
0
  }
5447
5448
0
  if (_internal_metadata_.have_unknown_fields()) {
5449
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5450
0
        _internal_metadata_.unknown_fields(), output);
5451
0
  }
5452
  // @@protoc_insertion_point(serialize_end:yb.master.SysTabletsEntryPB)
5453
0
}
5454
5455
::google::protobuf::uint8* SysTabletsEntryPB::InternalSerializeWithCachedSizesToArray(
5456
245k
    bool deterministic, ::google::protobuf::uint8* target) const {
5457
245k
  (void)deterministic; // Unused
5458
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SysTabletsEntryPB)
5459
245k
  ::google::protobuf::uint32 cached_has_bits = 0;
5460
245k
  (void) cached_has_bits;
5461
5462
245k
  cached_has_bits = _has_bits_[0];
5463
  // optional bytes OBSOLETE_start_key = 1;
5464
245k
  if (cached_has_bits & 0x00000001u) {
5465
0
    target =
5466
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
5467
0
        1, this->obsolete_start_key(), target);
5468
0
  }
5469
5470
  // optional bytes OBSOLETE_end_key = 2;
5471
245k
  if (cached_has_bits & 0x00000002u) {
5472
0
    target =
5473
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
5474
0
        2, this->obsolete_end_key(), target);
5475
0
  }
5476
5477
  // optional .yb.consensus.ConsensusStatePB committed_consensus_state = 3;
5478
245k
  if (cached_has_bits & 0x00000040u) {
5479
146k
    target = ::google::protobuf::internal::WireFormatLite::
5480
146k
      InternalWriteMessageToArray(
5481
146k
        3, *this->committed_consensus_state_, deterministic, target);
5482
146k
  }
5483
5484
  // optional .yb.master.SysTabletsEntryPB.State state = 4 [default = UNKNOWN];
5485
245k
  if (
cached_has_bits & 0x00000800u245k
) {
5486
245k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
5487
245k
      4, this->state(), target);
5488
245k
  }
5489
5490
  // optional bytes state_msg = 5;
5491
245k
  if (cached_has_bits & 0x00000004u) {
5492
146k
    target =
5493
146k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
5494
146k
        5, this->state_msg(), target);
5495
146k
  }
5496
5497
  // required bytes table_id = 6;
5498
245k
  if (
cached_has_bits & 0x00000008u245k
) {
5499
245k
    target =
5500
245k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
5501
245k
        6, this->table_id(), target);
5502
245k
  }
5503
5504
  // optional .yb.PartitionPB partition = 7;
5505
245k
  if (
cached_has_bits & 0x00000080u245k
) {
5506
245k
    target = ::google::protobuf::internal::WireFormatLite::
5507
245k
      InternalWriteMessageToArray(
5508
245k
        7, *this->partition_, deterministic, target);
5509
245k
  }
5510
5511
  // repeated bytes table_ids = 8;
5512
9.11M
  for (int i = 0, n = this->table_ids_size(); i < n; 
i++8.87M
) {
5513
8.87M
    target = ::google::protobuf::internal::WireFormatLite::
5514
8.87M
      WriteBytesToArray(8, this->table_ids(i), target);
5515
8.87M
  }
5516
5517
  // optional bool colocated = 9 [default = false];
5518
245k
  if (cached_has_bits & 0x00000400u) {
5519
569
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(9, this->colocated(), target);
5520
569
  }
5521
5522
  // optional bytes DEPRECATED_backfilled_until = 10;
5523
245k
  if (cached_has_bits & 0x00000010u) {
5524
0
    target =
5525
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
5526
0
        10, this->deprecated_backfilled_until(), target);
5527
0
  }
5528
5529
  // optional uint64 split_depth = 11;
5530
245k
  if (cached_has_bits & 0x00000100u) {
5531
285
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(11, this->split_depth(), target);
5532
285
  }
5533
5534
  // map<string, bytes> backfilled_until = 12;
5535
245k
  if (!this->backfilled_until().empty()) {
5536
4.20k
    typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer
5537
4.20k
        ConstPtr;
5538
4.20k
    typedef ConstPtr SortItem;
5539
4.20k
    typedef ::google::protobuf::internal::CompareByDerefFirst<SortItem> Less;
5540
4.20k
    struct Utf8Check {
5541
4.25k
      static void Check(ConstPtr p) {
5542
4.25k
        ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
5543
4.25k
          p->first.data(), static_cast<int>(p->first.length()),
5544
4.25k
          ::google::protobuf::internal::WireFormat::SERIALIZE,
5545
4.25k
          "yb.master.SysTabletsEntryPB.BackfilledUntilEntry.key");
5546
4.25k
      }
5547
4.20k
    };
5548
5549
4.20k
    if (deterministic &&
5550
4.20k
        
this->backfilled_until().size() > 10
) {
5551
0
      ::google::protobuf::scoped_array<SortItem> items(
5552
0
          new SortItem[this->backfilled_until().size()]);
5553
0
      typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type;
5554
0
      size_type n = 0;
5555
0
      for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator
5556
0
          it = this->backfilled_until().begin();
5557
0
          it != this->backfilled_until().end(); ++it, ++n) {
5558
0
        items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
5559
0
      }
5560
0
      ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
5561
0
      ::google::protobuf::scoped_ptr<SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse> entry;
5562
0
      for (size_type i = 0; i < n; i++) {
5563
0
        entry.reset(backfilled_until_.NewEntryWrapper(
5564
0
            items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second));
5565
0
        target = ::google::protobuf::internal::WireFormatLite::
5566
0
                   InternalWriteMessageNoVirtualToArray(
5567
0
                       12, *entry, deterministic, target);
5568
0
;
5569
0
        Utf8Check::Check(items[static_cast<ptrdiff_t>(i)]);
5570
0
      }
5571
4.20k
    } else {
5572
4.20k
      ::google::protobuf::scoped_ptr<SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse> entry;
5573
4.20k
      for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator
5574
4.20k
          it = this->backfilled_until().begin();
5575
8.45k
          it != this->backfilled_until().end(); 
++it4.24k
) {
5576
4.24k
        entry.reset(backfilled_until_.NewEntryWrapper(
5577
4.24k
            it->first, it->second));
5578
4.24k
        target = ::google::protobuf::internal::WireFormatLite::
5579
4.24k
                   InternalWriteMessageNoVirtualToArray(
5580
4.24k
                       12, *entry, deterministic, target);
5581
4.24k
;
5582
4.24k
        Utf8Check::Check(&*it);
5583
4.24k
      }
5584
4.20k
    }
5585
4.20k
  }
5586
5587
  // optional bytes split_parent_tablet_id = 13;
5588
245k
  if (cached_has_bits & 0x00000020u) {
5589
285
    target =
5590
285
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
5591
285
        13, this->split_parent_tablet_id(), target);
5592
285
  }
5593
5594
  // repeated bytes split_tablet_ids = 14;
5595
245k
  for (int i = 0, n = this->split_tablet_ids_size(); i < n; 
i++204
) {
5596
204
    target = ::google::protobuf::internal::WireFormatLite::
5597
204
      WriteBytesToArray(14, this->split_tablet_ids(i), target);
5598
204
  }
5599
5600
  // optional fixed64 hide_hybrid_time = 16;
5601
245k
  if (cached_has_bits & 0x00000200u) {
5602
12
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(16, this->hide_hybrid_time(), target);
5603
12
  }
5604
5605
  // repeated bytes retained_by_snapshot_schedules = 17;
5606
245k
  for (int i = 0, n = this->retained_by_snapshot_schedules_size(); i < n; 
i++12
) {
5607
12
    target = ::google::protobuf::internal::WireFormatLite::
5608
12
      WriteBytesToArray(17, this->retained_by_snapshot_schedules(i), target);
5609
12
  }
5610
5611
245k
  if (_internal_metadata_.have_unknown_fields()) {
5612
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5613
0
        _internal_metadata_.unknown_fields(), target);
5614
0
  }
5615
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SysTabletsEntryPB)
5616
245k
  return target;
5617
245k
}
5618
5619
245k
size_t SysTabletsEntryPB::ByteSizeLong() const {
5620
// @@protoc_insertion_point(message_byte_size_start:yb.master.SysTabletsEntryPB)
5621
245k
  size_t total_size = 0;
5622
5623
245k
  if (_internal_metadata_.have_unknown_fields()) {
5624
0
    total_size +=
5625
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5626
0
        _internal_metadata_.unknown_fields());
5627
0
  }
5628
  // required bytes table_id = 6;
5629
245k
  if (has_table_id()) {
5630
245k
    total_size += 1 +
5631
245k
      ::google::protobuf::internal::WireFormatLite::BytesSize(
5632
245k
        this->table_id());
5633
245k
  }
5634
  // repeated bytes table_ids = 8;
5635
245k
  total_size += 1 *
5636
245k
      ::google::protobuf::internal::FromIntSize(this->table_ids_size());
5637
9.11M
  for (int i = 0, n = this->table_ids_size(); i < n; 
i++8.87M
) {
5638
8.87M
    total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
5639
8.87M
      this->table_ids(i));
5640
8.87M
  }
5641
5642
  // map<string, bytes> backfilled_until = 12;
5643
245k
  total_size += 1 *
5644
245k
      ::google::protobuf::internal::FromIntSize(this->backfilled_until_size());
5645
245k
  {
5646
245k
    ::google::protobuf::scoped_ptr<SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse> entry;
5647
245k
    for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator
5648
245k
        it = this->backfilled_until().begin();
5649
249k
        it != this->backfilled_until().end(); 
++it4.24k
) {
5650
4.24k
      entry.reset(backfilled_until_.NewEntryWrapper(it->first, it->second));
5651
4.24k
      total_size += ::google::protobuf::internal::WireFormatLite::
5652
4.24k
          MessageSizeNoVirtual(*entry);
5653
4.24k
    }
5654
245k
  }
5655
5656
  // repeated bytes split_tablet_ids = 14;
5657
245k
  total_size += 1 *
5658
245k
      ::google::protobuf::internal::FromIntSize(this->split_tablet_ids_size());
5659
245k
  for (int i = 0, n = this->split_tablet_ids_size(); i < n; 
i++204
) {
5660
204
    total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
5661
204
      this->split_tablet_ids(i));
5662
204
  }
5663
5664
  // repeated bytes retained_by_snapshot_schedules = 17;
5665
245k
  total_size += 2 *
5666
245k
      ::google::protobuf::internal::FromIntSize(this->retained_by_snapshot_schedules_size());
5667
245k
  for (int i = 0, n = this->retained_by_snapshot_schedules_size(); i < n; 
i++12
) {
5668
12
    total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
5669
12
      this->retained_by_snapshot_schedules(i));
5670
12
  }
5671
5672
245k
  if (_has_bits_[0 / 32] & 7u) {
5673
    // optional bytes OBSOLETE_start_key = 1;
5674
146k
    if (has_obsolete_start_key()) {
5675
0
      total_size += 1 +
5676
0
        ::google::protobuf::internal::WireFormatLite::BytesSize(
5677
0
          this->obsolete_start_key());
5678
0
    }
5679
5680
    // optional bytes OBSOLETE_end_key = 2;
5681
146k
    if (has_obsolete_end_key()) {
5682
0
      total_size += 1 +
5683
0
        ::google::protobuf::internal::WireFormatLite::BytesSize(
5684
0
          this->obsolete_end_key());
5685
0
    }
5686
5687
    // optional bytes state_msg = 5;
5688
146k
    if (
has_state_msg()146k
) {
5689
146k
      total_size += 1 +
5690
146k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
5691
146k
          this->state_msg());
5692
146k
    }
5693
5694
146k
  }
5695
245k
  if (_has_bits_[0 / 32] & 240u) {
5696
    // optional bytes DEPRECATED_backfilled_until = 10;
5697
245k
    if (has_deprecated_backfilled_until()) {
5698
0
      total_size += 1 +
5699
0
        ::google::protobuf::internal::WireFormatLite::BytesSize(
5700
0
          this->deprecated_backfilled_until());
5701
0
    }
5702
5703
    // optional bytes split_parent_tablet_id = 13;
5704
245k
    if (has_split_parent_tablet_id()) {
5705
285
      total_size += 1 +
5706
285
        ::google::protobuf::internal::WireFormatLite::BytesSize(
5707
285
          this->split_parent_tablet_id());
5708
285
    }
5709
5710
    // optional .yb.consensus.ConsensusStatePB committed_consensus_state = 3;
5711
245k
    if (has_committed_consensus_state()) {
5712
146k
      total_size += 1 +
5713
146k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
5714
146k
          *this->committed_consensus_state_);
5715
146k
    }
5716
5717
    // optional .yb.PartitionPB partition = 7;
5718
245k
    if (
has_partition()245k
) {
5719
245k
      total_size += 1 +
5720
245k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
5721
245k
          *this->partition_);
5722
245k
    }
5723
5724
245k
  }
5725
245k
  if (_has_bits_[8 / 32] & 3840u) {
5726
    // optional uint64 split_depth = 11;
5727
245k
    if (has_split_depth()) {
5728
285
      total_size += 1 +
5729
285
        ::google::protobuf::internal::WireFormatLite::UInt64Size(
5730
285
          this->split_depth());
5731
285
    }
5732
5733
    // optional fixed64 hide_hybrid_time = 16;
5734
245k
    if (has_hide_hybrid_time()) {
5735
12
      total_size += 2 + 8;
5736
12
    }
5737
5738
    // optional bool colocated = 9 [default = false];
5739
245k
    if (has_colocated()) {
5740
569
      total_size += 1 + 1;
5741
569
    }
5742
5743
    // optional .yb.master.SysTabletsEntryPB.State state = 4 [default = UNKNOWN];
5744
245k
    if (
has_state()245k
) {
5745
245k
      total_size += 1 +
5746
245k
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->state());
5747
245k
    }
5748
5749
245k
  }
5750
245k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5751
245k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5752
245k
  _cached_size_ = cached_size;
5753
245k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5754
245k
  return total_size;
5755
245k
}
5756
5757
0
void SysTabletsEntryPB::MergeFrom(const ::google::protobuf::Message& from) {
5758
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SysTabletsEntryPB)
5759
0
  GOOGLE_DCHECK_NE(&from, this);
5760
0
  const SysTabletsEntryPB* source =
5761
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SysTabletsEntryPB>(
5762
0
          &from);
5763
0
  if (source == NULL) {
5764
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SysTabletsEntryPB)
5765
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5766
0
  } else {
5767
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SysTabletsEntryPB)
5768
0
    MergeFrom(*source);
5769
0
  }
5770
0
}
5771
5772
15.3k
void SysTabletsEntryPB::MergeFrom(const SysTabletsEntryPB& from) {
5773
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SysTabletsEntryPB)
5774
15.3k
  GOOGLE_DCHECK_NE(&from, this);
5775
15.3k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5776
15.3k
  ::google::protobuf::uint32 cached_has_bits = 0;
5777
15.3k
  (void) cached_has_bits;
5778
5779
15.3k
  table_ids_.MergeFrom(from.table_ids_);
5780
15.3k
  backfilled_until_.MergeFrom(from.backfilled_until_);
5781
15.3k
  split_tablet_ids_.MergeFrom(from.split_tablet_ids_);
5782
15.3k
  retained_by_snapshot_schedules_.MergeFrom(from.retained_by_snapshot_schedules_);
5783
15.3k
  cached_has_bits = from._has_bits_[0];
5784
15.3k
  if (cached_has_bits & 255u) {
5785
15.3k
    if (cached_has_bits & 0x00000001u) {
5786
0
      set_has_obsolete_start_key();
5787
0
      obsolete_start_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_start_key_);
5788
0
    }
5789
15.3k
    if (cached_has_bits & 0x00000002u) {
5790
0
      set_has_obsolete_end_key();
5791
0
      obsolete_end_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_end_key_);
5792
0
    }
5793
15.3k
    if (cached_has_bits & 0x00000004u) {
5794
915
      set_has_state_msg();
5795
915
      state_msg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.state_msg_);
5796
915
    }
5797
15.3k
    if (cached_has_bits & 0x00000008u) {
5798
15.3k
      set_has_table_id();
5799
15.3k
      table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_id_);
5800
15.3k
    }
5801
15.3k
    if (cached_has_bits & 0x00000010u) {
5802
0
      set_has_deprecated_backfilled_until();
5803
0
      deprecated_backfilled_until_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.deprecated_backfilled_until_);
5804
0
    }
5805
15.3k
    if (cached_has_bits & 0x00000020u) {
5806
2
      set_has_split_parent_tablet_id();
5807
2
      split_parent_tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.split_parent_tablet_id_);
5808
2
    }
5809
15.3k
    if (cached_has_bits & 0x00000040u) {
5810
917
      mutable_committed_consensus_state()->::yb::consensus::ConsensusStatePB::MergeFrom(from.committed_consensus_state());
5811
917
    }
5812
15.3k
    if (cached_has_bits & 0x00000080u) {
5813
15.3k
      mutable_partition()->::yb::PartitionPB::MergeFrom(from.partition());
5814
15.3k
    }
5815
15.3k
  }
5816
15.3k
  if (cached_has_bits & 3840u) {
5817
15.3k
    if (cached_has_bits & 0x00000100u) {
5818
2
      split_depth_ = from.split_depth_;
5819
2
    }
5820
15.3k
    if (cached_has_bits & 0x00000200u) {
5821
0
      hide_hybrid_time_ = from.hide_hybrid_time_;
5822
0
    }
5823
15.3k
    if (cached_has_bits & 0x00000400u) {
5824
3
      colocated_ = from.colocated_;
5825
3
    }
5826
15.3k
    if (cached_has_bits & 0x00000800u) {
5827
15.3k
      state_ = from.state_;
5828
15.3k
    }
5829
15.3k
    _has_bits_[0] |= cached_has_bits;
5830
15.3k
  }
5831
15.3k
}
5832
5833
0
void SysTabletsEntryPB::CopyFrom(const ::google::protobuf::Message& from) {
5834
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SysTabletsEntryPB)
5835
0
  if (&from == this) return;
5836
0
  Clear();
5837
0
  MergeFrom(from);
5838
0
}
5839
5840
15.3k
void SysTabletsEntryPB::CopyFrom(const SysTabletsEntryPB& from) {
5841
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SysTabletsEntryPB)
5842
15.3k
  if (&from == this) 
return0
;
5843
15.3k
  Clear();
5844
15.3k
  MergeFrom(from);
5845
15.3k
}
5846
5847
261k
bool SysTabletsEntryPB::IsInitialized() const {
5848
261k
  if ((_has_bits_[0] & 0x00000008) != 0x00000008) 
return false0
;
5849
261k
  if (has_committed_consensus_state()) {
5850
147k
    if (!this->committed_consensus_state_->IsInitialized()) 
return false0
;
5851
147k
  }
5852
261k
  return true;
5853
261k
}
5854
5855
0
void SysTabletsEntryPB::Swap(SysTabletsEntryPB* other) {
5856
0
  if (other == this) return;
5857
0
  InternalSwap(other);
5858
0
}
5859
2.06M
void SysTabletsEntryPB::InternalSwap(SysTabletsEntryPB* other) {
5860
2.06M
  using std::swap;
5861
2.06M
  table_ids_.InternalSwap(&other->table_ids_);
5862
2.06M
  backfilled_until_.Swap(&other->backfilled_until_);
5863
2.06M
  split_tablet_ids_.InternalSwap(&other->split_tablet_ids_);
5864
2.06M
  retained_by_snapshot_schedules_.InternalSwap(&other->retained_by_snapshot_schedules_);
5865
2.06M
  obsolete_start_key_.Swap(&other->obsolete_start_key_);
5866
2.06M
  obsolete_end_key_.Swap(&other->obsolete_end_key_);
5867
2.06M
  state_msg_.Swap(&other->state_msg_);
5868
2.06M
  table_id_.Swap(&other->table_id_);
5869
2.06M
  deprecated_backfilled_until_.Swap(&other->deprecated_backfilled_until_);
5870
2.06M
  split_parent_tablet_id_.Swap(&other->split_parent_tablet_id_);
5871
2.06M
  swap(committed_consensus_state_, other->committed_consensus_state_);
5872
2.06M
  swap(partition_, other->partition_);
5873
2.06M
  swap(split_depth_, other->split_depth_);
5874
2.06M
  swap(hide_hybrid_time_, other->hide_hybrid_time_);
5875
2.06M
  swap(colocated_, other->colocated_);
5876
2.06M
  swap(state_, other->state_);
5877
2.06M
  swap(_has_bits_[0], other->_has_bits_[0]);
5878
2.06M
  _internal_metadata_.Swap(&other->_internal_metadata_);
5879
2.06M
  swap(_cached_size_, other->_cached_size_);
5880
2.06M
}
5881
5882
7.19M
::google::protobuf::Metadata SysTabletsEntryPB::GetMetadata() const {
5883
7.19M
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
5884
7.19M
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
5885
7.19M
}
5886
5887
5888
// ===================================================================
5889
5890
26.8k
void SysNamespaceEntryPB::InitAsDefaultInstance() {
5891
26.8k
  ::yb::master::_SysNamespaceEntryPB_default_instance_._instance.get_mutable()->transaction_ = const_cast< ::yb::TransactionMetadataPB*>(
5892
26.8k
      ::yb::TransactionMetadataPB::internal_default_instance());
5893
26.8k
}
5894
88
void SysNamespaceEntryPB::clear_transaction() {
5895
88
  if (transaction_ != NULL) 
transaction_->Clear()87
;
5896
88
  clear_has_transaction();
5897
88
}
5898
#if !defined(_MSC_VER) || _MSC_VER >= 1900
5899
const int SysNamespaceEntryPB::kNameFieldNumber;
5900
const int SysNamespaceEntryPB::kDatabaseTypeFieldNumber;
5901
const int SysNamespaceEntryPB::kNextPgOidFieldNumber;
5902
const int SysNamespaceEntryPB::kColocatedFieldNumber;
5903
const int SysNamespaceEntryPB::kTransactionFieldNumber;
5904
const int SysNamespaceEntryPB::kStateFieldNumber;
5905
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
5906
5907
SysNamespaceEntryPB::SysNamespaceEntryPB()
5908
76.7k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
5909
76.7k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
5910
49.8k
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysNamespaceEntryPB();
5911
49.8k
  }
5912
76.7k
  SharedCtor();
5913
  // @@protoc_insertion_point(constructor:yb.master.SysNamespaceEntryPB)
5914
76.7k
}
5915
SysNamespaceEntryPB::SysNamespaceEntryPB(const SysNamespaceEntryPB& from)
5916
  : ::google::protobuf::Message(),
5917
      _internal_metadata_(NULL),
5918
      _has_bits_(from._has_bits_),
5919
24.4k
      _cached_size_(0) {
5920
24.4k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5921
24.4k
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5922
24.4k
  if (from.has_name()) {
5923
8.85k
    name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
5924
8.85k
  }
5925
24.4k
  if (from.has_transaction()) {
5926
1.27k
    transaction_ = new ::yb::TransactionMetadataPB(*from.transaction_);
5927
23.1k
  } else {
5928
23.1k
    transaction_ = NULL;
5929
23.1k
  }
5930
24.4k
  ::memcpy(&next_pg_oid_, &from.next_pg_oid_,
5931
24.4k
    static_cast<size_t>(reinterpret_cast<char*>(&database_type_) -
5932
24.4k
    reinterpret_cast<char*>(&next_pg_oid_)) + sizeof(database_type_));
5933
  // @@protoc_insertion_point(copy_constructor:yb.master.SysNamespaceEntryPB)
5934
24.4k
}
5935
5936
76.7k
void SysNamespaceEntryPB::SharedCtor() {
5937
76.7k
  _cached_size_ = 0;
5938
76.7k
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5939
76.7k
  ::memset(&transaction_, 0, static_cast<size_t>(
5940
76.7k
      reinterpret_cast<char*>(&state_) -
5941
76.7k
      reinterpret_cast<char*>(&transaction_)) + sizeof(state_));
5942
76.7k
  database_type_ = 2;
5943
76.7k
}
5944
5945
60.5k
SysNamespaceEntryPB::~SysNamespaceEntryPB() {
5946
  // @@protoc_insertion_point(destructor:yb.master.SysNamespaceEntryPB)
5947
60.5k
  SharedDtor();
5948
60.5k
}
5949
5950
60.5k
void SysNamespaceEntryPB::SharedDtor() {
5951
60.5k
  name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5952
60.5k
  if (this != internal_default_instance()) delete transaction_;
5953
60.5k
}
5954
5955
0
void SysNamespaceEntryPB::SetCachedSize(int size) const {
5956
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5957
0
  _cached_size_ = size;
5958
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5959
0
}
5960
0
const ::google::protobuf::Descriptor* SysNamespaceEntryPB::descriptor() {
5961
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
5962
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
5963
0
}
5964
5965
0
const SysNamespaceEntryPB& SysNamespaceEntryPB::default_instance() {
5966
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysNamespaceEntryPB();
5967
0
  return *internal_default_instance();
5968
0
}
5969
5970
0
SysNamespaceEntryPB* SysNamespaceEntryPB::New(::google::protobuf::Arena* arena) const {
5971
0
  SysNamespaceEntryPB* n = new SysNamespaceEntryPB;
5972
0
  if (arena != NULL) {
5973
0
    arena->Own(n);
5974
0
  }
5975
0
  return n;
5976
0
}
5977
5978
13.0k
void SysNamespaceEntryPB::Clear() {
5979
// @@protoc_insertion_point(message_clear_start:yb.master.SysNamespaceEntryPB)
5980
13.0k
  ::google::protobuf::uint32 cached_has_bits = 0;
5981
  // Prevent compiler warnings about cached_has_bits being unused
5982
13.0k
  (void) cached_has_bits;
5983
5984
13.0k
  cached_has_bits = _has_bits_[0];
5985
13.0k
  if (cached_has_bits & 3u) {
5986
0
    if (cached_has_bits & 0x00000001u) {
5987
0
      GOOGLE_DCHECK(!name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
5988
0
      (*name_.UnsafeRawStringPointer())->clear();
5989
0
    }
5990
0
    if (cached_has_bits & 0x00000002u) {
5991
0
      GOOGLE_DCHECK(transaction_ != NULL);
5992
0
      transaction_->Clear();
5993
0
    }
5994
0
  }
5995
13.0k
  if (cached_has_bits & 60u) {
5996
0
    ::memset(&next_pg_oid_, 0, static_cast<size_t>(
5997
0
        reinterpret_cast<char*>(&state_) -
5998
0
        reinterpret_cast<char*>(&next_pg_oid_)) + sizeof(state_));
5999
0
    database_type_ = 2;
6000
0
  }
6001
13.0k
  _has_bits_.Clear();
6002
13.0k
  _internal_metadata_.Clear();
6003
13.0k
}
6004
6005
bool SysNamespaceEntryPB::MergePartialFromCodedStream(
6006
6.57k
    ::google::protobuf::io::CodedInputStream* input) {
6007
27.5k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
6008
6.57k
  ::google::protobuf::uint32 tag;
6009
  // @@protoc_insertion_point(parse_start:yb.master.SysNamespaceEntryPB)
6010
34.1k
  for (;;) {
6011
34.1k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6012
34.1k
    tag = p.first;
6013
34.1k
    if (!p.second) 
goto handle_unusual6.57k
;
6014
27.5k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6015
      // optional bytes name = 1;
6016
6.57k
      case 1: {
6017
6.57k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6018
6.57k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
6019
6.57k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
6020
6.57k
                input, this->mutable_name()));
6021
6.57k
        } else {
6022
0
          goto handle_unusual;
6023
0
        }
6024
6.57k
        break;
6025
6.57k
      }
6026
6027
      // optional .yb.YQLDatabase database_type = 2 [default = YQL_DATABASE_CQL];
6028
6.57k
      case 2: {
6029
6.57k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6030
6.57k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
6031
6.57k
          int value;
6032
6.57k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6033
6.57k
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
6034
6.57k
                 input, &value)));
6035
6.57k
          if (::yb::YQLDatabase_IsValid(value)) {
6036
6.57k
            set_database_type(static_cast< ::yb::YQLDatabase >(value));
6037
6.57k
          } else {
6038
0
            mutable_unknown_fields()->AddVarint(
6039
0
                2, static_cast< ::google::protobuf::uint64>(value));
6040
0
          }
6041
6.57k
        } else {
6042
0
          goto handle_unusual;
6043
0
        }
6044
6.57k
        break;
6045
6.57k
      }
6046
6047
      // optional uint32 next_pg_oid = 3;
6048
6.57k
      case 3: {
6049
3.88k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6050
3.88k
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
6051
3.88k
          set_has_next_pg_oid();
6052
3.88k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6053
3.88k
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
6054
3.88k
                 input, &next_pg_oid_)));
6055
3.88k
        } else {
6056
0
          goto handle_unusual;
6057
0
        }
6058
3.88k
        break;
6059
3.88k
      }
6060
6061
      // optional bool colocated = 4 [default = false];
6062
3.96k
      case 4: {
6063
3.96k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6064
3.96k
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
6065
3.96k
          set_has_colocated();
6066
3.96k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6067
3.96k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
6068
3.96k
                 input, &colocated_)));
6069
3.96k
        } else {
6070
0
          goto handle_unusual;
6071
0
        }
6072
3.96k
        break;
6073
3.96k
      }
6074
6075
      // optional .yb.master.SysNamespaceEntryPB.State state = 5 [default = UNKNOWN];
6076
6.54k
      case 5: {
6077
6.54k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6078
6.54k
            static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
6079
6.54k
          int value;
6080
6.54k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6081
6.54k
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
6082
6.54k
                 input, &value)));
6083
6.54k
          if (::yb::master::SysNamespaceEntryPB_State_IsValid(value)) {
6084
6.54k
            set_state(static_cast< ::yb::master::SysNamespaceEntryPB_State >(value));
6085
6.54k
          } else {
6086
0
            mutable_unknown_fields()->AddVarint(
6087
0
                5, static_cast< ::google::protobuf::uint64>(value));
6088
0
          }
6089
6.54k
        } else {
6090
0
          goto handle_unusual;
6091
0
        }
6092
6.54k
        break;
6093
6.54k
      }
6094
6095
      // optional .yb.TransactionMetadataPB transaction = 6;
6096
6.54k
      case 6: {
6097
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6098
1
            static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
6099
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
6100
1
               input, mutable_transaction()));
6101
1
        } else {
6102
0
          goto handle_unusual;
6103
0
        }
6104
1
        break;
6105
1
      }
6106
6107
1
      default: {
6108
6.57k
      handle_unusual:
6109
6.57k
        if (tag == 0) {
6110
6.57k
          goto success;
6111
6.57k
        }
6112
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
6113
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
6114
0
        break;
6115
0
      }
6116
27.5k
    }
6117
27.5k
  }
6118
6.57k
success:
6119
  // @@protoc_insertion_point(parse_success:yb.master.SysNamespaceEntryPB)
6120
6.57k
  return true;
6121
0
failure:
6122
  // @@protoc_insertion_point(parse_failure:yb.master.SysNamespaceEntryPB)
6123
0
  return false;
6124
6.57k
#undef DO_
6125
6.57k
}
6126
6127
void SysNamespaceEntryPB::SerializeWithCachedSizes(
6128
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6129
  // @@protoc_insertion_point(serialize_start:yb.master.SysNamespaceEntryPB)
6130
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6131
0
  (void) cached_has_bits;
6132
6133
0
  cached_has_bits = _has_bits_[0];
6134
  // optional bytes name = 1;
6135
0
  if (cached_has_bits & 0x00000001u) {
6136
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
6137
0
      1, this->name(), output);
6138
0
  }
6139
6140
  // optional .yb.YQLDatabase database_type = 2 [default = YQL_DATABASE_CQL];
6141
0
  if (cached_has_bits & 0x00000020u) {
6142
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
6143
0
      2, this->database_type(), output);
6144
0
  }
6145
6146
  // optional uint32 next_pg_oid = 3;
6147
0
  if (cached_has_bits & 0x00000004u) {
6148
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->next_pg_oid(), output);
6149
0
  }
6150
6151
  // optional bool colocated = 4 [default = false];
6152
0
  if (cached_has_bits & 0x00000008u) {
6153
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->colocated(), output);
6154
0
  }
6155
6156
  // optional .yb.master.SysNamespaceEntryPB.State state = 5 [default = UNKNOWN];
6157
0
  if (cached_has_bits & 0x00000010u) {
6158
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
6159
0
      5, this->state(), output);
6160
0
  }
6161
6162
  // optional .yb.TransactionMetadataPB transaction = 6;
6163
0
  if (cached_has_bits & 0x00000002u) {
6164
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6165
0
      6, *this->transaction_, output);
6166
0
  }
6167
6168
0
  if (_internal_metadata_.have_unknown_fields()) {
6169
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6170
0
        _internal_metadata_.unknown_fields(), output);
6171
0
  }
6172
  // @@protoc_insertion_point(serialize_end:yb.master.SysNamespaceEntryPB)
6173
0
}
6174
6175
::google::protobuf::uint8* SysNamespaceEntryPB::InternalSerializeWithCachedSizesToArray(
6176
12.9k
    bool deterministic, ::google::protobuf::uint8* target) const {
6177
12.9k
  (void)deterministic; // Unused
6178
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SysNamespaceEntryPB)
6179
12.9k
  ::google::protobuf::uint32 cached_has_bits = 0;
6180
12.9k
  (void) cached_has_bits;
6181
6182
12.9k
  cached_has_bits = _has_bits_[0];
6183
  // optional bytes name = 1;
6184
12.9k
  if (cached_has_bits & 0x00000001u) {
6185
12.9k
    target =
6186
12.9k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
6187
12.9k
        1, this->name(), target);
6188
12.9k
  }
6189
6190
  // optional .yb.YQLDatabase database_type = 2 [default = YQL_DATABASE_CQL];
6191
12.9k
  if (cached_has_bits & 0x00000020u) {
6192
12.9k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
6193
12.9k
      2, this->database_type(), target);
6194
12.9k
  }
6195
6196
  // optional uint32 next_pg_oid = 3;
6197
12.9k
  if (cached_has_bits & 0x00000004u) {
6198
1.62k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->next_pg_oid(), target);
6199
1.62k
  }
6200
6201
  // optional bool colocated = 4 [default = false];
6202
12.9k
  if (cached_has_bits & 0x00000008u) {
6203
6.42k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->colocated(), target);
6204
6.42k
  }
6205
6206
  // optional .yb.master.SysNamespaceEntryPB.State state = 5 [default = UNKNOWN];
6207
12.9k
  if (cached_has_bits & 0x00000010u) {
6208
12.9k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
6209
12.9k
      5, this->state(), target);
6210
12.9k
  }
6211
6212
  // optional .yb.TransactionMetadataPB transaction = 6;
6213
12.9k
  if (cached_has_bits & 0x00000002u) {
6214
191
    target = ::google::protobuf::internal::WireFormatLite::
6215
191
      InternalWriteMessageToArray(
6216
191
        6, *this->transaction_, deterministic, target);
6217
191
  }
6218
6219
12.9k
  if (_internal_metadata_.have_unknown_fields()) {
6220
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6221
0
        _internal_metadata_.unknown_fields(), target);
6222
0
  }
6223
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SysNamespaceEntryPB)
6224
12.9k
  return target;
6225
12.9k
}
6226
6227
12.9k
size_t SysNamespaceEntryPB::ByteSizeLong() const {
6228
// @@protoc_insertion_point(message_byte_size_start:yb.master.SysNamespaceEntryPB)
6229
12.9k
  size_t total_size = 0;
6230
6231
12.9k
  if (_internal_metadata_.have_unknown_fields()) {
6232
0
    total_size +=
6233
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6234
0
        _internal_metadata_.unknown_fields());
6235
0
  }
6236
12.9k
  if (_has_bits_[0 / 32] & 63u) {
6237
    // optional bytes name = 1;
6238
12.9k
    if (has_name()) {
6239
12.9k
      total_size += 1 +
6240
12.9k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
6241
12.9k
          this->name());
6242
12.9k
    }
6243
6244
    // optional .yb.TransactionMetadataPB transaction = 6;
6245
12.9k
    if (has_transaction()) {
6246
191
      total_size += 1 +
6247
191
        ::google::protobuf::internal::WireFormatLite::MessageSize(
6248
191
          *this->transaction_);
6249
191
    }
6250
6251
    // optional uint32 next_pg_oid = 3;
6252
12.9k
    if (has_next_pg_oid()) {
6253
1.62k
      total_size += 1 +
6254
1.62k
        ::google::protobuf::internal::WireFormatLite::UInt32Size(
6255
1.62k
          this->next_pg_oid());
6256
1.62k
    }
6257
6258
    // optional bool colocated = 4 [default = false];
6259
12.9k
    if (has_colocated()) {
6260
6.42k
      total_size += 1 + 1;
6261
6.42k
    }
6262
6263
    // optional .yb.master.SysNamespaceEntryPB.State state = 5 [default = UNKNOWN];
6264
12.9k
    if (has_state()) {
6265
12.9k
      total_size += 1 +
6266
12.9k
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->state());
6267
12.9k
    }
6268
6269
    // optional .yb.YQLDatabase database_type = 2 [default = YQL_DATABASE_CQL];
6270
12.9k
    if (has_database_type()) {
6271
12.9k
      total_size += 1 +
6272
12.9k
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->database_type());
6273
12.9k
    }
6274
6275
12.9k
  }
6276
12.9k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6277
12.9k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6278
12.9k
  _cached_size_ = cached_size;
6279
12.9k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6280
12.9k
  return total_size;
6281
12.9k
}
6282
6283
0
void SysNamespaceEntryPB::MergeFrom(const ::google::protobuf::Message& from) {
6284
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SysNamespaceEntryPB)
6285
0
  GOOGLE_DCHECK_NE(&from, this);
6286
0
  const SysNamespaceEntryPB* source =
6287
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SysNamespaceEntryPB>(
6288
0
          &from);
6289
0
  if (source == NULL) {
6290
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SysNamespaceEntryPB)
6291
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6292
0
  } else {
6293
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SysNamespaceEntryPB)
6294
0
    MergeFrom(*source);
6295
0
  }
6296
0
}
6297
6298
6.43k
void SysNamespaceEntryPB::MergeFrom(const SysNamespaceEntryPB& from) {
6299
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SysNamespaceEntryPB)
6300
6.43k
  GOOGLE_DCHECK_NE(&from, this);
6301
6.43k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6302
6.43k
  ::google::protobuf::uint32 cached_has_bits = 0;
6303
6.43k
  (void) cached_has_bits;
6304
6305
6.43k
  cached_has_bits = from._has_bits_[0];
6306
6.43k
  if (cached_has_bits & 63u) {
6307
6.43k
    if (cached_has_bits & 0x00000001u) {
6308
6.43k
      set_has_name();
6309
6.43k
      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
6310
6.43k
    }
6311
6.43k
    if (cached_has_bits & 0x00000002u) {
6312
1
      mutable_transaction()->::yb::TransactionMetadataPB::MergeFrom(from.transaction());
6313
1
    }
6314
6.43k
    if (cached_has_bits & 0x00000004u) {
6315
3.81k
      next_pg_oid_ = from.next_pg_oid_;
6316
3.81k
    }
6317
6.43k
    if (cached_has_bits & 0x00000008u) {
6318
3.87k
      colocated_ = from.colocated_;
6319
3.87k
    }
6320
6.43k
    if (cached_has_bits & 0x00000010u) {
6321
6.40k
      state_ = from.state_;
6322
6.40k
    }
6323
6.43k
    if (cached_has_bits & 0x00000020u) {
6324
6.42k
      database_type_ = from.database_type_;
6325
6.42k
    }
6326
6.43k
    _has_bits_[0] |= cached_has_bits;
6327
6.43k
  }
6328
6.43k
}
6329
6330
0
void SysNamespaceEntryPB::CopyFrom(const ::google::protobuf::Message& from) {
6331
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SysNamespaceEntryPB)
6332
0
  if (&from == this) return;
6333
0
  Clear();
6334
0
  MergeFrom(from);
6335
0
}
6336
6337
6.43k
void SysNamespaceEntryPB::CopyFrom(const SysNamespaceEntryPB& from) {
6338
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SysNamespaceEntryPB)
6339
6.43k
  if (&from == this) 
return0
;
6340
6.43k
  Clear();
6341
6.43k
  MergeFrom(from);
6342
6.43k
}
6343
6344
19.4k
bool SysNamespaceEntryPB::IsInitialized() const {
6345
19.4k
  return true;
6346
19.4k
}
6347
6348
0
void SysNamespaceEntryPB::Swap(SysNamespaceEntryPB* other) {
6349
0
  if (other == this) return;
6350
0
  InternalSwap(other);
6351
0
}
6352
69.3k
void SysNamespaceEntryPB::InternalSwap(SysNamespaceEntryPB* other) {
6353
69.3k
  using std::swap;
6354
69.3k
  name_.Swap(&other->name_);
6355
69.3k
  swap(transaction_, other->transaction_);
6356
69.3k
  swap(next_pg_oid_, other->next_pg_oid_);
6357
69.3k
  swap(colocated_, other->colocated_);
6358
69.3k
  swap(state_, other->state_);
6359
69.3k
  swap(database_type_, other->database_type_);
6360
69.3k
  swap(_has_bits_[0], other->_has_bits_[0]);
6361
69.3k
  _internal_metadata_.Swap(&other->_internal_metadata_);
6362
69.3k
  swap(_cached_size_, other->_cached_size_);
6363
69.3k
}
6364
6365
132k
::google::protobuf::Metadata SysNamespaceEntryPB::GetMetadata() const {
6366
132k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
6367
132k
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
6368
132k
}
6369
6370
6371
// ===================================================================
6372
6373
26.8k
void SysUDTypeEntryPB::InitAsDefaultInstance() {
6374
26.8k
}
6375
0
void SysUDTypeEntryPB::clear_field_types() {
6376
0
  field_types_.Clear();
6377
0
}
6378
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6379
const int SysUDTypeEntryPB::kNamespaceIdFieldNumber;
6380
const int SysUDTypeEntryPB::kNameFieldNumber;
6381
const int SysUDTypeEntryPB::kFieldNamesFieldNumber;
6382
const int SysUDTypeEntryPB::kFieldTypesFieldNumber;
6383
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6384
6385
SysUDTypeEntryPB::SysUDTypeEntryPB()
6386
27.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6387
27.0k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6388
143
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysUDTypeEntryPB();
6389
143
  }
6390
27.0k
  SharedCtor();
6391
  // @@protoc_insertion_point(constructor:yb.master.SysUDTypeEntryPB)
6392
27.0k
}
6393
SysUDTypeEntryPB::SysUDTypeEntryPB(const SysUDTypeEntryPB& from)
6394
  : ::google::protobuf::Message(),
6395
      _internal_metadata_(NULL),
6396
      _has_bits_(from._has_bits_),
6397
      _cached_size_(0),
6398
      field_names_(from.field_names_),
6399
94
      field_types_(from.field_types_) {
6400
94
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6401
94
  namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6402
94
  if (from.has_namespace_id()) {
6403
46
    namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_id_);
6404
46
  }
6405
94
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6406
94
  if (from.has_name()) {
6407
46
    name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
6408
46
  }
6409
  // @@protoc_insertion_point(copy_constructor:yb.master.SysUDTypeEntryPB)
6410
94
}
6411
6412
27.0k
void SysUDTypeEntryPB::SharedCtor() {
6413
27.0k
  _cached_size_ = 0;
6414
27.0k
  namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6415
27.0k
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6416
27.0k
}
6417
6418
237
SysUDTypeEntryPB::~SysUDTypeEntryPB() {
6419
  // @@protoc_insertion_point(destructor:yb.master.SysUDTypeEntryPB)
6420
237
  SharedDtor();
6421
237
}
6422
6423
237
void SysUDTypeEntryPB::SharedDtor() {
6424
237
  namespace_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6425
237
  name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6426
237
}
6427
6428
0
void SysUDTypeEntryPB::SetCachedSize(int size) const {
6429
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6430
0
  _cached_size_ = size;
6431
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6432
0
}
6433
0
const ::google::protobuf::Descriptor* SysUDTypeEntryPB::descriptor() {
6434
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
6435
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6436
0
}
6437
6438
0
const SysUDTypeEntryPB& SysUDTypeEntryPB::default_instance() {
6439
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysUDTypeEntryPB();
6440
0
  return *internal_default_instance();
6441
0
}
6442
6443
0
SysUDTypeEntryPB* SysUDTypeEntryPB::New(::google::protobuf::Arena* arena) const {
6444
0
  SysUDTypeEntryPB* n = new SysUDTypeEntryPB;
6445
0
  if (arena != NULL) {
6446
0
    arena->Own(n);
6447
0
  }
6448
0
  return n;
6449
0
}
6450
6451
2
void SysUDTypeEntryPB::Clear() {
6452
// @@protoc_insertion_point(message_clear_start:yb.master.SysUDTypeEntryPB)
6453
2
  ::google::protobuf::uint32 cached_has_bits = 0;
6454
  // Prevent compiler warnings about cached_has_bits being unused
6455
2
  (void) cached_has_bits;
6456
6457
2
  field_names_.Clear();
6458
2
  field_types_.Clear();
6459
2
  cached_has_bits = _has_bits_[0];
6460
2
  if (cached_has_bits & 3u) {
6461
0
    if (cached_has_bits & 0x00000001u) {
6462
0
      GOOGLE_DCHECK(!namespace_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
6463
0
      (*namespace_id_.UnsafeRawStringPointer())->clear();
6464
0
    }
6465
0
    if (cached_has_bits & 0x00000002u) {
6466
0
      GOOGLE_DCHECK(!name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
6467
0
      (*name_.UnsafeRawStringPointer())->clear();
6468
0
    }
6469
0
  }
6470
2
  _has_bits_.Clear();
6471
2
  _internal_metadata_.Clear();
6472
2
}
6473
6474
bool SysUDTypeEntryPB::MergePartialFromCodedStream(
6475
1
    ::google::protobuf::io::CodedInputStream* input) {
6476
2
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
6477
1
  ::google::protobuf::uint32 tag;
6478
  // @@protoc_insertion_point(parse_start:yb.master.SysUDTypeEntryPB)
6479
3
  for (;;) {
6480
3
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6481
3
    tag = p.first;
6482
3
    if (!p.second) 
goto handle_unusual1
;
6483
2
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6484
      // optional string namespace_id = 1;
6485
1
      case 1: {
6486
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6487
1
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
6488
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
6489
1
                input, this->mutable_namespace_id()));
6490
1
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6491
1
            this->namespace_id().data(), static_cast<int>(this->namespace_id().length()),
6492
1
            ::google::protobuf::internal::WireFormat::PARSE,
6493
1
            "yb.master.SysUDTypeEntryPB.namespace_id");
6494
1
        } else {
6495
0
          goto handle_unusual;
6496
0
        }
6497
1
        break;
6498
1
      }
6499
6500
      // optional string name = 2;
6501
1
      case 2: {
6502
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6503
1
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
6504
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
6505
1
                input, this->mutable_name()));
6506
1
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6507
1
            this->name().data(), static_cast<int>(this->name().length()),
6508
1
            ::google::protobuf::internal::WireFormat::PARSE,
6509
1
            "yb.master.SysUDTypeEntryPB.name");
6510
1
        } else {
6511
0
          goto handle_unusual;
6512
0
        }
6513
1
        break;
6514
1
      }
6515
6516
      // repeated string field_names = 3;
6517
1
      case 3: {
6518
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6519
0
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
6520
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
6521
0
                input, this->add_field_names()));
6522
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6523
0
            this->field_names(this->field_names_size() - 1).data(),
6524
0
            static_cast<int>(this->field_names(this->field_names_size() - 1).length()),
6525
0
            ::google::protobuf::internal::WireFormat::PARSE,
6526
0
            "yb.master.SysUDTypeEntryPB.field_names");
6527
0
        } else {
6528
0
          goto handle_unusual;
6529
0
        }
6530
0
        break;
6531
0
      }
6532
6533
      // repeated .yb.QLTypePB field_types = 4;
6534
0
      case 4: {
6535
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6536
0
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
6537
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_field_types()));
6538
0
        } else {
6539
0
          goto handle_unusual;
6540
0
        }
6541
0
        break;
6542
0
      }
6543
6544
0
      default: {
6545
1
      handle_unusual:
6546
1
        if (tag == 0) {
6547
1
          goto success;
6548
1
        }
6549
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
6550
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
6551
0
        break;
6552
0
      }
6553
2
    }
6554
2
  }
6555
1
success:
6556
  // @@protoc_insertion_point(parse_success:yb.master.SysUDTypeEntryPB)
6557
1
  return true;
6558
0
failure:
6559
  // @@protoc_insertion_point(parse_failure:yb.master.SysUDTypeEntryPB)
6560
0
  return false;
6561
1
#undef DO_
6562
1
}
6563
6564
void SysUDTypeEntryPB::SerializeWithCachedSizes(
6565
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6566
  // @@protoc_insertion_point(serialize_start:yb.master.SysUDTypeEntryPB)
6567
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6568
0
  (void) cached_has_bits;
6569
6570
0
  cached_has_bits = _has_bits_[0];
6571
  // optional string namespace_id = 1;
6572
0
  if (cached_has_bits & 0x00000001u) {
6573
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6574
0
      this->namespace_id().data(), static_cast<int>(this->namespace_id().length()),
6575
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
6576
0
      "yb.master.SysUDTypeEntryPB.namespace_id");
6577
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
6578
0
      1, this->namespace_id(), output);
6579
0
  }
6580
6581
  // optional string name = 2;
6582
0
  if (cached_has_bits & 0x00000002u) {
6583
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6584
0
      this->name().data(), static_cast<int>(this->name().length()),
6585
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
6586
0
      "yb.master.SysUDTypeEntryPB.name");
6587
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
6588
0
      2, this->name(), output);
6589
0
  }
6590
6591
  // repeated string field_names = 3;
6592
0
  for (int i = 0, n = this->field_names_size(); i < n; i++) {
6593
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6594
0
      this->field_names(i).data(), static_cast<int>(this->field_names(i).length()),
6595
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
6596
0
      "yb.master.SysUDTypeEntryPB.field_names");
6597
0
    ::google::protobuf::internal::WireFormatLite::WriteString(
6598
0
      3, this->field_names(i), output);
6599
0
  }
6600
6601
  // repeated .yb.QLTypePB field_types = 4;
6602
0
  for (unsigned int i = 0,
6603
0
      n = static_cast<unsigned int>(this->field_types_size()); i < n; i++) {
6604
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6605
0
      4, this->field_types(static_cast<int>(i)), output);
6606
0
  }
6607
6608
0
  if (_internal_metadata_.have_unknown_fields()) {
6609
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6610
0
        _internal_metadata_.unknown_fields(), output);
6611
0
  }
6612
  // @@protoc_insertion_point(serialize_end:yb.master.SysUDTypeEntryPB)
6613
0
}
6614
6615
::google::protobuf::uint8* SysUDTypeEntryPB::InternalSerializeWithCachedSizesToArray(
6616
47
    bool deterministic, ::google::protobuf::uint8* target) const {
6617
47
  (void)deterministic; // Unused
6618
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SysUDTypeEntryPB)
6619
47
  ::google::protobuf::uint32 cached_has_bits = 0;
6620
47
  (void) cached_has_bits;
6621
6622
47
  cached_has_bits = _has_bits_[0];
6623
  // optional string namespace_id = 1;
6624
47
  if (cached_has_bits & 0x00000001u) {
6625
47
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6626
47
      this->namespace_id().data(), static_cast<int>(this->namespace_id().length()),
6627
47
      ::google::protobuf::internal::WireFormat::SERIALIZE,
6628
47
      "yb.master.SysUDTypeEntryPB.namespace_id");
6629
47
    target =
6630
47
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
6631
47
        1, this->namespace_id(), target);
6632
47
  }
6633
6634
  // optional string name = 2;
6635
47
  if (cached_has_bits & 0x00000002u) {
6636
47
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6637
47
      this->name().data(), static_cast<int>(this->name().length()),
6638
47
      ::google::protobuf::internal::WireFormat::SERIALIZE,
6639
47
      "yb.master.SysUDTypeEntryPB.name");
6640
47
    target =
6641
47
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
6642
47
        2, this->name(), target);
6643
47
  }
6644
6645
  // repeated string field_names = 3;
6646
135
  for (int i = 0, n = this->field_names_size(); i < n; 
i++88
) {
6647
88
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6648
88
      this->field_names(i).data(), static_cast<int>(this->field_names(i).length()),
6649
88
      ::google::protobuf::internal::WireFormat::SERIALIZE,
6650
88
      "yb.master.SysUDTypeEntryPB.field_names");
6651
88
    target = ::google::protobuf::internal::WireFormatLite::
6652
88
      WriteStringToArray(3, this->field_names(i), target);
6653
88
  }
6654
6655
  // repeated .yb.QLTypePB field_types = 4;
6656
47
  for (unsigned int i = 0,
6657
135
      n = static_cast<unsigned int>(this->field_types_size()); i < n; 
i++88
) {
6658
88
    target = ::google::protobuf::internal::WireFormatLite::
6659
88
      InternalWriteMessageToArray(
6660
88
        4, this->field_types(static_cast<int>(i)), deterministic, target);
6661
88
  }
6662
6663
47
  if (_internal_metadata_.have_unknown_fields()) {
6664
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6665
0
        _internal_metadata_.unknown_fields(), target);
6666
0
  }
6667
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SysUDTypeEntryPB)
6668
47
  return target;
6669
47
}
6670
6671
47
size_t SysUDTypeEntryPB::ByteSizeLong() const {
6672
// @@protoc_insertion_point(message_byte_size_start:yb.master.SysUDTypeEntryPB)
6673
47
  size_t total_size = 0;
6674
6675
47
  if (_internal_metadata_.have_unknown_fields()) {
6676
0
    total_size +=
6677
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6678
0
        _internal_metadata_.unknown_fields());
6679
0
  }
6680
  // repeated string field_names = 3;
6681
47
  total_size += 1 *
6682
47
      ::google::protobuf::internal::FromIntSize(this->field_names_size());
6683
135
  for (int i = 0, n = this->field_names_size(); i < n; 
i++88
) {
6684
88
    total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
6685
88
      this->field_names(i));
6686
88
  }
6687
6688
  // repeated .yb.QLTypePB field_types = 4;
6689
47
  {
6690
47
    unsigned int count = static_cast<unsigned int>(this->field_types_size());
6691
47
    total_size += 1UL * count;
6692
135
    for (unsigned int i = 0; i < count; 
i++88
) {
6693
88
      total_size +=
6694
88
        ::google::protobuf::internal::WireFormatLite::MessageSize(
6695
88
          this->field_types(static_cast<int>(i)));
6696
88
    }
6697
47
  }
6698
6699
47
  if (_has_bits_[0 / 32] & 3u) {
6700
    // optional string namespace_id = 1;
6701
47
    if (has_namespace_id()) {
6702
47
      total_size += 1 +
6703
47
        ::google::protobuf::internal::WireFormatLite::StringSize(
6704
47
          this->namespace_id());
6705
47
    }
6706
6707
    // optional string name = 2;
6708
47
    if (has_name()) {
6709
47
      total_size += 1 +
6710
47
        ::google::protobuf::internal::WireFormatLite::StringSize(
6711
47
          this->name());
6712
47
    }
6713
6714
47
  }
6715
47
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6716
47
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6717
47
  _cached_size_ = cached_size;
6718
47
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6719
47
  return total_size;
6720
47
}
6721
6722
0
void SysUDTypeEntryPB::MergeFrom(const ::google::protobuf::Message& from) {
6723
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SysUDTypeEntryPB)
6724
0
  GOOGLE_DCHECK_NE(&from, this);
6725
0
  const SysUDTypeEntryPB* source =
6726
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SysUDTypeEntryPB>(
6727
0
          &from);
6728
0
  if (source == NULL) {
6729
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SysUDTypeEntryPB)
6730
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6731
0
  } else {
6732
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SysUDTypeEntryPB)
6733
0
    MergeFrom(*source);
6734
0
  }
6735
0
}
6736
6737
1
void SysUDTypeEntryPB::MergeFrom(const SysUDTypeEntryPB& from) {
6738
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SysUDTypeEntryPB)
6739
1
  GOOGLE_DCHECK_NE(&from, this);
6740
1
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6741
1
  ::google::protobuf::uint32 cached_has_bits = 0;
6742
1
  (void) cached_has_bits;
6743
6744
1
  field_names_.MergeFrom(from.field_names_);
6745
1
  field_types_.MergeFrom(from.field_types_);
6746
1
  cached_has_bits = from._has_bits_[0];
6747
1
  if (cached_has_bits & 3u) {
6748
1
    if (cached_has_bits & 0x00000001u) {
6749
1
      set_has_namespace_id();
6750
1
      namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_id_);
6751
1
    }
6752
1
    if (cached_has_bits & 0x00000002u) {
6753
1
      set_has_name();
6754
1
      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
6755
1
    }
6756
1
  }
6757
1
}
6758
6759
0
void SysUDTypeEntryPB::CopyFrom(const ::google::protobuf::Message& from) {
6760
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SysUDTypeEntryPB)
6761
0
  if (&from == this) return;
6762
0
  Clear();
6763
0
  MergeFrom(from);
6764
0
}
6765
6766
1
void SysUDTypeEntryPB::CopyFrom(const SysUDTypeEntryPB& from) {
6767
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SysUDTypeEntryPB)
6768
1
  if (&from == this) 
return0
;
6769
1
  Clear();
6770
1
  MergeFrom(from);
6771
1
}
6772
6773
48
bool SysUDTypeEntryPB::IsInitialized() const {
6774
48
  return true;
6775
48
}
6776
6777
0
void SysUDTypeEntryPB::Swap(SysUDTypeEntryPB* other) {
6778
0
  if (other == this) return;
6779
0
  InternalSwap(other);
6780
0
}
6781
282
void SysUDTypeEntryPB::InternalSwap(SysUDTypeEntryPB* other) {
6782
282
  using std::swap;
6783
282
  field_names_.InternalSwap(&other->field_names_);
6784
282
  field_types_.InternalSwap(&other->field_types_);
6785
282
  namespace_id_.Swap(&other->namespace_id_);
6786
282
  name_.Swap(&other->name_);
6787
282
  swap(_has_bits_[0], other->_has_bits_[0]);
6788
282
  _internal_metadata_.Swap(&other->_internal_metadata_);
6789
282
  swap(_cached_size_, other->_cached_size_);
6790
282
}
6791
6792
662
::google::protobuf::Metadata SysUDTypeEntryPB::GetMetadata() const {
6793
662
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
6794
662
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
6795
662
}
6796
6797
6798
// ===================================================================
6799
6800
26.8k
void BlacklistPB::InitAsDefaultInstance() {
6801
26.8k
}
6802
2
void BlacklistPB::clear_hosts() {
6803
2
  hosts_.Clear();
6804
2
}
6805
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6806
const int BlacklistPB::kHostsFieldNumber;
6807
const int BlacklistPB::kInitialReplicaLoadFieldNumber;
6808
const int BlacklistPB::kInitialLeaderLoadFieldNumber;
6809
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6810
6811
BlacklistPB::BlacklistPB()
6812
1.84M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6813
1.84M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6814
1.82M
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsBlacklistPB();
6815
1.82M
  }
6816
1.84M
  SharedCtor();
6817
  // @@protoc_insertion_point(constructor:yb.master.BlacklistPB)
6818
1.84M
}
6819
BlacklistPB::BlacklistPB(const BlacklistPB& from)
6820
  : ::google::protobuf::Message(),
6821
      _internal_metadata_(NULL),
6822
      _has_bits_(from._has_bits_),
6823
      _cached_size_(0),
6824
81
      hosts_(from.hosts_) {
6825
81
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6826
81
  ::memcpy(&initial_replica_load_, &from.initial_replica_load_,
6827
81
    static_cast<size_t>(reinterpret_cast<char*>(&initial_leader_load_) -
6828
81
    reinterpret_cast<char*>(&initial_replica_load_)) + sizeof(initial_leader_load_));
6829
  // @@protoc_insertion_point(copy_constructor:yb.master.BlacklistPB)
6830
81
}
6831
6832
1.84M
void BlacklistPB::SharedCtor() {
6833
1.84M
  _cached_size_ = 0;
6834
1.84M
  ::memset(&initial_replica_load_, 0, static_cast<size_t>(
6835
1.84M
      reinterpret_cast<char*>(&initial_leader_load_) -
6836
1.84M
      reinterpret_cast<char*>(&initial_replica_load_)) + sizeof(initial_leader_load_));
6837
1.84M
}
6838
6839
1.81M
BlacklistPB::~BlacklistPB() {
6840
  // @@protoc_insertion_point(destructor:yb.master.BlacklistPB)
6841
1.81M
  SharedDtor();
6842
1.81M
}
6843
6844
1.81M
void BlacklistPB::SharedDtor() {
6845
1.81M
}
6846
6847
0
void BlacklistPB::SetCachedSize(int size) const {
6848
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6849
0
  _cached_size_ = size;
6850
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6851
0
}
6852
0
const ::google::protobuf::Descriptor* BlacklistPB::descriptor() {
6853
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
6854
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6855
0
}
6856
6857
0
const BlacklistPB& BlacklistPB::default_instance() {
6858
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsBlacklistPB();
6859
0
  return *internal_default_instance();
6860
0
}
6861
6862
0
BlacklistPB* BlacklistPB::New(::google::protobuf::Arena* arena) const {
6863
0
  BlacklistPB* n = new BlacklistPB;
6864
0
  if (arena != NULL) {
6865
0
    arena->Own(n);
6866
0
  }
6867
0
  return n;
6868
0
}
6869
6870
1.78M
void BlacklistPB::Clear() {
6871
// @@protoc_insertion_point(message_clear_start:yb.master.BlacklistPB)
6872
1.78M
  ::google::protobuf::uint32 cached_has_bits = 0;
6873
  // Prevent compiler warnings about cached_has_bits being unused
6874
1.78M
  (void) cached_has_bits;
6875
6876
1.78M
  hosts_.Clear();
6877
1.78M
  cached_has_bits = _has_bits_[0];
6878
1.78M
  if (cached_has_bits & 3u) {
6879
25
    ::memset(&initial_replica_load_, 0, static_cast<size_t>(
6880
25
        reinterpret_cast<char*>(&initial_leader_load_) -
6881
25
        reinterpret_cast<char*>(&initial_replica_load_)) + sizeof(initial_leader_load_));
6882
25
  }
6883
1.78M
  _has_bits_.Clear();
6884
1.78M
  _internal_metadata_.Clear();
6885
1.78M
}
6886
6887
bool BlacklistPB::MergePartialFromCodedStream(
6888
65
    ::google::protobuf::io::CodedInputStream* input) {
6889
113
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
6890
65
  ::google::protobuf::uint32 tag;
6891
  // @@protoc_insertion_point(parse_start:yb.master.BlacklistPB)
6892
178
  for (;;) {
6893
178
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6894
178
    tag = p.first;
6895
178
    if (!p.second) 
goto handle_unusual65
;
6896
113
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6897
      // repeated .yb.HostPortPB hosts = 1;
6898
89
      case 1: {
6899
89
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6900
89
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
6901
89
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_hosts()));
6902
89
        } else {
6903
0
          goto handle_unusual;
6904
0
        }
6905
89
        break;
6906
89
      }
6907
6908
      // optional int32 initial_replica_load = 2;
6909
89
      case 2: {
6910
16
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6911
16
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
6912
16
          set_has_initial_replica_load();
6913
16
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6914
16
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
6915
16
                 input, &initial_replica_load_)));
6916
16
        } else {
6917
0
          goto handle_unusual;
6918
0
        }
6919
16
        break;
6920
16
      }
6921
6922
      // optional int32 initial_leader_load = 3;
6923
16
      case 3: {
6924
8
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6925
8
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
6926
8
          set_has_initial_leader_load();
6927
8
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6928
8
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
6929
8
                 input, &initial_leader_load_)));
6930
8
        } else {
6931
0
          goto handle_unusual;
6932
0
        }
6933
8
        break;
6934
8
      }
6935
6936
8
      default: {
6937
65
      handle_unusual:
6938
65
        if (tag == 0) {
6939
65
          goto success;
6940
65
        }
6941
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
6942
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
6943
0
        break;
6944
0
      }
6945
113
    }
6946
113
  }
6947
65
success:
6948
  // @@protoc_insertion_point(parse_success:yb.master.BlacklistPB)
6949
65
  return true;
6950
0
failure:
6951
  // @@protoc_insertion_point(parse_failure:yb.master.BlacklistPB)
6952
0
  return false;
6953
65
#undef DO_
6954
65
}
6955
6956
void BlacklistPB::SerializeWithCachedSizes(
6957
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6958
  // @@protoc_insertion_point(serialize_start:yb.master.BlacklistPB)
6959
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6960
0
  (void) cached_has_bits;
6961
6962
  // repeated .yb.HostPortPB hosts = 1;
6963
0
  for (unsigned int i = 0,
6964
0
      n = static_cast<unsigned int>(this->hosts_size()); i < n; i++) {
6965
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6966
0
      1, this->hosts(static_cast<int>(i)), output);
6967
0
  }
6968
6969
0
  cached_has_bits = _has_bits_[0];
6970
  // optional int32 initial_replica_load = 2;
6971
0
  if (cached_has_bits & 0x00000001u) {
6972
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->initial_replica_load(), output);
6973
0
  }
6974
6975
  // optional int32 initial_leader_load = 3;
6976
0
  if (cached_has_bits & 0x00000002u) {
6977
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->initial_leader_load(), output);
6978
0
  }
6979
6980
0
  if (_internal_metadata_.have_unknown_fields()) {
6981
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6982
0
        _internal_metadata_.unknown_fields(), output);
6983
0
  }
6984
  // @@protoc_insertion_point(serialize_end:yb.master.BlacklistPB)
6985
0
}
6986
6987
::google::protobuf::uint8* BlacklistPB::InternalSerializeWithCachedSizesToArray(
6988
133
    bool deterministic, ::google::protobuf::uint8* target) const {
6989
133
  (void)deterministic; // Unused
6990
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.BlacklistPB)
6991
133
  ::google::protobuf::uint32 cached_has_bits = 0;
6992
133
  (void) cached_has_bits;
6993
6994
  // repeated .yb.HostPortPB hosts = 1;
6995
133
  for (unsigned int i = 0,
6996
295
      n = static_cast<unsigned int>(this->hosts_size()); i < n; 
i++162
) {
6997
162
    target = ::google::protobuf::internal::WireFormatLite::
6998
162
      InternalWriteMessageToArray(
6999
162
        1, this->hosts(static_cast<int>(i)), deterministic, target);
7000
162
  }
7001
7002
133
  cached_has_bits = _has_bits_[0];
7003
  // optional int32 initial_replica_load = 2;
7004
133
  if (cached_has_bits & 0x00000001u) {
7005
64
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->initial_replica_load(), target);
7006
64
  }
7007
7008
  // optional int32 initial_leader_load = 3;
7009
133
  if (cached_has_bits & 0x00000002u) {
7010
60
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->initial_leader_load(), target);
7011
60
  }
7012
7013
133
  if (_internal_metadata_.have_unknown_fields()) {
7014
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7015
0
        _internal_metadata_.unknown_fields(), target);
7016
0
  }
7017
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.BlacklistPB)
7018
133
  return target;
7019
133
}
7020
7021
215
size_t BlacklistPB::ByteSizeLong() const {
7022
// @@protoc_insertion_point(message_byte_size_start:yb.master.BlacklistPB)
7023
215
  size_t total_size = 0;
7024
7025
215
  if (_internal_metadata_.have_unknown_fields()) {
7026
0
    total_size +=
7027
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7028
0
        _internal_metadata_.unknown_fields());
7029
0
  }
7030
  // repeated .yb.HostPortPB hosts = 1;
7031
215
  {
7032
215
    unsigned int count = static_cast<unsigned int>(this->hosts_size());
7033
215
    total_size += 1UL * count;
7034
473
    for (unsigned int i = 0; i < count; 
i++258
) {
7035
258
      total_size +=
7036
258
        ::google::protobuf::internal::WireFormatLite::MessageSize(
7037
258
          this->hosts(static_cast<int>(i)));
7038
258
    }
7039
215
  }
7040
7041
215
  if (_has_bits_[0 / 32] & 3u) {
7042
    // optional int32 initial_replica_load = 2;
7043
197
    if (has_initial_replica_load()) {
7044
99
      total_size += 1 +
7045
99
        ::google::protobuf::internal::WireFormatLite::Int32Size(
7046
99
          this->initial_replica_load());
7047
99
    }
7048
7049
    // optional int32 initial_leader_load = 3;
7050
197
    if (has_initial_leader_load()) {
7051
98
      total_size += 1 +
7052
98
        ::google::protobuf::internal::WireFormatLite::Int32Size(
7053
98
          this->initial_leader_load());
7054
98
    }
7055
7056
197
  }
7057
215
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7058
215
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7059
215
  _cached_size_ = cached_size;
7060
215
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7061
215
  return total_size;
7062
215
}
7063
7064
0
void BlacklistPB::MergeFrom(const ::google::protobuf::Message& from) {
7065
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.BlacklistPB)
7066
0
  GOOGLE_DCHECK_NE(&from, this);
7067
0
  const BlacklistPB* source =
7068
0
      ::google::protobuf::internal::DynamicCastToGenerated<const BlacklistPB>(
7069
0
          &from);
7070
0
  if (source == NULL) {
7071
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.BlacklistPB)
7072
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7073
0
  } else {
7074
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.BlacklistPB)
7075
0
    MergeFrom(*source);
7076
0
  }
7077
0
}
7078
7079
1.82M
void BlacklistPB::MergeFrom(const BlacklistPB& from) {
7080
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.BlacklistPB)
7081
1.82M
  GOOGLE_DCHECK_NE(&from, this);
7082
1.82M
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7083
1.82M
  ::google::protobuf::uint32 cached_has_bits = 0;
7084
1.82M
  (void) cached_has_bits;
7085
7086
1.82M
  hosts_.MergeFrom(from.hosts_);
7087
1.82M
  cached_has_bits = from._has_bits_[0];
7088
1.82M
  if (cached_has_bits & 3u) {
7089
45.3k
    if (cached_has_bits & 0x00000001u) {
7090
37.8k
      initial_replica_load_ = from.initial_replica_load_;
7091
37.8k
    }
7092
45.3k
    if (cached_has_bits & 0x00000002u) {
7093
7.49k
      initial_leader_load_ = from.initial_leader_load_;
7094
7.49k
    }
7095
45.3k
    _has_bits_[0] |= cached_has_bits;
7096
45.3k
  }
7097
1.82M
}
7098
7099
0
void BlacklistPB::CopyFrom(const ::google::protobuf::Message& from) {
7100
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.BlacklistPB)
7101
0
  if (&from == this) return;
7102
0
  Clear();
7103
0
  MergeFrom(from);
7104
0
}
7105
7106
1.78M
void BlacklistPB::CopyFrom(const BlacklistPB& from) {
7107
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.BlacklistPB)
7108
1.78M
  if (&from == this) 
return0
;
7109
1.78M
  Clear();
7110
1.78M
  MergeFrom(from);
7111
1.78M
}
7112
7113
198
bool BlacklistPB::IsInitialized() const {
7114
198
  if (!::google::protobuf::internal::AllAreInitialized(this->hosts())) 
return false0
;
7115
198
  return true;
7116
198
}
7117
7118
0
void BlacklistPB::Swap(BlacklistPB* other) {
7119
0
  if (other == this) return;
7120
0
  InternalSwap(other);
7121
0
}
7122
0
void BlacklistPB::InternalSwap(BlacklistPB* other) {
7123
0
  using std::swap;
7124
0
  hosts_.InternalSwap(&other->hosts_);
7125
0
  swap(initial_replica_load_, other->initial_replica_load_);
7126
0
  swap(initial_leader_load_, other->initial_leader_load_);
7127
0
  swap(_has_bits_[0], other->_has_bits_[0]);
7128
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7129
0
  swap(_cached_size_, other->_cached_size_);
7130
0
}
7131
7132
49
::google::protobuf::Metadata BlacklistPB::GetMetadata() const {
7133
49
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
7134
49
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
7135
49
}
7136
7137
7138
// ===================================================================
7139
7140
26.8k
void EncryptionInfoPB::InitAsDefaultInstance() {
7141
26.8k
}
7142
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7143
const int EncryptionInfoPB::kEncryptionEnabledFieldNumber;
7144
const int EncryptionInfoPB::kUniverseKeyRegistryEncodedFieldNumber;
7145
const int EncryptionInfoPB::kKeyPathFieldNumber;
7146
const int EncryptionInfoPB::kLatestVersionIdFieldNumber;
7147
const int EncryptionInfoPB::kKeyInMemoryFieldNumber;
7148
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7149
7150
EncryptionInfoPB::EncryptionInfoPB()
7151
220k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7152
220k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7153
193k
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsEncryptionInfoPB();
7154
193k
  }
7155
220k
  SharedCtor();
7156
  // @@protoc_insertion_point(constructor:yb.master.EncryptionInfoPB)
7157
220k
}
7158
EncryptionInfoPB::EncryptionInfoPB(const EncryptionInfoPB& from)
7159
  : ::google::protobuf::Message(),
7160
      _internal_metadata_(NULL),
7161
      _has_bits_(from._has_bits_),
7162
3
      _cached_size_(0) {
7163
3
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7164
3
  universe_key_registry_encoded_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7165
3
  if (from.has_universe_key_registry_encoded()) {
7166
3
    universe_key_registry_encoded_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.universe_key_registry_encoded_);
7167
3
  }
7168
3
  key_path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7169
3
  if (from.has_key_path()) {
7170
0
    key_path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_path_);
7171
0
  }
7172
3
  latest_version_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7173
3
  if (from.has_latest_version_id()) {
7174
3
    latest_version_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.latest_version_id_);
7175
3
  }
7176
3
  ::memcpy(&encryption_enabled_, &from.encryption_enabled_,
7177
3
    static_cast<size_t>(reinterpret_cast<char*>(&key_in_memory_) -
7178
3
    reinterpret_cast<char*>(&encryption_enabled_)) + sizeof(key_in_memory_));
7179
  // @@protoc_insertion_point(copy_constructor:yb.master.EncryptionInfoPB)
7180
3
}
7181
7182
220k
void EncryptionInfoPB::SharedCtor() {
7183
220k
  _cached_size_ = 0;
7184
220k
  universe_key_registry_encoded_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7185
220k
  key_path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7186
220k
  latest_version_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7187
220k
  ::memset(&encryption_enabled_, 0, static_cast<size_t>(
7188
220k
      reinterpret_cast<char*>(&key_in_memory_) -
7189
220k
      reinterpret_cast<char*>(&encryption_enabled_)) + sizeof(key_in_memory_));
7190
220k
}
7191
7192
193k
EncryptionInfoPB::~EncryptionInfoPB() {
7193
  // @@protoc_insertion_point(destructor:yb.master.EncryptionInfoPB)
7194
193k
  SharedDtor();
7195
193k
}
7196
7197
193k
void EncryptionInfoPB::SharedDtor() {
7198
193k
  universe_key_registry_encoded_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7199
193k
  key_path_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7200
193k
  latest_version_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7201
193k
}
7202
7203
0
void EncryptionInfoPB::SetCachedSize(int size) const {
7204
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7205
0
  _cached_size_ = size;
7206
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7207
0
}
7208
0
const ::google::protobuf::Descriptor* EncryptionInfoPB::descriptor() {
7209
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
7210
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7211
0
}
7212
7213
0
const EncryptionInfoPB& EncryptionInfoPB::default_instance() {
7214
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsEncryptionInfoPB();
7215
0
  return *internal_default_instance();
7216
0
}
7217
7218
0
EncryptionInfoPB* EncryptionInfoPB::New(::google::protobuf::Arena* arena) const {
7219
0
  EncryptionInfoPB* n = new EncryptionInfoPB;
7220
0
  if (arena != NULL) {
7221
0
    arena->Own(n);
7222
0
  }
7223
0
  return n;
7224
0
}
7225
7226
0
void EncryptionInfoPB::Clear() {
7227
// @@protoc_insertion_point(message_clear_start:yb.master.EncryptionInfoPB)
7228
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7229
  // Prevent compiler warnings about cached_has_bits being unused
7230
0
  (void) cached_has_bits;
7231
7232
0
  cached_has_bits = _has_bits_[0];
7233
0
  if (cached_has_bits & 7u) {
7234
0
    if (cached_has_bits & 0x00000001u) {
7235
0
      GOOGLE_DCHECK(!universe_key_registry_encoded_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
7236
0
      (*universe_key_registry_encoded_.UnsafeRawStringPointer())->clear();
7237
0
    }
7238
0
    if (cached_has_bits & 0x00000002u) {
7239
0
      GOOGLE_DCHECK(!key_path_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
7240
0
      (*key_path_.UnsafeRawStringPointer())->clear();
7241
0
    }
7242
0
    if (cached_has_bits & 0x00000004u) {
7243
0
      GOOGLE_DCHECK(!latest_version_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
7244
0
      (*latest_version_id_.UnsafeRawStringPointer())->clear();
7245
0
    }
7246
0
  }
7247
0
  ::memset(&encryption_enabled_, 0, static_cast<size_t>(
7248
0
      reinterpret_cast<char*>(&key_in_memory_) -
7249
0
      reinterpret_cast<char*>(&encryption_enabled_)) + sizeof(key_in_memory_));
7250
0
  _has_bits_.Clear();
7251
0
  _internal_metadata_.Clear();
7252
0
}
7253
7254
bool EncryptionInfoPB::MergePartialFromCodedStream(
7255
15
    ::google::protobuf::io::CodedInputStream* input) {
7256
60
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
7257
15
  ::google::protobuf::uint32 tag;
7258
  // @@protoc_insertion_point(parse_start:yb.master.EncryptionInfoPB)
7259
75
  for (;;) {
7260
75
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7261
75
    tag = p.first;
7262
75
    if (!p.second) 
goto handle_unusual15
;
7263
60
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7264
      // optional bool encryption_enabled = 1;
7265
15
      case 1: {
7266
15
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7267
15
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
7268
15
          set_has_encryption_enabled();
7269
15
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7270
15
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
7271
15
                 input, &encryption_enabled_)));
7272
15
        } else {
7273
0
          goto handle_unusual;
7274
0
        }
7275
15
        break;
7276
15
      }
7277
7278
      // optional bytes universe_key_registry_encoded = 2;
7279
15
      case 2: {
7280
15
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7281
15
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
7282
15
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
7283
15
                input, this->mutable_universe_key_registry_encoded()));
7284
15
        } else {
7285
0
          goto handle_unusual;
7286
0
        }
7287
15
        break;
7288
15
      }
7289
7290
      // optional string key_path = 3;
7291
15
      case 3: {
7292
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7293
0
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
7294
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
7295
0
                input, this->mutable_key_path()));
7296
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7297
0
            this->key_path().data(), static_cast<int>(this->key_path().length()),
7298
0
            ::google::protobuf::internal::WireFormat::PARSE,
7299
0
            "yb.master.EncryptionInfoPB.key_path");
7300
0
        } else {
7301
0
          goto handle_unusual;
7302
0
        }
7303
0
        break;
7304
0
      }
7305
7306
      // optional string latest_version_id = 4;
7307
15
      case 4: {
7308
15
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7309
15
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
7310
15
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
7311
15
                input, this->mutable_latest_version_id()));
7312
15
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7313
15
            this->latest_version_id().data(), static_cast<int>(this->latest_version_id().length()),
7314
15
            ::google::protobuf::internal::WireFormat::PARSE,
7315
15
            "yb.master.EncryptionInfoPB.latest_version_id");
7316
15
        } else {
7317
0
          goto handle_unusual;
7318
0
        }
7319
15
        break;
7320
15
      }
7321
7322
      // optional bool key_in_memory = 5;
7323
15
      case 5: {
7324
15
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7325
15
            static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
7326
15
          set_has_key_in_memory();
7327
15
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7328
15
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
7329
15
                 input, &key_in_memory_)));
7330
15
        } else {
7331
0
          goto handle_unusual;
7332
0
        }
7333
15
        break;
7334
15
      }
7335
7336
15
      default: {
7337
15
      handle_unusual:
7338
15
        if (tag == 0) {
7339
15
          goto success;
7340
15
        }
7341
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
7342
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
7343
0
        break;
7344
0
      }
7345
60
    }
7346
60
  }
7347
15
success:
7348
  // @@protoc_insertion_point(parse_success:yb.master.EncryptionInfoPB)
7349
15
  return true;
7350
0
failure:
7351
  // @@protoc_insertion_point(parse_failure:yb.master.EncryptionInfoPB)
7352
0
  return false;
7353
15
#undef DO_
7354
15
}
7355
7356
void EncryptionInfoPB::SerializeWithCachedSizes(
7357
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7358
  // @@protoc_insertion_point(serialize_start:yb.master.EncryptionInfoPB)
7359
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7360
0
  (void) cached_has_bits;
7361
7362
0
  cached_has_bits = _has_bits_[0];
7363
  // optional bool encryption_enabled = 1;
7364
0
  if (cached_has_bits & 0x00000008u) {
7365
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->encryption_enabled(), output);
7366
0
  }
7367
7368
  // optional bytes universe_key_registry_encoded = 2;
7369
0
  if (cached_has_bits & 0x00000001u) {
7370
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
7371
0
      2, this->universe_key_registry_encoded(), output);
7372
0
  }
7373
7374
  // optional string key_path = 3;
7375
0
  if (cached_has_bits & 0x00000002u) {
7376
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7377
0
      this->key_path().data(), static_cast<int>(this->key_path().length()),
7378
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
7379
0
      "yb.master.EncryptionInfoPB.key_path");
7380
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
7381
0
      3, this->key_path(), output);
7382
0
  }
7383
7384
  // optional string latest_version_id = 4;
7385
0
  if (cached_has_bits & 0x00000004u) {
7386
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7387
0
      this->latest_version_id().data(), static_cast<int>(this->latest_version_id().length()),
7388
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
7389
0
      "yb.master.EncryptionInfoPB.latest_version_id");
7390
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
7391
0
      4, this->latest_version_id(), output);
7392
0
  }
7393
7394
  // optional bool key_in_memory = 5;
7395
0
  if (cached_has_bits & 0x00000010u) {
7396
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->key_in_memory(), output);
7397
0
  }
7398
7399
0
  if (_internal_metadata_.have_unknown_fields()) {
7400
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7401
0
        _internal_metadata_.unknown_fields(), output);
7402
0
  }
7403
  // @@protoc_insertion_point(serialize_end:yb.master.EncryptionInfoPB)
7404
0
}
7405
7406
::google::protobuf::uint8* EncryptionInfoPB::InternalSerializeWithCachedSizesToArray(
7407
17
    bool deterministic, ::google::protobuf::uint8* target) const {
7408
17
  (void)deterministic; // Unused
7409
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.EncryptionInfoPB)
7410
17
  ::google::protobuf::uint32 cached_has_bits = 0;
7411
17
  (void) cached_has_bits;
7412
7413
17
  cached_has_bits = _has_bits_[0];
7414
  // optional bool encryption_enabled = 1;
7415
17
  if (cached_has_bits & 0x00000008u) {
7416
17
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->encryption_enabled(), target);
7417
17
  }
7418
7419
  // optional bytes universe_key_registry_encoded = 2;
7420
17
  if (cached_has_bits & 0x00000001u) {
7421
17
    target =
7422
17
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
7423
17
        2, this->universe_key_registry_encoded(), target);
7424
17
  }
7425
7426
  // optional string key_path = 3;
7427
17
  if (cached_has_bits & 0x00000002u) {
7428
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7429
0
      this->key_path().data(), static_cast<int>(this->key_path().length()),
7430
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
7431
0
      "yb.master.EncryptionInfoPB.key_path");
7432
0
    target =
7433
0
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
7434
0
        3, this->key_path(), target);
7435
0
  }
7436
7437
  // optional string latest_version_id = 4;
7438
17
  if (cached_has_bits & 0x00000004u) {
7439
17
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7440
17
      this->latest_version_id().data(), static_cast<int>(this->latest_version_id().length()),
7441
17
      ::google::protobuf::internal::WireFormat::SERIALIZE,
7442
17
      "yb.master.EncryptionInfoPB.latest_version_id");
7443
17
    target =
7444
17
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
7445
17
        4, this->latest_version_id(), target);
7446
17
  }
7447
7448
  // optional bool key_in_memory = 5;
7449
17
  if (cached_has_bits & 0x00000010u) {
7450
17
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->key_in_memory(), target);
7451
17
  }
7452
7453
17
  if (_internal_metadata_.have_unknown_fields()) {
7454
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7455
0
        _internal_metadata_.unknown_fields(), target);
7456
0
  }
7457
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.EncryptionInfoPB)
7458
17
  return target;
7459
17
}
7460
7461
17
size_t EncryptionInfoPB::ByteSizeLong() const {
7462
// @@protoc_insertion_point(message_byte_size_start:yb.master.EncryptionInfoPB)
7463
17
  size_t total_size = 0;
7464
7465
17
  if (_internal_metadata_.have_unknown_fields()) {
7466
0
    total_size +=
7467
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7468
0
        _internal_metadata_.unknown_fields());
7469
0
  }
7470
17
  if (_has_bits_[0 / 32] & 31u) {
7471
    // optional bytes universe_key_registry_encoded = 2;
7472
17
    if (has_universe_key_registry_encoded()) {
7473
17
      total_size += 1 +
7474
17
        ::google::protobuf::internal::WireFormatLite::BytesSize(
7475
17
          this->universe_key_registry_encoded());
7476
17
    }
7477
7478
    // optional string key_path = 3;
7479
17
    if (has_key_path()) {
7480
0
      total_size += 1 +
7481
0
        ::google::protobuf::internal::WireFormatLite::StringSize(
7482
0
          this->key_path());
7483
0
    }
7484
7485
    // optional string latest_version_id = 4;
7486
17
    if (has_latest_version_id()) {
7487
17
      total_size += 1 +
7488
17
        ::google::protobuf::internal::WireFormatLite::StringSize(
7489
17
          this->latest_version_id());
7490
17
    }
7491
7492
    // optional bool encryption_enabled = 1;
7493
17
    if (has_encryption_enabled()) {
7494
17
      total_size += 1 + 1;
7495
17
    }
7496
7497
    // optional bool key_in_memory = 5;
7498
17
    if (has_key_in_memory()) {
7499
17
      total_size += 1 + 1;
7500
17
    }
7501
7502
17
  }
7503
17
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7504
17
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7505
17
  _cached_size_ = cached_size;
7506
17
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7507
17
  return total_size;
7508
17
}
7509
7510
0
void EncryptionInfoPB::MergeFrom(const ::google::protobuf::Message& from) {
7511
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.EncryptionInfoPB)
7512
0
  GOOGLE_DCHECK_NE(&from, this);
7513
0
  const EncryptionInfoPB* source =
7514
0
      ::google::protobuf::internal::DynamicCastToGenerated<const EncryptionInfoPB>(
7515
0
          &from);
7516
0
  if (source == NULL) {
7517
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.EncryptionInfoPB)
7518
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7519
0
  } else {
7520
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.EncryptionInfoPB)
7521
0
    MergeFrom(*source);
7522
0
  }
7523
0
}
7524
7525
193k
void EncryptionInfoPB::MergeFrom(const EncryptionInfoPB& from) {
7526
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.EncryptionInfoPB)
7527
193k
  GOOGLE_DCHECK_NE(&from, this);
7528
193k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7529
193k
  ::google::protobuf::uint32 cached_has_bits = 0;
7530
193k
  (void) cached_has_bits;
7531
7532
193k
  cached_has_bits = from._has_bits_[0];
7533
193k
  if (cached_has_bits & 31u) {
7534
193k
    if (
cached_has_bits & 0x00000001u193k
) {
7535
193k
      set_has_universe_key_registry_encoded();
7536
193k
      universe_key_registry_encoded_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.universe_key_registry_encoded_);
7537
193k
    }
7538
193k
    if (cached_has_bits & 0x00000002u) {
7539
0
      set_has_key_path();
7540
0
      key_path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_path_);
7541
0
    }
7542
193k
    if (cached_has_bits & 0x00000004u) {
7543
193k
      set_has_latest_version_id();
7544
193k
      latest_version_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.latest_version_id_);
7545
193k
    }
7546
193k
    if (cached_has_bits & 0x00000008u) {
7547
193k
      encryption_enabled_ = from.encryption_enabled_;
7548
193k
    }
7549
193k
    if (cached_has_bits & 0x00000010u) {
7550
193k
      key_in_memory_ = from.key_in_memory_;
7551
193k
    }
7552
193k
    _has_bits_[0] |= cached_has_bits;
7553
193k
  }
7554
193k
}
7555
7556
0
void EncryptionInfoPB::CopyFrom(const ::google::protobuf::Message& from) {
7557
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.EncryptionInfoPB)
7558
0
  if (&from == this) return;
7559
0
  Clear();
7560
0
  MergeFrom(from);
7561
0
}
7562
7563
0
void EncryptionInfoPB::CopyFrom(const EncryptionInfoPB& from) {
7564
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.EncryptionInfoPB)
7565
0
  if (&from == this) return;
7566
0
  Clear();
7567
0
  MergeFrom(from);
7568
0
}
7569
7570
0
bool EncryptionInfoPB::IsInitialized() const {
7571
0
  return true;
7572
0
}
7573
7574
0
void EncryptionInfoPB::Swap(EncryptionInfoPB* other) {
7575
0
  if (other == this) return;
7576
0
  InternalSwap(other);
7577
0
}
7578
0
void EncryptionInfoPB::InternalSwap(EncryptionInfoPB* other) {
7579
0
  using std::swap;
7580
0
  universe_key_registry_encoded_.Swap(&other->universe_key_registry_encoded_);
7581
0
  key_path_.Swap(&other->key_path_);
7582
0
  latest_version_id_.Swap(&other->latest_version_id_);
7583
0
  swap(encryption_enabled_, other->encryption_enabled_);
7584
0
  swap(key_in_memory_, other->key_in_memory_);
7585
0
  swap(_has_bits_[0], other->_has_bits_[0]);
7586
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7587
0
  swap(_cached_size_, other->_cached_size_);
7588
0
}
7589
7590
0
::google::protobuf::Metadata EncryptionInfoPB::GetMetadata() const {
7591
0
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
7592
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
7593
0
}
7594
7595
7596
// ===================================================================
7597
7598
26.8k
void SysClusterConfigEntryPB::InitAsDefaultInstance() {
7599
26.8k
  ::yb::master::_SysClusterConfigEntryPB_default_instance_._instance.get_mutable()->replication_info_ = const_cast< ::yb::master::ReplicationInfoPB*>(
7600
26.8k
      ::yb::master::ReplicationInfoPB::internal_default_instance());
7601
26.8k
  ::yb::master::_SysClusterConfigEntryPB_default_instance_._instance.get_mutable()->server_blacklist_ = const_cast< ::yb::master::BlacklistPB*>(
7602
26.8k
      ::yb::master::BlacklistPB::internal_default_instance());
7603
26.8k
  ::yb::master::_SysClusterConfigEntryPB_default_instance_._instance.get_mutable()->leader_blacklist_ = const_cast< ::yb::master::BlacklistPB*>(
7604
26.8k
      ::yb::master::BlacklistPB::internal_default_instance());
7605
26.8k
  ::yb::master::_SysClusterConfigEntryPB_default_instance_._instance.get_mutable()->encryption_info_ = const_cast< ::yb::master::EncryptionInfoPB*>(
7606
26.8k
      ::yb::master::EncryptionInfoPB::internal_default_instance());
7607
26.8k
  ::yb::master::_SysClusterConfigEntryPB_default_instance_._instance.get_mutable()->consumer_registry_ = const_cast< ::yb::cdc::ConsumerRegistryPB*>(
7608
26.8k
      ::yb::cdc::ConsumerRegistryPB::internal_default_instance());
7609
26.8k
}
7610
0
void SysClusterConfigEntryPB::clear_consumer_registry() {
7611
0
  if (consumer_registry_ != NULL) consumer_registry_->Clear();
7612
0
  clear_has_consumer_registry();
7613
0
}
7614
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7615
const int SysClusterConfigEntryPB::kVersionFieldNumber;
7616
const int SysClusterConfigEntryPB::kClusterUuidFieldNumber;
7617
const int SysClusterConfigEntryPB::kReplicationInfoFieldNumber;
7618
const int SysClusterConfigEntryPB::kServerBlacklistFieldNumber;
7619
const int SysClusterConfigEntryPB::kLeaderBlacklistFieldNumber;
7620
const int SysClusterConfigEntryPB::kEncryptionInfoFieldNumber;
7621
const int SysClusterConfigEntryPB::kConsumerRegistryFieldNumber;
7622
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7623
7624
SysClusterConfigEntryPB::SysClusterConfigEntryPB()
7625
7.17M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7626
7.17M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7627
7.14M
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysClusterConfigEntryPB();
7628
7.14M
  }
7629
7.17M
  SharedCtor();
7630
  // @@protoc_insertion_point(constructor:yb.master.SysClusterConfigEntryPB)
7631
7.17M
}
7632
SysClusterConfigEntryPB::SysClusterConfigEntryPB(const SysClusterConfigEntryPB& from)
7633
  : ::google::protobuf::Message(),
7634
      _internal_metadata_(NULL),
7635
      _has_bits_(from._has_bits_),
7636
4.13k
      _cached_size_(0) {
7637
4.13k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7638
4.13k
  cluster_uuid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7639
4.13k
  if (from.has_cluster_uuid()) {
7640
376
    cluster_uuid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cluster_uuid_);
7641
376
  }
7642
4.13k
  if (from.has_replication_info()) {
7643
237
    replication_info_ = new ::yb::master::ReplicationInfoPB(*from.replication_info_);
7644
3.89k
  } else {
7645
3.89k
    replication_info_ = NULL;
7646
3.89k
  }
7647
4.13k
  if (from.has_server_blacklist()) {
7648
37
    server_blacklist_ = new ::yb::master::BlacklistPB(*from.server_blacklist_);
7649
4.09k
  } else {
7650
4.09k
    server_blacklist_ = NULL;
7651
4.09k
  }
7652
4.13k
  if (from.has_encryption_info()) {
7653
3
    encryption_info_ = new ::yb::master::EncryptionInfoPB(*from.encryption_info_);
7654
4.12k
  } else {
7655
4.12k
    encryption_info_ = NULL;
7656
4.12k
  }
7657
4.13k
  if (from.has_consumer_registry()) {
7658
0
    consumer_registry_ = new ::yb::cdc::ConsumerRegistryPB(*from.consumer_registry_);
7659
4.13k
  } else {
7660
4.13k
    consumer_registry_ = NULL;
7661
4.13k
  }
7662
4.13k
  if (from.has_leader_blacklist()) {
7663
44
    leader_blacklist_ = new ::yb::master::BlacklistPB(*from.leader_blacklist_);
7664
4.08k
  } else {
7665
4.08k
    leader_blacklist_ = NULL;
7666
4.08k
  }
7667
4.13k
  version_ = from.version_;
7668
  // @@protoc_insertion_point(copy_constructor:yb.master.SysClusterConfigEntryPB)
7669
4.13k
}
7670
7671
7.17M
void SysClusterConfigEntryPB::SharedCtor() {
7672
7.17M
  _cached_size_ = 0;
7673
7.17M
  cluster_uuid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7674
7.17M
  ::memset(&replication_info_, 0, static_cast<size_t>(
7675
7.17M
      reinterpret_cast<char*>(&version_) -
7676
7.17M
      reinterpret_cast<char*>(&replication_info_)) + sizeof(version_));
7677
7.17M
}
7678
7679
7.15M
SysClusterConfigEntryPB::~SysClusterConfigEntryPB() {
7680
  // @@protoc_insertion_point(destructor:yb.master.SysClusterConfigEntryPB)
7681
7.15M
  SharedDtor();
7682
7.15M
}
7683
7684
7.15M
void SysClusterConfigEntryPB::SharedDtor() {
7685
7.15M
  cluster_uuid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7686
7.15M
  if (
this != internal_default_instance()7.15M
) delete replication_info_;
7687
7.15M
  if (this != internal_default_instance()) 
delete server_blacklist_7.15M
;
7688
7.15M
  if (this != internal_default_instance()) 
delete encryption_info_7.15M
;
7689
7.15M
  if (this != internal_default_instance()) 
delete consumer_registry_7.15M
;
7690
7.15M
  if (this != internal_default_instance()) 
delete leader_blacklist_7.15M
;
7691
7.15M
}
7692
7693
0
void SysClusterConfigEntryPB::SetCachedSize(int size) const {
7694
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7695
0
  _cached_size_ = size;
7696
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7697
0
}
7698
0
const ::google::protobuf::Descriptor* SysClusterConfigEntryPB::descriptor() {
7699
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
7700
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7701
0
}
7702
7703
0
const SysClusterConfigEntryPB& SysClusterConfigEntryPB::default_instance() {
7704
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysClusterConfigEntryPB();
7705
0
  return *internal_default_instance();
7706
0
}
7707
7708
0
SysClusterConfigEntryPB* SysClusterConfigEntryPB::New(::google::protobuf::Arena* arena) const {
7709
0
  SysClusterConfigEntryPB* n = new SysClusterConfigEntryPB;
7710
0
  if (arena != NULL) {
7711
0
    arena->Own(n);
7712
0
  }
7713
0
  return n;
7714
0
}
7715
7716
7.14M
void SysClusterConfigEntryPB::Clear() {
7717
// @@protoc_insertion_point(message_clear_start:yb.master.SysClusterConfigEntryPB)
7718
7.14M
  ::google::protobuf::uint32 cached_has_bits = 0;
7719
  // Prevent compiler warnings about cached_has_bits being unused
7720
7.14M
  (void) cached_has_bits;
7721
7722
7.14M
  cached_has_bits = _has_bits_[0];
7723
7.14M
  if (cached_has_bits & 63u) {
7724
172
    if (cached_has_bits & 0x00000001u) {
7725
172
      GOOGLE_DCHECK(!cluster_uuid_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
7726
172
      (*cluster_uuid_.UnsafeRawStringPointer())->clear();
7727
172
    }
7728
172
    if (cached_has_bits & 0x00000002u) {
7729
78
      GOOGLE_DCHECK(replication_info_ != NULL);
7730
78
      replication_info_->Clear();
7731
78
    }
7732
172
    if (cached_has_bits & 0x00000004u) {
7733
7
      GOOGLE_DCHECK(server_blacklist_ != NULL);
7734
7
      server_blacklist_->Clear();
7735
7
    }
7736
172
    if (cached_has_bits & 0x00000008u) {
7737
0
      GOOGLE_DCHECK(encryption_info_ != NULL);
7738
0
      encryption_info_->Clear();
7739
0
    }
7740
172
    if (cached_has_bits & 0x00000010u) {
7741
0
      GOOGLE_DCHECK(consumer_registry_ != NULL);
7742
0
      consumer_registry_->Clear();
7743
0
    }
7744
172
    if (cached_has_bits & 0x00000020u) {
7745
18
      GOOGLE_DCHECK(leader_blacklist_ != NULL);
7746
18
      leader_blacklist_->Clear();
7747
18
    }
7748
172
  }
7749
7.14M
  version_ = 0;
7750
7.14M
  _has_bits_.Clear();
7751
7.14M
  _internal_metadata_.Clear();
7752
7.14M
}
7753
7754
bool SysClusterConfigEntryPB::MergePartialFromCodedStream(
7755
1.06k
    ::google::protobuf::io::CodedInputStream* input) {
7756
2.38k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
7757
1.06k
  ::google::protobuf::uint32 tag;
7758
  // @@protoc_insertion_point(parse_start:yb.master.SysClusterConfigEntryPB)
7759
3.45k
  for (;;) {
7760
3.45k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7761
3.45k
    tag = p.first;
7762
3.45k
    if (!p.second) 
goto handle_unusual1.06k
;
7763
2.38k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7764
      // optional int32 version = 1;
7765
1.06k
      case 1: {
7766
1.06k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7767
1.06k
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
7768
1.06k
          set_has_version();
7769
1.06k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7770
1.06k
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
7771
1.06k
                 input, &version_)));
7772
1.06k
        } else {
7773
0
          goto handle_unusual;
7774
0
        }
7775
1.06k
        break;
7776
1.06k
      }
7777
7778
      // optional .yb.master.ReplicationInfoPB replication_info = 2;
7779
1.06k
      case 2: {
7780
180
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7781
180
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
7782
180
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
7783
180
               input, mutable_replication_info()));
7784
180
        } else {
7785
0
          goto handle_unusual;
7786
0
        }
7787
180
        break;
7788
180
      }
7789
7790
      // optional .yb.master.BlacklistPB server_blacklist = 3;
7791
180
      case 3: {
7792
39
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7793
39
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
7794
39
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
7795
39
               input, mutable_server_blacklist()));
7796
39
        } else {
7797
0
          goto handle_unusual;
7798
0
        }
7799
39
        break;
7800
39
      }
7801
7802
      // optional string cluster_uuid = 4;
7803
1.06k
      case 4: {
7804
1.06k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7805
1.06k
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
7806
1.06k
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
7807
1.06k
                input, this->mutable_cluster_uuid()));
7808
1.06k
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7809
1.06k
            this->cluster_uuid().data(), static_cast<int>(this->cluster_uuid().length()),
7810
1.06k
            ::google::protobuf::internal::WireFormat::PARSE,
7811
1.06k
            "yb.master.SysClusterConfigEntryPB.cluster_uuid");
7812
1.06k
        } else {
7813
0
          goto handle_unusual;
7814
0
        }
7815
1.06k
        break;
7816
1.06k
      }
7817
7818
      // optional .yb.master.EncryptionInfoPB encryption_info = 5;
7819
1.06k
      case 5: {
7820
15
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7821
15
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
7822
15
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
7823
15
               input, mutable_encryption_info()));
7824
15
        } else {
7825
0
          goto handle_unusual;
7826
0
        }
7827
15
        break;
7828
15
      }
7829
7830
      // optional .yb.cdc.ConsumerRegistryPB consumer_registry = 6;
7831
15
      case 6: {
7832
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7833
0
            static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
7834
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
7835
0
               input, mutable_consumer_registry()));
7836
0
        } else {
7837
0
          goto handle_unusual;
7838
0
        }
7839
0
        break;
7840
0
      }
7841
7842
      // optional .yb.master.BlacklistPB leader_blacklist = 7;
7843
26
      case 7: {
7844
26
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7845
26
            static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
7846
26
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
7847
26
               input, mutable_leader_blacklist()));
7848
26
        } else {
7849
0
          goto handle_unusual;
7850
0
        }
7851
26
        break;
7852
26
      }
7853
7854
26
      default: {
7855
1.06k
      handle_unusual:
7856
1.06k
        if (tag == 0) {
7857
1.06k
          goto success;
7858
1.06k
        }
7859
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
7860
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
7861
0
        break;
7862
0
      }
7863
2.38k
    }
7864
2.38k
  }
7865
1.06k
success:
7866
  // @@protoc_insertion_point(parse_success:yb.master.SysClusterConfigEntryPB)
7867
1.06k
  return true;
7868
0
failure:
7869
  // @@protoc_insertion_point(parse_failure:yb.master.SysClusterConfigEntryPB)
7870
0
  return false;
7871
1.06k
#undef DO_
7872
1.06k
}
7873
7874
void SysClusterConfigEntryPB::SerializeWithCachedSizes(
7875
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7876
  // @@protoc_insertion_point(serialize_start:yb.master.SysClusterConfigEntryPB)
7877
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7878
0
  (void) cached_has_bits;
7879
7880
0
  cached_has_bits = _has_bits_[0];
7881
  // optional int32 version = 1;
7882
0
  if (cached_has_bits & 0x00000040u) {
7883
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->version(), output);
7884
0
  }
7885
7886
  // optional .yb.master.ReplicationInfoPB replication_info = 2;
7887
0
  if (cached_has_bits & 0x00000002u) {
7888
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7889
0
      2, *this->replication_info_, output);
7890
0
  }
7891
7892
  // optional .yb.master.BlacklistPB server_blacklist = 3;
7893
0
  if (cached_has_bits & 0x00000004u) {
7894
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7895
0
      3, *this->server_blacklist_, output);
7896
0
  }
7897
7898
  // optional string cluster_uuid = 4;
7899
0
  if (cached_has_bits & 0x00000001u) {
7900
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7901
0
      this->cluster_uuid().data(), static_cast<int>(this->cluster_uuid().length()),
7902
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
7903
0
      "yb.master.SysClusterConfigEntryPB.cluster_uuid");
7904
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
7905
0
      4, this->cluster_uuid(), output);
7906
0
  }
7907
7908
  // optional .yb.master.EncryptionInfoPB encryption_info = 5;
7909
0
  if (cached_has_bits & 0x00000008u) {
7910
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7911
0
      5, *this->encryption_info_, output);
7912
0
  }
7913
7914
  // optional .yb.cdc.ConsumerRegistryPB consumer_registry = 6;
7915
0
  if (cached_has_bits & 0x00000010u) {
7916
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7917
0
      6, *this->consumer_registry_, output);
7918
0
  }
7919
7920
  // optional .yb.master.BlacklistPB leader_blacklist = 7;
7921
0
  if (cached_has_bits & 0x00000020u) {
7922
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7923
0
      7, *this->leader_blacklist_, output);
7924
0
  }
7925
7926
0
  if (_internal_metadata_.have_unknown_fields()) {
7927
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7928
0
        _internal_metadata_.unknown_fields(), output);
7929
0
  }
7930
  // @@protoc_insertion_point(serialize_end:yb.master.SysClusterConfigEntryPB)
7931
0
}
7932
7933
::google::protobuf::uint8* SysClusterConfigEntryPB::InternalSerializeWithCachedSizesToArray(
7934
3.47k
    bool deterministic, ::google::protobuf::uint8* target) const {
7935
3.47k
  (void)deterministic; // Unused
7936
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SysClusterConfigEntryPB)
7937
3.47k
  ::google::protobuf::uint32 cached_has_bits = 0;
7938
3.47k
  (void) cached_has_bits;
7939
7940
3.47k
  cached_has_bits = _has_bits_[0];
7941
  // optional int32 version = 1;
7942
3.47k
  if (cached_has_bits & 0x00000040u) {
7943
3.47k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->version(), target);
7944
3.47k
  }
7945
7946
  // optional .yb.master.ReplicationInfoPB replication_info = 2;
7947
3.47k
  if (cached_has_bits & 0x00000002u) {
7948
403
    target = ::google::protobuf::internal::WireFormatLite::
7949
403
      InternalWriteMessageToArray(
7950
403
        2, *this->replication_info_, deterministic, target);
7951
403
  }
7952
7953
  // optional .yb.master.BlacklistPB server_blacklist = 3;
7954
3.47k
  if (cached_has_bits & 0x00000004u) {
7955
71
    target = ::google::protobuf::internal::WireFormatLite::
7956
71
      InternalWriteMessageToArray(
7957
71
        3, *this->server_blacklist_, deterministic, target);
7958
71
  }
7959
7960
  // optional string cluster_uuid = 4;
7961
3.47k
  if (cached_has_bits & 0x00000001u) {
7962
3.47k
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7963
3.47k
      this->cluster_uuid().data(), static_cast<int>(this->cluster_uuid().length()),
7964
3.47k
      ::google::protobuf::internal::WireFormat::SERIALIZE,
7965
3.47k
      "yb.master.SysClusterConfigEntryPB.cluster_uuid");
7966
3.47k
    target =
7967
3.47k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
7968
3.47k
        4, this->cluster_uuid(), target);
7969
3.47k
  }
7970
7971
  // optional .yb.master.EncryptionInfoPB encryption_info = 5;
7972
3.47k
  if (cached_has_bits & 0x00000008u) {
7973
17
    target = ::google::protobuf::internal::WireFormatLite::
7974
17
      InternalWriteMessageToArray(
7975
17
        5, *this->encryption_info_, deterministic, target);
7976
17
  }
7977
7978
  // optional .yb.cdc.ConsumerRegistryPB consumer_registry = 6;
7979
3.47k
  if (cached_has_bits & 0x00000010u) {
7980
0
    target = ::google::protobuf::internal::WireFormatLite::
7981
0
      InternalWriteMessageToArray(
7982
0
        6, *this->consumer_registry_, deterministic, target);
7983
0
  }
7984
7985
  // optional .yb.master.BlacklistPB leader_blacklist = 7;
7986
3.47k
  if (cached_has_bits & 0x00000020u) {
7987
62
    target = ::google::protobuf::internal::WireFormatLite::
7988
62
      InternalWriteMessageToArray(
7989
62
        7, *this->leader_blacklist_, deterministic, target);
7990
62
  }
7991
7992
3.47k
  if (_internal_metadata_.have_unknown_fields()) {
7993
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7994
0
        _internal_metadata_.unknown_fields(), target);
7995
0
  }
7996
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SysClusterConfigEntryPB)
7997
3.47k
  return target;
7998
3.47k
}
7999
8000
3.84k
size_t SysClusterConfigEntryPB::ByteSizeLong() const {
8001
// @@protoc_insertion_point(message_byte_size_start:yb.master.SysClusterConfigEntryPB)
8002
3.84k
  size_t total_size = 0;
8003
8004
3.84k
  if (_internal_metadata_.have_unknown_fields()) {
8005
0
    total_size +=
8006
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8007
0
        _internal_metadata_.unknown_fields());
8008
0
  }
8009
3.84k
  if (_has_bits_[0 / 32] & 127u) {
8010
    // optional string cluster_uuid = 4;
8011
3.84k
    if (has_cluster_uuid()) {
8012
3.84k
      total_size += 1 +
8013
3.84k
        ::google::protobuf::internal::WireFormatLite::StringSize(
8014
3.84k
          this->cluster_uuid());
8015
3.84k
    }
8016
8017
    // optional .yb.master.ReplicationInfoPB replication_info = 2;
8018
3.84k
    if (has_replication_info()) {
8019
647
      total_size += 1 +
8020
647
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8021
647
          *this->replication_info_);
8022
647
    }
8023
8024
    // optional .yb.master.BlacklistPB server_blacklist = 3;
8025
3.84k
    if (has_server_blacklist()) {
8026
113
      total_size += 1 +
8027
113
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8028
113
          *this->server_blacklist_);
8029
113
    }
8030
8031
    // optional .yb.master.EncryptionInfoPB encryption_info = 5;
8032
3.84k
    if (has_encryption_info()) {
8033
17
      total_size += 1 +
8034
17
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8035
17
          *this->encryption_info_);
8036
17
    }
8037
8038
    // optional .yb.cdc.ConsumerRegistryPB consumer_registry = 6;
8039
3.84k
    if (has_consumer_registry()) {
8040
0
      total_size += 1 +
8041
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8042
0
          *this->consumer_registry_);
8043
0
    }
8044
8045
    // optional .yb.master.BlacklistPB leader_blacklist = 7;
8046
3.84k
    if (has_leader_blacklist()) {
8047
102
      total_size += 1 +
8048
102
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8049
102
          *this->leader_blacklist_);
8050
102
    }
8051
8052
    // optional int32 version = 1;
8053
3.84k
    if (has_version()) {
8054
3.84k
      total_size += 1 +
8055
3.84k
        ::google::protobuf::internal::WireFormatLite::Int32Size(
8056
3.84k
          this->version());
8057
3.84k
    }
8058
8059
3.84k
  }
8060
3.84k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8061
3.84k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8062
3.84k
  _cached_size_ = cached_size;
8063
3.84k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8064
3.84k
  return total_size;
8065
3.84k
}
8066
8067
0
void SysClusterConfigEntryPB::MergeFrom(const ::google::protobuf::Message& from) {
8068
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SysClusterConfigEntryPB)
8069
0
  GOOGLE_DCHECK_NE(&from, this);
8070
0
  const SysClusterConfigEntryPB* source =
8071
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SysClusterConfigEntryPB>(
8072
0
          &from);
8073
0
  if (source == NULL) {
8074
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SysClusterConfigEntryPB)
8075
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8076
0
  } else {
8077
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SysClusterConfigEntryPB)
8078
0
    MergeFrom(*source);
8079
0
  }
8080
0
}
8081
8082
7.14M
void SysClusterConfigEntryPB::MergeFrom(const SysClusterConfigEntryPB& from) {
8083
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SysClusterConfigEntryPB)
8084
7.14M
  GOOGLE_DCHECK_NE(&from, this);
8085
7.14M
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8086
7.14M
  ::google::protobuf::uint32 cached_has_bits = 0;
8087
7.14M
  (void) cached_has_bits;
8088
8089
7.14M
  cached_has_bits = from._has_bits_[0];
8090
7.14M
  if (cached_has_bits & 127u) {
8091
7.14M
    if (
cached_has_bits & 0x00000001u7.14M
) {
8092
7.14M
      set_has_cluster_uuid();
8093
7.14M
      cluster_uuid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cluster_uuid_);
8094
7.14M
    }
8095
7.14M
    if (cached_has_bits & 0x00000002u) {
8096
468k
      mutable_replication_info()->::yb::master::ReplicationInfoPB::MergeFrom(from.replication_info());
8097
468k
    }
8098
7.14M
    if (cached_has_bits & 0x00000004u) {
8099
32.2k
      mutable_server_blacklist()->::yb::master::BlacklistPB::MergeFrom(from.server_blacklist());
8100
32.2k
    }
8101
7.14M
    if (cached_has_bits & 0x00000008u) {
8102
193k
      mutable_encryption_info()->::yb::master::EncryptionInfoPB::MergeFrom(from.encryption_info());
8103
193k
    }
8104
7.14M
    if (cached_has_bits & 0x00000010u) {
8105
0
      mutable_consumer_registry()->::yb::cdc::ConsumerRegistryPB::MergeFrom(from.consumer_registry());
8106
0
    }
8107
7.14M
    if (cached_has_bits & 0x00000020u) {
8108
5.87k
      mutable_leader_blacklist()->::yb::master::BlacklistPB::MergeFrom(from.leader_blacklist());
8109
5.87k
    }
8110
7.14M
    if (cached_has_bits & 0x00000040u) {
8111
7.14M
      version_ = from.version_;
8112
7.14M
    }
8113
7.14M
    _has_bits_[0] |= cached_has_bits;
8114
7.14M
  }
8115
7.14M
}
8116
8117
0
void SysClusterConfigEntryPB::CopyFrom(const ::google::protobuf::Message& from) {
8118
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SysClusterConfigEntryPB)
8119
0
  if (&from == this) return;
8120
0
  Clear();
8121
0
  MergeFrom(from);
8122
0
}
8123
8124
7.14M
void SysClusterConfigEntryPB::CopyFrom(const SysClusterConfigEntryPB& from) {
8125
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SysClusterConfigEntryPB)
8126
7.14M
  if (&from == this) 
return0
;
8127
7.14M
  Clear();
8128
7.14M
  MergeFrom(from);
8129
7.14M
}
8130
8131
4.54k
bool SysClusterConfigEntryPB::IsInitialized() const {
8132
4.54k
  if (has_server_blacklist()) {
8133
110
    if (!this->server_blacklist_->IsInitialized()) 
return false0
;
8134
110
  }
8135
4.54k
  if (has_consumer_registry()) {
8136
0
    if (!this->consumer_registry_->IsInitialized()) return false;
8137
0
  }
8138
4.54k
  if (has_leader_blacklist()) {
8139
88
    if (!this->leader_blacklist_->IsInitialized()) 
return false0
;
8140
88
  }
8141
4.54k
  return true;
8142
4.54k
}
8143
8144
2
void SysClusterConfigEntryPB::Swap(SysClusterConfigEntryPB* other) {
8145
2
  if (other == this) 
return0
;
8146
2
  InternalSwap(other);
8147
2
}
8148
14.7k
void SysClusterConfigEntryPB::InternalSwap(SysClusterConfigEntryPB* other) {
8149
14.7k
  using std::swap;
8150
14.7k
  cluster_uuid_.Swap(&other->cluster_uuid_);
8151
14.7k
  swap(replication_info_, other->replication_info_);
8152
14.7k
  swap(server_blacklist_, other->server_blacklist_);
8153
14.7k
  swap(encryption_info_, other->encryption_info_);
8154
14.7k
  swap(consumer_registry_, other->consumer_registry_);
8155
14.7k
  swap(leader_blacklist_, other->leader_blacklist_);
8156
14.7k
  swap(version_, other->version_);
8157
14.7k
  swap(_has_bits_[0], other->_has_bits_[0]);
8158
14.7k
  _internal_metadata_.Swap(&other->_internal_metadata_);
8159
14.7k
  swap(_cached_size_, other->_cached_size_);
8160
14.7k
}
8161
8162
25.3k
::google::protobuf::Metadata SysClusterConfigEntryPB::GetMetadata() const {
8163
25.3k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
8164
25.3k
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
8165
25.3k
}
8166
8167
8168
// ===================================================================
8169
8170
26.8k
void SysRedisConfigEntryPB::InitAsDefaultInstance() {
8171
26.8k
}
8172
#if !defined(_MSC_VER) || _MSC_VER >= 1900
8173
const int SysRedisConfigEntryPB::kKeyFieldNumber;
8174
const int SysRedisConfigEntryPB::kArgsFieldNumber;
8175
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
8176
8177
SysRedisConfigEntryPB::SysRedisConfigEntryPB()
8178
27.4k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8179
27.4k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
8180
568
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysRedisConfigEntryPB();
8181
568
  }
8182
27.4k
  SharedCtor();
8183
  // @@protoc_insertion_point(constructor:yb.master.SysRedisConfigEntryPB)
8184
27.4k
}
8185
SysRedisConfigEntryPB::SysRedisConfigEntryPB(const SysRedisConfigEntryPB& from)
8186
  : ::google::protobuf::Message(),
8187
      _internal_metadata_(NULL),
8188
      _has_bits_(from._has_bits_),
8189
      _cached_size_(0),
8190
190
      args_(from.args_) {
8191
190
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8192
190
  key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8193
190
  if (from.has_key()) {
8194
1
    key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_);
8195
1
  }
8196
  // @@protoc_insertion_point(copy_constructor:yb.master.SysRedisConfigEntryPB)
8197
190
}
8198
8199
27.4k
void SysRedisConfigEntryPB::SharedCtor() {
8200
27.4k
  _cached_size_ = 0;
8201
27.4k
  key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8202
27.4k
}
8203
8204
576
SysRedisConfigEntryPB::~SysRedisConfigEntryPB() {
8205
  // @@protoc_insertion_point(destructor:yb.master.SysRedisConfigEntryPB)
8206
576
  SharedDtor();
8207
576
}
8208
8209
576
void SysRedisConfigEntryPB::SharedDtor() {
8210
576
  key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8211
576
}
8212
8213
0
void SysRedisConfigEntryPB::SetCachedSize(int size) const {
8214
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8215
0
  _cached_size_ = size;
8216
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8217
0
}
8218
0
const ::google::protobuf::Descriptor* SysRedisConfigEntryPB::descriptor() {
8219
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
8220
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
8221
0
}
8222
8223
0
const SysRedisConfigEntryPB& SysRedisConfigEntryPB::default_instance() {
8224
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysRedisConfigEntryPB();
8225
0
  return *internal_default_instance();
8226
0
}
8227
8228
0
SysRedisConfigEntryPB* SysRedisConfigEntryPB::New(::google::protobuf::Arena* arena) const {
8229
0
  SysRedisConfigEntryPB* n = new SysRedisConfigEntryPB;
8230
0
  if (arena != NULL) {
8231
0
    arena->Own(n);
8232
0
  }
8233
0
  return n;
8234
0
}
8235
8236
10
void SysRedisConfigEntryPB::Clear() {
8237
// @@protoc_insertion_point(message_clear_start:yb.master.SysRedisConfigEntryPB)
8238
10
  ::google::protobuf::uint32 cached_has_bits = 0;
8239
  // Prevent compiler warnings about cached_has_bits being unused
8240
10
  (void) cached_has_bits;
8241
8242
10
  args_.Clear();
8243
10
  cached_has_bits = _has_bits_[0];
8244
10
  if (cached_has_bits & 0x00000001u) {
8245
0
    GOOGLE_DCHECK(!key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
8246
0
    (*key_.UnsafeRawStringPointer())->clear();
8247
0
  }
8248
10
  _has_bits_.Clear();
8249
10
  _internal_metadata_.Clear();
8250
10
}
8251
8252
bool SysRedisConfigEntryPB::MergePartialFromCodedStream(
8253
5
    ::google::protobuf::io::CodedInputStream* input) {
8254
12
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
8255
5
  ::google::protobuf::uint32 tag;
8256
  // @@protoc_insertion_point(parse_start:yb.master.SysRedisConfigEntryPB)
8257
17
  for (;;) {
8258
17
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8259
17
    tag = p.first;
8260
17
    if (!p.second) 
goto handle_unusual5
;
8261
12
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8262
      // optional string key = 1;
8263
5
      case 1: {
8264
5
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8265
5
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
8266
5
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
8267
5
                input, this->mutable_key()));
8268
5
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8269
5
            this->key().data(), static_cast<int>(this->key().length()),
8270
5
            ::google::protobuf::internal::WireFormat::PARSE,
8271
5
            "yb.master.SysRedisConfigEntryPB.key");
8272
5
        } else {
8273
0
          goto handle_unusual;
8274
0
        }
8275
5
        break;
8276
5
      }
8277
8278
      // repeated bytes args = 2;
8279
7
      case 2: {
8280
7
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8281
7
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
8282
7
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
8283
7
                input, this->add_args()));
8284
7
        } else {
8285
0
          goto handle_unusual;
8286
0
        }
8287
7
        break;
8288
7
      }
8289
8290
7
      default: {
8291
5
      handle_unusual:
8292
5
        if (tag == 0) {
8293
5
          goto success;
8294
5
        }
8295
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
8296
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
8297
0
        break;
8298
0
      }
8299
12
    }
8300
12
  }
8301
5
success:
8302
  // @@protoc_insertion_point(parse_success:yb.master.SysRedisConfigEntryPB)
8303
5
  return true;
8304
0
failure:
8305
  // @@protoc_insertion_point(parse_failure:yb.master.SysRedisConfigEntryPB)
8306
0
  return false;
8307
5
#undef DO_
8308
5
}
8309
8310
void SysRedisConfigEntryPB::SerializeWithCachedSizes(
8311
0
    ::google::protobuf::io::CodedOutputStream* output) const {
8312
  // @@protoc_insertion_point(serialize_start:yb.master.SysRedisConfigEntryPB)
8313
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8314
0
  (void) cached_has_bits;
8315
8316
0
  cached_has_bits = _has_bits_[0];
8317
  // optional string key = 1;
8318
0
  if (cached_has_bits & 0x00000001u) {
8319
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8320
0
      this->key().data(), static_cast<int>(this->key().length()),
8321
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
8322
0
      "yb.master.SysRedisConfigEntryPB.key");
8323
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
8324
0
      1, this->key(), output);
8325
0
  }
8326
8327
  // repeated bytes args = 2;
8328
0
  for (int i = 0, n = this->args_size(); i < n; i++) {
8329
0
    ::google::protobuf::internal::WireFormatLite::WriteBytes(
8330
0
      2, this->args(i), output);
8331
0
  }
8332
8333
0
  if (_internal_metadata_.have_unknown_fields()) {
8334
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8335
0
        _internal_metadata_.unknown_fields(), output);
8336
0
  }
8337
  // @@protoc_insertion_point(serialize_end:yb.master.SysRedisConfigEntryPB)
8338
0
}
8339
8340
::google::protobuf::uint8* SysRedisConfigEntryPB::InternalSerializeWithCachedSizesToArray(
8341
185
    bool deterministic, ::google::protobuf::uint8* target) const {
8342
185
  (void)deterministic; // Unused
8343
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SysRedisConfigEntryPB)
8344
185
  ::google::protobuf::uint32 cached_has_bits = 0;
8345
185
  (void) cached_has_bits;
8346
8347
185
  cached_has_bits = _has_bits_[0];
8348
  // optional string key = 1;
8349
185
  if (cached_has_bits & 0x00000001u) {
8350
185
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8351
185
      this->key().data(), static_cast<int>(this->key().length()),
8352
185
      ::google::protobuf::internal::WireFormat::SERIALIZE,
8353
185
      "yb.master.SysRedisConfigEntryPB.key");
8354
185
    target =
8355
185
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
8356
185
        1, this->key(), target);
8357
185
  }
8358
8359
  // repeated bytes args = 2;
8360
372
  for (int i = 0, n = this->args_size(); i < n; 
i++187
) {
8361
187
    target = ::google::protobuf::internal::WireFormatLite::
8362
187
      WriteBytesToArray(2, this->args(i), target);
8363
187
  }
8364
8365
185
  if (_internal_metadata_.have_unknown_fields()) {
8366
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8367
0
        _internal_metadata_.unknown_fields(), target);
8368
0
  }
8369
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SysRedisConfigEntryPB)
8370
185
  return target;
8371
185
}
8372
8373
185
size_t SysRedisConfigEntryPB::ByteSizeLong() const {
8374
// @@protoc_insertion_point(message_byte_size_start:yb.master.SysRedisConfigEntryPB)
8375
185
  size_t total_size = 0;
8376
8377
185
  if (_internal_metadata_.have_unknown_fields()) {
8378
0
    total_size +=
8379
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8380
0
        _internal_metadata_.unknown_fields());
8381
0
  }
8382
  // repeated bytes args = 2;
8383
185
  total_size += 1 *
8384
185
      ::google::protobuf::internal::FromIntSize(this->args_size());
8385
372
  for (int i = 0, n = this->args_size(); i < n; 
i++187
) {
8386
187
    total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
8387
187
      this->args(i));
8388
187
  }
8389
8390
  // optional string key = 1;
8391
185
  if (has_key()) {
8392
185
    total_size += 1 +
8393
185
      ::google::protobuf::internal::WireFormatLite::StringSize(
8394
185
        this->key());
8395
185
  }
8396
8397
185
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8398
185
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8399
185
  _cached_size_ = cached_size;
8400
185
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8401
185
  return total_size;
8402
185
}
8403
8404
0
void SysRedisConfigEntryPB::MergeFrom(const ::google::protobuf::Message& from) {
8405
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SysRedisConfigEntryPB)
8406
0
  GOOGLE_DCHECK_NE(&from, this);
8407
0
  const SysRedisConfigEntryPB* source =
8408
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SysRedisConfigEntryPB>(
8409
0
          &from);
8410
0
  if (source == NULL) {
8411
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SysRedisConfigEntryPB)
8412
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8413
0
  } else {
8414
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SysRedisConfigEntryPB)
8415
0
    MergeFrom(*source);
8416
0
  }
8417
0
}
8418
8419
5
void SysRedisConfigEntryPB::MergeFrom(const SysRedisConfigEntryPB& from) {
8420
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SysRedisConfigEntryPB)
8421
5
  GOOGLE_DCHECK_NE(&from, this);
8422
5
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8423
5
  ::google::protobuf::uint32 cached_has_bits = 0;
8424
5
  (void) cached_has_bits;
8425
8426
5
  args_.MergeFrom(from.args_);
8427
5
  if (from.has_key()) {
8428
5
    set_has_key();
8429
5
    key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_);
8430
5
  }
8431
5
}
8432
8433
0
void SysRedisConfigEntryPB::CopyFrom(const ::google::protobuf::Message& from) {
8434
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SysRedisConfigEntryPB)
8435
0
  if (&from == this) return;
8436
0
  Clear();
8437
0
  MergeFrom(from);
8438
0
}
8439
8440
5
void SysRedisConfigEntryPB::CopyFrom(const SysRedisConfigEntryPB& from) {
8441
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SysRedisConfigEntryPB)
8442
5
  if (&from == this) 
return0
;
8443
5
  Clear();
8444
5
  MergeFrom(from);
8445
5
}
8446
8447
190
bool SysRedisConfigEntryPB::IsInitialized() const {
8448
190
  return true;
8449
190
}
8450
8451
0
void SysRedisConfigEntryPB::Swap(SysRedisConfigEntryPB* other) {
8452
0
  if (other == this) return;
8453
0
  InternalSwap(other);
8454
0
}
8455
754
void SysRedisConfigEntryPB::InternalSwap(SysRedisConfigEntryPB* other) {
8456
754
  using std::swap;
8457
754
  args_.InternalSwap(&other->args_);
8458
754
  key_.Swap(&other->key_);
8459
754
  swap(_has_bits_[0], other->_has_bits_[0]);
8460
754
  _internal_metadata_.Swap(&other->_internal_metadata_);
8461
754
  swap(_cached_size_, other->_cached_size_);
8462
754
}
8463
8464
1.49k
::google::protobuf::Metadata SysRedisConfigEntryPB::GetMetadata() const {
8465
1.49k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
8466
1.49k
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
8467
1.49k
}
8468
8469
8470
// ===================================================================
8471
8472
26.8k
void ResourcePermissionsPB::InitAsDefaultInstance() {
8473
26.8k
}
8474
#if !defined(_MSC_VER) || _MSC_VER >= 1900
8475
const int ResourcePermissionsPB::kResourceNameFieldNumber;
8476
const int ResourcePermissionsPB::kCanonicalResourceFieldNumber;
8477
const int ResourcePermissionsPB::kNamespaceNameFieldNumber;
8478
const int ResourcePermissionsPB::kResourceTypeFieldNumber;
8479
const int ResourcePermissionsPB::kPermissionsFieldNumber;
8480
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
8481
8482
ResourcePermissionsPB::ResourcePermissionsPB()
8483
38.5k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8484
38.5k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
8485
11.7k
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsResourcePermissionsPB();
8486
11.7k
  }
8487
38.5k
  SharedCtor();
8488
  // @@protoc_insertion_point(constructor:yb.master.ResourcePermissionsPB)
8489
38.5k
}
8490
ResourcePermissionsPB::ResourcePermissionsPB(const ResourcePermissionsPB& from)
8491
  : ::google::protobuf::Message(),
8492
      _internal_metadata_(NULL),
8493
      _has_bits_(from._has_bits_),
8494
      _cached_size_(0),
8495
0
      permissions_(from.permissions_) {
8496
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8497
0
  resource_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8498
0
  if (from.has_resource_name()) {
8499
0
    resource_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.resource_name_);
8500
0
  }
8501
0
  canonical_resource_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8502
0
  if (from.has_canonical_resource()) {
8503
0
    canonical_resource_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.canonical_resource_);
8504
0
  }
8505
0
  namespace_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8506
0
  if (from.has_namespace_name()) {
8507
0
    namespace_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_name_);
8508
0
  }
8509
0
  resource_type_ = from.resource_type_;
8510
  // @@protoc_insertion_point(copy_constructor:yb.master.ResourcePermissionsPB)
8511
0
}
8512
8513
38.5k
void ResourcePermissionsPB::SharedCtor() {
8514
38.5k
  _cached_size_ = 0;
8515
38.5k
  resource_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8516
38.5k
  canonical_resource_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8517
38.5k
  namespace_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8518
38.5k
  resource_type_ = 1;
8519
38.5k
}
8520
8521
11.6k
ResourcePermissionsPB::~ResourcePermissionsPB() {
8522
  // @@protoc_insertion_point(destructor:yb.master.ResourcePermissionsPB)
8523
11.6k
  SharedDtor();
8524
11.6k
}
8525
8526
11.6k
void ResourcePermissionsPB::SharedDtor() {
8527
11.6k
  resource_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8528
11.6k
  canonical_resource_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8529
11.6k
  namespace_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8530
11.6k
}
8531
8532
0
void ResourcePermissionsPB::SetCachedSize(int size) const {
8533
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8534
0
  _cached_size_ = size;
8535
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8536
0
}
8537
0
const ::google::protobuf::Descriptor* ResourcePermissionsPB::descriptor() {
8538
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
8539
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
8540
0
}
8541
8542
0
const ResourcePermissionsPB& ResourcePermissionsPB::default_instance() {
8543
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsResourcePermissionsPB();
8544
0
  return *internal_default_instance();
8545
0
}
8546
8547
0
ResourcePermissionsPB* ResourcePermissionsPB::New(::google::protobuf::Arena* arena) const {
8548
0
  ResourcePermissionsPB* n = new ResourcePermissionsPB;
8549
0
  if (arena != NULL) {
8550
0
    arena->Own(n);
8551
0
  }
8552
0
  return n;
8553
0
}
8554
8555
0
void ResourcePermissionsPB::Clear() {
8556
// @@protoc_insertion_point(message_clear_start:yb.master.ResourcePermissionsPB)
8557
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8558
  // Prevent compiler warnings about cached_has_bits being unused
8559
0
  (void) cached_has_bits;
8560
8561
0
  permissions_.Clear();
8562
0
  cached_has_bits = _has_bits_[0];
8563
0
  if (cached_has_bits & 15u) {
8564
0
    if (cached_has_bits & 0x00000001u) {
8565
0
      GOOGLE_DCHECK(!resource_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
8566
0
      (*resource_name_.UnsafeRawStringPointer())->clear();
8567
0
    }
8568
0
    if (cached_has_bits & 0x00000002u) {
8569
0
      GOOGLE_DCHECK(!canonical_resource_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
8570
0
      (*canonical_resource_.UnsafeRawStringPointer())->clear();
8571
0
    }
8572
0
    if (cached_has_bits & 0x00000004u) {
8573
0
      GOOGLE_DCHECK(!namespace_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
8574
0
      (*namespace_name_.UnsafeRawStringPointer())->clear();
8575
0
    }
8576
0
    resource_type_ = 1;
8577
0
  }
8578
0
  _has_bits_.Clear();
8579
0
  _internal_metadata_.Clear();
8580
0
}
8581
8582
bool ResourcePermissionsPB::MergePartialFromCodedStream(
8583
2
    ::google::protobuf::io::CodedInputStream* input) {
8584
10
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
8585
2
  ::google::protobuf::uint32 tag;
8586
  // @@protoc_insertion_point(parse_start:yb.master.ResourcePermissionsPB)
8587
12
  for (;;) {
8588
12
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8589
12
    tag = p.first;
8590
12
    if (!p.second) 
goto handle_unusual2
;
8591
10
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8592
      // optional string resource_name = 1;
8593
1
      case 1: {
8594
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8595
1
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
8596
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
8597
1
                input, this->mutable_resource_name()));
8598
1
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8599
1
            this->resource_name().data(), static_cast<int>(this->resource_name().length()),
8600
1
            ::google::protobuf::internal::WireFormat::PARSE,
8601
1
            "yb.master.ResourcePermissionsPB.resource_name");
8602
1
        } else {
8603
0
          goto handle_unusual;
8604
0
        }
8605
1
        break;
8606
1
      }
8607
8608
      // optional .yb.ResourceType resource_type = 2;
8609
2
      case 2: {
8610
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8611
2
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
8612
2
          int value;
8613
2
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8614
2
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
8615
2
                 input, &value)));
8616
2
          if (::yb::ResourceType_IsValid(value)) {
8617
2
            set_resource_type(static_cast< ::yb::ResourceType >(value));
8618
2
          } else {
8619
0
            mutable_unknown_fields()->AddVarint(
8620
0
                2, static_cast< ::google::protobuf::uint64>(value));
8621
0
          }
8622
2
        } else {
8623
0
          goto handle_unusual;
8624
0
        }
8625
2
        break;
8626
2
      }
8627
8628
      // optional string canonical_resource = 11;
8629
2
      case 11: {
8630
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8631
2
            static_cast< ::google::protobuf::uint8>(90u /* 90 & 0xFF */)) {
8632
2
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
8633
2
                input, this->mutable_canonical_resource()));
8634
2
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8635
2
            this->canonical_resource().data(), static_cast<int>(this->canonical_resource().length()),
8636
2
            ::google::protobuf::internal::WireFormat::PARSE,
8637
2
            "yb.master.ResourcePermissionsPB.canonical_resource");
8638
2
        } else {
8639
0
          goto handle_unusual;
8640
0
        }
8641
2
        break;
8642
2
      }
8643
8644
      // optional string namespace_name = 12;
8645
2
      case 12: {
8646
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8647
1
            static_cast< ::google::protobuf::uint8>(98u /* 98 & 0xFF */)) {
8648
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
8649
1
                input, this->mutable_namespace_name()));
8650
1
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8651
1
            this->namespace_name().data(), static_cast<int>(this->namespace_name().length()),
8652
1
            ::google::protobuf::internal::WireFormat::PARSE,
8653
1
            "yb.master.ResourcePermissionsPB.namespace_name");
8654
1
        } else {
8655
0
          goto handle_unusual;
8656
0
        }
8657
1
        break;
8658
1
      }
8659
8660
      // repeated .yb.PermissionType permissions = 13;
8661
4
      case 13: {
8662
4
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8663
4
            static_cast< ::google::protobuf::uint8>(104u /* 104 & 0xFF */)) {
8664
4
          int value;
8665
4
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8666
4
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
8667
4
                 input, &value)));
8668
4
          if (::yb::PermissionType_IsValid(value)) {
8669
4
            add_permissions(static_cast< ::yb::PermissionType >(value));
8670
4
          } else {
8671
0
            mutable_unknown_fields()->AddVarint(
8672
0
                13, static_cast< ::google::protobuf::uint64>(value));
8673
0
          }
8674
4
        } else if (
8675
0
            static_cast< ::google::protobuf::uint8>(tag) ==
8676
0
            static_cast< ::google::protobuf::uint8>(106u /* 106 & 0xFF */)) {
8677
0
          DO_((::google::protobuf::internal::WireFormat::ReadPackedEnumPreserveUnknowns(
8678
0
                 input,
8679
0
                 13,
8680
0
                 ::yb::PermissionType_IsValid,
8681
0
                 mutable_unknown_fields(),
8682
0
                 this->mutable_permissions())));
8683
0
        } else {
8684
0
          goto handle_unusual;
8685
0
        }
8686
4
        break;
8687
4
      }
8688
8689
4
      default: {
8690
2
      handle_unusual:
8691
2
        if (tag == 0) {
8692
2
          goto success;
8693
2
        }
8694
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
8695
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
8696
0
        break;
8697
0
      }
8698
10
    }
8699
10
  }
8700
2
success:
8701
  // @@protoc_insertion_point(parse_success:yb.master.ResourcePermissionsPB)
8702
2
  return true;
8703
0
failure:
8704
  // @@protoc_insertion_point(parse_failure:yb.master.ResourcePermissionsPB)
8705
0
  return false;
8706
2
#undef DO_
8707
2
}
8708
8709
void ResourcePermissionsPB::SerializeWithCachedSizes(
8710
0
    ::google::protobuf::io::CodedOutputStream* output) const {
8711
  // @@protoc_insertion_point(serialize_start:yb.master.ResourcePermissionsPB)
8712
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8713
0
  (void) cached_has_bits;
8714
8715
0
  cached_has_bits = _has_bits_[0];
8716
  // optional string resource_name = 1;
8717
0
  if (cached_has_bits & 0x00000001u) {
8718
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8719
0
      this->resource_name().data(), static_cast<int>(this->resource_name().length()),
8720
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
8721
0
      "yb.master.ResourcePermissionsPB.resource_name");
8722
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
8723
0
      1, this->resource_name(), output);
8724
0
  }
8725
8726
  // optional .yb.ResourceType resource_type = 2;
8727
0
  if (cached_has_bits & 0x00000008u) {
8728
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
8729
0
      2, this->resource_type(), output);
8730
0
  }
8731
8732
  // optional string canonical_resource = 11;
8733
0
  if (cached_has_bits & 0x00000002u) {
8734
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8735
0
      this->canonical_resource().data(), static_cast<int>(this->canonical_resource().length()),
8736
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
8737
0
      "yb.master.ResourcePermissionsPB.canonical_resource");
8738
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
8739
0
      11, this->canonical_resource(), output);
8740
0
  }
8741
8742
  // optional string namespace_name = 12;
8743
0
  if (cached_has_bits & 0x00000004u) {
8744
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8745
0
      this->namespace_name().data(), static_cast<int>(this->namespace_name().length()),
8746
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
8747
0
      "yb.master.ResourcePermissionsPB.namespace_name");
8748
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
8749
0
      12, this->namespace_name(), output);
8750
0
  }
8751
8752
  // repeated .yb.PermissionType permissions = 13;
8753
0
  for (int i = 0, n = this->permissions_size(); i < n; i++) {
8754
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
8755
0
      13, this->permissions(i), output);
8756
0
  }
8757
8758
0
  if (_internal_metadata_.have_unknown_fields()) {
8759
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8760
0
        _internal_metadata_.unknown_fields(), output);
8761
0
  }
8762
  // @@protoc_insertion_point(serialize_end:yb.master.ResourcePermissionsPB)
8763
0
}
8764
8765
::google::protobuf::uint8* ResourcePermissionsPB::InternalSerializeWithCachedSizesToArray(
8766
5.79k
    bool deterministic, ::google::protobuf::uint8* target) const {
8767
5.79k
  (void)deterministic; // Unused
8768
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ResourcePermissionsPB)
8769
5.79k
  ::google::protobuf::uint32 cached_has_bits = 0;
8770
5.79k
  (void) cached_has_bits;
8771
8772
5.79k
  cached_has_bits = _has_bits_[0];
8773
  // optional string resource_name = 1;
8774
5.79k
  if (cached_has_bits & 0x00000001u) {
8775
5.57k
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8776
5.57k
      this->resource_name().data(), static_cast<int>(this->resource_name().length()),
8777
5.57k
      ::google::protobuf::internal::WireFormat::SERIALIZE,
8778
5.57k
      "yb.master.ResourcePermissionsPB.resource_name");
8779
5.57k
    target =
8780
5.57k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
8781
5.57k
        1, this->resource_name(), target);
8782
5.57k
  }
8783
8784
  // optional .yb.ResourceType resource_type = 2;
8785
5.79k
  if (cached_has_bits & 0x00000008u) {
8786
5.79k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
8787
5.79k
      2, this->resource_type(), target);
8788
5.79k
  }
8789
8790
  // optional string canonical_resource = 11;
8791
5.79k
  if (cached_has_bits & 0x00000002u) {
8792
5.79k
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8793
5.79k
      this->canonical_resource().data(), static_cast<int>(this->canonical_resource().length()),
8794
5.79k
      ::google::protobuf::internal::WireFormat::SERIALIZE,
8795
5.79k
      "yb.master.ResourcePermissionsPB.canonical_resource");
8796
5.79k
    target =
8797
5.79k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
8798
5.79k
        11, this->canonical_resource(), target);
8799
5.79k
  }
8800
8801
  // optional string namespace_name = 12;
8802
5.79k
  if (cached_has_bits & 0x00000004u) {
8803
5.48k
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8804
5.48k
      this->namespace_name().data(), static_cast<int>(this->namespace_name().length()),
8805
5.48k
      ::google::protobuf::internal::WireFormat::SERIALIZE,
8806
5.48k
      "yb.master.ResourcePermissionsPB.namespace_name");
8807
5.48k
    target =
8808
5.48k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
8809
5.48k
        12, this->namespace_name(), target);
8810
5.48k
  }
8811
8812
  // repeated .yb.PermissionType permissions = 13;
8813
5.79k
  target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
8814
5.79k
    13, this->permissions_, target);
8815
8816
5.79k
  if (_internal_metadata_.have_unknown_fields()) {
8817
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8818
0
        _internal_metadata_.unknown_fields(), target);
8819
0
  }
8820
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ResourcePermissionsPB)
8821
5.79k
  return target;
8822
5.79k
}
8823
8824
5.79k
size_t ResourcePermissionsPB::ByteSizeLong() const {
8825
// @@protoc_insertion_point(message_byte_size_start:yb.master.ResourcePermissionsPB)
8826
5.79k
  size_t total_size = 0;
8827
8828
5.79k
  if (_internal_metadata_.have_unknown_fields()) {
8829
0
    total_size +=
8830
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8831
0
        _internal_metadata_.unknown_fields());
8832
0
  }
8833
  // repeated .yb.PermissionType permissions = 13;
8834
5.79k
  {
8835
5.79k
    size_t data_size = 0;
8836
31.5k
    unsigned int count = static_cast<unsigned int>(this->permissions_size());for (unsigned int i = 0; i < count; 
i++25.7k
) {
8837
25.7k
      data_size += ::google::protobuf::internal::WireFormatLite::EnumSize(
8838
25.7k
        this->permissions(static_cast<int>(i)));
8839
25.7k
    }
8840
5.79k
    total_size += (1UL * count) + data_size;
8841
5.79k
  }
8842
8843
5.79k
  if (_has_bits_[0 / 32] & 15u) {
8844
    // optional string resource_name = 1;
8845
5.79k
    if (has_resource_name()) {
8846
5.57k
      total_size += 1 +
8847
5.57k
        ::google::protobuf::internal::WireFormatLite::StringSize(
8848
5.57k
          this->resource_name());
8849
5.57k
    }
8850
8851
    // optional string canonical_resource = 11;
8852
5.79k
    if (has_canonical_resource()) {
8853
5.79k
      total_size += 1 +
8854
5.79k
        ::google::protobuf::internal::WireFormatLite::StringSize(
8855
5.79k
          this->canonical_resource());
8856
5.79k
    }
8857
8858
    // optional string namespace_name = 12;
8859
5.79k
    if (has_namespace_name()) {
8860
5.48k
      total_size += 1 +
8861
5.48k
        ::google::protobuf::internal::WireFormatLite::StringSize(
8862
5.48k
          this->namespace_name());
8863
5.48k
    }
8864
8865
    // optional .yb.ResourceType resource_type = 2;
8866
5.79k
    if (has_resource_type()) {
8867
5.79k
      total_size += 1 +
8868
5.79k
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->resource_type());
8869
5.79k
    }
8870
8871
5.79k
  }
8872
5.79k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8873
5.79k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8874
5.79k
  _cached_size_ = cached_size;
8875
5.79k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8876
5.79k
  return total_size;
8877
5.79k
}
8878
8879
0
void ResourcePermissionsPB::MergeFrom(const ::google::protobuf::Message& from) {
8880
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ResourcePermissionsPB)
8881
0
  GOOGLE_DCHECK_NE(&from, this);
8882
0
  const ResourcePermissionsPB* source =
8883
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ResourcePermissionsPB>(
8884
0
          &from);
8885
0
  if (source == NULL) {
8886
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ResourcePermissionsPB)
8887
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8888
0
  } else {
8889
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ResourcePermissionsPB)
8890
0
    MergeFrom(*source);
8891
0
  }
8892
0
}
8893
8894
9.46k
void ResourcePermissionsPB::MergeFrom(const ResourcePermissionsPB& from) {
8895
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ResourcePermissionsPB)
8896
9.46k
  GOOGLE_DCHECK_NE(&from, this);
8897
9.46k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8898
9.46k
  ::google::protobuf::uint32 cached_has_bits = 0;
8899
9.46k
  (void) cached_has_bits;
8900
8901
9.46k
  permissions_.MergeFrom(from.permissions_);
8902
9.46k
  cached_has_bits = from._has_bits_[0];
8903
9.46k
  if (cached_has_bits & 15u) {
8904
9.46k
    if (cached_has_bits & 0x00000001u) {
8905
9.00k
      set_has_resource_name();
8906
9.00k
      resource_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.resource_name_);
8907
9.00k
    }
8908
9.46k
    if (cached_has_bits & 0x00000002u) {
8909
9.46k
      set_has_canonical_resource();
8910
9.46k
      canonical_resource_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.canonical_resource_);
8911
9.46k
    }
8912
9.46k
    if (cached_has_bits & 0x00000004u) {
8913
8.81k
      set_has_namespace_name();
8914
8.81k
      namespace_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_name_);
8915
8.81k
    }
8916
9.46k
    if (cached_has_bits & 0x00000008u) {
8917
9.46k
      resource_type_ = from.resource_type_;
8918
9.46k
    }
8919
9.46k
    _has_bits_[0] |= cached_has_bits;
8920
9.46k
  }
8921
9.46k
}
8922
8923
0
void ResourcePermissionsPB::CopyFrom(const ::google::protobuf::Message& from) {
8924
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ResourcePermissionsPB)
8925
0
  if (&from == this) return;
8926
0
  Clear();
8927
0
  MergeFrom(from);
8928
0
}
8929
8930
0
void ResourcePermissionsPB::CopyFrom(const ResourcePermissionsPB& from) {
8931
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ResourcePermissionsPB)
8932
0
  if (&from == this) return;
8933
0
  Clear();
8934
0
  MergeFrom(from);
8935
0
}
8936
8937
0
bool ResourcePermissionsPB::IsInitialized() const {
8938
0
  return true;
8939
0
}
8940
8941
0
void ResourcePermissionsPB::Swap(ResourcePermissionsPB* other) {
8942
0
  if (other == this) return;
8943
0
  InternalSwap(other);
8944
0
}
8945
0
void ResourcePermissionsPB::InternalSwap(ResourcePermissionsPB* other) {
8946
0
  using std::swap;
8947
0
  permissions_.InternalSwap(&other->permissions_);
8948
0
  resource_name_.Swap(&other->resource_name_);
8949
0
  canonical_resource_.Swap(&other->canonical_resource_);
8950
0
  namespace_name_.Swap(&other->namespace_name_);
8951
0
  swap(resource_type_, other->resource_type_);
8952
0
  swap(_has_bits_[0], other->_has_bits_[0]);
8953
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
8954
0
  swap(_cached_size_, other->_cached_size_);
8955
0
}
8956
8957
5.16k
::google::protobuf::Metadata ResourcePermissionsPB::GetMetadata() const {
8958
5.16k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
8959
5.16k
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
8960
5.16k
}
8961
8962
8963
// ===================================================================
8964
8965
26.8k
void SysRoleEntryPB::InitAsDefaultInstance() {
8966
26.8k
}
8967
#if !defined(_MSC_VER) || _MSC_VER >= 1900
8968
const int SysRoleEntryPB::kRoleFieldNumber;
8969
const int SysRoleEntryPB::kCanLoginFieldNumber;
8970
const int SysRoleEntryPB::kIsSuperuserFieldNumber;
8971
const int SysRoleEntryPB::kMemberOfFieldNumber;
8972
const int SysRoleEntryPB::kSaltedHashFieldNumber;
8973
const int SysRoleEntryPB::kResourcesFieldNumber;
8974
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
8975
8976
SysRoleEntryPB::SysRoleEntryPB()
8977
43.6k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8978
43.6k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
8979
16.7k
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysRoleEntryPB();
8980
16.7k
  }
8981
43.6k
  SharedCtor();
8982
  // @@protoc_insertion_point(constructor:yb.master.SysRoleEntryPB)
8983
43.6k
}
8984
SysRoleEntryPB::SysRoleEntryPB(const SysRoleEntryPB& from)
8985
  : ::google::protobuf::Message(),
8986
      _internal_metadata_(NULL),
8987
      _has_bits_(from._has_bits_),
8988
      _cached_size_(0),
8989
      member_of_(from.member_of_),
8990
17.2k
      resources_(from.resources_) {
8991
17.2k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8992
17.2k
  role_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8993
17.2k
  if (from.has_role()) {
8994
13.5k
    role_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.role_);
8995
13.5k
  }
8996
17.2k
  salted_hash_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8997
17.2k
  if (from.has_salted_hash()) {
8998
13.4k
    salted_hash_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.salted_hash_);
8999
13.4k
  }
9000
17.2k
  ::memcpy(&can_login_, &from.can_login_,
9001
17.2k
    static_cast<size_t>(reinterpret_cast<char*>(&is_superuser_) -
9002
17.2k
    reinterpret_cast<char*>(&can_login_)) + sizeof(is_superuser_));
9003
  // @@protoc_insertion_point(copy_constructor:yb.master.SysRoleEntryPB)
9004
17.2k
}
9005
9006
43.6k
void SysRoleEntryPB::SharedCtor() {
9007
43.6k
  _cached_size_ = 0;
9008
43.6k
  role_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9009
43.6k
  salted_hash_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9010
43.6k
  ::memset(&can_login_, 0, static_cast<size_t>(
9011
43.6k
      reinterpret_cast<char*>(&is_superuser_) -
9012
43.6k
      reinterpret_cast<char*>(&can_login_)) + sizeof(is_superuser_));
9013
43.6k
}
9014
9015
31.1k
SysRoleEntryPB::~SysRoleEntryPB() {
9016
  // @@protoc_insertion_point(destructor:yb.master.SysRoleEntryPB)
9017
31.1k
  SharedDtor();
9018
31.1k
}
9019
9020
31.1k
void SysRoleEntryPB::SharedDtor() {
9021
31.1k
  role_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9022
31.1k
  salted_hash_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9023
31.1k
}
9024
9025
0
void SysRoleEntryPB::SetCachedSize(int size) const {
9026
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9027
0
  _cached_size_ = size;
9028
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9029
0
}
9030
0
const ::google::protobuf::Descriptor* SysRoleEntryPB::descriptor() {
9031
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
9032
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9033
0
}
9034
9035
0
const SysRoleEntryPB& SysRoleEntryPB::default_instance() {
9036
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysRoleEntryPB();
9037
0
  return *internal_default_instance();
9038
0
}
9039
9040
0
SysRoleEntryPB* SysRoleEntryPB::New(::google::protobuf::Arena* arena) const {
9041
0
  SysRoleEntryPB* n = new SysRoleEntryPB;
9042
0
  if (arena != NULL) {
9043
0
    arena->Own(n);
9044
0
  }
9045
0
  return n;
9046
0
}
9047
9048
1.70k
void SysRoleEntryPB::Clear() {
9049
// @@protoc_insertion_point(message_clear_start:yb.master.SysRoleEntryPB)
9050
1.70k
  ::google::protobuf::uint32 cached_has_bits = 0;
9051
  // Prevent compiler warnings about cached_has_bits being unused
9052
1.70k
  (void) cached_has_bits;
9053
9054
1.70k
  member_of_.Clear();
9055
1.70k
  resources_.Clear();
9056
1.70k
  cached_has_bits = _has_bits_[0];
9057
1.70k
  if (cached_has_bits & 3u) {
9058
0
    if (cached_has_bits & 0x00000001u) {
9059
0
      GOOGLE_DCHECK(!role_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
9060
0
      (*role_.UnsafeRawStringPointer())->clear();
9061
0
    }
9062
0
    if (cached_has_bits & 0x00000002u) {
9063
0
      GOOGLE_DCHECK(!salted_hash_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
9064
0
      (*salted_hash_.UnsafeRawStringPointer())->clear();
9065
0
    }
9066
0
  }
9067
1.70k
  ::memset(&can_login_, 0, static_cast<size_t>(
9068
1.70k
      reinterpret_cast<char*>(&is_superuser_) -
9069
1.70k
      reinterpret_cast<char*>(&can_login_)) + sizeof(is_superuser_));
9070
1.70k
  _has_bits_.Clear();
9071
1.70k
  _internal_metadata_.Clear();
9072
1.70k
}
9073
9074
bool SysRoleEntryPB::MergePartialFromCodedStream(
9075
851
    ::google::protobuf::io::CodedInputStream* input) {
9076
3.40k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
9077
851
  ::google::protobuf::uint32 tag;
9078
  // @@protoc_insertion_point(parse_start:yb.master.SysRoleEntryPB)
9079
4.25k
  for (;;) {
9080
4.25k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9081
4.25k
    tag = p.first;
9082
4.25k
    if (!p.second) 
goto handle_unusual851
;
9083
3.40k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9084
      // optional bytes role = 1;
9085
851
      case 1: {
9086
851
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9087
851
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
9088
851
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
9089
851
                input, this->mutable_role()));
9090
851
        } else {
9091
0
          goto handle_unusual;
9092
0
        }
9093
851
        break;
9094
851
      }
9095
9096
      // optional bool can_login = 2;
9097
851
      case 2: {
9098
851
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9099
851
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
9100
851
          set_has_can_login();
9101
851
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9102
851
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
9103
851
                 input, &can_login_)));
9104
851
        } else {
9105
0
          goto handle_unusual;
9106
0
        }
9107
851
        break;
9108
851
      }
9109
9110
      // optional bool is_superuser = 3;
9111
851
      case 3: {
9112
851
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9113
851
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
9114
851
          set_has_is_superuser();
9115
851
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9116
851
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
9117
851
                 input, &is_superuser_)));
9118
851
        } else {
9119
0
          goto handle_unusual;
9120
0
        }
9121
851
        break;
9122
851
      }
9123
9124
      // repeated bytes member_of = 4;
9125
851
      case 4: {
9126
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9127
0
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
9128
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
9129
0
                input, this->add_member_of()));
9130
0
        } else {
9131
0
          goto handle_unusual;
9132
0
        }
9133
0
        break;
9134
0
      }
9135
9136
      // optional bytes salted_hash = 5;
9137
851
      case 5: {
9138
851
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9139
851
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
9140
851
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
9141
851
                input, this->mutable_salted_hash()));
9142
851
        } else {
9143
0
          goto handle_unusual;
9144
0
        }
9145
851
        break;
9146
851
      }
9147
9148
      // repeated .yb.master.ResourcePermissionsPB resources = 7;
9149
851
      case 7: {
9150
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9151
2
            static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
9152
2
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_resources()));
9153
2
        } else {
9154
0
          goto handle_unusual;
9155
0
        }
9156
2
        break;
9157
2
      }
9158
9159
2
      default: {
9160
851
      handle_unusual:
9161
851
        if (tag == 0) {
9162
851
          goto success;
9163
851
        }
9164
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
9165
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
9166
0
        break;
9167
0
      }
9168
3.40k
    }
9169
3.40k
  }
9170
851
success:
9171
  // @@protoc_insertion_point(parse_success:yb.master.SysRoleEntryPB)
9172
851
  return true;
9173
0
failure:
9174
  // @@protoc_insertion_point(parse_failure:yb.master.SysRoleEntryPB)
9175
0
  return false;
9176
851
#undef DO_
9177
851
}
9178
9179
void SysRoleEntryPB::SerializeWithCachedSizes(
9180
0
    ::google::protobuf::io::CodedOutputStream* output) const {
9181
  // @@protoc_insertion_point(serialize_start:yb.master.SysRoleEntryPB)
9182
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9183
0
  (void) cached_has_bits;
9184
9185
0
  cached_has_bits = _has_bits_[0];
9186
  // optional bytes role = 1;
9187
0
  if (cached_has_bits & 0x00000001u) {
9188
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
9189
0
      1, this->role(), output);
9190
0
  }
9191
9192
  // optional bool can_login = 2;
9193
0
  if (cached_has_bits & 0x00000004u) {
9194
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->can_login(), output);
9195
0
  }
9196
9197
  // optional bool is_superuser = 3;
9198
0
  if (cached_has_bits & 0x00000008u) {
9199
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->is_superuser(), output);
9200
0
  }
9201
9202
  // repeated bytes member_of = 4;
9203
0
  for (int i = 0, n = this->member_of_size(); i < n; i++) {
9204
0
    ::google::protobuf::internal::WireFormatLite::WriteBytes(
9205
0
      4, this->member_of(i), output);
9206
0
  }
9207
9208
  // optional bytes salted_hash = 5;
9209
0
  if (cached_has_bits & 0x00000002u) {
9210
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
9211
0
      5, this->salted_hash(), output);
9212
0
  }
9213
9214
  // repeated .yb.master.ResourcePermissionsPB resources = 7;
9215
0
  for (unsigned int i = 0,
9216
0
      n = static_cast<unsigned int>(this->resources_size()); i < n; i++) {
9217
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9218
0
      7, this->resources(static_cast<int>(i)), output);
9219
0
  }
9220
9221
0
  if (_internal_metadata_.have_unknown_fields()) {
9222
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9223
0
        _internal_metadata_.unknown_fields(), output);
9224
0
  }
9225
  // @@protoc_insertion_point(serialize_end:yb.master.SysRoleEntryPB)
9226
0
}
9227
9228
::google::protobuf::uint8* SysRoleEntryPB::InternalSerializeWithCachedSizesToArray(
9229
5.63k
    bool deterministic, ::google::protobuf::uint8* target) const {
9230
5.63k
  (void)deterministic; // Unused
9231
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SysRoleEntryPB)
9232
5.63k
  ::google::protobuf::uint32 cached_has_bits = 0;
9233
5.63k
  (void) cached_has_bits;
9234
9235
5.63k
  cached_has_bits = _has_bits_[0];
9236
  // optional bytes role = 1;
9237
5.63k
  if (cached_has_bits & 0x00000001u) {
9238
5.63k
    target =
9239
5.63k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
9240
5.63k
        1, this->role(), target);
9241
5.63k
  }
9242
9243
  // optional bool can_login = 2;
9244
5.63k
  if (cached_has_bits & 0x00000004u) {
9245
5.63k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->can_login(), target);
9246
5.63k
  }
9247
9248
  // optional bool is_superuser = 3;
9249
5.63k
  if (cached_has_bits & 0x00000008u) {
9250
5.63k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->is_superuser(), target);
9251
5.63k
  }
9252
9253
  // repeated bytes member_of = 4;
9254
5.69k
  for (int i = 0, n = this->member_of_size(); i < n; 
i++61
) {
9255
61
    target = ::google::protobuf::internal::WireFormatLite::
9256
61
      WriteBytesToArray(4, this->member_of(i), target);
9257
61
  }
9258
9259
  // optional bytes salted_hash = 5;
9260
5.63k
  if (cached_has_bits & 0x00000002u) {
9261
5.58k
    target =
9262
5.58k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
9263
5.58k
        5, this->salted_hash(), target);
9264
5.58k
  }
9265
9266
  // repeated .yb.master.ResourcePermissionsPB resources = 7;
9267
5.63k
  for (unsigned int i = 0,
9268
11.4k
      n = static_cast<unsigned int>(this->resources_size()); i < n; 
i++5.79k
) {
9269
5.79k
    target = ::google::protobuf::internal::WireFormatLite::
9270
5.79k
      InternalWriteMessageToArray(
9271
5.79k
        7, this->resources(static_cast<int>(i)), deterministic, target);
9272
5.79k
  }
9273
9274
5.63k
  if (_internal_metadata_.have_unknown_fields()) {
9275
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9276
0
        _internal_metadata_.unknown_fields(), target);
9277
0
  }
9278
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SysRoleEntryPB)
9279
5.63k
  return target;
9280
5.63k
}
9281
9282
5.63k
size_t SysRoleEntryPB::ByteSizeLong() const {
9283
// @@protoc_insertion_point(message_byte_size_start:yb.master.SysRoleEntryPB)
9284
5.63k
  size_t total_size = 0;
9285
9286
5.63k
  if (_internal_metadata_.have_unknown_fields()) {
9287
0
    total_size +=
9288
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9289
0
        _internal_metadata_.unknown_fields());
9290
0
  }
9291
  // repeated bytes member_of = 4;
9292
5.63k
  total_size += 1 *
9293
5.63k
      ::google::protobuf::internal::FromIntSize(this->member_of_size());
9294
5.69k
  for (int i = 0, n = this->member_of_size(); i < n; 
i++61
) {
9295
61
    total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
9296
61
      this->member_of(i));
9297
61
  }
9298
9299
  // repeated .yb.master.ResourcePermissionsPB resources = 7;
9300
5.63k
  {
9301
5.63k
    unsigned int count = static_cast<unsigned int>(this->resources_size());
9302
5.63k
    total_size += 1UL * count;
9303
11.4k
    for (unsigned int i = 0; i < count; 
i++5.79k
) {
9304
5.79k
      total_size +=
9305
5.79k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
9306
5.79k
          this->resources(static_cast<int>(i)));
9307
5.79k
    }
9308
5.63k
  }
9309
9310
5.63k
  if (_has_bits_[0 / 32] & 15u) {
9311
    // optional bytes role = 1;
9312
5.63k
    if (has_role()) {
9313
5.63k
      total_size += 1 +
9314
5.63k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
9315
5.63k
          this->role());
9316
5.63k
    }
9317
9318
    // optional bytes salted_hash = 5;
9319
5.63k
    if (has_salted_hash()) {
9320
5.58k
      total_size += 1 +
9321
5.58k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
9322
5.58k
          this->salted_hash());
9323
5.58k
    }
9324
9325
    // optional bool can_login = 2;
9326
5.63k
    if (has_can_login()) {
9327
5.63k
      total_size += 1 + 1;
9328
5.63k
    }
9329
9330
    // optional bool is_superuser = 3;
9331
5.63k
    if (has_is_superuser()) {
9332
5.63k
      total_size += 1 + 1;
9333
5.63k
    }
9334
9335
5.63k
  }
9336
5.63k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9337
5.63k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9338
5.63k
  _cached_size_ = cached_size;
9339
5.63k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9340
5.63k
  return total_size;
9341
5.63k
}
9342
9343
0
void SysRoleEntryPB::MergeFrom(const ::google::protobuf::Message& from) {
9344
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SysRoleEntryPB)
9345
0
  GOOGLE_DCHECK_NE(&from, this);
9346
0
  const SysRoleEntryPB* source =
9347
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SysRoleEntryPB>(
9348
0
          &from);
9349
0
  if (source == NULL) {
9350
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SysRoleEntryPB)
9351
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9352
0
  } else {
9353
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SysRoleEntryPB)
9354
0
    MergeFrom(*source);
9355
0
  }
9356
0
}
9357
9358
851
void SysRoleEntryPB::MergeFrom(const SysRoleEntryPB& from) {
9359
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SysRoleEntryPB)
9360
851
  GOOGLE_DCHECK_NE(&from, this);
9361
851
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9362
851
  ::google::protobuf::uint32 cached_has_bits = 0;
9363
851
  (void) cached_has_bits;
9364
9365
851
  member_of_.MergeFrom(from.member_of_);
9366
851
  resources_.MergeFrom(from.resources_);
9367
851
  cached_has_bits = from._has_bits_[0];
9368
851
  if (cached_has_bits & 15u) {
9369
851
    if (cached_has_bits & 0x00000001u) {
9370
851
      set_has_role();
9371
851
      role_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.role_);
9372
851
    }
9373
851
    if (cached_has_bits & 0x00000002u) {
9374
851
      set_has_salted_hash();
9375
851
      salted_hash_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.salted_hash_);
9376
851
    }
9377
851
    if (cached_has_bits & 0x00000004u) {
9378
851
      can_login_ = from.can_login_;
9379
851
    }
9380
851
    if (cached_has_bits & 0x00000008u) {
9381
851
      is_superuser_ = from.is_superuser_;
9382
851
    }
9383
851
    _has_bits_[0] |= cached_has_bits;
9384
851
  }
9385
851
}
9386
9387
0
void SysRoleEntryPB::CopyFrom(const ::google::protobuf::Message& from) {
9388
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SysRoleEntryPB)
9389
0
  if (&from == this) return;
9390
0
  Clear();
9391
0
  MergeFrom(from);
9392
0
}
9393
9394
851
void SysRoleEntryPB::CopyFrom(const SysRoleEntryPB& from) {
9395
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SysRoleEntryPB)
9396
851
  if (&from == this) 
return0
;
9397
851
  Clear();
9398
851
  MergeFrom(from);
9399
851
}
9400
9401
6.48k
bool SysRoleEntryPB::IsInitialized() const {
9402
6.48k
  return true;
9403
6.48k
}
9404
9405
0
void SysRoleEntryPB::Swap(SysRoleEntryPB* other) {
9406
0
  if (other == this) return;
9407
0
  InternalSwap(other);
9408
0
}
9409
30.7k
void SysRoleEntryPB::InternalSwap(SysRoleEntryPB* other) {
9410
30.7k
  using std::swap;
9411
30.7k
  member_of_.InternalSwap(&other->member_of_);
9412
30.7k
  resources_.InternalSwap(&other->resources_);
9413
30.7k
  role_.Swap(&other->role_);
9414
30.7k
  salted_hash_.Swap(&other->salted_hash_);
9415
30.7k
  swap(can_login_, other->can_login_);
9416
30.7k
  swap(is_superuser_, other->is_superuser_);
9417
30.7k
  swap(_has_bits_[0], other->_has_bits_[0]);
9418
30.7k
  _internal_metadata_.Swap(&other->_internal_metadata_);
9419
30.7k
  swap(_cached_size_, other->_cached_size_);
9420
30.7k
}
9421
9422
71.9k
::google::protobuf::Metadata SysRoleEntryPB::GetMetadata() const {
9423
71.9k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
9424
71.9k
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
9425
71.9k
}
9426
9427
9428
// ===================================================================
9429
9430
26.8k
void SysSecurityConfigEntryPB::InitAsDefaultInstance() {
9431
26.8k
}
9432
#if !defined(_MSC_VER) || _MSC_VER >= 1900
9433
const int SysSecurityConfigEntryPB::kRolesVersionFieldNumber;
9434
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
9435
9436
SysSecurityConfigEntryPB::SysSecurityConfigEntryPB()
9437
40.4k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9438
40.4k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
9439
13.5k
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysSecurityConfigEntryPB();
9440
13.5k
  }
9441
40.4k
  SharedCtor();
9442
  // @@protoc_insertion_point(constructor:yb.master.SysSecurityConfigEntryPB)
9443
40.4k
}
9444
SysSecurityConfigEntryPB::SysSecurityConfigEntryPB(const SysSecurityConfigEntryPB& from)
9445
  : ::google::protobuf::Message(),
9446
      _internal_metadata_(NULL),
9447
      _has_bits_(from._has_bits_),
9448
0
      _cached_size_(0) {
9449
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9450
0
  roles_version_ = from.roles_version_;
9451
  // @@protoc_insertion_point(copy_constructor:yb.master.SysSecurityConfigEntryPB)
9452
0
}
9453
9454
40.4k
void SysSecurityConfigEntryPB::SharedCtor() {
9455
40.4k
  _cached_size_ = 0;
9456
40.4k
  roles_version_ = GOOGLE_ULONGLONG(0);
9457
40.4k
}
9458
9459
10.6k
SysSecurityConfigEntryPB::~SysSecurityConfigEntryPB() {
9460
  // @@protoc_insertion_point(destructor:yb.master.SysSecurityConfigEntryPB)
9461
10.6k
  SharedDtor();
9462
10.6k
}
9463
9464
10.6k
void SysSecurityConfigEntryPB::SharedDtor() {
9465
10.6k
}
9466
9467
0
void SysSecurityConfigEntryPB::SetCachedSize(int size) const {
9468
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9469
0
  _cached_size_ = size;
9470
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9471
0
}
9472
0
const ::google::protobuf::Descriptor* SysSecurityConfigEntryPB::descriptor() {
9473
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
9474
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9475
0
}
9476
9477
0
const SysSecurityConfigEntryPB& SysSecurityConfigEntryPB::default_instance() {
9478
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysSecurityConfigEntryPB();
9479
0
  return *internal_default_instance();
9480
0
}
9481
9482
0
SysSecurityConfigEntryPB* SysSecurityConfigEntryPB::New(::google::protobuf::Arena* arena) const {
9483
0
  SysSecurityConfigEntryPB* n = new SysSecurityConfigEntryPB;
9484
0
  if (arena != NULL) {
9485
0
    arena->Own(n);
9486
0
  }
9487
0
  return n;
9488
0
}
9489
9490
0
void SysSecurityConfigEntryPB::Clear() {
9491
// @@protoc_insertion_point(message_clear_start:yb.master.SysSecurityConfigEntryPB)
9492
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9493
  // Prevent compiler warnings about cached_has_bits being unused
9494
0
  (void) cached_has_bits;
9495
9496
0
  roles_version_ = GOOGLE_ULONGLONG(0);
9497
0
  _has_bits_.Clear();
9498
0
  _internal_metadata_.Clear();
9499
0
}
9500
9501
bool SysSecurityConfigEntryPB::MergePartialFromCodedStream(
9502
850
    ::google::protobuf::io::CodedInputStream* input) {
9503
850
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
9504
850
  ::google::protobuf::uint32 tag;
9505
  // @@protoc_insertion_point(parse_start:yb.master.SysSecurityConfigEntryPB)
9506
1.70k
  for (;;) {
9507
1.70k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9508
1.70k
    tag = p.first;
9509
1.70k
    if (!p.second) 
goto handle_unusual850
;
9510
850
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9511
      // optional uint64 roles_version = 1;
9512
850
      case 1: {
9513
850
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9514
850
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
9515
850
          set_has_roles_version();
9516
850
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9517
850
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
9518
850
                 input, &roles_version_)));
9519
850
        } else {
9520
0
          goto handle_unusual;
9521
0
        }
9522
850
        break;
9523
850
      }
9524
9525
850
      default: {
9526
850
      handle_unusual:
9527
850
        if (tag == 0) {
9528
850
          goto success;
9529
850
        }
9530
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
9531
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
9532
0
        break;
9533
0
      }
9534
850
    }
9535
850
  }
9536
850
success:
9537
  // @@protoc_insertion_point(parse_success:yb.master.SysSecurityConfigEntryPB)
9538
850
  return true;
9539
0
failure:
9540
  // @@protoc_insertion_point(parse_failure:yb.master.SysSecurityConfigEntryPB)
9541
0
  return false;
9542
850
#undef DO_
9543
850
}
9544
9545
void SysSecurityConfigEntryPB::SerializeWithCachedSizes(
9546
0
    ::google::protobuf::io::CodedOutputStream* output) const {
9547
  // @@protoc_insertion_point(serialize_start:yb.master.SysSecurityConfigEntryPB)
9548
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9549
0
  (void) cached_has_bits;
9550
9551
0
  cached_has_bits = _has_bits_[0];
9552
  // optional uint64 roles_version = 1;
9553
0
  if (cached_has_bits & 0x00000001u) {
9554
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->roles_version(), output);
9555
0
  }
9556
9557
0
  if (_internal_metadata_.have_unknown_fields()) {
9558
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9559
0
        _internal_metadata_.unknown_fields(), output);
9560
0
  }
9561
  // @@protoc_insertion_point(serialize_end:yb.master.SysSecurityConfigEntryPB)
9562
0
}
9563
9564
::google::protobuf::uint8* SysSecurityConfigEntryPB::InternalSerializeWithCachedSizesToArray(
9565
8.93k
    bool deterministic, ::google::protobuf::uint8* target) const {
9566
8.93k
  (void)deterministic; // Unused
9567
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SysSecurityConfigEntryPB)
9568
8.93k
  ::google::protobuf::uint32 cached_has_bits = 0;
9569
8.93k
  (void) cached_has_bits;
9570
9571
8.93k
  cached_has_bits = _has_bits_[0];
9572
  // optional uint64 roles_version = 1;
9573
8.93k
  if (cached_has_bits & 0x00000001u) {
9574
8.93k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->roles_version(), target);
9575
8.93k
  }
9576
9577
8.93k
  if (_internal_metadata_.have_unknown_fields()) {
9578
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9579
0
        _internal_metadata_.unknown_fields(), target);
9580
0
  }
9581
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SysSecurityConfigEntryPB)
9582
8.93k
  return target;
9583
8.93k
}
9584
9585
8.93k
size_t SysSecurityConfigEntryPB::ByteSizeLong() const {
9586
// @@protoc_insertion_point(message_byte_size_start:yb.master.SysSecurityConfigEntryPB)
9587
8.93k
  size_t total_size = 0;
9588
9589
8.93k
  if (_internal_metadata_.have_unknown_fields()) {
9590
0
    total_size +=
9591
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9592
0
        _internal_metadata_.unknown_fields());
9593
0
  }
9594
  // optional uint64 roles_version = 1;
9595
8.93k
  if (has_roles_version()) {
9596
8.93k
    total_size += 1 +
9597
8.93k
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
9598
8.93k
        this->roles_version());
9599
8.93k
  }
9600
9601
8.93k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9602
8.93k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9603
8.93k
  _cached_size_ = cached_size;
9604
8.93k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9605
8.93k
  return total_size;
9606
8.93k
}
9607
9608
0
void SysSecurityConfigEntryPB::MergeFrom(const ::google::protobuf::Message& from) {
9609
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SysSecurityConfigEntryPB)
9610
0
  GOOGLE_DCHECK_NE(&from, this);
9611
0
  const SysSecurityConfigEntryPB* source =
9612
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SysSecurityConfigEntryPB>(
9613
0
          &from);
9614
0
  if (source == NULL) {
9615
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SysSecurityConfigEntryPB)
9616
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9617
0
  } else {
9618
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SysSecurityConfigEntryPB)
9619
0
    MergeFrom(*source);
9620
0
  }
9621
0
}
9622
9623
6.87k
void SysSecurityConfigEntryPB::MergeFrom(const SysSecurityConfigEntryPB& from) {
9624
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SysSecurityConfigEntryPB)
9625
6.87k
  GOOGLE_DCHECK_NE(&from, this);
9626
6.87k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9627
6.87k
  ::google::protobuf::uint32 cached_has_bits = 0;
9628
6.87k
  (void) cached_has_bits;
9629
9630
6.87k
  if (from.has_roles_version()) {
9631
6.87k
    set_roles_version(from.roles_version());
9632
6.87k
  }
9633
6.87k
}
9634
9635
0
void SysSecurityConfigEntryPB::CopyFrom(const ::google::protobuf::Message& from) {
9636
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SysSecurityConfigEntryPB)
9637
0
  if (&from == this) return;
9638
0
  Clear();
9639
0
  MergeFrom(from);
9640
0
}
9641
9642
0
void SysSecurityConfigEntryPB::CopyFrom(const SysSecurityConfigEntryPB& from) {
9643
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SysSecurityConfigEntryPB)
9644
0
  if (&from == this) return;
9645
0
  Clear();
9646
0
  MergeFrom(from);
9647
0
}
9648
9649
0
bool SysSecurityConfigEntryPB::IsInitialized() const {
9650
0
  return true;
9651
0
}
9652
9653
0
void SysSecurityConfigEntryPB::Swap(SysSecurityConfigEntryPB* other) {
9654
0
  if (other == this) return;
9655
0
  InternalSwap(other);
9656
0
}
9657
2.90k
void SysSecurityConfigEntryPB::InternalSwap(SysSecurityConfigEntryPB* other) {
9658
2.90k
  using std::swap;
9659
2.90k
  swap(roles_version_, other->roles_version_);
9660
2.90k
  swap(_has_bits_[0], other->_has_bits_[0]);
9661
2.90k
  _internal_metadata_.Swap(&other->_internal_metadata_);
9662
2.90k
  swap(_cached_size_, other->_cached_size_);
9663
2.90k
}
9664
9665
60.2k
::google::protobuf::Metadata SysSecurityConfigEntryPB::GetMetadata() const {
9666
60.2k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
9667
60.2k
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
9668
60.2k
}
9669
9670
9671
// ===================================================================
9672
9673
26.8k
void SysYSQLCatalogConfigEntryPB::InitAsDefaultInstance() {
9674
26.8k
}
9675
#if !defined(_MSC_VER) || _MSC_VER >= 1900
9676
const int SysYSQLCatalogConfigEntryPB::kVersionFieldNumber;
9677
const int SysYSQLCatalogConfigEntryPB::kInitdbDoneFieldNumber;
9678
const int SysYSQLCatalogConfigEntryPB::kInitdbErrorFieldNumber;
9679
const int SysYSQLCatalogConfigEntryPB::kTransactionalSysCatalogEnabledFieldNumber;
9680
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
9681
9682
SysYSQLCatalogConfigEntryPB::SysYSQLCatalogConfigEntryPB()
9683
38.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9684
38.0k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
9685
11.1k
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysYSQLCatalogConfigEntryPB();
9686
11.1k
  }
9687
38.0k
  SharedCtor();
9688
  // @@protoc_insertion_point(constructor:yb.master.SysYSQLCatalogConfigEntryPB)
9689
38.0k
}
9690
SysYSQLCatalogConfigEntryPB::SysYSQLCatalogConfigEntryPB(const SysYSQLCatalogConfigEntryPB& from)
9691
  : ::google::protobuf::Message(),
9692
      _internal_metadata_(NULL),
9693
      _has_bits_(from._has_bits_),
9694
0
      _cached_size_(0) {
9695
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9696
0
  initdb_error_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9697
0
  if (from.has_initdb_error()) {
9698
0
    initdb_error_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.initdb_error_);
9699
0
  }
9700
0
  ::memcpy(&version_, &from.version_,
9701
0
    static_cast<size_t>(reinterpret_cast<char*>(&transactional_sys_catalog_enabled_) -
9702
0
    reinterpret_cast<char*>(&version_)) + sizeof(transactional_sys_catalog_enabled_));
9703
  // @@protoc_insertion_point(copy_constructor:yb.master.SysYSQLCatalogConfigEntryPB)
9704
0
}
9705
9706
38.0k
void SysYSQLCatalogConfigEntryPB::SharedCtor() {
9707
38.0k
  _cached_size_ = 0;
9708
38.0k
  initdb_error_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9709
38.0k
  ::memset(&version_, 0, static_cast<size_t>(
9710
38.0k
      reinterpret_cast<char*>(&transactional_sys_catalog_enabled_) -
9711
38.0k
      reinterpret_cast<char*>(&version_)) + sizeof(transactional_sys_catalog_enabled_));
9712
38.0k
}
9713
9714
8.26k
SysYSQLCatalogConfigEntryPB::~SysYSQLCatalogConfigEntryPB() {
9715
  // @@protoc_insertion_point(destructor:yb.master.SysYSQLCatalogConfigEntryPB)
9716
8.26k
  SharedDtor();
9717
8.26k
}
9718
9719
8.26k
void SysYSQLCatalogConfigEntryPB::SharedDtor() {
9720
8.26k
  initdb_error_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9721
8.26k
}
9722
9723
0
void SysYSQLCatalogConfigEntryPB::SetCachedSize(int size) const {
9724
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9725
0
  _cached_size_ = size;
9726
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9727
0
}
9728
0
const ::google::protobuf::Descriptor* SysYSQLCatalogConfigEntryPB::descriptor() {
9729
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
9730
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9731
0
}
9732
9733
0
const SysYSQLCatalogConfigEntryPB& SysYSQLCatalogConfigEntryPB::default_instance() {
9734
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysYSQLCatalogConfigEntryPB();
9735
0
  return *internal_default_instance();
9736
0
}
9737
9738
0
SysYSQLCatalogConfigEntryPB* SysYSQLCatalogConfigEntryPB::New(::google::protobuf::Arena* arena) const {
9739
0
  SysYSQLCatalogConfigEntryPB* n = new SysYSQLCatalogConfigEntryPB;
9740
0
  if (arena != NULL) {
9741
0
    arena->Own(n);
9742
0
  }
9743
0
  return n;
9744
0
}
9745
9746
0
void SysYSQLCatalogConfigEntryPB::Clear() {
9747
// @@protoc_insertion_point(message_clear_start:yb.master.SysYSQLCatalogConfigEntryPB)
9748
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9749
  // Prevent compiler warnings about cached_has_bits being unused
9750
0
  (void) cached_has_bits;
9751
9752
0
  cached_has_bits = _has_bits_[0];
9753
0
  if (cached_has_bits & 0x00000001u) {
9754
0
    GOOGLE_DCHECK(!initdb_error_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
9755
0
    (*initdb_error_.UnsafeRawStringPointer())->clear();
9756
0
  }
9757
0
  if (cached_has_bits & 14u) {
9758
0
    ::memset(&version_, 0, static_cast<size_t>(
9759
0
        reinterpret_cast<char*>(&transactional_sys_catalog_enabled_) -
9760
0
        reinterpret_cast<char*>(&version_)) + sizeof(transactional_sys_catalog_enabled_));
9761
0
  }
9762
0
  _has_bits_.Clear();
9763
0
  _internal_metadata_.Clear();
9764
0
}
9765
9766
bool SysYSQLCatalogConfigEntryPB::MergePartialFromCodedStream(
9767
850
    ::google::protobuf::io::CodedInputStream* input) {
9768
1.71k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
9769
850
  ::google::protobuf::uint32 tag;
9770
  // @@protoc_insertion_point(parse_start:yb.master.SysYSQLCatalogConfigEntryPB)
9771
2.56k
  for (;;) {
9772
2.56k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9773
2.56k
    tag = p.first;
9774
2.56k
    if (!p.second) 
goto handle_unusual850
;
9775
1.71k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9776
      // optional uint64 version = 1;
9777
850
      case 1: {
9778
850
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9779
850
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
9780
850
          set_has_version();
9781
850
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9782
850
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
9783
850
                 input, &version_)));
9784
850
        } else {
9785
0
          goto handle_unusual;
9786
0
        }
9787
850
        break;
9788
850
      }
9789
9790
      // optional bool initdb_done = 2;
9791
850
      case 2: {
9792
762
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9793
762
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
9794
762
          set_has_initdb_done();
9795
762
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9796
762
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
9797
762
                 input, &initdb_done_)));
9798
762
        } else {
9799
0
          goto handle_unusual;
9800
0
        }
9801
762
        break;
9802
762
      }
9803
9804
      // optional string initdb_error = 5;
9805
762
      case 5: {
9806
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9807
0
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
9808
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
9809
0
                input, this->mutable_initdb_error()));
9810
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
9811
0
            this->initdb_error().data(), static_cast<int>(this->initdb_error().length()),
9812
0
            ::google::protobuf::internal::WireFormat::PARSE,
9813
0
            "yb.master.SysYSQLCatalogConfigEntryPB.initdb_error");
9814
0
        } else {
9815
0
          goto handle_unusual;
9816
0
        }
9817
0
        break;
9818
0
      }
9819
9820
      // optional bool transactional_sys_catalog_enabled = 6;
9821
104
      case 6: {
9822
104
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9823
104
            static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
9824
104
          set_has_transactional_sys_catalog_enabled();
9825
104
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9826
104
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
9827
104
                 input, &transactional_sys_catalog_enabled_)));
9828
104
        } else {
9829
0
          goto handle_unusual;
9830
0
        }
9831
104
        break;
9832
104
      }
9833
9834
104
      default: {
9835
850
      handle_unusual:
9836
850
        if (tag == 0) {
9837
850
          goto success;
9838
850
        }
9839
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
9840
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
9841
0
        break;
9842
0
      }
9843
1.71k
    }
9844
1.71k
  }
9845
850
success:
9846
  // @@protoc_insertion_point(parse_success:yb.master.SysYSQLCatalogConfigEntryPB)
9847
850
  return true;
9848
0
failure:
9849
  // @@protoc_insertion_point(parse_failure:yb.master.SysYSQLCatalogConfigEntryPB)
9850
0
  return false;
9851
850
#undef DO_
9852
850
}
9853
9854
void SysYSQLCatalogConfigEntryPB::SerializeWithCachedSizes(
9855
0
    ::google::protobuf::io::CodedOutputStream* output) const {
9856
  // @@protoc_insertion_point(serialize_start:yb.master.SysYSQLCatalogConfigEntryPB)
9857
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9858
0
  (void) cached_has_bits;
9859
9860
0
  cached_has_bits = _has_bits_[0];
9861
  // optional uint64 version = 1;
9862
0
  if (cached_has_bits & 0x00000002u) {
9863
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->version(), output);
9864
0
  }
9865
9866
  // optional bool initdb_done = 2;
9867
0
  if (cached_has_bits & 0x00000004u) {
9868
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->initdb_done(), output);
9869
0
  }
9870
9871
  // optional string initdb_error = 5;
9872
0
  if (cached_has_bits & 0x00000001u) {
9873
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
9874
0
      this->initdb_error().data(), static_cast<int>(this->initdb_error().length()),
9875
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
9876
0
      "yb.master.SysYSQLCatalogConfigEntryPB.initdb_error");
9877
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
9878
0
      5, this->initdb_error(), output);
9879
0
  }
9880
9881
  // optional bool transactional_sys_catalog_enabled = 6;
9882
0
  if (cached_has_bits & 0x00000008u) {
9883
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->transactional_sys_catalog_enabled(), output);
9884
0
  }
9885
9886
0
  if (_internal_metadata_.have_unknown_fields()) {
9887
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9888
0
        _internal_metadata_.unknown_fields(), output);
9889
0
  }
9890
  // @@protoc_insertion_point(serialize_end:yb.master.SysYSQLCatalogConfigEntryPB)
9891
0
}
9892
9893
::google::protobuf::uint8* SysYSQLCatalogConfigEntryPB::InternalSerializeWithCachedSizesToArray(
9894
6.57k
    bool deterministic, ::google::protobuf::uint8* target) const {
9895
6.57k
  (void)deterministic; // Unused
9896
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SysYSQLCatalogConfigEntryPB)
9897
6.57k
  ::google::protobuf::uint32 cached_has_bits = 0;
9898
6.57k
  (void) cached_has_bits;
9899
9900
6.57k
  cached_has_bits = _has_bits_[0];
9901
  // optional uint64 version = 1;
9902
6.57k
  if (cached_has_bits & 0x00000002u) {
9903
6.57k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->version(), target);
9904
6.57k
  }
9905
9906
  // optional bool initdb_done = 2;
9907
6.57k
  if (cached_has_bits & 0x00000004u) {
9908
1.50k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->initdb_done(), target);
9909
1.50k
  }
9910
9911
  // optional string initdb_error = 5;
9912
6.57k
  if (cached_has_bits & 0x00000001u) {
9913
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
9914
0
      this->initdb_error().data(), static_cast<int>(this->initdb_error().length()),
9915
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
9916
0
      "yb.master.SysYSQLCatalogConfigEntryPB.initdb_error");
9917
0
    target =
9918
0
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
9919
0
        5, this->initdb_error(), target);
9920
0
  }
9921
9922
  // optional bool transactional_sys_catalog_enabled = 6;
9923
6.57k
  if (cached_has_bits & 0x00000008u) {
9924
2.91k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->transactional_sys_catalog_enabled(), target);
9925
2.91k
  }
9926
9927
6.57k
  if (_internal_metadata_.have_unknown_fields()) {
9928
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9929
0
        _internal_metadata_.unknown_fields(), target);
9930
0
  }
9931
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SysYSQLCatalogConfigEntryPB)
9932
6.57k
  return target;
9933
6.57k
}
9934
9935
6.57k
size_t SysYSQLCatalogConfigEntryPB::ByteSizeLong() const {
9936
// @@protoc_insertion_point(message_byte_size_start:yb.master.SysYSQLCatalogConfigEntryPB)
9937
6.57k
  size_t total_size = 0;
9938
9939
6.57k
  if (_internal_metadata_.have_unknown_fields()) {
9940
0
    total_size +=
9941
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9942
0
        _internal_metadata_.unknown_fields());
9943
0
  }
9944
6.57k
  if (_has_bits_[0 / 32] & 15u) {
9945
    // optional string initdb_error = 5;
9946
6.57k
    if (has_initdb_error()) {
9947
0
      total_size += 1 +
9948
0
        ::google::protobuf::internal::WireFormatLite::StringSize(
9949
0
          this->initdb_error());
9950
0
    }
9951
9952
    // optional uint64 version = 1;
9953
6.57k
    if (has_version()) {
9954
6.57k
      total_size += 1 +
9955
6.57k
        ::google::protobuf::internal::WireFormatLite::UInt64Size(
9956
6.57k
          this->version());
9957
6.57k
    }
9958
9959
    // optional bool initdb_done = 2;
9960
6.57k
    if (has_initdb_done()) {
9961
1.50k
      total_size += 1 + 1;
9962
1.50k
    }
9963
9964
    // optional bool transactional_sys_catalog_enabled = 6;
9965
6.57k
    if (has_transactional_sys_catalog_enabled()) {
9966
2.91k
      total_size += 1 + 1;
9967
2.91k
    }
9968
9969
6.57k
  }
9970
6.57k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9971
6.57k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9972
6.57k
  _cached_size_ = cached_size;
9973
6.57k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9974
6.57k
  return total_size;
9975
6.57k
}
9976
9977
0
void SysYSQLCatalogConfigEntryPB::MergeFrom(const ::google::protobuf::Message& from) {
9978
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SysYSQLCatalogConfigEntryPB)
9979
0
  GOOGLE_DCHECK_NE(&from, this);
9980
0
  const SysYSQLCatalogConfigEntryPB* source =
9981
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SysYSQLCatalogConfigEntryPB>(
9982
0
          &from);
9983
0
  if (source == NULL) {
9984
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SysYSQLCatalogConfigEntryPB)
9985
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9986
0
  } else {
9987
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SysYSQLCatalogConfigEntryPB)
9988
0
    MergeFrom(*source);
9989
0
  }
9990
0
}
9991
9992
4.51k
void SysYSQLCatalogConfigEntryPB::MergeFrom(const SysYSQLCatalogConfigEntryPB& from) {
9993
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SysYSQLCatalogConfigEntryPB)
9994
4.51k
  GOOGLE_DCHECK_NE(&from, this);
9995
4.51k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9996
4.51k
  ::google::protobuf::uint32 cached_has_bits = 0;
9997
4.51k
  (void) cached_has_bits;
9998
9999
4.51k
  cached_has_bits = from._has_bits_[0];
10000
4.51k
  if (cached_has_bits & 15u) {
10001
4.51k
    if (cached_has_bits & 0x00000001u) {
10002
0
      set_has_initdb_error();
10003
0
      initdb_error_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.initdb_error_);
10004
0
    }
10005
4.51k
    if (cached_has_bits & 0x00000002u) {
10006
4.51k
      version_ = from.version_;
10007
4.51k
    }
10008
4.51k
    if (cached_has_bits & 0x00000004u) {
10009
1.52k
      initdb_done_ = from.initdb_done_;
10010
1.52k
    }
10011
4.51k
    if (cached_has_bits & 0x00000008u) {
10012
118
      transactional_sys_catalog_enabled_ = from.transactional_sys_catalog_enabled_;
10013
118
    }
10014
4.51k
    _has_bits_[0] |= cached_has_bits;
10015
4.51k
  }
10016
4.51k
}
10017
10018
0
void SysYSQLCatalogConfigEntryPB::CopyFrom(const ::google::protobuf::Message& from) {
10019
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SysYSQLCatalogConfigEntryPB)
10020
0
  if (&from == this) return;
10021
0
  Clear();
10022
0
  MergeFrom(from);
10023
0
}
10024
10025
0
void SysYSQLCatalogConfigEntryPB::CopyFrom(const SysYSQLCatalogConfigEntryPB& from) {
10026
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SysYSQLCatalogConfigEntryPB)
10027
0
  if (&from == this) return;
10028
0
  Clear();
10029
0
  MergeFrom(from);
10030
0
}
10031
10032
0
bool SysYSQLCatalogConfigEntryPB::IsInitialized() const {
10033
0
  return true;
10034
0
}
10035
10036
0
void SysYSQLCatalogConfigEntryPB::Swap(SysYSQLCatalogConfigEntryPB* other) {
10037
0
  if (other == this) return;
10038
0
  InternalSwap(other);
10039
0
}
10040
2.90k
void SysYSQLCatalogConfigEntryPB::InternalSwap(SysYSQLCatalogConfigEntryPB* other) {
10041
2.90k
  using std::swap;
10042
2.90k
  initdb_error_.Swap(&other->initdb_error_);
10043
2.90k
  swap(version_, other->version_);
10044
2.90k
  swap(initdb_done_, other->initdb_done_);
10045
2.90k
  swap(transactional_sys_catalog_enabled_, other->transactional_sys_catalog_enabled_);
10046
2.90k
  swap(_has_bits_[0], other->_has_bits_[0]);
10047
2.90k
  _internal_metadata_.Swap(&other->_internal_metadata_);
10048
2.90k
  swap(_cached_size_, other->_cached_size_);
10049
2.90k
}
10050
10051
38.1k
::google::protobuf::Metadata SysYSQLCatalogConfigEntryPB::GetMetadata() const {
10052
38.1k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
10053
38.1k
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
10054
38.1k
}
10055
10056
10057
// ===================================================================
10058
10059
26.8k
void SysTransactionTablesConfigEntryPB::InitAsDefaultInstance() {
10060
26.8k
}
10061
#if !defined(_MSC_VER) || _MSC_VER >= 1900
10062
const int SysTransactionTablesConfigEntryPB::kVersionFieldNumber;
10063
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
10064
10065
SysTransactionTablesConfigEntryPB::SysTransactionTablesConfigEntryPB()
10066
35.4k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
10067
35.4k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
10068
8.61k
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysTransactionTablesConfigEntryPB();
10069
8.61k
  }
10070
35.4k
  SharedCtor();
10071
  // @@protoc_insertion_point(constructor:yb.master.SysTransactionTablesConfigEntryPB)
10072
35.4k
}
10073
SysTransactionTablesConfigEntryPB::SysTransactionTablesConfigEntryPB(const SysTransactionTablesConfigEntryPB& from)
10074
  : ::google::protobuf::Message(),
10075
      _internal_metadata_(NULL),
10076
      _has_bits_(from._has_bits_),
10077
0
      _cached_size_(0) {
10078
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10079
0
  version_ = from.version_;
10080
  // @@protoc_insertion_point(copy_constructor:yb.master.SysTransactionTablesConfigEntryPB)
10081
0
}
10082
10083
35.4k
void SysTransactionTablesConfigEntryPB::SharedCtor() {
10084
35.4k
  _cached_size_ = 0;
10085
35.4k
  version_ = GOOGLE_ULONGLONG(0);
10086
35.4k
}
10087
10088
5.68k
SysTransactionTablesConfigEntryPB::~SysTransactionTablesConfigEntryPB() {
10089
  // @@protoc_insertion_point(destructor:yb.master.SysTransactionTablesConfigEntryPB)
10090
5.68k
  SharedDtor();
10091
5.68k
}
10092
10093
5.68k
void SysTransactionTablesConfigEntryPB::SharedDtor() {
10094
5.68k
}
10095
10096
0
void SysTransactionTablesConfigEntryPB::SetCachedSize(int size) const {
10097
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10098
0
  _cached_size_ = size;
10099
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10100
0
}
10101
0
const ::google::protobuf::Descriptor* SysTransactionTablesConfigEntryPB::descriptor() {
10102
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
10103
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
10104
0
}
10105
10106
0
const SysTransactionTablesConfigEntryPB& SysTransactionTablesConfigEntryPB::default_instance() {
10107
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysTransactionTablesConfigEntryPB();
10108
0
  return *internal_default_instance();
10109
0
}
10110
10111
0
SysTransactionTablesConfigEntryPB* SysTransactionTablesConfigEntryPB::New(::google::protobuf::Arena* arena) const {
10112
0
  SysTransactionTablesConfigEntryPB* n = new SysTransactionTablesConfigEntryPB;
10113
0
  if (arena != NULL) {
10114
0
    arena->Own(n);
10115
0
  }
10116
0
  return n;
10117
0
}
10118
10119
0
void SysTransactionTablesConfigEntryPB::Clear() {
10120
// @@protoc_insertion_point(message_clear_start:yb.master.SysTransactionTablesConfigEntryPB)
10121
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10122
  // Prevent compiler warnings about cached_has_bits being unused
10123
0
  (void) cached_has_bits;
10124
10125
0
  version_ = GOOGLE_ULONGLONG(0);
10126
0
  _has_bits_.Clear();
10127
0
  _internal_metadata_.Clear();
10128
0
}
10129
10130
bool SysTransactionTablesConfigEntryPB::MergePartialFromCodedStream(
10131
846
    ::google::protobuf::io::CodedInputStream* input) {
10132
846
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
10133
846
  ::google::protobuf::uint32 tag;
10134
  // @@protoc_insertion_point(parse_start:yb.master.SysTransactionTablesConfigEntryPB)
10135
1.69k
  for (;;) {
10136
1.69k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10137
1.69k
    tag = p.first;
10138
1.69k
    if (!p.second) 
goto handle_unusual846
;
10139
846
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10140
      // optional uint64 version = 1;
10141
846
      case 1: {
10142
846
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10143
846
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
10144
846
          set_has_version();
10145
846
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
10146
846
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
10147
846
                 input, &version_)));
10148
846
        } else {
10149
0
          goto handle_unusual;
10150
0
        }
10151
846
        break;
10152
846
      }
10153
10154
846
      default: {
10155
846
      handle_unusual:
10156
846
        if (tag == 0) {
10157
846
          goto success;
10158
846
        }
10159
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
10160
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
10161
0
        break;
10162
0
      }
10163
846
    }
10164
846
  }
10165
846
success:
10166
  // @@protoc_insertion_point(parse_success:yb.master.SysTransactionTablesConfigEntryPB)
10167
846
  return true;
10168
0
failure:
10169
  // @@protoc_insertion_point(parse_failure:yb.master.SysTransactionTablesConfigEntryPB)
10170
0
  return false;
10171
846
#undef DO_
10172
846
}
10173
10174
void SysTransactionTablesConfigEntryPB::SerializeWithCachedSizes(
10175
0
    ::google::protobuf::io::CodedOutputStream* output) const {
10176
  // @@protoc_insertion_point(serialize_start:yb.master.SysTransactionTablesConfigEntryPB)
10177
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10178
0
  (void) cached_has_bits;
10179
10180
0
  cached_has_bits = _has_bits_[0];
10181
  // optional uint64 version = 1;
10182
0
  if (cached_has_bits & 0x00000001u) {
10183
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->version(), output);
10184
0
  }
10185
10186
0
  if (_internal_metadata_.have_unknown_fields()) {
10187
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10188
0
        _internal_metadata_.unknown_fields(), output);
10189
0
  }
10190
  // @@protoc_insertion_point(serialize_end:yb.master.SysTransactionTablesConfigEntryPB)
10191
0
}
10192
10193
::google::protobuf::uint8* SysTransactionTablesConfigEntryPB::InternalSerializeWithCachedSizesToArray(
10194
4.00k
    bool deterministic, ::google::protobuf::uint8* target) const {
10195
4.00k
  (void)deterministic; // Unused
10196
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SysTransactionTablesConfigEntryPB)
10197
4.00k
  ::google::protobuf::uint32 cached_has_bits = 0;
10198
4.00k
  (void) cached_has_bits;
10199
10200
4.00k
  cached_has_bits = _has_bits_[0];
10201
  // optional uint64 version = 1;
10202
4.00k
  if (cached_has_bits & 0x00000001u) {
10203
4.00k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->version(), target);
10204
4.00k
  }
10205
10206
4.00k
  if (_internal_metadata_.have_unknown_fields()) {
10207
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
10208
0
        _internal_metadata_.unknown_fields(), target);
10209
0
  }
10210
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SysTransactionTablesConfigEntryPB)
10211
4.00k
  return target;
10212
4.00k
}
10213
10214
4.00k
size_t SysTransactionTablesConfigEntryPB::ByteSizeLong() const {
10215
// @@protoc_insertion_point(message_byte_size_start:yb.master.SysTransactionTablesConfigEntryPB)
10216
4.00k
  size_t total_size = 0;
10217
10218
4.00k
  if (_internal_metadata_.have_unknown_fields()) {
10219
0
    total_size +=
10220
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
10221
0
        _internal_metadata_.unknown_fields());
10222
0
  }
10223
  // optional uint64 version = 1;
10224
4.00k
  if (has_version()) {
10225
4.00k
    total_size += 1 +
10226
4.00k
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
10227
4.00k
        this->version());
10228
4.00k
  }
10229
10230
4.00k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
10231
4.00k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10232
4.00k
  _cached_size_ = cached_size;
10233
4.00k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10234
4.00k
  return total_size;
10235
4.00k
}
10236
10237
0
void SysTransactionTablesConfigEntryPB::MergeFrom(const ::google::protobuf::Message& from) {
10238
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SysTransactionTablesConfigEntryPB)
10239
0
  GOOGLE_DCHECK_NE(&from, this);
10240
0
  const SysTransactionTablesConfigEntryPB* source =
10241
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SysTransactionTablesConfigEntryPB>(
10242
0
          &from);
10243
0
  if (source == NULL) {
10244
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SysTransactionTablesConfigEntryPB)
10245
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
10246
0
  } else {
10247
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SysTransactionTablesConfigEntryPB)
10248
0
    MergeFrom(*source);
10249
0
  }
10250
0
}
10251
10252
1.93k
void SysTransactionTablesConfigEntryPB::MergeFrom(const SysTransactionTablesConfigEntryPB& from) {
10253
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SysTransactionTablesConfigEntryPB)
10254
1.93k
  GOOGLE_DCHECK_NE(&from, this);
10255
1.93k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10256
1.93k
  ::google::protobuf::uint32 cached_has_bits = 0;
10257
1.93k
  (void) cached_has_bits;
10258
10259
1.93k
  if (from.has_version()) {
10260
1.93k
    set_version(from.version());
10261
1.93k
  }
10262
1.93k
}
10263
10264
0
void SysTransactionTablesConfigEntryPB::CopyFrom(const ::google::protobuf::Message& from) {
10265
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SysTransactionTablesConfigEntryPB)
10266
0
  if (&from == this) return;
10267
0
  Clear();
10268
0
  MergeFrom(from);
10269
0
}
10270
10271
0
void SysTransactionTablesConfigEntryPB::CopyFrom(const SysTransactionTablesConfigEntryPB& from) {
10272
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SysTransactionTablesConfigEntryPB)
10273
0
  if (&from == this) return;
10274
0
  Clear();
10275
0
  MergeFrom(from);
10276
0
}
10277
10278
0
bool SysTransactionTablesConfigEntryPB::IsInitialized() const {
10279
0
  return true;
10280
0
}
10281
10282
0
void SysTransactionTablesConfigEntryPB::Swap(SysTransactionTablesConfigEntryPB* other) {
10283
0
  if (other == this) return;
10284
0
  InternalSwap(other);
10285
0
}
10286
2.91k
void SysTransactionTablesConfigEntryPB::InternalSwap(SysTransactionTablesConfigEntryPB* other) {
10287
2.91k
  using std::swap;
10288
2.91k
  swap(version_, other->version_);
10289
2.91k
  swap(_has_bits_[0], other->_has_bits_[0]);
10290
2.91k
  _internal_metadata_.Swap(&other->_internal_metadata_);
10291
2.91k
  swap(_cached_size_, other->_cached_size_);
10292
2.91k
}
10293
10294
10.9k
::google::protobuf::Metadata SysTransactionTablesConfigEntryPB::GetMetadata() const {
10295
10.9k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
10296
10.9k
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
10297
10.9k
}
10298
10299
10300
// ===================================================================
10301
10302
26.8k
void SysConfigEntryPB::InitAsDefaultInstance() {
10303
26.8k
  ::yb::master::_SysConfigEntryPB_default_instance_.security_config_ = const_cast< ::yb::master::SysSecurityConfigEntryPB*>(
10304
26.8k
      ::yb::master::SysSecurityConfigEntryPB::internal_default_instance());
10305
26.8k
  ::yb::master::_SysConfigEntryPB_default_instance_.ysql_catalog_config_ = const_cast< ::yb::master::SysYSQLCatalogConfigEntryPB*>(
10306
26.8k
      ::yb::master::SysYSQLCatalogConfigEntryPB::internal_default_instance());
10307
26.8k
  ::yb::master::_SysConfigEntryPB_default_instance_.transaction_tables_config_ = const_cast< ::yb::master::SysTransactionTablesConfigEntryPB*>(
10308
26.8k
      ::yb::master::SysTransactionTablesConfigEntryPB::internal_default_instance());
10309
26.8k
}
10310
0
void SysConfigEntryPB::set_allocated_security_config(::yb::master::SysSecurityConfigEntryPB* security_config) {
10311
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
10312
0
  clear_config();
10313
0
  if (security_config) {
10314
0
    ::google::protobuf::Arena* submessage_arena = NULL;
10315
0
    if (message_arena != submessage_arena) {
10316
0
      security_config = ::google::protobuf::internal::GetOwnedMessage(
10317
0
          message_arena, security_config, submessage_arena);
10318
0
    }
10319
0
    set_has_security_config();
10320
0
    config_.security_config_ = security_config;
10321
0
  }
10322
  // @@protoc_insertion_point(field_set_allocated:yb.master.SysConfigEntryPB.security_config)
10323
0
}
10324
0
void SysConfigEntryPB::set_allocated_ysql_catalog_config(::yb::master::SysYSQLCatalogConfigEntryPB* ysql_catalog_config) {
10325
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
10326
0
  clear_config();
10327
0
  if (ysql_catalog_config) {
10328
0
    ::google::protobuf::Arena* submessage_arena = NULL;
10329
0
    if (message_arena != submessage_arena) {
10330
0
      ysql_catalog_config = ::google::protobuf::internal::GetOwnedMessage(
10331
0
          message_arena, ysql_catalog_config, submessage_arena);
10332
0
    }
10333
0
    set_has_ysql_catalog_config();
10334
0
    config_.ysql_catalog_config_ = ysql_catalog_config;
10335
0
  }
10336
  // @@protoc_insertion_point(field_set_allocated:yb.master.SysConfigEntryPB.ysql_catalog_config)
10337
0
}
10338
0
void SysConfigEntryPB::set_allocated_transaction_tables_config(::yb::master::SysTransactionTablesConfigEntryPB* transaction_tables_config) {
10339
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
10340
0
  clear_config();
10341
0
  if (transaction_tables_config) {
10342
0
    ::google::protobuf::Arena* submessage_arena = NULL;
10343
0
    if (message_arena != submessage_arena) {
10344
0
      transaction_tables_config = ::google::protobuf::internal::GetOwnedMessage(
10345
0
          message_arena, transaction_tables_config, submessage_arena);
10346
0
    }
10347
0
    set_has_transaction_tables_config();
10348
0
    config_.transaction_tables_config_ = transaction_tables_config;
10349
0
  }
10350
  // @@protoc_insertion_point(field_set_allocated:yb.master.SysConfigEntryPB.transaction_tables_config)
10351
0
}
10352
#if !defined(_MSC_VER) || _MSC_VER >= 1900
10353
const int SysConfigEntryPB::kSecurityConfigFieldNumber;
10354
const int SysConfigEntryPB::kYsqlCatalogConfigFieldNumber;
10355
const int SysConfigEntryPB::kTransactionTablesConfigFieldNumber;
10356
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
10357
10358
SysConfigEntryPB::SysConfigEntryPB()
10359
62.7k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
10360
62.7k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
10361
35.8k
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysConfigEntryPB();
10362
35.8k
  }
10363
62.7k
  SharedCtor();
10364
  // @@protoc_insertion_point(constructor:yb.master.SysConfigEntryPB)
10365
62.7k
}
10366
SysConfigEntryPB::SysConfigEntryPB(const SysConfigEntryPB& from)
10367
  : ::google::protobuf::Message(),
10368
      _internal_metadata_(NULL),
10369
      _has_bits_(from._has_bits_),
10370
22.0k
      _cached_size_(0) {
10371
22.0k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10372
22.0k
  clear_has_config();
10373
22.0k
  switch (from.config_case()) {
10374
6.02k
    case kSecurityConfig: {
10375
6.02k
      mutable_security_config()->::yb::master::SysSecurityConfigEntryPB::MergeFrom(from.security_config());
10376
6.02k
      break;
10377
0
    }
10378
3.66k
    case kYsqlCatalogConfig: {
10379
3.66k
      mutable_ysql_catalog_config()->::yb::master::SysYSQLCatalogConfigEntryPB::MergeFrom(from.ysql_catalog_config());
10380
3.66k
      break;
10381
0
    }
10382
1.09k
    case kTransactionTablesConfig: {
10383
1.09k
      mutable_transaction_tables_config()->::yb::master::SysTransactionTablesConfigEntryPB::MergeFrom(from.transaction_tables_config());
10384
1.09k
      break;
10385
0
    }
10386
11.2k
    case CONFIG_NOT_SET: {
10387
11.2k
      break;
10388
0
    }
10389
22.0k
  }
10390
  // @@protoc_insertion_point(copy_constructor:yb.master.SysConfigEntryPB)
10391
22.0k
}
10392
10393
62.7k
void SysConfigEntryPB::SharedCtor() {
10394
62.7k
  _cached_size_ = 0;
10395
62.7k
  clear_has_config();
10396
62.7k
}
10397
10398
49.1k
SysConfigEntryPB::~SysConfigEntryPB() {
10399
  // @@protoc_insertion_point(destructor:yb.master.SysConfigEntryPB)
10400
49.1k
  SharedDtor();
10401
49.1k
}
10402
10403
49.1k
void SysConfigEntryPB::SharedDtor() {
10404
49.1k
  if (has_config()) {
10405
15.8k
    clear_config();
10406
15.8k
  }
10407
49.1k
}
10408
10409
0
void SysConfigEntryPB::SetCachedSize(int size) const {
10410
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10411
0
  _cached_size_ = size;
10412
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10413
0
}
10414
0
const ::google::protobuf::Descriptor* SysConfigEntryPB::descriptor() {
10415
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
10416
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
10417
0
}
10418
10419
0
const SysConfigEntryPB& SysConfigEntryPB::default_instance() {
10420
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysConfigEntryPB();
10421
0
  return *internal_default_instance();
10422
0
}
10423
10424
0
SysConfigEntryPB* SysConfigEntryPB::New(::google::protobuf::Arena* arena) const {
10425
0
  SysConfigEntryPB* n = new SysConfigEntryPB;
10426
0
  if (arena != NULL) {
10427
0
    arena->Own(n);
10428
0
  }
10429
0
  return n;
10430
0
}
10431
10432
45.5k
void SysConfigEntryPB::clear_config() {
10433
// @@protoc_insertion_point(one_of_clear_start:yb.master.SysConfigEntryPB)
10434
45.5k
  switch (config_case()) {
10435
7.72k
    case kSecurityConfig: {
10436
7.72k
      delete config_.security_config_;
10437
7.72k
      break;
10438
0
    }
10439
5.35k
    case kYsqlCatalogConfig: {
10440
5.35k
      delete config_.ysql_catalog_config_;
10441
5.35k
      break;
10442
0
    }
10443
2.77k
    case kTransactionTablesConfig: {
10444
2.77k
      delete config_.transaction_tables_config_;
10445
2.77k
      break;
10446
0
    }
10447
29.6k
    case CONFIG_NOT_SET: {
10448
29.6k
      break;
10449
0
    }
10450
45.5k
  }
10451
45.5k
  _oneof_case_[0] = CONFIG_NOT_SET;
10452
45.5k
}
10453
10454
10455
5.09k
void SysConfigEntryPB::Clear() {
10456
// @@protoc_insertion_point(message_clear_start:yb.master.SysConfigEntryPB)
10457
5.09k
  ::google::protobuf::uint32 cached_has_bits = 0;
10458
  // Prevent compiler warnings about cached_has_bits being unused
10459
5.09k
  (void) cached_has_bits;
10460
10461
5.09k
  clear_config();
10462
5.09k
  _has_bits_.Clear();
10463
5.09k
  _internal_metadata_.Clear();
10464
5.09k
}
10465
10466
bool SysConfigEntryPB::MergePartialFromCodedStream(
10467
2.54k
    ::google::protobuf::io::CodedInputStream* input) {
10468
2.54k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
10469
2.54k
  ::google::protobuf::uint32 tag;
10470
  // @@protoc_insertion_point(parse_start:yb.master.SysConfigEntryPB)
10471
5.09k
  for (;;) {
10472
5.09k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10473
5.09k
    tag = p.first;
10474
5.09k
    if (!p.second) 
goto handle_unusual2.54k
;
10475
2.54k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10476
      // optional .yb.master.SysSecurityConfigEntryPB security_config = 1;
10477
850
      case 1: {
10478
850
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10479
850
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
10480
850
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
10481
850
               input, mutable_security_config()));
10482
850
        } else {
10483
0
          goto handle_unusual;
10484
0
        }
10485
850
        break;
10486
850
      }
10487
10488
      // optional .yb.master.SysYSQLCatalogConfigEntryPB ysql_catalog_config = 2;
10489
850
      case 2: {
10490
850
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10491
850
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
10492
850
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
10493
850
               input, mutable_ysql_catalog_config()));
10494
850
        } else {
10495
0
          goto handle_unusual;
10496
0
        }
10497
850
        break;
10498
850
      }
10499
10500
      // optional .yb.master.SysTransactionTablesConfigEntryPB transaction_tables_config = 3;
10501
850
      case 3: {
10502
846
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10503
846
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
10504
846
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
10505
846
               input, mutable_transaction_tables_config()));
10506
846
        } else {
10507
0
          goto handle_unusual;
10508
0
        }
10509
846
        break;
10510
846
      }
10511
10512
846
      default: {
10513
2.54k
      handle_unusual:
10514
2.54k
        if (tag == 0) {
10515
2.54k
          goto success;
10516
2.54k
        }
10517
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
10518
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
10519
0
        break;
10520
0
      }
10521
2.54k
    }
10522
2.54k
  }
10523
2.54k
success:
10524
  // @@protoc_insertion_point(parse_success:yb.master.SysConfigEntryPB)
10525
2.54k
  return true;
10526
0
failure:
10527
  // @@protoc_insertion_point(parse_failure:yb.master.SysConfigEntryPB)
10528
0
  return false;
10529
2.54k
#undef DO_
10530
2.54k
}
10531
10532
void SysConfigEntryPB::SerializeWithCachedSizes(
10533
0
    ::google::protobuf::io::CodedOutputStream* output) const {
10534
  // @@protoc_insertion_point(serialize_start:yb.master.SysConfigEntryPB)
10535
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10536
0
  (void) cached_has_bits;
10537
10538
0
  switch (config_case()) {
10539
0
    case kSecurityConfig:
10540
0
      ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
10541
0
        1, *config_.security_config_, output);
10542
0
      break;
10543
0
    case kYsqlCatalogConfig:
10544
0
      ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
10545
0
        2, *config_.ysql_catalog_config_, output);
10546
0
      break;
10547
0
    case kTransactionTablesConfig:
10548
0
      ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
10549
0
        3, *config_.transaction_tables_config_, output);
10550
0
      break;
10551
0
    default: ;
10552
0
  }
10553
0
  if (_internal_metadata_.have_unknown_fields()) {
10554
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10555
0
        _internal_metadata_.unknown_fields(), output);
10556
0
  }
10557
  // @@protoc_insertion_point(serialize_end:yb.master.SysConfigEntryPB)
10558
0
}
10559
10560
::google::protobuf::uint8* SysConfigEntryPB::InternalSerializeWithCachedSizesToArray(
10561
19.5k
    bool deterministic, ::google::protobuf::uint8* target) const {
10562
19.5k
  (void)deterministic; // Unused
10563
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SysConfigEntryPB)
10564
19.5k
  ::google::protobuf::uint32 cached_has_bits = 0;
10565
19.5k
  (void) cached_has_bits;
10566
10567
19.5k
  switch (config_case()) {
10568
8.93k
    case kSecurityConfig:
10569
8.93k
      target = ::google::protobuf::internal::WireFormatLite::
10570
8.93k
        InternalWriteMessageToArray(
10571
8.93k
          1, *config_.security_config_, deterministic, target);
10572
8.93k
      break;
10573
6.57k
    case kYsqlCatalogConfig:
10574
6.57k
      target = ::google::protobuf::internal::WireFormatLite::
10575
6.57k
        InternalWriteMessageToArray(
10576
6.57k
          2, *config_.ysql_catalog_config_, deterministic, target);
10577
6.57k
      break;
10578
4.00k
    case kTransactionTablesConfig:
10579
4.00k
      target = ::google::protobuf::internal::WireFormatLite::
10580
4.00k
        InternalWriteMessageToArray(
10581
4.00k
          3, *config_.transaction_tables_config_, deterministic, target);
10582
4.00k
      break;
10583
0
    default: ;
10584
19.5k
  }
10585
19.5k
  if (_internal_metadata_.have_unknown_fields()) {
10586
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
10587
0
        _internal_metadata_.unknown_fields(), target);
10588
0
  }
10589
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SysConfigEntryPB)
10590
19.5k
  return target;
10591
19.5k
}
10592
10593
19.5k
size_t SysConfigEntryPB::ByteSizeLong() const {
10594
// @@protoc_insertion_point(message_byte_size_start:yb.master.SysConfigEntryPB)
10595
19.5k
  size_t total_size = 0;
10596
10597
19.5k
  if (_internal_metadata_.have_unknown_fields()) {
10598
0
    total_size +=
10599
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
10600
0
        _internal_metadata_.unknown_fields());
10601
0
  }
10602
19.5k
  switch (config_case()) {
10603
    // optional .yb.master.SysSecurityConfigEntryPB security_config = 1;
10604
8.93k
    case kSecurityConfig: {
10605
8.93k
      total_size += 1 +
10606
8.93k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
10607
8.93k
          *config_.security_config_);
10608
8.93k
      break;
10609
0
    }
10610
    // optional .yb.master.SysYSQLCatalogConfigEntryPB ysql_catalog_config = 2;
10611
6.57k
    case kYsqlCatalogConfig: {
10612
6.57k
      total_size += 1 +
10613
6.57k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
10614
6.57k
          *config_.ysql_catalog_config_);
10615
6.57k
      break;
10616
0
    }
10617
    // optional .yb.master.SysTransactionTablesConfigEntryPB transaction_tables_config = 3;
10618
4.00k
    case kTransactionTablesConfig: {
10619
4.00k
      total_size += 1 +
10620
4.00k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
10621
4.00k
          *config_.transaction_tables_config_);
10622
4.00k
      break;
10623
0
    }
10624
0
    case CONFIG_NOT_SET: {
10625
0
      break;
10626
0
    }
10627
19.5k
  }
10628
19.5k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
10629
19.5k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10630
19.5k
  _cached_size_ = cached_size;
10631
19.5k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10632
19.5k
  return total_size;
10633
19.5k
}
10634
10635
0
void SysConfigEntryPB::MergeFrom(const ::google::protobuf::Message& from) {
10636
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SysConfigEntryPB)
10637
0
  GOOGLE_DCHECK_NE(&from, this);
10638
0
  const SysConfigEntryPB* source =
10639
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SysConfigEntryPB>(
10640
0
          &from);
10641
0
  if (source == NULL) {
10642
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SysConfigEntryPB)
10643
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
10644
0
  } else {
10645
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SysConfigEntryPB)
10646
0
    MergeFrom(*source);
10647
0
  }
10648
0
}
10649
10650
2.54k
void SysConfigEntryPB::MergeFrom(const SysConfigEntryPB& from) {
10651
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SysConfigEntryPB)
10652
2.54k
  GOOGLE_DCHECK_NE(&from, this);
10653
2.54k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10654
2.54k
  ::google::protobuf::uint32 cached_has_bits = 0;
10655
2.54k
  (void) cached_has_bits;
10656
10657
2.54k
  switch (from.config_case()) {
10658
850
    case kSecurityConfig: {
10659
850
      mutable_security_config()->::yb::master::SysSecurityConfigEntryPB::MergeFrom(from.security_config());
10660
850
      break;
10661
0
    }
10662
850
    case kYsqlCatalogConfig: {
10663
850
      mutable_ysql_catalog_config()->::yb::master::SysYSQLCatalogConfigEntryPB::MergeFrom(from.ysql_catalog_config());
10664
850
      break;
10665
0
    }
10666
846
    case kTransactionTablesConfig: {
10667
846
      mutable_transaction_tables_config()->::yb::master::SysTransactionTablesConfigEntryPB::MergeFrom(from.transaction_tables_config());
10668
846
      break;
10669
0
    }
10670
0
    case CONFIG_NOT_SET: {
10671
0
      break;
10672
0
    }
10673
2.54k
  }
10674
2.54k
}
10675
10676
0
void SysConfigEntryPB::CopyFrom(const ::google::protobuf::Message& from) {
10677
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SysConfigEntryPB)
10678
0
  if (&from == this) return;
10679
0
  Clear();
10680
0
  MergeFrom(from);
10681
0
}
10682
10683
2.54k
void SysConfigEntryPB::CopyFrom(const SysConfigEntryPB& from) {
10684
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SysConfigEntryPB)
10685
2.54k
  if (&from == this) 
return0
;
10686
2.54k
  Clear();
10687
2.54k
  MergeFrom(from);
10688
2.54k
}
10689
10690
22.0k
bool SysConfigEntryPB::IsInitialized() const {
10691
22.0k
  return true;
10692
22.0k
}
10693
10694
0
void SysConfigEntryPB::Swap(SysConfigEntryPB* other) {
10695
0
  if (other == this) return;
10696
0
  InternalSwap(other);
10697
0
}
10698
66.1k
void SysConfigEntryPB::InternalSwap(SysConfigEntryPB* other) {
10699
66.1k
  using std::swap;
10700
66.1k
  swap(config_, other->config_);
10701
66.1k
  swap(_oneof_case_[0], other->_oneof_case_[0]);
10702
66.1k
  swap(_has_bits_[0], other->_has_bits_[0]);
10703
66.1k
  _internal_metadata_.Swap(&other->_internal_metadata_);
10704
66.1k
  swap(_cached_size_, other->_cached_size_);
10705
66.1k
}
10706
10707
199k
::google::protobuf::Metadata SysConfigEntryPB::GetMetadata() const {
10708
199k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
10709
199k
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
10710
199k
}
10711
10712
10713
// ===================================================================
10714
10715
26.8k
void SysRowEntry::InitAsDefaultInstance() {
10716
26.8k
}
10717
#if !defined(_MSC_VER) || _MSC_VER >= 1900
10718
const int SysRowEntry::kTypeFieldNumber;
10719
const int SysRowEntry::kIdFieldNumber;
10720
const int SysRowEntry::kDataFieldNumber;
10721
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
10722
10723
SysRowEntry::SysRowEntry()
10724
28.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
10725
28.1k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
10726
1.25k
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysRowEntry();
10727
1.25k
  }
10728
28.1k
  SharedCtor();
10729
  // @@protoc_insertion_point(constructor:yb.master.SysRowEntry)
10730
28.1k
}
10731
SysRowEntry::SysRowEntry(const SysRowEntry& from)
10732
  : ::google::protobuf::Message(),
10733
      _internal_metadata_(NULL),
10734
      _has_bits_(from._has_bits_),
10735
0
      _cached_size_(0) {
10736
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10737
0
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10738
0
  if (from.has_id()) {
10739
0
    id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
10740
0
  }
10741
0
  data_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10742
0
  if (from.has_data()) {
10743
0
    data_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.data_);
10744
0
  }
10745
0
  type_ = from.type_;
10746
  // @@protoc_insertion_point(copy_constructor:yb.master.SysRowEntry)
10747
0
}
10748
10749
28.1k
void SysRowEntry::SharedCtor() {
10750
28.1k
  _cached_size_ = 0;
10751
28.1k
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10752
28.1k
  data_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10753
28.1k
  type_ = 0;
10754
28.1k
}
10755
10756
1.11k
SysRowEntry::~SysRowEntry() {
10757
  // @@protoc_insertion_point(destructor:yb.master.SysRowEntry)
10758
1.11k
  SharedDtor();
10759
1.11k
}
10760
10761
1.11k
void SysRowEntry::SharedDtor() {
10762
1.11k
  id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10763
1.11k
  data_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10764
1.11k
}
10765
10766
0
void SysRowEntry::SetCachedSize(int size) const {
10767
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10768
0
  _cached_size_ = size;
10769
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10770
0
}
10771
0
const ::google::protobuf::Descriptor* SysRowEntry::descriptor() {
10772
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
10773
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
10774
0
}
10775
10776
0
const SysRowEntry& SysRowEntry::default_instance() {
10777
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysRowEntry();
10778
0
  return *internal_default_instance();
10779
0
}
10780
10781
0
SysRowEntry* SysRowEntry::New(::google::protobuf::Arena* arena) const {
10782
0
  SysRowEntry* n = new SysRowEntry;
10783
0
  if (arena != NULL) {
10784
0
    arena->Own(n);
10785
0
  }
10786
0
  return n;
10787
0
}
10788
10789
0
void SysRowEntry::Clear() {
10790
// @@protoc_insertion_point(message_clear_start:yb.master.SysRowEntry)
10791
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10792
  // Prevent compiler warnings about cached_has_bits being unused
10793
0
  (void) cached_has_bits;
10794
10795
0
  cached_has_bits = _has_bits_[0];
10796
0
  if (cached_has_bits & 3u) {
10797
0
    if (cached_has_bits & 0x00000001u) {
10798
0
      GOOGLE_DCHECK(!id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
10799
0
      (*id_.UnsafeRawStringPointer())->clear();
10800
0
    }
10801
0
    if (cached_has_bits & 0x00000002u) {
10802
0
      GOOGLE_DCHECK(!data_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
10803
0
      (*data_.UnsafeRawStringPointer())->clear();
10804
0
    }
10805
0
  }
10806
0
  type_ = 0;
10807
0
  _has_bits_.Clear();
10808
0
  _internal_metadata_.Clear();
10809
0
}
10810
10811
bool SysRowEntry::MergePartialFromCodedStream(
10812
510
    ::google::protobuf::io::CodedInputStream* input) {
10813
1.53k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
10814
510
  ::google::protobuf::uint32 tag;
10815
  // @@protoc_insertion_point(parse_start:yb.master.SysRowEntry)
10816
2.04k
  for (;;) {
10817
2.04k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10818
2.04k
    tag = p.first;
10819
2.04k
    if (!p.second) 
goto handle_unusual510
;
10820
1.53k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10821
      // optional .yb.master.SysRowEntryType type = 1;
10822
510
      case 1: {
10823
510
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10824
510
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
10825
510
          int value;
10826
510
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
10827
510
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
10828
510
                 input, &value)));
10829
510
          if (::yb::master::SysRowEntryType_IsValid(value)) {
10830
510
            set_type(static_cast< ::yb::master::SysRowEntryType >(value));
10831
510
          } else {
10832
0
            mutable_unknown_fields()->AddVarint(
10833
0
                1, static_cast< ::google::protobuf::uint64>(value));
10834
0
          }
10835
510
        } else {
10836
0
          goto handle_unusual;
10837
0
        }
10838
510
        break;
10839
510
      }
10840
10841
      // optional string id = 2;
10842
510
      case 2: {
10843
510
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10844
510
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
10845
510
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
10846
510
                input, this->mutable_id()));
10847
510
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
10848
510
            this->id().data(), static_cast<int>(this->id().length()),
10849
510
            ::google::protobuf::internal::WireFormat::PARSE,
10850
510
            "yb.master.SysRowEntry.id");
10851
510
        } else {
10852
0
          goto handle_unusual;
10853
0
        }
10854
510
        break;
10855
510
      }
10856
10857
      // optional bytes data = 3;
10858
510
      case 3: {
10859
510
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10860
510
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
10861
510
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
10862
510
                input, this->mutable_data()));
10863
510
        } else {
10864
0
          goto handle_unusual;
10865
0
        }
10866
510
        break;
10867
510
      }
10868
10869
510
      default: {
10870
510
      handle_unusual:
10871
510
        if (tag == 0) {
10872
510
          goto success;
10873
510
        }
10874
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
10875
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
10876
0
        break;
10877
0
      }
10878
1.53k
    }
10879
1.53k
  }
10880
510
success:
10881
  // @@protoc_insertion_point(parse_success:yb.master.SysRowEntry)
10882
510
  return true;
10883
0
failure:
10884
  // @@protoc_insertion_point(parse_failure:yb.master.SysRowEntry)
10885
0
  return false;
10886
510
#undef DO_
10887
510
}
10888
10889
void SysRowEntry::SerializeWithCachedSizes(
10890
0
    ::google::protobuf::io::CodedOutputStream* output) const {
10891
  // @@protoc_insertion_point(serialize_start:yb.master.SysRowEntry)
10892
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10893
0
  (void) cached_has_bits;
10894
10895
0
  cached_has_bits = _has_bits_[0];
10896
  // optional .yb.master.SysRowEntryType type = 1;
10897
0
  if (cached_has_bits & 0x00000004u) {
10898
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
10899
0
      1, this->type(), output);
10900
0
  }
10901
10902
  // optional string id = 2;
10903
0
  if (cached_has_bits & 0x00000001u) {
10904
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
10905
0
      this->id().data(), static_cast<int>(this->id().length()),
10906
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
10907
0
      "yb.master.SysRowEntry.id");
10908
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
10909
0
      2, this->id(), output);
10910
0
  }
10911
10912
  // optional bytes data = 3;
10913
0
  if (cached_has_bits & 0x00000002u) {
10914
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
10915
0
      3, this->data(), output);
10916
0
  }
10917
10918
0
  if (_internal_metadata_.have_unknown_fields()) {
10919
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10920
0
        _internal_metadata_.unknown_fields(), output);
10921
0
  }
10922
  // @@protoc_insertion_point(serialize_end:yb.master.SysRowEntry)
10923
0
}
10924
10925
::google::protobuf::uint8* SysRowEntry::InternalSerializeWithCachedSizesToArray(
10926
332
    bool deterministic, ::google::protobuf::uint8* target) const {
10927
332
  (void)deterministic; // Unused
10928
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SysRowEntry)
10929
332
  ::google::protobuf::uint32 cached_has_bits = 0;
10930
332
  (void) cached_has_bits;
10931
10932
332
  cached_has_bits = _has_bits_[0];
10933
  // optional .yb.master.SysRowEntryType type = 1;
10934
332
  if (cached_has_bits & 0x00000004u) {
10935
332
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
10936
332
      1, this->type(), target);
10937
332
  }
10938
10939
  // optional string id = 2;
10940
332
  if (cached_has_bits & 0x00000001u) {
10941
332
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
10942
332
      this->id().data(), static_cast<int>(this->id().length()),
10943
332
      ::google::protobuf::internal::WireFormat::SERIALIZE,
10944
332
      "yb.master.SysRowEntry.id");
10945
332
    target =
10946
332
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
10947
332
        2, this->id(), target);
10948
332
  }
10949
10950
  // optional bytes data = 3;
10951
332
  if (cached_has_bits & 0x00000002u) {
10952
332
    target =
10953
332
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
10954
332
        3, this->data(), target);
10955
332
  }
10956
10957
332
  if (_internal_metadata_.have_unknown_fields()) {
10958
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
10959
0
        _internal_metadata_.unknown_fields(), target);
10960
0
  }
10961
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SysRowEntry)
10962
332
  return target;
10963
332
}
10964
10965
407
size_t SysRowEntry::ByteSizeLong() const {
10966
// @@protoc_insertion_point(message_byte_size_start:yb.master.SysRowEntry)
10967
407
  size_t total_size = 0;
10968
10969
407
  if (_internal_metadata_.have_unknown_fields()) {
10970
0
    total_size +=
10971
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
10972
0
        _internal_metadata_.unknown_fields());
10973
0
  }
10974
407
  if (_has_bits_[0 / 32] & 7u) {
10975
    // optional string id = 2;
10976
407
    if (has_id()) {
10977
407
      total_size += 1 +
10978
407
        ::google::protobuf::internal::WireFormatLite::StringSize(
10979
407
          this->id());
10980
407
    }
10981
10982
    // optional bytes data = 3;
10983
407
    if (has_data()) {
10984
407
      total_size += 1 +
10985
407
        ::google::protobuf::internal::WireFormatLite::BytesSize(
10986
407
          this->data());
10987
407
    }
10988
10989
    // optional .yb.master.SysRowEntryType type = 1;
10990
407
    if (has_type()) {
10991
407
      total_size += 1 +
10992
407
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->type());
10993
407
    }
10994
10995
407
  }
10996
407
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
10997
407
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10998
407
  _cached_size_ = cached_size;
10999
407
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11000
407
  return total_size;
11001
407
}
11002
11003
0
void SysRowEntry::MergeFrom(const ::google::protobuf::Message& from) {
11004
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SysRowEntry)
11005
0
  GOOGLE_DCHECK_NE(&from, this);
11006
0
  const SysRowEntry* source =
11007
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SysRowEntry>(
11008
0
          &from);
11009
0
  if (source == NULL) {
11010
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SysRowEntry)
11011
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
11012
0
  } else {
11013
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SysRowEntry)
11014
0
    MergeFrom(*source);
11015
0
  }
11016
0
}
11017
11018
541
void SysRowEntry::MergeFrom(const SysRowEntry& from) {
11019
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SysRowEntry)
11020
541
  GOOGLE_DCHECK_NE(&from, this);
11021
541
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11022
541
  ::google::protobuf::uint32 cached_has_bits = 0;
11023
541
  (void) cached_has_bits;
11024
11025
541
  cached_has_bits = from._has_bits_[0];
11026
541
  if (cached_has_bits & 7u) {
11027
541
    if (cached_has_bits & 0x00000001u) {
11028
541
      set_has_id();
11029
541
      id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
11030
541
    }
11031
541
    if (cached_has_bits & 0x00000002u) {
11032
541
      set_has_data();
11033
541
      data_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.data_);
11034
541
    }
11035
541
    if (cached_has_bits & 0x00000004u) {
11036
541
      type_ = from.type_;
11037
541
    }
11038
541
    _has_bits_[0] |= cached_has_bits;
11039
541
  }
11040
541
}
11041
11042
0
void SysRowEntry::CopyFrom(const ::google::protobuf::Message& from) {
11043
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SysRowEntry)
11044
0
  if (&from == this) return;
11045
0
  Clear();
11046
0
  MergeFrom(from);
11047
0
}
11048
11049
0
void SysRowEntry::CopyFrom(const SysRowEntry& from) {
11050
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SysRowEntry)
11051
0
  if (&from == this) return;
11052
0
  Clear();
11053
0
  MergeFrom(from);
11054
0
}
11055
11056
0
bool SysRowEntry::IsInitialized() const {
11057
0
  return true;
11058
0
}
11059
11060
0
void SysRowEntry::Swap(SysRowEntry* other) {
11061
0
  if (other == this) return;
11062
0
  InternalSwap(other);
11063
0
}
11064
0
void SysRowEntry::InternalSwap(SysRowEntry* other) {
11065
0
  using std::swap;
11066
0
  id_.Swap(&other->id_);
11067
0
  data_.Swap(&other->data_);
11068
0
  swap(type_, other->type_);
11069
0
  swap(_has_bits_[0], other->_has_bits_[0]);
11070
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
11071
0
  swap(_cached_size_, other->_cached_size_);
11072
0
}
11073
11074
12
::google::protobuf::Metadata SysRowEntry::GetMetadata() const {
11075
12
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
11076
12
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
11077
12
}
11078
11079
11080
// ===================================================================
11081
11082
26.8k
void SysRowEntries::InitAsDefaultInstance() {
11083
26.8k
}
11084
#if !defined(_MSC_VER) || _MSC_VER >= 1900
11085
const int SysRowEntries::kEntriesFieldNumber;
11086
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
11087
11088
SysRowEntries::SysRowEntries()
11089
27.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
11090
27.1k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
11091
259
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysRowEntries();
11092
259
  }
11093
27.1k
  SharedCtor();
11094
  // @@protoc_insertion_point(constructor:yb.master.SysRowEntries)
11095
27.1k
}
11096
SysRowEntries::SysRowEntries(const SysRowEntries& from)
11097
  : ::google::protobuf::Message(),
11098
      _internal_metadata_(NULL),
11099
      _has_bits_(from._has_bits_),
11100
      _cached_size_(0),
11101
0
      entries_(from.entries_) {
11102
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11103
  // @@protoc_insertion_point(copy_constructor:yb.master.SysRowEntries)
11104
0
}
11105
11106
27.1k
void SysRowEntries::SharedCtor() {
11107
27.1k
  _cached_size_ = 0;
11108
27.1k
}
11109
11110
208
SysRowEntries::~SysRowEntries() {
11111
  // @@protoc_insertion_point(destructor:yb.master.SysRowEntries)
11112
208
  SharedDtor();
11113
208
}
11114
11115
208
void SysRowEntries::SharedDtor() {
11116
208
}
11117
11118
0
void SysRowEntries::SetCachedSize(int size) const {
11119
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11120
0
  _cached_size_ = size;
11121
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11122
0
}
11123
0
const ::google::protobuf::Descriptor* SysRowEntries::descriptor() {
11124
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
11125
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
11126
0
}
11127
11128
0
const SysRowEntries& SysRowEntries::default_instance() {
11129
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysRowEntries();
11130
0
  return *internal_default_instance();
11131
0
}
11132
11133
0
SysRowEntries* SysRowEntries::New(::google::protobuf::Arena* arena) const {
11134
0
  SysRowEntries* n = new SysRowEntries;
11135
0
  if (arena != NULL) {
11136
0
    arena->Own(n);
11137
0
  }
11138
0
  return n;
11139
0
}
11140
11141
51
void SysRowEntries::Clear() {
11142
// @@protoc_insertion_point(message_clear_start:yb.master.SysRowEntries)
11143
51
  ::google::protobuf::uint32 cached_has_bits = 0;
11144
  // Prevent compiler warnings about cached_has_bits being unused
11145
51
  (void) cached_has_bits;
11146
11147
51
  entries_.Clear();
11148
51
  _has_bits_.Clear();
11149
51
  _internal_metadata_.Clear();
11150
51
}
11151
11152
bool SysRowEntries::MergePartialFromCodedStream(
11153
51
    ::google::protobuf::io::CodedInputStream* input) {
11154
143
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
11155
51
  ::google::protobuf::uint32 tag;
11156
  // @@protoc_insertion_point(parse_start:yb.master.SysRowEntries)
11157
194
  for (;;) {
11158
194
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
11159
194
    tag = p.first;
11160
194
    if (!p.second) 
goto handle_unusual51
;
11161
143
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
11162
      // repeated .yb.master.SysRowEntry entries = 1;
11163
143
      case 1: {
11164
143
        if (static_cast< ::google::protobuf::uint8>(tag) ==
11165
143
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
11166
143
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_entries()));
11167
143
        } else {
11168
0
          goto handle_unusual;
11169
0
        }
11170
143
        break;
11171
143
      }
11172
11173
143
      default: {
11174
51
      handle_unusual:
11175
51
        if (tag == 0) {
11176
51
          goto success;
11177
51
        }
11178
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
11179
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
11180
0
        break;
11181
0
      }
11182
143
    }
11183
143
  }
11184
51
success:
11185
  // @@protoc_insertion_point(parse_success:yb.master.SysRowEntries)
11186
51
  return true;
11187
0
failure:
11188
  // @@protoc_insertion_point(parse_failure:yb.master.SysRowEntries)
11189
0
  return false;
11190
51
#undef DO_
11191
51
}
11192
11193
void SysRowEntries::SerializeWithCachedSizes(
11194
0
    ::google::protobuf::io::CodedOutputStream* output) const {
11195
  // @@protoc_insertion_point(serialize_start:yb.master.SysRowEntries)
11196
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11197
0
  (void) cached_has_bits;
11198
11199
  // repeated .yb.master.SysRowEntry entries = 1;
11200
0
  for (unsigned int i = 0,
11201
0
      n = static_cast<unsigned int>(this->entries_size()); i < n; i++) {
11202
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
11203
0
      1, this->entries(static_cast<int>(i)), output);
11204
0
  }
11205
11206
0
  if (_internal_metadata_.have_unknown_fields()) {
11207
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
11208
0
        _internal_metadata_.unknown_fields(), output);
11209
0
  }
11210
  // @@protoc_insertion_point(serialize_end:yb.master.SysRowEntries)
11211
0
}
11212
11213
::google::protobuf::uint8* SysRowEntries::InternalSerializeWithCachedSizesToArray(
11214
21
    bool deterministic, ::google::protobuf::uint8* target) const {
11215
21
  (void)deterministic; // Unused
11216
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SysRowEntries)
11217
21
  ::google::protobuf::uint32 cached_has_bits = 0;
11218
21
  (void) cached_has_bits;
11219
11220
  // repeated .yb.master.SysRowEntry entries = 1;
11221
21
  for (unsigned int i = 0,
11222
82
      n = static_cast<unsigned int>(this->entries_size()); i < n; 
i++61
) {
11223
61
    target = ::google::protobuf::internal::WireFormatLite::
11224
61
      InternalWriteMessageToArray(
11225
61
        1, this->entries(static_cast<int>(i)), deterministic, target);
11226
61
  }
11227
11228
21
  if (_internal_metadata_.have_unknown_fields()) {
11229
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
11230
0
        _internal_metadata_.unknown_fields(), target);
11231
0
  }
11232
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SysRowEntries)
11233
21
  return target;
11234
21
}
11235
11236
21
size_t SysRowEntries::ByteSizeLong() const {
11237
// @@protoc_insertion_point(message_byte_size_start:yb.master.SysRowEntries)
11238
21
  size_t total_size = 0;
11239
11240
21
  if (_internal_metadata_.have_unknown_fields()) {
11241
0
    total_size +=
11242
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
11243
0
        _internal_metadata_.unknown_fields());
11244
0
  }
11245
  // repeated .yb.master.SysRowEntry entries = 1;
11246
21
  {
11247
21
    unsigned int count = static_cast<unsigned int>(this->entries_size());
11248
21
    total_size += 1UL * count;
11249
82
    for (unsigned int i = 0; i < count; 
i++61
) {
11250
61
      total_size +=
11251
61
        ::google::protobuf::internal::WireFormatLite::MessageSize(
11252
61
          this->entries(static_cast<int>(i)));
11253
61
    }
11254
21
  }
11255
11256
21
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
11257
21
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11258
21
  _cached_size_ = cached_size;
11259
21
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11260
21
  return total_size;
11261
21
}
11262
11263
0
void SysRowEntries::MergeFrom(const ::google::protobuf::Message& from) {
11264
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SysRowEntries)
11265
0
  GOOGLE_DCHECK_NE(&from, this);
11266
0
  const SysRowEntries* source =
11267
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SysRowEntries>(
11268
0
          &from);
11269
0
  if (source == NULL) {
11270
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SysRowEntries)
11271
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
11272
0
  } else {
11273
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SysRowEntries)
11274
0
    MergeFrom(*source);
11275
0
  }
11276
0
}
11277
11278
0
void SysRowEntries::MergeFrom(const SysRowEntries& from) {
11279
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SysRowEntries)
11280
0
  GOOGLE_DCHECK_NE(&from, this);
11281
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11282
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11283
0
  (void) cached_has_bits;
11284
11285
0
  entries_.MergeFrom(from.entries_);
11286
0
}
11287
11288
0
void SysRowEntries::CopyFrom(const ::google::protobuf::Message& from) {
11289
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SysRowEntries)
11290
0
  if (&from == this) return;
11291
0
  Clear();
11292
0
  MergeFrom(from);
11293
0
}
11294
11295
0
void SysRowEntries::CopyFrom(const SysRowEntries& from) {
11296
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SysRowEntries)
11297
0
  if (&from == this) return;
11298
0
  Clear();
11299
0
  MergeFrom(from);
11300
0
}
11301
11302
72
bool SysRowEntries::IsInitialized() const {
11303
72
  return true;
11304
72
}
11305
11306
0
void SysRowEntries::Swap(SysRowEntries* other) {
11307
0
  if (other == this) return;
11308
0
  InternalSwap(other);
11309
0
}
11310
63
void SysRowEntries::InternalSwap(SysRowEntries* other) {
11311
63
  using std::swap;
11312
63
  entries_.InternalSwap(&other->entries_);
11313
63
  swap(_has_bits_[0], other->_has_bits_[0]);
11314
63
  _internal_metadata_.Swap(&other->_internal_metadata_);
11315
63
  swap(_cached_size_, other->_cached_size_);
11316
63
}
11317
11318
72
::google::protobuf::Metadata SysRowEntries::GetMetadata() const {
11319
72
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
11320
72
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
11321
72
}
11322
11323
11324
// ===================================================================
11325
11326
26.8k
void DdlLogEntryPB::InitAsDefaultInstance() {
11327
26.8k
}
11328
#if !defined(_MSC_VER) || _MSC_VER >= 1900
11329
const int DdlLogEntryPB::kTableTypeFieldNumber;
11330
const int DdlLogEntryPB::kNamespaceNameFieldNumber;
11331
const int DdlLogEntryPB::kNamespaceIdFieldNumber;
11332
const int DdlLogEntryPB::kTableNameFieldNumber;
11333
const int DdlLogEntryPB::kTableIdFieldNumber;
11334
const int DdlLogEntryPB::kActionFieldNumber;
11335
const int DdlLogEntryPB::kTimeFieldNumber;
11336
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
11337
11338
DdlLogEntryPB::DdlLogEntryPB()
11339
35.7k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
11340
35.7k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
11341
8.85k
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsDdlLogEntryPB();
11342
8.85k
  }
11343
35.7k
  SharedCtor();
11344
  // @@protoc_insertion_point(constructor:yb.master.DdlLogEntryPB)
11345
35.7k
}
11346
DdlLogEntryPB::DdlLogEntryPB(const DdlLogEntryPB& from)
11347
  : ::google::protobuf::Message(),
11348
      _internal_metadata_(NULL),
11349
      _has_bits_(from._has_bits_),
11350
0
      _cached_size_(0) {
11351
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11352
0
  namespace_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11353
0
  if (from.has_namespace_name()) {
11354
0
    namespace_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_name_);
11355
0
  }
11356
0
  namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11357
0
  if (from.has_namespace_id()) {
11358
0
    namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_id_);
11359
0
  }
11360
0
  table_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11361
0
  if (from.has_table_name()) {
11362
0
    table_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_name_);
11363
0
  }
11364
0
  table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11365
0
  if (from.has_table_id()) {
11366
0
    table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_id_);
11367
0
  }
11368
0
  action_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11369
0
  if (from.has_action()) {
11370
0
    action_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.action_);
11371
0
  }
11372
0
  ::memcpy(&time_, &from.time_,
11373
0
    static_cast<size_t>(reinterpret_cast<char*>(&table_type_) -
11374
0
    reinterpret_cast<char*>(&time_)) + sizeof(table_type_));
11375
  // @@protoc_insertion_point(copy_constructor:yb.master.DdlLogEntryPB)
11376
0
}
11377
11378
35.7k
void DdlLogEntryPB::SharedCtor() {
11379
35.7k
  _cached_size_ = 0;
11380
35.7k
  namespace_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11381
35.7k
  namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11382
35.7k
  table_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11383
35.7k
  table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11384
35.7k
  action_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11385
35.7k
  time_ = GOOGLE_ULONGLONG(0);
11386
35.7k
  table_type_ = 2;
11387
35.7k
}
11388
11389
7.65k
DdlLogEntryPB::~DdlLogEntryPB() {
11390
  // @@protoc_insertion_point(destructor:yb.master.DdlLogEntryPB)
11391
7.65k
  SharedDtor();
11392
7.65k
}
11393
11394
7.65k
void DdlLogEntryPB::SharedDtor() {
11395
7.65k
  namespace_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11396
7.65k
  namespace_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11397
7.65k
  table_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11398
7.65k
  table_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11399
7.65k
  action_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11400
7.65k
}
11401
11402
0
void DdlLogEntryPB::SetCachedSize(int size) const {
11403
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11404
0
  _cached_size_ = size;
11405
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11406
0
}
11407
0
const ::google::protobuf::Descriptor* DdlLogEntryPB::descriptor() {
11408
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
11409
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
11410
0
}
11411
11412
0
const DdlLogEntryPB& DdlLogEntryPB::default_instance() {
11413
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsDdlLogEntryPB();
11414
0
  return *internal_default_instance();
11415
0
}
11416
11417
0
DdlLogEntryPB* DdlLogEntryPB::New(::google::protobuf::Arena* arena) const {
11418
0
  DdlLogEntryPB* n = new DdlLogEntryPB;
11419
0
  if (arena != NULL) {
11420
0
    arena->Own(n);
11421
0
  }
11422
0
  return n;
11423
0
}
11424
11425
3
void DdlLogEntryPB::Clear() {
11426
// @@protoc_insertion_point(message_clear_start:yb.master.DdlLogEntryPB)
11427
3
  ::google::protobuf::uint32 cached_has_bits = 0;
11428
  // Prevent compiler warnings about cached_has_bits being unused
11429
3
  (void) cached_has_bits;
11430
11431
3
  cached_has_bits = _has_bits_[0];
11432
3
  if (cached_has_bits & 31u) {
11433
0
    if (cached_has_bits & 0x00000001u) {
11434
0
      GOOGLE_DCHECK(!namespace_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
11435
0
      (*namespace_name_.UnsafeRawStringPointer())->clear();
11436
0
    }
11437
0
    if (cached_has_bits & 0x00000002u) {
11438
0
      GOOGLE_DCHECK(!namespace_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
11439
0
      (*namespace_id_.UnsafeRawStringPointer())->clear();
11440
0
    }
11441
0
    if (cached_has_bits & 0x00000004u) {
11442
0
      GOOGLE_DCHECK(!table_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
11443
0
      (*table_name_.UnsafeRawStringPointer())->clear();
11444
0
    }
11445
0
    if (cached_has_bits & 0x00000008u) {
11446
0
      GOOGLE_DCHECK(!table_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
11447
0
      (*table_id_.UnsafeRawStringPointer())->clear();
11448
0
    }
11449
0
    if (cached_has_bits & 0x00000010u) {
11450
0
      GOOGLE_DCHECK(!action_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
11451
0
      (*action_.UnsafeRawStringPointer())->clear();
11452
0
    }
11453
0
  }
11454
3
  if (cached_has_bits & 96u) {
11455
0
    time_ = GOOGLE_ULONGLONG(0);
11456
0
    table_type_ = 2;
11457
0
  }
11458
3
  _has_bits_.Clear();
11459
3
  _internal_metadata_.Clear();
11460
3
}
11461
11462
bool DdlLogEntryPB::MergePartialFromCodedStream(
11463
6
    ::google::protobuf::io::CodedInputStream* input) {
11464
42
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
11465
6
  ::google::protobuf::uint32 tag;
11466
  // @@protoc_insertion_point(parse_start:yb.master.DdlLogEntryPB)
11467
48
  for (;;) {
11468
48
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
11469
48
    tag = p.first;
11470
48
    if (!p.second) 
goto handle_unusual6
;
11471
42
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
11472
      // optional .yb.TableType table_type = 1;
11473
6
      case 1: {
11474
6
        if (static_cast< ::google::protobuf::uint8>(tag) ==
11475
6
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
11476
6
          int value;
11477
6
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
11478
6
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
11479
6
                 input, &value)));
11480
6
          if (::yb::TableType_IsValid(value)) {
11481
6
            set_table_type(static_cast< ::yb::TableType >(value));
11482
6
          } else {
11483
0
            mutable_unknown_fields()->AddVarint(
11484
0
                1, static_cast< ::google::protobuf::uint64>(value));
11485
0
          }
11486
6
        } else {
11487
0
          goto handle_unusual;
11488
0
        }
11489
6
        break;
11490
6
      }
11491
11492
      // optional string namespace_name = 2;
11493
6
      case 2: {
11494
6
        if (static_cast< ::google::protobuf::uint8>(tag) ==
11495
6
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
11496
6
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
11497
6
                input, this->mutable_namespace_name()));
11498
6
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
11499
6
            this->namespace_name().data(), static_cast<int>(this->namespace_name().length()),
11500
6
            ::google::protobuf::internal::WireFormat::PARSE,
11501
6
            "yb.master.DdlLogEntryPB.namespace_name");
11502
6
        } else {
11503
0
          goto handle_unusual;
11504
0
        }
11505
6
        break;
11506
6
      }
11507
11508
      // optional string namespace_id = 3;
11509
6
      case 3: {
11510
6
        if (static_cast< ::google::protobuf::uint8>(tag) ==
11511
6
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
11512
6
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
11513
6
                input, this->mutable_namespace_id()));
11514
6
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
11515
6
            this->namespace_id().data(), static_cast<int>(this->namespace_id().length()),
11516
6
            ::google::protobuf::internal::WireFormat::PARSE,
11517
6
            "yb.master.DdlLogEntryPB.namespace_id");
11518
6
        } else {
11519
0
          goto handle_unusual;
11520
0
        }
11521
6
        break;
11522
6
      }
11523
11524
      // optional string table_name = 4;
11525
6
      case 4: {
11526
6
        if (static_cast< ::google::protobuf::uint8>(tag) ==
11527
6
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
11528
6
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
11529
6
                input, this->mutable_table_name()));
11530
6
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
11531
6
            this->table_name().data(), static_cast<int>(this->table_name().length()),
11532
6
            ::google::protobuf::internal::WireFormat::PARSE,
11533
6
            "yb.master.DdlLogEntryPB.table_name");
11534
6
        } else {
11535
0
          goto handle_unusual;
11536
0
        }
11537
6
        break;
11538
6
      }
11539
11540
      // optional string table_id = 5;
11541
6
      case 5: {
11542
6
        if (static_cast< ::google::protobuf::uint8>(tag) ==
11543
6
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
11544
6
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
11545
6
                input, this->mutable_table_id()));
11546
6
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
11547
6
            this->table_id().data(), static_cast<int>(this->table_id().length()),
11548
6
            ::google::protobuf::internal::WireFormat::PARSE,
11549
6
            "yb.master.DdlLogEntryPB.table_id");
11550
6
        } else {
11551
0
          goto handle_unusual;
11552
0
        }
11553
6
        break;
11554
6
      }
11555
11556
      // optional string action = 6;
11557
6
      case 6: {
11558
6
        if (static_cast< ::google::protobuf::uint8>(tag) ==
11559
6
            static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
11560
6
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
11561
6
                input, this->mutable_action()));
11562
6
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
11563
6
            this->action().data(), static_cast<int>(this->action().length()),
11564
6
            ::google::protobuf::internal::WireFormat::PARSE,
11565
6
            "yb.master.DdlLogEntryPB.action");
11566
6
        } else {
11567
0
          goto handle_unusual;
11568
0
        }
11569
6
        break;
11570
6
      }
11571
11572
      // optional fixed64 time = 7;
11573
6
      case 7: {
11574
6
        if (static_cast< ::google::protobuf::uint8>(tag) ==
11575
6
            static_cast< ::google::protobuf::uint8>(57u /* 57 & 0xFF */)) {
11576
6
          set_has_time();
11577
6
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
11578
6
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
11579
6
                 input, &time_)));
11580
6
        } else {
11581
0
          goto handle_unusual;
11582
0
        }
11583
6
        break;
11584
6
      }
11585
11586
6
      default: {
11587
6
      handle_unusual:
11588
6
        if (tag == 0) {
11589
6
          goto success;
11590
6
        }
11591
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
11592
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
11593
0
        break;
11594
0
      }
11595
42
    }
11596
42
  }
11597
6
success:
11598
  // @@protoc_insertion_point(parse_success:yb.master.DdlLogEntryPB)
11599
6
  return true;
11600
0
failure:
11601
  // @@protoc_insertion_point(parse_failure:yb.master.DdlLogEntryPB)
11602
0
  return false;
11603
6
#undef DO_
11604
6
}
11605
11606
void DdlLogEntryPB::SerializeWithCachedSizes(
11607
0
    ::google::protobuf::io::CodedOutputStream* output) const {
11608
  // @@protoc_insertion_point(serialize_start:yb.master.DdlLogEntryPB)
11609
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11610
0
  (void) cached_has_bits;
11611
11612
0
  cached_has_bits = _has_bits_[0];
11613
  // optional .yb.TableType table_type = 1;
11614
0
  if (cached_has_bits & 0x00000040u) {
11615
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
11616
0
      1, this->table_type(), output);
11617
0
  }
11618
11619
  // optional string namespace_name = 2;
11620
0
  if (cached_has_bits & 0x00000001u) {
11621
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
11622
0
      this->namespace_name().data(), static_cast<int>(this->namespace_name().length()),
11623
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
11624
0
      "yb.master.DdlLogEntryPB.namespace_name");
11625
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
11626
0
      2, this->namespace_name(), output);
11627
0
  }
11628
11629
  // optional string namespace_id = 3;
11630
0
  if (cached_has_bits & 0x00000002u) {
11631
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
11632
0
      this->namespace_id().data(), static_cast<int>(this->namespace_id().length()),
11633
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
11634
0
      "yb.master.DdlLogEntryPB.namespace_id");
11635
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
11636
0
      3, this->namespace_id(), output);
11637
0
  }
11638
11639
  // optional string table_name = 4;
11640
0
  if (cached_has_bits & 0x00000004u) {
11641
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
11642
0
      this->table_name().data(), static_cast<int>(this->table_name().length()),
11643
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
11644
0
      "yb.master.DdlLogEntryPB.table_name");
11645
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
11646
0
      4, this->table_name(), output);
11647
0
  }
11648
11649
  // optional string table_id = 5;
11650
0
  if (cached_has_bits & 0x00000008u) {
11651
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
11652
0
      this->table_id().data(), static_cast<int>(this->table_id().length()),
11653
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
11654
0
      "yb.master.DdlLogEntryPB.table_id");
11655
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
11656
0
      5, this->table_id(), output);
11657
0
  }
11658
11659
  // optional string action = 6;
11660
0
  if (cached_has_bits & 0x00000010u) {
11661
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
11662
0
      this->action().data(), static_cast<int>(this->action().length()),
11663
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
11664
0
      "yb.master.DdlLogEntryPB.action");
11665
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
11666
0
      6, this->action(), output);
11667
0
  }
11668
11669
  // optional fixed64 time = 7;
11670
0
  if (cached_has_bits & 0x00000020u) {
11671
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(7, this->time(), output);
11672
0
  }
11673
11674
0
  if (_internal_metadata_.have_unknown_fields()) {
11675
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
11676
0
        _internal_metadata_.unknown_fields(), output);
11677
0
  }
11678
  // @@protoc_insertion_point(serialize_end:yb.master.DdlLogEntryPB)
11679
0
}
11680
11681
::google::protobuf::uint8* DdlLogEntryPB::InternalSerializeWithCachedSizesToArray(
11682
6.49k
    bool deterministic, ::google::protobuf::uint8* target) const {
11683
6.49k
  (void)deterministic; // Unused
11684
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.DdlLogEntryPB)
11685
6.49k
  ::google::protobuf::uint32 cached_has_bits = 0;
11686
6.49k
  (void) cached_has_bits;
11687
11688
6.49k
  cached_has_bits = _has_bits_[0];
11689
  // optional .yb.TableType table_type = 1;
11690
6.49k
  if (cached_has_bits & 0x00000040u) {
11691
6.49k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
11692
6.49k
      1, this->table_type(), target);
11693
6.49k
  }
11694
11695
  // optional string namespace_name = 2;
11696
6.49k
  if (cached_has_bits & 0x00000001u) {
11697
6.49k
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
11698
6.49k
      this->namespace_name().data(), static_cast<int>(this->namespace_name().length()),
11699
6.49k
      ::google::protobuf::internal::WireFormat::SERIALIZE,
11700
6.49k
      "yb.master.DdlLogEntryPB.namespace_name");
11701
6.49k
    target =
11702
6.49k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
11703
6.49k
        2, this->namespace_name(), target);
11704
6.49k
  }
11705
11706
  // optional string namespace_id = 3;
11707
6.49k
  if (cached_has_bits & 0x00000002u) {
11708
6.49k
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
11709
6.49k
      this->namespace_id().data(), static_cast<int>(this->namespace_id().length()),
11710
6.49k
      ::google::protobuf::internal::WireFormat::SERIALIZE,
11711
6.49k
      "yb.master.DdlLogEntryPB.namespace_id");
11712
6.49k
    target =
11713
6.49k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
11714
6.49k
        3, this->namespace_id(), target);
11715
6.49k
  }
11716
11717
  // optional string table_name = 4;
11718
6.49k
  if (cached_has_bits & 0x00000004u) {
11719
6.49k
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
11720
6.49k
      this->table_name().data(), static_cast<int>(this->table_name().length()),
11721
6.49k
      ::google::protobuf::internal::WireFormat::SERIALIZE,
11722
6.49k
      "yb.master.DdlLogEntryPB.table_name");
11723
6.49k
    target =
11724
6.49k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
11725
6.49k
        4, this->table_name(), target);
11726
6.49k
  }
11727
11728
  // optional string table_id = 5;
11729
6.49k
  if (cached_has_bits & 0x00000008u) {
11730
6.49k
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
11731
6.49k
      this->table_id().data(), static_cast<int>(this->table_id().length()),
11732
6.49k
      ::google::protobuf::internal::WireFormat::SERIALIZE,
11733
6.49k
      "yb.master.DdlLogEntryPB.table_id");
11734
6.49k
    target =
11735
6.49k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
11736
6.49k
        5, this->table_id(), target);
11737
6.49k
  }
11738
11739
  // optional string action = 6;
11740
6.49k
  if (cached_has_bits & 0x00000010u) {
11741
6.49k
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
11742
6.49k
      this->action().data(), static_cast<int>(this->action().length()),
11743
6.49k
      ::google::protobuf::internal::WireFormat::SERIALIZE,
11744
6.49k
      "yb.master.DdlLogEntryPB.action");
11745
6.49k
    target =
11746
6.49k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
11747
6.49k
        6, this->action(), target);
11748
6.49k
  }
11749
11750
  // optional fixed64 time = 7;
11751
6.49k
  if (cached_has_bits & 0x00000020u) {
11752
6.49k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(7, this->time(), target);
11753
6.49k
  }
11754
11755
6.49k
  if (_internal_metadata_.have_unknown_fields()) {
11756
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
11757
0
        _internal_metadata_.unknown_fields(), target);
11758
0
  }
11759
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.DdlLogEntryPB)
11760
6.49k
  return target;
11761
6.49k
}
11762
11763
6.49k
size_t DdlLogEntryPB::ByteSizeLong() const {
11764
// @@protoc_insertion_point(message_byte_size_start:yb.master.DdlLogEntryPB)
11765
6.49k
  size_t total_size = 0;
11766
11767
6.49k
  if (_internal_metadata_.have_unknown_fields()) {
11768
0
    total_size +=
11769
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
11770
0
        _internal_metadata_.unknown_fields());
11771
0
  }
11772
6.49k
  if (_has_bits_[0 / 32] & 127u) {
11773
    // optional string namespace_name = 2;
11774
6.49k
    if (has_namespace_name()) {
11775
6.49k
      total_size += 1 +
11776
6.49k
        ::google::protobuf::internal::WireFormatLite::StringSize(
11777
6.49k
          this->namespace_name());
11778
6.49k
    }
11779
11780
    // optional string namespace_id = 3;
11781
6.49k
    if (has_namespace_id()) {
11782
6.49k
      total_size += 1 +
11783
6.49k
        ::google::protobuf::internal::WireFormatLite::StringSize(
11784
6.49k
          this->namespace_id());
11785
6.49k
    }
11786
11787
    // optional string table_name = 4;
11788
6.49k
    if (has_table_name()) {
11789
6.49k
      total_size += 1 +
11790
6.49k
        ::google::protobuf::internal::WireFormatLite::StringSize(
11791
6.49k
          this->table_name());
11792
6.49k
    }
11793
11794
    // optional string table_id = 5;
11795
6.49k
    if (has_table_id()) {
11796
6.49k
      total_size += 1 +
11797
6.49k
        ::google::protobuf::internal::WireFormatLite::StringSize(
11798
6.49k
          this->table_id());
11799
6.49k
    }
11800
11801
    // optional string action = 6;
11802
6.49k
    if (has_action()) {
11803
6.49k
      total_size += 1 +
11804
6.49k
        ::google::protobuf::internal::WireFormatLite::StringSize(
11805
6.49k
          this->action());
11806
6.49k
    }
11807
11808
    // optional fixed64 time = 7;
11809
6.49k
    if (has_time()) {
11810
6.49k
      total_size += 1 + 8;
11811
6.49k
    }
11812
11813
    // optional .yb.TableType table_type = 1;
11814
6.49k
    if (has_table_type()) {
11815
6.49k
      total_size += 1 +
11816
6.49k
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->table_type());
11817
6.49k
    }
11818
11819
6.49k
  }
11820
6.49k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
11821
6.49k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11822
6.49k
  _cached_size_ = cached_size;
11823
6.49k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11824
6.49k
  return total_size;
11825
6.49k
}
11826
11827
0
void DdlLogEntryPB::MergeFrom(const ::google::protobuf::Message& from) {
11828
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.DdlLogEntryPB)
11829
0
  GOOGLE_DCHECK_NE(&from, this);
11830
0
  const DdlLogEntryPB* source =
11831
0
      ::google::protobuf::internal::DynamicCastToGenerated<const DdlLogEntryPB>(
11832
0
          &from);
11833
0
  if (source == NULL) {
11834
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.DdlLogEntryPB)
11835
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
11836
0
  } else {
11837
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.DdlLogEntryPB)
11838
0
    MergeFrom(*source);
11839
0
  }
11840
0
}
11841
11842
0
void DdlLogEntryPB::MergeFrom(const DdlLogEntryPB& from) {
11843
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.DdlLogEntryPB)
11844
0
  GOOGLE_DCHECK_NE(&from, this);
11845
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11846
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11847
0
  (void) cached_has_bits;
11848
11849
0
  cached_has_bits = from._has_bits_[0];
11850
0
  if (cached_has_bits & 127u) {
11851
0
    if (cached_has_bits & 0x00000001u) {
11852
0
      set_has_namespace_name();
11853
0
      namespace_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_name_);
11854
0
    }
11855
0
    if (cached_has_bits & 0x00000002u) {
11856
0
      set_has_namespace_id();
11857
0
      namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_id_);
11858
0
    }
11859
0
    if (cached_has_bits & 0x00000004u) {
11860
0
      set_has_table_name();
11861
0
      table_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_name_);
11862
0
    }
11863
0
    if (cached_has_bits & 0x00000008u) {
11864
0
      set_has_table_id();
11865
0
      table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_id_);
11866
0
    }
11867
0
    if (cached_has_bits & 0x00000010u) {
11868
0
      set_has_action();
11869
0
      action_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.action_);
11870
0
    }
11871
0
    if (cached_has_bits & 0x00000020u) {
11872
0
      time_ = from.time_;
11873
0
    }
11874
0
    if (cached_has_bits & 0x00000040u) {
11875
0
      table_type_ = from.table_type_;
11876
0
    }
11877
0
    _has_bits_[0] |= cached_has_bits;
11878
0
  }
11879
0
}
11880
11881
0
void DdlLogEntryPB::CopyFrom(const ::google::protobuf::Message& from) {
11882
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.DdlLogEntryPB)
11883
0
  if (&from == this) return;
11884
0
  Clear();
11885
0
  MergeFrom(from);
11886
0
}
11887
11888
0
void DdlLogEntryPB::CopyFrom(const DdlLogEntryPB& from) {
11889
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.DdlLogEntryPB)
11890
0
  if (&from == this) return;
11891
0
  Clear();
11892
0
  MergeFrom(from);
11893
0
}
11894
11895
6.49k
bool DdlLogEntryPB::IsInitialized() const {
11896
6.49k
  return true;
11897
6.49k
}
11898
11899
0
void DdlLogEntryPB::Swap(DdlLogEntryPB* other) {
11900
0
  if (other == this) return;
11901
0
  InternalSwap(other);
11902
0
}
11903
1.15k
void DdlLogEntryPB::InternalSwap(DdlLogEntryPB* other) {
11904
1.15k
  using std::swap;
11905
1.15k
  namespace_name_.Swap(&other->namespace_name_);
11906
1.15k
  namespace_id_.Swap(&other->namespace_id_);
11907
1.15k
  table_name_.Swap(&other->table_name_);
11908
1.15k
  table_id_.Swap(&other->table_id_);
11909
1.15k
  action_.Swap(&other->action_);
11910
1.15k
  swap(time_, other->time_);
11911
1.15k
  swap(table_type_, other->table_type_);
11912
1.15k
  swap(_has_bits_[0], other->_has_bits_[0]);
11913
1.15k
  _internal_metadata_.Swap(&other->_internal_metadata_);
11914
1.15k
  swap(_cached_size_, other->_cached_size_);
11915
1.15k
}
11916
11917
51.9k
::google::protobuf::Metadata DdlLogEntryPB::GetMetadata() const {
11918
51.9k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
11919
51.9k
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
11920
51.9k
}
11921
11922
11923
// ===================================================================
11924
11925
26.8k
void CDCStreamOptionsPB::InitAsDefaultInstance() {
11926
26.8k
}
11927
#if !defined(_MSC_VER) || _MSC_VER >= 1900
11928
const int CDCStreamOptionsPB::kKeyFieldNumber;
11929
const int CDCStreamOptionsPB::kValueFieldNumber;
11930
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
11931
11932
CDCStreamOptionsPB::CDCStreamOptionsPB()
11933
99.5k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
11934
99.5k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
11935
72.6k
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsCDCStreamOptionsPB();
11936
72.6k
  }
11937
99.5k
  SharedCtor();
11938
  // @@protoc_insertion_point(constructor:yb.master.CDCStreamOptionsPB)
11939
99.5k
}
11940
CDCStreamOptionsPB::CDCStreamOptionsPB(const CDCStreamOptionsPB& from)
11941
  : ::google::protobuf::Message(),
11942
      _internal_metadata_(NULL),
11943
      _has_bits_(from._has_bits_),
11944
22.2k
      _cached_size_(0) {
11945
22.2k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11946
22.2k
  key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11947
22.2k
  if (from.has_key()) {
11948
22.2k
    key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_);
11949
22.2k
  }
11950
22.2k
  value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11951
22.2k
  if (from.has_value()) {
11952
22.2k
    value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_);
11953
22.2k
  }
11954
  // @@protoc_insertion_point(copy_constructor:yb.master.CDCStreamOptionsPB)
11955
22.2k
}
11956
11957
99.5k
void CDCStreamOptionsPB::SharedCtor() {
11958
99.5k
  _cached_size_ = 0;
11959
99.5k
  key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11960
99.5k
  value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11961
99.5k
}
11962
11963
93.7k
CDCStreamOptionsPB::~CDCStreamOptionsPB() {
11964
  // @@protoc_insertion_point(destructor:yb.master.CDCStreamOptionsPB)
11965
93.7k
  SharedDtor();
11966
93.7k
}
11967
11968
93.7k
void CDCStreamOptionsPB::SharedDtor() {
11969
93.7k
  key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11970
93.7k
  value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11971
93.7k
}
11972
11973
0
void CDCStreamOptionsPB::SetCachedSize(int size) const {
11974
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11975
0
  _cached_size_ = size;
11976
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11977
0
}
11978
0
const ::google::protobuf::Descriptor* CDCStreamOptionsPB::descriptor() {
11979
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
11980
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
11981
0
}
11982
11983
0
const CDCStreamOptionsPB& CDCStreamOptionsPB::default_instance() {
11984
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsCDCStreamOptionsPB();
11985
0
  return *internal_default_instance();
11986
0
}
11987
11988
0
CDCStreamOptionsPB* CDCStreamOptionsPB::New(::google::protobuf::Arena* arena) const {
11989
0
  CDCStreamOptionsPB* n = new CDCStreamOptionsPB;
11990
0
  if (arena != NULL) {
11991
0
    arena->Own(n);
11992
0
  }
11993
0
  return n;
11994
0
}
11995
11996
0
void CDCStreamOptionsPB::Clear() {
11997
// @@protoc_insertion_point(message_clear_start:yb.master.CDCStreamOptionsPB)
11998
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11999
  // Prevent compiler warnings about cached_has_bits being unused
12000
0
  (void) cached_has_bits;
12001
12002
0
  cached_has_bits = _has_bits_[0];
12003
0
  if (cached_has_bits & 3u) {
12004
0
    if (cached_has_bits & 0x00000001u) {
12005
0
      GOOGLE_DCHECK(!key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
12006
0
      (*key_.UnsafeRawStringPointer())->clear();
12007
0
    }
12008
0
    if (cached_has_bits & 0x00000002u) {
12009
0
      GOOGLE_DCHECK(!value_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
12010
0
      (*value_.UnsafeRawStringPointer())->clear();
12011
0
    }
12012
0
  }
12013
0
  _has_bits_.Clear();
12014
0
  _internal_metadata_.Clear();
12015
0
}
12016
12017
bool CDCStreamOptionsPB::MergePartialFromCodedStream(
12018
22.2k
    ::google::protobuf::io::CodedInputStream* input) {
12019
44.5k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
12020
22.2k
  ::google::protobuf::uint32 tag;
12021
  // @@protoc_insertion_point(parse_start:yb.master.CDCStreamOptionsPB)
12022
66.8k
  for (;;) {
12023
66.8k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
12024
66.8k
    tag = p.first;
12025
66.8k
    if (!p.second) 
goto handle_unusual22.2k
;
12026
44.5k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
12027
      // optional string key = 1;
12028
22.2k
      case 1: {
12029
22.2k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12030
22.2k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
12031
22.2k
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
12032
22.2k
                input, this->mutable_key()));
12033
22.2k
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12034
22.2k
            this->key().data(), static_cast<int>(this->key().length()),
12035
22.2k
            ::google::protobuf::internal::WireFormat::PARSE,
12036
22.2k
            "yb.master.CDCStreamOptionsPB.key");
12037
22.2k
        } else {
12038
0
          goto handle_unusual;
12039
0
        }
12040
22.2k
        break;
12041
22.2k
      }
12042
12043
      // optional bytes value = 2;
12044
22.2k
      case 2: {
12045
22.2k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12046
22.2k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
12047
22.2k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
12048
22.2k
                input, this->mutable_value()));
12049
22.2k
        } else {
12050
0
          goto handle_unusual;
12051
0
        }
12052
22.2k
        break;
12053
22.2k
      }
12054
12055
22.2k
      default: {
12056
22.2k
      handle_unusual:
12057
22.2k
        if (tag == 0) {
12058
22.2k
          goto success;
12059
22.2k
        }
12060
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
12061
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
12062
0
        break;
12063
0
      }
12064
44.5k
    }
12065
44.5k
  }
12066
22.2k
success:
12067
  // @@protoc_insertion_point(parse_success:yb.master.CDCStreamOptionsPB)
12068
22.2k
  return true;
12069
0
failure:
12070
  // @@protoc_insertion_point(parse_failure:yb.master.CDCStreamOptionsPB)
12071
0
  return false;
12072
22.2k
#undef DO_
12073
22.2k
}
12074
12075
void CDCStreamOptionsPB::SerializeWithCachedSizes(
12076
0
    ::google::protobuf::io::CodedOutputStream* output) const {
12077
  // @@protoc_insertion_point(serialize_start:yb.master.CDCStreamOptionsPB)
12078
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12079
0
  (void) cached_has_bits;
12080
12081
0
  cached_has_bits = _has_bits_[0];
12082
  // optional string key = 1;
12083
0
  if (cached_has_bits & 0x00000001u) {
12084
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12085
0
      this->key().data(), static_cast<int>(this->key().length()),
12086
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
12087
0
      "yb.master.CDCStreamOptionsPB.key");
12088
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
12089
0
      1, this->key(), output);
12090
0
  }
12091
12092
  // optional bytes value = 2;
12093
0
  if (cached_has_bits & 0x00000002u) {
12094
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
12095
0
      2, this->value(), output);
12096
0
  }
12097
12098
0
  if (_internal_metadata_.have_unknown_fields()) {
12099
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
12100
0
        _internal_metadata_.unknown_fields(), output);
12101
0
  }
12102
  // @@protoc_insertion_point(serialize_end:yb.master.CDCStreamOptionsPB)
12103
0
}
12104
12105
::google::protobuf::uint8* CDCStreamOptionsPB::InternalSerializeWithCachedSizesToArray(
12106
50.0k
    bool deterministic, ::google::protobuf::uint8* target) const {
12107
50.0k
  (void)deterministic; // Unused
12108
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.CDCStreamOptionsPB)
12109
50.0k
  ::google::protobuf::uint32 cached_has_bits = 0;
12110
50.0k
  (void) cached_has_bits;
12111
12112
50.0k
  cached_has_bits = _has_bits_[0];
12113
  // optional string key = 1;
12114
50.0k
  if (cached_has_bits & 0x00000001u) {
12115
50.0k
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12116
50.0k
      this->key().data(), static_cast<int>(this->key().length()),
12117
50.0k
      ::google::protobuf::internal::WireFormat::SERIALIZE,
12118
50.0k
      "yb.master.CDCStreamOptionsPB.key");
12119
50.0k
    target =
12120
50.0k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
12121
50.0k
        1, this->key(), target);
12122
50.0k
  }
12123
12124
  // optional bytes value = 2;
12125
50.0k
  if (cached_has_bits & 0x00000002u) {
12126
50.0k
    target =
12127
50.0k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
12128
50.0k
        2, this->value(), target);
12129
50.0k
  }
12130
12131
50.0k
  if (_internal_metadata_.have_unknown_fields()) {
12132
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
12133
0
        _internal_metadata_.unknown_fields(), target);
12134
0
  }
12135
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.CDCStreamOptionsPB)
12136
50.0k
  return target;
12137
50.0k
}
12138
12139
72.3k
size_t CDCStreamOptionsPB::ByteSizeLong() const {
12140
// @@protoc_insertion_point(message_byte_size_start:yb.master.CDCStreamOptionsPB)
12141
72.3k
  size_t total_size = 0;
12142
12143
72.3k
  if (_internal_metadata_.have_unknown_fields()) {
12144
0
    total_size +=
12145
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
12146
0
        _internal_metadata_.unknown_fields());
12147
0
  }
12148
72.3k
  if (_has_bits_[0 / 32] & 3u) {
12149
    // optional string key = 1;
12150
72.3k
    if (has_key()) {
12151
72.3k
      total_size += 1 +
12152
72.3k
        ::google::protobuf::internal::WireFormatLite::StringSize(
12153
72.3k
          this->key());
12154
72.3k
    }
12155
12156
    // optional bytes value = 2;
12157
72.3k
    if (has_value()) {
12158
72.3k
      total_size += 1 +
12159
72.3k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
12160
72.3k
          this->value());
12161
72.3k
    }
12162
12163
72.3k
  }
12164
72.3k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
12165
72.3k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12166
72.3k
  _cached_size_ = cached_size;
12167
72.3k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12168
72.3k
  return total_size;
12169
72.3k
}
12170
12171
0
void CDCStreamOptionsPB::MergeFrom(const ::google::protobuf::Message& from) {
12172
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.CDCStreamOptionsPB)
12173
0
  GOOGLE_DCHECK_NE(&from, this);
12174
0
  const CDCStreamOptionsPB* source =
12175
0
      ::google::protobuf::internal::DynamicCastToGenerated<const CDCStreamOptionsPB>(
12176
0
          &from);
12177
0
  if (source == NULL) {
12178
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.CDCStreamOptionsPB)
12179
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
12180
0
  } else {
12181
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.CDCStreamOptionsPB)
12182
0
    MergeFrom(*source);
12183
0
  }
12184
0
}
12185
12186
28.1k
void CDCStreamOptionsPB::MergeFrom(const CDCStreamOptionsPB& from) {
12187
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.CDCStreamOptionsPB)
12188
28.1k
  GOOGLE_DCHECK_NE(&from, this);
12189
28.1k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12190
28.1k
  ::google::protobuf::uint32 cached_has_bits = 0;
12191
28.1k
  (void) cached_has_bits;
12192
12193
28.1k
  cached_has_bits = from._has_bits_[0];
12194
28.1k
  if (cached_has_bits & 3u) {
12195
28.1k
    if (cached_has_bits & 0x00000001u) {
12196
28.1k
      set_has_key();
12197
28.1k
      key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_);
12198
28.1k
    }
12199
28.1k
    if (cached_has_bits & 0x00000002u) {
12200
28.1k
      set_has_value();
12201
28.1k
      value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_);
12202
28.1k
    }
12203
28.1k
  }
12204
28.1k
}
12205
12206
0
void CDCStreamOptionsPB::CopyFrom(const ::google::protobuf::Message& from) {
12207
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.CDCStreamOptionsPB)
12208
0
  if (&from == this) return;
12209
0
  Clear();
12210
0
  MergeFrom(from);
12211
0
}
12212
12213
0
void CDCStreamOptionsPB::CopyFrom(const CDCStreamOptionsPB& from) {
12214
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.CDCStreamOptionsPB)
12215
0
  if (&from == this) return;
12216
0
  Clear();
12217
0
  MergeFrom(from);
12218
0
}
12219
12220
0
bool CDCStreamOptionsPB::IsInitialized() const {
12221
0
  return true;
12222
0
}
12223
12224
0
void CDCStreamOptionsPB::Swap(CDCStreamOptionsPB* other) {
12225
0
  if (other == this) return;
12226
0
  InternalSwap(other);
12227
0
}
12228
0
void CDCStreamOptionsPB::InternalSwap(CDCStreamOptionsPB* other) {
12229
0
  using std::swap;
12230
0
  key_.Swap(&other->key_);
12231
0
  value_.Swap(&other->value_);
12232
0
  swap(_has_bits_[0], other->_has_bits_[0]);
12233
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
12234
0
  swap(_cached_size_, other->_cached_size_);
12235
0
}
12236
12237
73.6k
::google::protobuf::Metadata CDCStreamOptionsPB::GetMetadata() const {
12238
73.6k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
12239
73.6k
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
12240
73.6k
}
12241
12242
12243
// ===================================================================
12244
12245
26.8k
void SysCDCStreamEntryPB::InitAsDefaultInstance() {
12246
26.8k
}
12247
#if !defined(_MSC_VER) || _MSC_VER >= 1900
12248
const int SysCDCStreamEntryPB::kTableIdFieldNumber;
12249
const int SysCDCStreamEntryPB::kOptionsFieldNumber;
12250
const int SysCDCStreamEntryPB::kStateFieldNumber;
12251
const int SysCDCStreamEntryPB::kNamespaceIdFieldNumber;
12252
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
12253
12254
SysCDCStreamEntryPB::SysCDCStreamEntryPB()
12255
32.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
12256
32.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
12257
5.94k
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysCDCStreamEntryPB();
12258
5.94k
  }
12259
32.8k
  SharedCtor();
12260
  // @@protoc_insertion_point(constructor:yb.master.SysCDCStreamEntryPB)
12261
32.8k
}
12262
SysCDCStreamEntryPB::SysCDCStreamEntryPB(const SysCDCStreamEntryPB& from)
12263
  : ::google::protobuf::Message(),
12264
      _internal_metadata_(NULL),
12265
      _has_bits_(from._has_bits_),
12266
      _cached_size_(0),
12267
      table_id_(from.table_id_),
12268
5.62k
      options_(from.options_) {
12269
5.62k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12270
5.62k
  namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12271
5.62k
  if (from.has_namespace_id()) {
12272
5.31k
    namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_id_);
12273
5.31k
  }
12274
5.62k
  state_ = from.state_;
12275
  // @@protoc_insertion_point(copy_constructor:yb.master.SysCDCStreamEntryPB)
12276
5.62k
}
12277
12278
32.8k
void SysCDCStreamEntryPB::SharedCtor() {
12279
32.8k
  _cached_size_ = 0;
12280
32.8k
  namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12281
32.8k
  state_ = 0;
12282
32.8k
}
12283
12284
11.3k
SysCDCStreamEntryPB::~SysCDCStreamEntryPB() {
12285
  // @@protoc_insertion_point(destructor:yb.master.SysCDCStreamEntryPB)
12286
11.3k
  SharedDtor();
12287
11.3k
}
12288
12289
11.3k
void SysCDCStreamEntryPB::SharedDtor() {
12290
11.3k
  namespace_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12291
11.3k
}
12292
12293
0
void SysCDCStreamEntryPB::SetCachedSize(int size) const {
12294
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12295
0
  _cached_size_ = size;
12296
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12297
0
}
12298
0
const ::google::protobuf::Descriptor* SysCDCStreamEntryPB::descriptor() {
12299
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
12300
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
12301
0
}
12302
12303
0
const SysCDCStreamEntryPB& SysCDCStreamEntryPB::default_instance() {
12304
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysCDCStreamEntryPB();
12305
0
  return *internal_default_instance();
12306
0
}
12307
12308
0
SysCDCStreamEntryPB* SysCDCStreamEntryPB::New(::google::protobuf::Arena* arena) const {
12309
0
  SysCDCStreamEntryPB* n = new SysCDCStreamEntryPB;
12310
0
  if (arena != NULL) {
12311
0
    arena->Own(n);
12312
0
  }
12313
0
  return n;
12314
0
}
12315
12316
2
void SysCDCStreamEntryPB::Clear() {
12317
// @@protoc_insertion_point(message_clear_start:yb.master.SysCDCStreamEntryPB)
12318
2
  ::google::protobuf::uint32 cached_has_bits = 0;
12319
  // Prevent compiler warnings about cached_has_bits being unused
12320
2
  (void) cached_has_bits;
12321
12322
2
  table_id_.Clear();
12323
2
  options_.Clear();
12324
2
  cached_has_bits = _has_bits_[0];
12325
2
  if (cached_has_bits & 0x00000001u) {
12326
0
    GOOGLE_DCHECK(!namespace_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
12327
0
    (*namespace_id_.UnsafeRawStringPointer())->clear();
12328
0
  }
12329
2
  state_ = 0;
12330
2
  _has_bits_.Clear();
12331
2
  _internal_metadata_.Clear();
12332
2
}
12333
12334
bool SysCDCStreamEntryPB::MergePartialFromCodedStream(
12335
1
    ::google::protobuf::io::CodedInputStream* input) {
12336
1
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
12337
1
  ::google::protobuf::uint32 tag;
12338
  // @@protoc_insertion_point(parse_start:yb.master.SysCDCStreamEntryPB)
12339
2
  for (;;) {
12340
2
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
12341
2
    tag = p.first;
12342
2
    if (!p.second) 
goto handle_unusual1
;
12343
1
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
12344
      // repeated string table_id = 1;
12345
1
      case 1: {
12346
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12347
1
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
12348
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
12349
1
                input, this->add_table_id()));
12350
1
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12351
1
            this->table_id(this->table_id_size() - 1).data(),
12352
1
            static_cast<int>(this->table_id(this->table_id_size() - 1).length()),
12353
1
            ::google::protobuf::internal::WireFormat::PARSE,
12354
1
            "yb.master.SysCDCStreamEntryPB.table_id");
12355
1
        } else {
12356
0
          goto handle_unusual;
12357
0
        }
12358
1
        break;
12359
1
      }
12360
12361
      // repeated .yb.master.CDCStreamOptionsPB options = 2;
12362
1
      case 2: {
12363
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12364
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
12365
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_options()));
12366
0
        } else {
12367
0
          goto handle_unusual;
12368
0
        }
12369
0
        break;
12370
0
      }
12371
12372
      // optional .yb.master.SysCDCStreamEntryPB.State state = 3 [default = ACTIVE];
12373
0
      case 3: {
12374
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12375
0
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
12376
0
          int value;
12377
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
12378
0
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
12379
0
                 input, &value)));
12380
0
          if (::yb::master::SysCDCStreamEntryPB_State_IsValid(value)) {
12381
0
            set_state(static_cast< ::yb::master::SysCDCStreamEntryPB_State >(value));
12382
0
          } else {
12383
0
            mutable_unknown_fields()->AddVarint(
12384
0
                3, static_cast< ::google::protobuf::uint64>(value));
12385
0
          }
12386
0
        } else {
12387
0
          goto handle_unusual;
12388
0
        }
12389
0
        break;
12390
0
      }
12391
12392
      // optional string namespace_id = 4;
12393
0
      case 4: {
12394
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12395
0
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
12396
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
12397
0
                input, this->mutable_namespace_id()));
12398
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12399
0
            this->namespace_id().data(), static_cast<int>(this->namespace_id().length()),
12400
0
            ::google::protobuf::internal::WireFormat::PARSE,
12401
0
            "yb.master.SysCDCStreamEntryPB.namespace_id");
12402
0
        } else {
12403
0
          goto handle_unusual;
12404
0
        }
12405
0
        break;
12406
0
      }
12407
12408
0
      default: {
12409
1
      handle_unusual:
12410
1
        if (tag == 0) {
12411
1
          goto success;
12412
1
        }
12413
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
12414
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
12415
0
        break;
12416
0
      }
12417
1
    }
12418
1
  }
12419
1
success:
12420
  // @@protoc_insertion_point(parse_success:yb.master.SysCDCStreamEntryPB)
12421
1
  return true;
12422
0
failure:
12423
  // @@protoc_insertion_point(parse_failure:yb.master.SysCDCStreamEntryPB)
12424
0
  return false;
12425
1
#undef DO_
12426
1
}
12427
12428
void SysCDCStreamEntryPB::SerializeWithCachedSizes(
12429
0
    ::google::protobuf::io::CodedOutputStream* output) const {
12430
  // @@protoc_insertion_point(serialize_start:yb.master.SysCDCStreamEntryPB)
12431
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12432
0
  (void) cached_has_bits;
12433
12434
  // repeated string table_id = 1;
12435
0
  for (int i = 0, n = this->table_id_size(); i < n; i++) {
12436
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12437
0
      this->table_id(i).data(), static_cast<int>(this->table_id(i).length()),
12438
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
12439
0
      "yb.master.SysCDCStreamEntryPB.table_id");
12440
0
    ::google::protobuf::internal::WireFormatLite::WriteString(
12441
0
      1, this->table_id(i), output);
12442
0
  }
12443
12444
  // repeated .yb.master.CDCStreamOptionsPB options = 2;
12445
0
  for (unsigned int i = 0,
12446
0
      n = static_cast<unsigned int>(this->options_size()); i < n; i++) {
12447
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
12448
0
      2, this->options(static_cast<int>(i)), output);
12449
0
  }
12450
12451
0
  cached_has_bits = _has_bits_[0];
12452
  // optional .yb.master.SysCDCStreamEntryPB.State state = 3 [default = ACTIVE];
12453
0
  if (cached_has_bits & 0x00000002u) {
12454
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
12455
0
      3, this->state(), output);
12456
0
  }
12457
12458
  // optional string namespace_id = 4;
12459
0
  if (cached_has_bits & 0x00000001u) {
12460
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12461
0
      this->namespace_id().data(), static_cast<int>(this->namespace_id().length()),
12462
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
12463
0
      "yb.master.SysCDCStreamEntryPB.namespace_id");
12464
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
12465
0
      4, this->namespace_id(), output);
12466
0
  }
12467
12468
0
  if (_internal_metadata_.have_unknown_fields()) {
12469
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
12470
0
        _internal_metadata_.unknown_fields(), output);
12471
0
  }
12472
  // @@protoc_insertion_point(serialize_end:yb.master.SysCDCStreamEntryPB)
12473
0
}
12474
12475
::google::protobuf::uint8* SysCDCStreamEntryPB::InternalSerializeWithCachedSizesToArray(
12476
5.56k
    bool deterministic, ::google::protobuf::uint8* target) const {
12477
5.56k
  (void)deterministic; // Unused
12478
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SysCDCStreamEntryPB)
12479
5.56k
  ::google::protobuf::uint32 cached_has_bits = 0;
12480
5.56k
  (void) cached_has_bits;
12481
12482
  // repeated string table_id = 1;
12483
97.4k
  for (int i = 0, n = this->table_id_size(); i < n; 
i++91.9k
) {
12484
91.9k
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12485
91.9k
      this->table_id(i).data(), static_cast<int>(this->table_id(i).length()),
12486
91.9k
      ::google::protobuf::internal::WireFormat::SERIALIZE,
12487
91.9k
      "yb.master.SysCDCStreamEntryPB.table_id");
12488
91.9k
    target = ::google::protobuf::internal::WireFormatLite::
12489
91.9k
      WriteStringToArray(1, this->table_id(i), target);
12490
91.9k
  }
12491
12492
  // repeated .yb.master.CDCStreamOptionsPB options = 2;
12493
5.56k
  for (unsigned int i = 0,
12494
33.3k
      n = static_cast<unsigned int>(this->options_size()); i < n; 
i++27.7k
) {
12495
27.7k
    target = ::google::protobuf::internal::WireFormatLite::
12496
27.7k
      InternalWriteMessageToArray(
12497
27.7k
        2, this->options(static_cast<int>(i)), deterministic, target);
12498
27.7k
  }
12499
12500
5.56k
  cached_has_bits = _has_bits_[0];
12501
  // optional .yb.master.SysCDCStreamEntryPB.State state = 3 [default = ACTIVE];
12502
5.56k
  if (cached_has_bits & 0x00000002u) {
12503
5.56k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
12504
5.56k
      3, this->state(), target);
12505
5.56k
  }
12506
12507
  // optional string namespace_id = 4;
12508
5.56k
  if (cached_has_bits & 0x00000001u) {
12509
5.55k
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12510
5.55k
      this->namespace_id().data(), static_cast<int>(this->namespace_id().length()),
12511
5.55k
      ::google::protobuf::internal::WireFormat::SERIALIZE,
12512
5.55k
      "yb.master.SysCDCStreamEntryPB.namespace_id");
12513
5.55k
    target =
12514
5.55k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
12515
5.55k
        4, this->namespace_id(), target);
12516
5.55k
  }
12517
12518
5.56k
  if (_internal_metadata_.have_unknown_fields()) {
12519
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
12520
0
        _internal_metadata_.unknown_fields(), target);
12521
0
  }
12522
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SysCDCStreamEntryPB)
12523
5.56k
  return target;
12524
5.56k
}
12525
12526
5.56k
size_t SysCDCStreamEntryPB::ByteSizeLong() const {
12527
// @@protoc_insertion_point(message_byte_size_start:yb.master.SysCDCStreamEntryPB)
12528
5.56k
  size_t total_size = 0;
12529
12530
5.56k
  if (_internal_metadata_.have_unknown_fields()) {
12531
0
    total_size +=
12532
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
12533
0
        _internal_metadata_.unknown_fields());
12534
0
  }
12535
  // repeated string table_id = 1;
12536
5.56k
  total_size += 1 *
12537
5.56k
      ::google::protobuf::internal::FromIntSize(this->table_id_size());
12538
97.4k
  for (int i = 0, n = this->table_id_size(); i < n; 
i++91.9k
) {
12539
91.9k
    total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
12540
91.9k
      this->table_id(i));
12541
91.9k
  }
12542
12543
  // repeated .yb.master.CDCStreamOptionsPB options = 2;
12544
5.56k
  {
12545
5.56k
    unsigned int count = static_cast<unsigned int>(this->options_size());
12546
5.56k
    total_size += 1UL * count;
12547
33.3k
    for (unsigned int i = 0; i < count; 
i++27.7k
) {
12548
27.7k
      total_size +=
12549
27.7k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
12550
27.7k
          this->options(static_cast<int>(i)));
12551
27.7k
    }
12552
5.56k
  }
12553
12554
5.56k
  if (_has_bits_[0 / 32] & 3u) {
12555
    // optional string namespace_id = 4;
12556
5.56k
    if (has_namespace_id()) {
12557
5.55k
      total_size += 1 +
12558
5.55k
        ::google::protobuf::internal::WireFormatLite::StringSize(
12559
5.55k
          this->namespace_id());
12560
5.55k
    }
12561
12562
    // optional .yb.master.SysCDCStreamEntryPB.State state = 3 [default = ACTIVE];
12563
5.56k
    if (has_state()) {
12564
5.56k
      total_size += 1 +
12565
5.56k
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->state());
12566
5.56k
    }
12567
12568
5.56k
  }
12569
5.56k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
12570
5.56k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12571
5.56k
  _cached_size_ = cached_size;
12572
5.56k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12573
5.56k
  return total_size;
12574
5.56k
}
12575
12576
0
void SysCDCStreamEntryPB::MergeFrom(const ::google::protobuf::Message& from) {
12577
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SysCDCStreamEntryPB)
12578
0
  GOOGLE_DCHECK_NE(&from, this);
12579
0
  const SysCDCStreamEntryPB* source =
12580
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SysCDCStreamEntryPB>(
12581
0
          &from);
12582
0
  if (source == NULL) {
12583
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SysCDCStreamEntryPB)
12584
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
12585
0
  } else {
12586
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SysCDCStreamEntryPB)
12587
0
    MergeFrom(*source);
12588
0
  }
12589
0
}
12590
12591
1
void SysCDCStreamEntryPB::MergeFrom(const SysCDCStreamEntryPB& from) {
12592
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SysCDCStreamEntryPB)
12593
1
  GOOGLE_DCHECK_NE(&from, this);
12594
1
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12595
1
  ::google::protobuf::uint32 cached_has_bits = 0;
12596
1
  (void) cached_has_bits;
12597
12598
1
  table_id_.MergeFrom(from.table_id_);
12599
1
  options_.MergeFrom(from.options_);
12600
1
  cached_has_bits = from._has_bits_[0];
12601
1
  if (cached_has_bits & 3u) {
12602
0
    if (cached_has_bits & 0x00000001u) {
12603
0
      set_has_namespace_id();
12604
0
      namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_id_);
12605
0
    }
12606
0
    if (cached_has_bits & 0x00000002u) {
12607
0
      state_ = from.state_;
12608
0
    }
12609
0
    _has_bits_[0] |= cached_has_bits;
12610
0
  }
12611
1
}
12612
12613
0
void SysCDCStreamEntryPB::CopyFrom(const ::google::protobuf::Message& from) {
12614
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SysCDCStreamEntryPB)
12615
0
  if (&from == this) return;
12616
0
  Clear();
12617
0
  MergeFrom(from);
12618
0
}
12619
12620
1
void SysCDCStreamEntryPB::CopyFrom(const SysCDCStreamEntryPB& from) {
12621
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SysCDCStreamEntryPB)
12622
1
  if (&from == this) 
return0
;
12623
1
  Clear();
12624
1
  MergeFrom(from);
12625
1
}
12626
12627
5.56k
bool SysCDCStreamEntryPB::IsInitialized() const {
12628
5.56k
  return true;
12629
5.56k
}
12630
12631
0
void SysCDCStreamEntryPB::Swap(SysCDCStreamEntryPB* other) {
12632
0
  if (other == this) return;
12633
0
  InternalSwap(other);
12634
0
}
12635
16.8k
void SysCDCStreamEntryPB::InternalSwap(SysCDCStreamEntryPB* other) {
12636
16.8k
  using std::swap;
12637
16.8k
  table_id_.InternalSwap(&other->table_id_);
12638
16.8k
  options_.InternalSwap(&other->options_);
12639
16.8k
  namespace_id_.Swap(&other->namespace_id_);
12640
16.8k
  swap(state_, other->state_);
12641
16.8k
  swap(_has_bits_[0], other->_has_bits_[0]);
12642
16.8k
  _internal_metadata_.Swap(&other->_internal_metadata_);
12643
16.8k
  swap(_cached_size_, other->_cached_size_);
12644
16.8k
}
12645
12646
56.9k
::google::protobuf::Metadata SysCDCStreamEntryPB::GetMetadata() const {
12647
56.9k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
12648
56.9k
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
12649
56.9k
}
12650
12651
12652
// ===================================================================
12653
12654
26.8k
void SysSnapshotEntryPB_TabletSnapshotPB::InitAsDefaultInstance() {
12655
26.8k
}
12656
#if !defined(_MSC_VER) || _MSC_VER >= 1900
12657
const int SysSnapshotEntryPB_TabletSnapshotPB::kIdFieldNumber;
12658
const int SysSnapshotEntryPB_TabletSnapshotPB::kStateFieldNumber;
12659
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
12660
12661
SysSnapshotEntryPB_TabletSnapshotPB::SysSnapshotEntryPB_TabletSnapshotPB()
12662
27.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
12663
27.1k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
12664
288
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysSnapshotEntryPB_TabletSnapshotPB();
12665
288
  }
12666
27.1k
  SharedCtor();
12667
  // @@protoc_insertion_point(constructor:yb.master.SysSnapshotEntryPB.TabletSnapshotPB)
12668
27.1k
}
12669
SysSnapshotEntryPB_TabletSnapshotPB::SysSnapshotEntryPB_TabletSnapshotPB(const SysSnapshotEntryPB_TabletSnapshotPB& from)
12670
  : ::google::protobuf::Message(),
12671
      _internal_metadata_(NULL),
12672
      _has_bits_(from._has_bits_),
12673
0
      _cached_size_(0) {
12674
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12675
0
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12676
0
  if (from.has_id()) {
12677
0
    id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
12678
0
  }
12679
0
  state_ = from.state_;
12680
  // @@protoc_insertion_point(copy_constructor:yb.master.SysSnapshotEntryPB.TabletSnapshotPB)
12681
0
}
12682
12683
27.1k
void SysSnapshotEntryPB_TabletSnapshotPB::SharedCtor() {
12684
27.1k
  _cached_size_ = 0;
12685
27.1k
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12686
27.1k
  state_ = 0;
12687
27.1k
}
12688
12689
288
SysSnapshotEntryPB_TabletSnapshotPB::~SysSnapshotEntryPB_TabletSnapshotPB() {
12690
  // @@protoc_insertion_point(destructor:yb.master.SysSnapshotEntryPB.TabletSnapshotPB)
12691
288
  SharedDtor();
12692
288
}
12693
12694
288
void SysSnapshotEntryPB_TabletSnapshotPB::SharedDtor() {
12695
288
  id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12696
288
}
12697
12698
0
void SysSnapshotEntryPB_TabletSnapshotPB::SetCachedSize(int size) const {
12699
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12700
0
  _cached_size_ = size;
12701
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12702
0
}
12703
0
const ::google::protobuf::Descriptor* SysSnapshotEntryPB_TabletSnapshotPB::descriptor() {
12704
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
12705
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
12706
0
}
12707
12708
0
const SysSnapshotEntryPB_TabletSnapshotPB& SysSnapshotEntryPB_TabletSnapshotPB::default_instance() {
12709
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysSnapshotEntryPB_TabletSnapshotPB();
12710
0
  return *internal_default_instance();
12711
0
}
12712
12713
0
SysSnapshotEntryPB_TabletSnapshotPB* SysSnapshotEntryPB_TabletSnapshotPB::New(::google::protobuf::Arena* arena) const {
12714
0
  SysSnapshotEntryPB_TabletSnapshotPB* n = new SysSnapshotEntryPB_TabletSnapshotPB;
12715
0
  if (arena != NULL) {
12716
0
    arena->Own(n);
12717
0
  }
12718
0
  return n;
12719
0
}
12720
12721
0
void SysSnapshotEntryPB_TabletSnapshotPB::Clear() {
12722
// @@protoc_insertion_point(message_clear_start:yb.master.SysSnapshotEntryPB.TabletSnapshotPB)
12723
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12724
  // Prevent compiler warnings about cached_has_bits being unused
12725
0
  (void) cached_has_bits;
12726
12727
0
  cached_has_bits = _has_bits_[0];
12728
0
  if (cached_has_bits & 0x00000001u) {
12729
0
    GOOGLE_DCHECK(!id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
12730
0
    (*id_.UnsafeRawStringPointer())->clear();
12731
0
  }
12732
0
  state_ = 0;
12733
0
  _has_bits_.Clear();
12734
0
  _internal_metadata_.Clear();
12735
0
}
12736
12737
bool SysSnapshotEntryPB_TabletSnapshotPB::MergePartialFromCodedStream(
12738
165
    ::google::protobuf::io::CodedInputStream* input) {
12739
330
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
12740
165
  ::google::protobuf::uint32 tag;
12741
  // @@protoc_insertion_point(parse_start:yb.master.SysSnapshotEntryPB.TabletSnapshotPB)
12742
495
  for (;;) {
12743
495
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
12744
495
    tag = p.first;
12745
495
    if (!p.second) 
goto handle_unusual165
;
12746
330
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
12747
      // optional bytes id = 1;
12748
165
      case 1: {
12749
165
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12750
165
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
12751
165
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
12752
165
                input, this->mutable_id()));
12753
165
        } else {
12754
0
          goto handle_unusual;
12755
0
        }
12756
165
        break;
12757
165
      }
12758
12759
      // optional .yb.master.SysSnapshotEntryPB.State state = 2;
12760
165
      case 2: {
12761
165
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12762
165
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
12763
165
          int value;
12764
165
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
12765
165
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
12766
165
                 input, &value)));
12767
165
          if (::yb::master::SysSnapshotEntryPB_State_IsValid(value)) {
12768
165
            set_state(static_cast< ::yb::master::SysSnapshotEntryPB_State >(value));
12769
165
          } else {
12770
0
            mutable_unknown_fields()->AddVarint(
12771
0
                2, static_cast< ::google::protobuf::uint64>(value));
12772
0
          }
12773
165
        } else {
12774
0
          goto handle_unusual;
12775
0
        }
12776
165
        break;
12777
165
      }
12778
12779
165
      default: {
12780
165
      handle_unusual:
12781
165
        if (tag == 0) {
12782
165
          goto success;
12783
165
        }
12784
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
12785
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
12786
0
        break;
12787
0
      }
12788
330
    }
12789
330
  }
12790
165
success:
12791
  // @@protoc_insertion_point(parse_success:yb.master.SysSnapshotEntryPB.TabletSnapshotPB)
12792
165
  return true;
12793
0
failure:
12794
  // @@protoc_insertion_point(parse_failure:yb.master.SysSnapshotEntryPB.TabletSnapshotPB)
12795
0
  return false;
12796
165
#undef DO_
12797
165
}
12798
12799
void SysSnapshotEntryPB_TabletSnapshotPB::SerializeWithCachedSizes(
12800
0
    ::google::protobuf::io::CodedOutputStream* output) const {
12801
  // @@protoc_insertion_point(serialize_start:yb.master.SysSnapshotEntryPB.TabletSnapshotPB)
12802
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12803
0
  (void) cached_has_bits;
12804
12805
0
  cached_has_bits = _has_bits_[0];
12806
  // optional bytes id = 1;
12807
0
  if (cached_has_bits & 0x00000001u) {
12808
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
12809
0
      1, this->id(), output);
12810
0
  }
12811
12812
  // optional .yb.master.SysSnapshotEntryPB.State state = 2;
12813
0
  if (cached_has_bits & 0x00000002u) {
12814
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
12815
0
      2, this->state(), output);
12816
0
  }
12817
12818
0
  if (_internal_metadata_.have_unknown_fields()) {
12819
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
12820
0
        _internal_metadata_.unknown_fields(), output);
12821
0
  }
12822
  // @@protoc_insertion_point(serialize_end:yb.master.SysSnapshotEntryPB.TabletSnapshotPB)
12823
0
}
12824
12825
::google::protobuf::uint8* SysSnapshotEntryPB_TabletSnapshotPB::InternalSerializeWithCachedSizesToArray(
12826
123
    bool deterministic, ::google::protobuf::uint8* target) const {
12827
123
  (void)deterministic; // Unused
12828
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SysSnapshotEntryPB.TabletSnapshotPB)
12829
123
  ::google::protobuf::uint32 cached_has_bits = 0;
12830
123
  (void) cached_has_bits;
12831
12832
123
  cached_has_bits = _has_bits_[0];
12833
  // optional bytes id = 1;
12834
123
  if (cached_has_bits & 0x00000001u) {
12835
123
    target =
12836
123
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
12837
123
        1, this->id(), target);
12838
123
  }
12839
12840
  // optional .yb.master.SysSnapshotEntryPB.State state = 2;
12841
123
  if (cached_has_bits & 0x00000002u) {
12842
123
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
12843
123
      2, this->state(), target);
12844
123
  }
12845
12846
123
  if (_internal_metadata_.have_unknown_fields()) {
12847
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
12848
0
        _internal_metadata_.unknown_fields(), target);
12849
0
  }
12850
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SysSnapshotEntryPB.TabletSnapshotPB)
12851
123
  return target;
12852
123
}
12853
12854
157
size_t SysSnapshotEntryPB_TabletSnapshotPB::ByteSizeLong() const {
12855
// @@protoc_insertion_point(message_byte_size_start:yb.master.SysSnapshotEntryPB.TabletSnapshotPB)
12856
157
  size_t total_size = 0;
12857
12858
157
  if (_internal_metadata_.have_unknown_fields()) {
12859
0
    total_size +=
12860
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
12861
0
        _internal_metadata_.unknown_fields());
12862
0
  }
12863
157
  if (_has_bits_[0 / 32] & 3u) {
12864
    // optional bytes id = 1;
12865
157
    if (has_id()) {
12866
157
      total_size += 1 +
12867
157
        ::google::protobuf::internal::WireFormatLite::BytesSize(
12868
157
          this->id());
12869
157
    }
12870
12871
    // optional .yb.master.SysSnapshotEntryPB.State state = 2;
12872
157
    if (has_state()) {
12873
157
      total_size += 1 +
12874
157
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->state());
12875
157
    }
12876
12877
157
  }
12878
157
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
12879
157
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12880
157
  _cached_size_ = cached_size;
12881
157
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12882
157
  return total_size;
12883
157
}
12884
12885
0
void SysSnapshotEntryPB_TabletSnapshotPB::MergeFrom(const ::google::protobuf::Message& from) {
12886
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SysSnapshotEntryPB.TabletSnapshotPB)
12887
0
  GOOGLE_DCHECK_NE(&from, this);
12888
0
  const SysSnapshotEntryPB_TabletSnapshotPB* source =
12889
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SysSnapshotEntryPB_TabletSnapshotPB>(
12890
0
          &from);
12891
0
  if (source == NULL) {
12892
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SysSnapshotEntryPB.TabletSnapshotPB)
12893
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
12894
0
  } else {
12895
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SysSnapshotEntryPB.TabletSnapshotPB)
12896
0
    MergeFrom(*source);
12897
0
  }
12898
0
}
12899
12900
0
void SysSnapshotEntryPB_TabletSnapshotPB::MergeFrom(const SysSnapshotEntryPB_TabletSnapshotPB& from) {
12901
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SysSnapshotEntryPB.TabletSnapshotPB)
12902
0
  GOOGLE_DCHECK_NE(&from, this);
12903
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12904
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12905
0
  (void) cached_has_bits;
12906
12907
0
  cached_has_bits = from._has_bits_[0];
12908
0
  if (cached_has_bits & 3u) {
12909
0
    if (cached_has_bits & 0x00000001u) {
12910
0
      set_has_id();
12911
0
      id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
12912
0
    }
12913
0
    if (cached_has_bits & 0x00000002u) {
12914
0
      state_ = from.state_;
12915
0
    }
12916
0
    _has_bits_[0] |= cached_has_bits;
12917
0
  }
12918
0
}
12919
12920
0
void SysSnapshotEntryPB_TabletSnapshotPB::CopyFrom(const ::google::protobuf::Message& from) {
12921
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SysSnapshotEntryPB.TabletSnapshotPB)
12922
0
  if (&from == this) return;
12923
0
  Clear();
12924
0
  MergeFrom(from);
12925
0
}
12926
12927
0
void SysSnapshotEntryPB_TabletSnapshotPB::CopyFrom(const SysSnapshotEntryPB_TabletSnapshotPB& from) {
12928
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SysSnapshotEntryPB.TabletSnapshotPB)
12929
0
  if (&from == this) return;
12930
0
  Clear();
12931
0
  MergeFrom(from);
12932
0
}
12933
12934
0
bool SysSnapshotEntryPB_TabletSnapshotPB::IsInitialized() const {
12935
0
  return true;
12936
0
}
12937
12938
0
void SysSnapshotEntryPB_TabletSnapshotPB::Swap(SysSnapshotEntryPB_TabletSnapshotPB* other) {
12939
0
  if (other == this) return;
12940
0
  InternalSwap(other);
12941
0
}
12942
0
void SysSnapshotEntryPB_TabletSnapshotPB::InternalSwap(SysSnapshotEntryPB_TabletSnapshotPB* other) {
12943
0
  using std::swap;
12944
0
  id_.Swap(&other->id_);
12945
0
  swap(state_, other->state_);
12946
0
  swap(_has_bits_[0], other->_has_bits_[0]);
12947
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
12948
0
  swap(_cached_size_, other->_cached_size_);
12949
0
}
12950
12951
0
::google::protobuf::Metadata SysSnapshotEntryPB_TabletSnapshotPB::GetMetadata() const {
12952
0
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
12953
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
12954
0
}
12955
12956
12957
// ===================================================================
12958
12959
26.8k
void SysSnapshotEntryPB::InitAsDefaultInstance() {
12960
26.8k
}
12961
#if !defined(_MSC_VER) || _MSC_VER >= 1900
12962
const int SysSnapshotEntryPB::kStateFieldNumber;
12963
const int SysSnapshotEntryPB::kTabletSnapshotsFieldNumber;
12964
const int SysSnapshotEntryPB::kEntriesFieldNumber;
12965
const int SysSnapshotEntryPB::kSnapshotHybridTimeFieldNumber;
12966
const int SysSnapshotEntryPB::kVersionFieldNumber;
12967
const int SysSnapshotEntryPB::kScheduleIdFieldNumber;
12968
const int SysSnapshotEntryPB::kPreviousSnapshotHybridTimeFieldNumber;
12969
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
12970
12971
SysSnapshotEntryPB::SysSnapshotEntryPB()
12972
27.2k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
12973
27.2k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
12974
408
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysSnapshotEntryPB();
12975
408
  }
12976
27.2k
  SharedCtor();
12977
  // @@protoc_insertion_point(constructor:yb.master.SysSnapshotEntryPB)
12978
27.2k
}
12979
SysSnapshotEntryPB::SysSnapshotEntryPB(const SysSnapshotEntryPB& from)
12980
  : ::google::protobuf::Message(),
12981
      _internal_metadata_(NULL),
12982
      _has_bits_(from._has_bits_),
12983
      _cached_size_(0),
12984
      tablet_snapshots_(from.tablet_snapshots_),
12985
0
      entries_(from.entries_) {
12986
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12987
0
  schedule_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12988
0
  if (from.has_schedule_id()) {
12989
0
    schedule_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.schedule_id_);
12990
0
  }
12991
0
  ::memcpy(&snapshot_hybrid_time_, &from.snapshot_hybrid_time_,
12992
0
    static_cast<size_t>(reinterpret_cast<char*>(&state_) -
12993
0
    reinterpret_cast<char*>(&snapshot_hybrid_time_)) + sizeof(state_));
12994
  // @@protoc_insertion_point(copy_constructor:yb.master.SysSnapshotEntryPB)
12995
0
}
12996
12997
27.2k
void SysSnapshotEntryPB::SharedCtor() {
12998
27.2k
  _cached_size_ = 0;
12999
27.2k
  schedule_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13000
27.2k
  ::memset(&snapshot_hybrid_time_, 0, static_cast<size_t>(
13001
27.2k
      reinterpret_cast<char*>(&state_) -
13002
27.2k
      reinterpret_cast<char*>(&snapshot_hybrid_time_)) + sizeof(state_));
13003
27.2k
}
13004
13005
408
SysSnapshotEntryPB::~SysSnapshotEntryPB() {
13006
  // @@protoc_insertion_point(destructor:yb.master.SysSnapshotEntryPB)
13007
408
  SharedDtor();
13008
408
}
13009
13010
408
void SysSnapshotEntryPB::SharedDtor() {
13011
408
  schedule_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13012
408
}
13013
13014
0
void SysSnapshotEntryPB::SetCachedSize(int size) const {
13015
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13016
0
  _cached_size_ = size;
13017
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
13018
0
}
13019
0
const ::google::protobuf::Descriptor* SysSnapshotEntryPB::descriptor() {
13020
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
13021
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
13022
0
}
13023
13024
0
const SysSnapshotEntryPB& SysSnapshotEntryPB::default_instance() {
13025
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysSnapshotEntryPB();
13026
0
  return *internal_default_instance();
13027
0
}
13028
13029
0
SysSnapshotEntryPB* SysSnapshotEntryPB::New(::google::protobuf::Arena* arena) const {
13030
0
  SysSnapshotEntryPB* n = new SysSnapshotEntryPB;
13031
0
  if (arena != NULL) {
13032
0
    arena->Own(n);
13033
0
  }
13034
0
  return n;
13035
0
}
13036
13037
102
void SysSnapshotEntryPB::Clear() {
13038
// @@protoc_insertion_point(message_clear_start:yb.master.SysSnapshotEntryPB)
13039
102
  ::google::protobuf::uint32 cached_has_bits = 0;
13040
  // Prevent compiler warnings about cached_has_bits being unused
13041
102
  (void) cached_has_bits;
13042
13043
102
  tablet_snapshots_.Clear();
13044
102
  entries_.Clear();
13045
102
  cached_has_bits = _has_bits_[0];
13046
102
  if (cached_has_bits & 0x00000001u) {
13047
0
    GOOGLE_DCHECK(!schedule_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
13048
0
    (*schedule_id_.UnsafeRawStringPointer())->clear();
13049
0
  }
13050
102
  if (cached_has_bits & 30u) {
13051
0
    ::memset(&snapshot_hybrid_time_, 0, static_cast<size_t>(
13052
0
        reinterpret_cast<char*>(&state_) -
13053
0
        reinterpret_cast<char*>(&snapshot_hybrid_time_)) + sizeof(state_));
13054
0
  }
13055
102
  _has_bits_.Clear();
13056
102
  _internal_metadata_.Clear();
13057
102
}
13058
13059
bool SysSnapshotEntryPB::MergePartialFromCodedStream(
13060
127
    ::google::protobuf::io::CodedInputStream* input) {
13061
1.09k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
13062
127
  ::google::protobuf::uint32 tag;
13063
  // @@protoc_insertion_point(parse_start:yb.master.SysSnapshotEntryPB)
13064
1.22k
  for (;;) {
13065
1.22k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
13066
1.22k
    tag = p.first;
13067
1.22k
    if (!p.second) 
goto handle_unusual127
;
13068
1.09k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
13069
      // optional .yb.master.SysSnapshotEntryPB.State state = 1 [default = UNKNOWN];
13070
127
      case 1: {
13071
127
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13072
127
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
13073
127
          int value;
13074
127
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
13075
127
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
13076
127
                 input, &value)));
13077
127
          if (::yb::master::SysSnapshotEntryPB_State_IsValid(value)) {
13078
127
            set_state(static_cast< ::yb::master::SysSnapshotEntryPB_State >(value));
13079
127
          } else {
13080
0
            mutable_unknown_fields()->AddVarint(
13081
0
                1, static_cast< ::google::protobuf::uint64>(value));
13082
0
          }
13083
127
        } else {
13084
0
          goto handle_unusual;
13085
0
        }
13086
127
        break;
13087
127
      }
13088
13089
      // repeated .yb.master.SysSnapshotEntryPB.TabletSnapshotPB tablet_snapshots = 2;
13090
165
      case 2: {
13091
165
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13092
165
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
13093
165
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_tablet_snapshots()));
13094
165
        } else {
13095
0
          goto handle_unusual;
13096
0
        }
13097
165
        break;
13098
165
      }
13099
13100
      // repeated .yb.master.SysRowEntry entries = 3;
13101
367
      case 3: {
13102
367
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13103
367
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
13104
367
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_entries()));
13105
367
        } else {
13106
0
          goto handle_unusual;
13107
0
        }
13108
367
        break;
13109
367
      }
13110
13111
      // optional fixed64 snapshot_hybrid_time = 4;
13112
367
      case 4: {
13113
127
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13114
127
            static_cast< ::google::protobuf::uint8>(33u /* 33 & 0xFF */)) {
13115
127
          set_has_snapshot_hybrid_time();
13116
127
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
13117
127
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
13118
127
                 input, &snapshot_hybrid_time_)));
13119
127
        } else {
13120
0
          goto handle_unusual;
13121
0
        }
13122
127
        break;
13123
127
      }
13124
13125
      // optional int64 version = 5;
13126
127
      case 5: {
13127
127
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13128
127
            static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
13129
127
          set_has_version();
13130
127
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
13131
127
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
13132
127
                 input, &version_)));
13133
127
        } else {
13134
0
          goto handle_unusual;
13135
0
        }
13136
127
        break;
13137
127
      }
13138
13139
      // optional bytes schedule_id = 6;
13140
127
      case 6: {
13141
122
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13142
122
            static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
13143
122
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
13144
122
                input, this->mutable_schedule_id()));
13145
122
        } else {
13146
0
          goto handle_unusual;
13147
0
        }
13148
122
        break;
13149
122
      }
13150
13151
      // optional fixed64 previous_snapshot_hybrid_time = 7;
13152
122
      case 7: {
13153
60
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13154
60
            static_cast< ::google::protobuf::uint8>(57u /* 57 & 0xFF */)) {
13155
60
          set_has_previous_snapshot_hybrid_time();
13156
60
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
13157
60
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
13158
60
                 input, &previous_snapshot_hybrid_time_)));
13159
60
        } else {
13160
0
          goto handle_unusual;
13161
0
        }
13162
60
        break;
13163
60
      }
13164
13165
60
      default: {
13166
127
      handle_unusual:
13167
127
        if (tag == 0) {
13168
127
          goto success;
13169
127
        }
13170
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
13171
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
13172
0
        break;
13173
0
      }
13174
1.09k
    }
13175
1.09k
  }
13176
127
success:
13177
  // @@protoc_insertion_point(parse_success:yb.master.SysSnapshotEntryPB)
13178
127
  return true;
13179
0
failure:
13180
  // @@protoc_insertion_point(parse_failure:yb.master.SysSnapshotEntryPB)
13181
0
  return false;
13182
127
#undef DO_
13183
127
}
13184
13185
void SysSnapshotEntryPB::SerializeWithCachedSizes(
13186
0
    ::google::protobuf::io::CodedOutputStream* output) const {
13187
  // @@protoc_insertion_point(serialize_start:yb.master.SysSnapshotEntryPB)
13188
0
  ::google::protobuf::uint32 cached_has_bits = 0;
13189
0
  (void) cached_has_bits;
13190
13191
0
  cached_has_bits = _has_bits_[0];
13192
  // optional .yb.master.SysSnapshotEntryPB.State state = 1 [default = UNKNOWN];
13193
0
  if (cached_has_bits & 0x00000010u) {
13194
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
13195
0
      1, this->state(), output);
13196
0
  }
13197
13198
  // repeated .yb.master.SysSnapshotEntryPB.TabletSnapshotPB tablet_snapshots = 2;
13199
0
  for (unsigned int i = 0,
13200
0
      n = static_cast<unsigned int>(this->tablet_snapshots_size()); i < n; i++) {
13201
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
13202
0
      2, this->tablet_snapshots(static_cast<int>(i)), output);
13203
0
  }
13204
13205
  // repeated .yb.master.SysRowEntry entries = 3;
13206
0
  for (unsigned int i = 0,
13207
0
      n = static_cast<unsigned int>(this->entries_size()); i < n; i++) {
13208
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
13209
0
      3, this->entries(static_cast<int>(i)), output);
13210
0
  }
13211
13212
  // optional fixed64 snapshot_hybrid_time = 4;
13213
0
  if (cached_has_bits & 0x00000002u) {
13214
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(4, this->snapshot_hybrid_time(), output);
13215
0
  }
13216
13217
  // optional int64 version = 5;
13218
0
  if (cached_has_bits & 0x00000004u) {
13219
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(5, this->version(), output);
13220
0
  }
13221
13222
  // optional bytes schedule_id = 6;
13223
0
  if (cached_has_bits & 0x00000001u) {
13224
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
13225
0
      6, this->schedule_id(), output);
13226
0
  }
13227
13228
  // optional fixed64 previous_snapshot_hybrid_time = 7;
13229
0
  if (cached_has_bits & 0x00000008u) {
13230
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(7, this->previous_snapshot_hybrid_time(), output);
13231
0
  }
13232
13233
0
  if (_internal_metadata_.have_unknown_fields()) {
13234
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
13235
0
        _internal_metadata_.unknown_fields(), output);
13236
0
  }
13237
  // @@protoc_insertion_point(serialize_end:yb.master.SysSnapshotEntryPB)
13238
0
}
13239
13240
::google::protobuf::uint8* SysSnapshotEntryPB::InternalSerializeWithCachedSizesToArray(
13241
93
    bool deterministic, ::google::protobuf::uint8* target) const {
13242
93
  (void)deterministic; // Unused
13243
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SysSnapshotEntryPB)
13244
93
  ::google::protobuf::uint32 cached_has_bits = 0;
13245
93
  (void) cached_has_bits;
13246
13247
93
  cached_has_bits = _has_bits_[0];
13248
  // optional .yb.master.SysSnapshotEntryPB.State state = 1 [default = UNKNOWN];
13249
93
  if (cached_has_bits & 0x00000010u) {
13250
93
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
13251
93
      1, this->state(), target);
13252
93
  }
13253
13254
  // repeated .yb.master.SysSnapshotEntryPB.TabletSnapshotPB tablet_snapshots = 2;
13255
93
  for (unsigned int i = 0,
13256
216
      n = static_cast<unsigned int>(this->tablet_snapshots_size()); i < n; 
i++123
) {
13257
123
    target = ::google::protobuf::internal::WireFormatLite::
13258
123
      InternalWriteMessageToArray(
13259
123
        2, this->tablet_snapshots(static_cast<int>(i)), deterministic, target);
13260
123
  }
13261
13262
  // repeated .yb.master.SysRowEntry entries = 3;
13263
93
  for (unsigned int i = 0,
13264
364
      n = static_cast<unsigned int>(this->entries_size()); i < n; 
i++271
) {
13265
271
    target = ::google::protobuf::internal::WireFormatLite::
13266
271
      InternalWriteMessageToArray(
13267
271
        3, this->entries(static_cast<int>(i)), deterministic, target);
13268
271
  }
13269
13270
  // optional fixed64 snapshot_hybrid_time = 4;
13271
93
  if (cached_has_bits & 0x00000002u) {
13272
93
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(4, this->snapshot_hybrid_time(), target);
13273
93
  }
13274
13275
  // optional int64 version = 5;
13276
93
  if (cached_has_bits & 0x00000004u) {
13277
93
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(5, this->version(), target);
13278
93
  }
13279
13280
  // optional bytes schedule_id = 6;
13281
93
  if (cached_has_bits & 0x00000001u) {
13282
88
    target =
13283
88
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
13284
88
        6, this->schedule_id(), target);
13285
88
  }
13286
13287
  // optional fixed64 previous_snapshot_hybrid_time = 7;
13288
93
  if (cached_has_bits & 0x00000008u) {
13289
45
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(7, this->previous_snapshot_hybrid_time(), target);
13290
45
  }
13291
13292
93
  if (_internal_metadata_.have_unknown_fields()) {
13293
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
13294
0
        _internal_metadata_.unknown_fields(), target);
13295
0
  }
13296
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SysSnapshotEntryPB)
13297
93
  return target;
13298
93
}
13299
13300
118
size_t SysSnapshotEntryPB::ByteSizeLong() const {
13301
// @@protoc_insertion_point(message_byte_size_start:yb.master.SysSnapshotEntryPB)
13302
118
  size_t total_size = 0;
13303
13304
118
  if (_internal_metadata_.have_unknown_fields()) {
13305
0
    total_size +=
13306
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
13307
0
        _internal_metadata_.unknown_fields());
13308
0
  }
13309
  // repeated .yb.master.SysSnapshotEntryPB.TabletSnapshotPB tablet_snapshots = 2;
13310
118
  {
13311
118
    unsigned int count = static_cast<unsigned int>(this->tablet_snapshots_size());
13312
118
    total_size += 1UL * count;
13313
275
    for (unsigned int i = 0; i < count; 
i++157
) {
13314
157
      total_size +=
13315
157
        ::google::protobuf::internal::WireFormatLite::MessageSize(
13316
157
          this->tablet_snapshots(static_cast<int>(i)));
13317
157
    }
13318
118
  }
13319
13320
  // repeated .yb.master.SysRowEntry entries = 3;
13321
118
  {
13322
118
    unsigned int count = static_cast<unsigned int>(this->entries_size());
13323
118
    total_size += 1UL * count;
13324
464
    for (unsigned int i = 0; i < count; 
i++346
) {
13325
346
      total_size +=
13326
346
        ::google::protobuf::internal::WireFormatLite::MessageSize(
13327
346
          this->entries(static_cast<int>(i)));
13328
346
    }
13329
118
  }
13330
13331
118
  if (_has_bits_[0 / 32] & 31u) {
13332
    // optional bytes schedule_id = 6;
13333
118
    if (has_schedule_id()) {
13334
112
      total_size += 1 +
13335
112
        ::google::protobuf::internal::WireFormatLite::BytesSize(
13336
112
          this->schedule_id());
13337
112
    }
13338
13339
    // optional fixed64 snapshot_hybrid_time = 4;
13340
118
    if (has_snapshot_hybrid_time()) {
13341
118
      total_size += 1 + 8;
13342
118
    }
13343
13344
    // optional int64 version = 5;
13345
118
    if (has_version()) {
13346
118
      total_size += 1 +
13347
118
        ::google::protobuf::internal::WireFormatLite::Int64Size(
13348
118
          this->version());
13349
118
    }
13350
13351
    // optional fixed64 previous_snapshot_hybrid_time = 7;
13352
118
    if (has_previous_snapshot_hybrid_time()) {
13353
58
      total_size += 1 + 8;
13354
58
    }
13355
13356
    // optional .yb.master.SysSnapshotEntryPB.State state = 1 [default = UNKNOWN];
13357
118
    if (has_state()) {
13358
118
      total_size += 1 +
13359
118
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->state());
13360
118
    }
13361
13362
118
  }
13363
118
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
13364
118
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13365
118
  _cached_size_ = cached_size;
13366
118
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
13367
118
  return total_size;
13368
118
}
13369
13370
0
void SysSnapshotEntryPB::MergeFrom(const ::google::protobuf::Message& from) {
13371
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SysSnapshotEntryPB)
13372
0
  GOOGLE_DCHECK_NE(&from, this);
13373
0
  const SysSnapshotEntryPB* source =
13374
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SysSnapshotEntryPB>(
13375
0
          &from);
13376
0
  if (source == NULL) {
13377
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SysSnapshotEntryPB)
13378
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
13379
0
  } else {
13380
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SysSnapshotEntryPB)
13381
0
    MergeFrom(*source);
13382
0
  }
13383
0
}
13384
13385
0
void SysSnapshotEntryPB::MergeFrom(const SysSnapshotEntryPB& from) {
13386
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SysSnapshotEntryPB)
13387
0
  GOOGLE_DCHECK_NE(&from, this);
13388
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
13389
0
  ::google::protobuf::uint32 cached_has_bits = 0;
13390
0
  (void) cached_has_bits;
13391
13392
0
  tablet_snapshots_.MergeFrom(from.tablet_snapshots_);
13393
0
  entries_.MergeFrom(from.entries_);
13394
0
  cached_has_bits = from._has_bits_[0];
13395
0
  if (cached_has_bits & 31u) {
13396
0
    if (cached_has_bits & 0x00000001u) {
13397
0
      set_has_schedule_id();
13398
0
      schedule_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.schedule_id_);
13399
0
    }
13400
0
    if (cached_has_bits & 0x00000002u) {
13401
0
      snapshot_hybrid_time_ = from.snapshot_hybrid_time_;
13402
0
    }
13403
0
    if (cached_has_bits & 0x00000004u) {
13404
0
      version_ = from.version_;
13405
0
    }
13406
0
    if (cached_has_bits & 0x00000008u) {
13407
0
      previous_snapshot_hybrid_time_ = from.previous_snapshot_hybrid_time_;
13408
0
    }
13409
0
    if (cached_has_bits & 0x00000010u) {
13410
0
      state_ = from.state_;
13411
0
    }
13412
0
    _has_bits_[0] |= cached_has_bits;
13413
0
  }
13414
0
}
13415
13416
0
void SysSnapshotEntryPB::CopyFrom(const ::google::protobuf::Message& from) {
13417
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SysSnapshotEntryPB)
13418
0
  if (&from == this) return;
13419
0
  Clear();
13420
0
  MergeFrom(from);
13421
0
}
13422
13423
0
void SysSnapshotEntryPB::CopyFrom(const SysSnapshotEntryPB& from) {
13424
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SysSnapshotEntryPB)
13425
0
  if (&from == this) return;
13426
0
  Clear();
13427
0
  MergeFrom(from);
13428
0
}
13429
13430
170
bool SysSnapshotEntryPB::IsInitialized() const {
13431
170
  return true;
13432
170
}
13433
13434
0
void SysSnapshotEntryPB::Swap(SysSnapshotEntryPB* other) {
13435
0
  if (other == this) return;
13436
0
  InternalSwap(other);
13437
0
}
13438
188
void SysSnapshotEntryPB::InternalSwap(SysSnapshotEntryPB* other) {
13439
188
  using std::swap;
13440
188
  tablet_snapshots_.InternalSwap(&other->tablet_snapshots_);
13441
188
  entries_.InternalSwap(&other->entries_);
13442
188
  schedule_id_.Swap(&other->schedule_id_);
13443
188
  swap(snapshot_hybrid_time_, other->snapshot_hybrid_time_);
13444
188
  swap(version_, other->version_);
13445
188
  swap(previous_snapshot_hybrid_time_, other->previous_snapshot_hybrid_time_);
13446
188
  swap(state_, other->state_);
13447
188
  swap(_has_bits_[0], other->_has_bits_[0]);
13448
188
  _internal_metadata_.Swap(&other->_internal_metadata_);
13449
188
  swap(_cached_size_, other->_cached_size_);
13450
188
}
13451
13452
0
::google::protobuf::Metadata SysSnapshotEntryPB::GetMetadata() const {
13453
0
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
13454
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
13455
0
}
13456
13457
13458
// ===================================================================
13459
13460
26.8k
SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse::SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse() {}
13461
0
SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse::SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {}
13462
0
void SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse::MergeFrom(const SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse& other) {
13463
0
  MergeFromInternal(other);
13464
0
}
13465
0
::google::protobuf::Metadata SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse::GetMetadata() const {
13466
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
13467
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[27];
13468
0
}
13469
void SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse::MergeFrom(
13470
0
    const ::google::protobuf::Message& other) {
13471
0
  ::google::protobuf::Message::MergeFrom(other);
13472
0
}
13473
13474
13475
// ===================================================================
13476
13477
26.8k
SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse::SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse() {}
13478
0
SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse::SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {}
13479
0
void SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse::MergeFrom(const SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse& other) {
13480
0
  MergeFromInternal(other);
13481
0
}
13482
0
::google::protobuf::Metadata SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse::GetMetadata() const {
13483
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
13484
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[28];
13485
0
}
13486
void SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse::MergeFrom(
13487
0
    const ::google::protobuf::Message& other) {
13488
0
  ::google::protobuf::Message::MergeFrom(other);
13489
0
}
13490
13491
13492
// ===================================================================
13493
13494
26.8k
void SysUniverseReplicationEntryPB::InitAsDefaultInstance() {
13495
26.8k
}
13496
0
void SysUniverseReplicationEntryPB::clear_producer_master_addresses() {
13497
0
  producer_master_addresses_.Clear();
13498
0
}
13499
#if !defined(_MSC_VER) || _MSC_VER >= 1900
13500
const int SysUniverseReplicationEntryPB::kProducerIdFieldNumber;
13501
const int SysUniverseReplicationEntryPB::kProducerMasterAddressesFieldNumber;
13502
const int SysUniverseReplicationEntryPB::kTablesFieldNumber;
13503
const int SysUniverseReplicationEntryPB::kStateFieldNumber;
13504
const int SysUniverseReplicationEntryPB::kValidatedTablesFieldNumber;
13505
const int SysUniverseReplicationEntryPB::kTableStreamsFieldNumber;
13506
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
13507
13508
SysUniverseReplicationEntryPB::SysUniverseReplicationEntryPB()
13509
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
13510
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
13511
9
    ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysUniverseReplicationEntryPB();
13512
9
  }
13513
26.8k
  SharedCtor();
13514
  // @@protoc_insertion_point(constructor:yb.master.SysUniverseReplicationEntryPB)
13515
26.8k
}
13516
SysUniverseReplicationEntryPB::SysUniverseReplicationEntryPB(const SysUniverseReplicationEntryPB& from)
13517
  : ::google::protobuf::Message(),
13518
      _internal_metadata_(NULL),
13519
      _has_bits_(from._has_bits_),
13520
      _cached_size_(0),
13521
      producer_master_addresses_(from.producer_master_addresses_),
13522
4
      tables_(from.tables_) {
13523
4
  _internal_metadata_.MergeFrom(from._internal_metadata_);
13524
4
  validated_tables_.MergeFrom(from.validated_tables_);
13525
4
  table_streams_.MergeFrom(from.table_streams_);
13526
4
  producer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13527
4
  if (from.has_producer_id()) {
13528
0
    producer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.producer_id_);
13529
0
  }
13530
4
  state_ = from.state_;
13531
  // @@protoc_insertion_point(copy_constructor:yb.master.SysUniverseReplicationEntryPB)
13532
4
}
13533
13534
26.8k
void SysUniverseReplicationEntryPB::SharedCtor() {
13535
26.8k
  _cached_size_ = 0;
13536
26.8k
  producer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13537
26.8k
  state_ = 0;
13538
26.8k
}
13539
13540
11
SysUniverseReplicationEntryPB::~SysUniverseReplicationEntryPB() {
13541
  // @@protoc_insertion_point(destructor:yb.master.SysUniverseReplicationEntryPB)
13542
11
  SharedDtor();
13543
11
}
13544
13545
11
void SysUniverseReplicationEntryPB::SharedDtor() {
13546
11
  producer_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13547
11
}
13548
13549
0
void SysUniverseReplicationEntryPB::SetCachedSize(int size) const {
13550
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13551
0
  _cached_size_ = size;
13552
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
13553
0
}
13554
0
const ::google::protobuf::Descriptor* SysUniverseReplicationEntryPB::descriptor() {
13555
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
13556
0
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
13557
0
}
13558
13559
0
const SysUniverseReplicationEntryPB& SysUniverseReplicationEntryPB::default_instance() {
13560
0
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysUniverseReplicationEntryPB();
13561
0
  return *internal_default_instance();
13562
0
}
13563
13564
0
SysUniverseReplicationEntryPB* SysUniverseReplicationEntryPB::New(::google::protobuf::Arena* arena) const {
13565
0
  SysUniverseReplicationEntryPB* n = new SysUniverseReplicationEntryPB;
13566
0
  if (arena != NULL) {
13567
0
    arena->Own(n);
13568
0
  }
13569
0
  return n;
13570
0
}
13571
13572
2
void SysUniverseReplicationEntryPB::Clear() {
13573
// @@protoc_insertion_point(message_clear_start:yb.master.SysUniverseReplicationEntryPB)
13574
2
  ::google::protobuf::uint32 cached_has_bits = 0;
13575
  // Prevent compiler warnings about cached_has_bits being unused
13576
2
  (void) cached_has_bits;
13577
13578
2
  producer_master_addresses_.Clear();
13579
2
  tables_.Clear();
13580
2
  validated_tables_.Clear();
13581
2
  table_streams_.Clear();
13582
2
  cached_has_bits = _has_bits_[0];
13583
2
  if (cached_has_bits & 0x00000001u) {
13584
0
    GOOGLE_DCHECK(!producer_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
13585
0
    (*producer_id_.UnsafeRawStringPointer())->clear();
13586
0
  }
13587
2
  state_ = 0;
13588
2
  _has_bits_.Clear();
13589
2
  _internal_metadata_.Clear();
13590
2
}
13591
13592
bool SysUniverseReplicationEntryPB::MergePartialFromCodedStream(
13593
1
    ::google::protobuf::io::CodedInputStream* input) {
13594
1
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
13595
1
  ::google::protobuf::uint32 tag;
13596
  // @@protoc_insertion_point(parse_start:yb.master.SysUniverseReplicationEntryPB)
13597
2
  for (;;) {
13598
2
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
13599
2
    tag = p.first;
13600
2
    if (!p.second) 
goto handle_unusual1
;
13601
1
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
13602
      // optional string producer_id = 1;
13603
0
      case 1: {
13604
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13605
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
13606
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
13607
0
                input, this->mutable_producer_id()));
13608
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13609
0
            this->producer_id().data(), static_cast<int>(this->producer_id().length()),
13610
0
            ::google::protobuf::internal::WireFormat::PARSE,
13611
0
            "yb.master.SysUniverseReplicationEntryPB.producer_id");
13612
0
        } else {
13613
0
          goto handle_unusual;
13614
0
        }
13615
0
        break;
13616
0
      }
13617
13618
      // repeated .yb.HostPortPB producer_master_addresses = 2;
13619
0
      case 2: {
13620
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13621
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
13622
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_producer_master_addresses()));
13623
0
        } else {
13624
0
          goto handle_unusual;
13625
0
        }
13626
0
        break;
13627
0
      }
13628
13629
      // repeated string tables = 3;
13630
1
      case 3: {
13631
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13632
1
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
13633
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
13634
1
                input, this->add_tables()));
13635
1
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13636
1
            this->tables(this->tables_size() - 1).data(),
13637
1
            static_cast<int>(this->tables(this->tables_size() - 1).length()),
13638
1
            ::google::protobuf::internal::WireFormat::PARSE,
13639
1
            "yb.master.SysUniverseReplicationEntryPB.tables");
13640
1
        } else {
13641
0
          goto handle_unusual;
13642
0
        }
13643
1
        break;
13644
1
      }
13645
13646
      // optional .yb.master.SysUniverseReplicationEntryPB.State state = 4 [default = INITIALIZING];
13647
1
      case 4: {
13648
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13649
0
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
13650
0
          int value;
13651
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
13652
0
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
13653
0
                 input, &value)));
13654
0
          if (::yb::master::SysUniverseReplicationEntryPB_State_IsValid(value)) {
13655
0
            set_state(static_cast< ::yb::master::SysUniverseReplicationEntryPB_State >(value));
13656
0
          } else {
13657
0
            mutable_unknown_fields()->AddVarint(
13658
0
                4, static_cast< ::google::protobuf::uint64>(value));
13659
0
          }
13660
0
        } else {
13661
0
          goto handle_unusual;
13662
0
        }
13663
0
        break;
13664
0
      }
13665
13666
      // map<string, string> validated_tables = 5;
13667
0
      case 5: {
13668
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13669
0
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
13670
0
          SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField<
13671
0
              SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse,
13672
0
              ::std::string, ::std::string,
13673
0
              ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
13674
0
              ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
13675
0
              0 >,
13676
0
            ::google::protobuf::Map< ::std::string, ::std::string > > parser(&validated_tables_);
13677
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
13678
0
              input, &parser));
13679
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13680
0
            parser.key().data(), static_cast<int>(parser.key().length()),
13681
0
            ::google::protobuf::internal::WireFormat::PARSE,
13682
0
            "yb.master.SysUniverseReplicationEntryPB.ValidatedTablesEntry.key");
13683
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13684
0
            parser.value().data(), static_cast<int>(parser.value().length()),
13685
0
            ::google::protobuf::internal::WireFormat::PARSE,
13686
0
            "yb.master.SysUniverseReplicationEntryPB.ValidatedTablesEntry.value");
13687
0
        } else {
13688
0
          goto handle_unusual;
13689
0
        }
13690
0
        break;
13691
0
      }
13692
13693
      // map<string, string> table_streams = 6;
13694
0
      case 6: {
13695
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13696
0
            static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
13697
0
          SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField<
13698
0
              SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse,
13699
0
              ::std::string, ::std::string,
13700
0
              ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
13701
0
              ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
13702
0
              0 >,
13703
0
            ::google::protobuf::Map< ::std::string, ::std::string > > parser(&table_streams_);
13704
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
13705
0
              input, &parser));
13706
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13707
0
            parser.key().data(), static_cast<int>(parser.key().length()),
13708
0
            ::google::protobuf::internal::WireFormat::PARSE,
13709
0
            "yb.master.SysUniverseReplicationEntryPB.TableStreamsEntry.key");
13710
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13711
0
            parser.value().data(), static_cast<int>(parser.value().length()),
13712
0
            ::google::protobuf::internal::WireFormat::PARSE,
13713
0
            "yb.master.SysUniverseReplicationEntryPB.TableStreamsEntry.value");
13714
0
        } else {
13715
0
          goto handle_unusual;
13716
0
        }
13717
0
        break;
13718
0
      }
13719
13720
0
      default: {
13721
1
      handle_unusual:
13722
1
        if (tag == 0) {
13723
1
          goto success;
13724
1
        }
13725
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
13726
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
13727
0
        break;
13728
0
      }
13729
1
    }
13730
1
  }
13731
1
success:
13732
  // @@protoc_insertion_point(parse_success:yb.master.SysUniverseReplicationEntryPB)
13733
1
  return true;
13734
0
failure:
13735
  // @@protoc_insertion_point(parse_failure:yb.master.SysUniverseReplicationEntryPB)
13736
0
  return false;
13737
1
#undef DO_
13738
1
}
13739
13740
void SysUniverseReplicationEntryPB::SerializeWithCachedSizes(
13741
0
    ::google::protobuf::io::CodedOutputStream* output) const {
13742
  // @@protoc_insertion_point(serialize_start:yb.master.SysUniverseReplicationEntryPB)
13743
0
  ::google::protobuf::uint32 cached_has_bits = 0;
13744
0
  (void) cached_has_bits;
13745
13746
0
  cached_has_bits = _has_bits_[0];
13747
  // optional string producer_id = 1;
13748
0
  if (cached_has_bits & 0x00000001u) {
13749
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13750
0
      this->producer_id().data(), static_cast<int>(this->producer_id().length()),
13751
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
13752
0
      "yb.master.SysUniverseReplicationEntryPB.producer_id");
13753
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
13754
0
      1, this->producer_id(), output);
13755
0
  }
13756
13757
  // repeated .yb.HostPortPB producer_master_addresses = 2;
13758
0
  for (unsigned int i = 0,
13759
0
      n = static_cast<unsigned int>(this->producer_master_addresses_size()); i < n; i++) {
13760
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
13761
0
      2, this->producer_master_addresses(static_cast<int>(i)), output);
13762
0
  }
13763
13764
  // repeated string tables = 3;
13765
0
  for (int i = 0, n = this->tables_size(); i < n; i++) {
13766
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13767
0
      this->tables(i).data(), static_cast<int>(this->tables(i).length()),
13768
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
13769
0
      "yb.master.SysUniverseReplicationEntryPB.tables");
13770
0
    ::google::protobuf::internal::WireFormatLite::WriteString(
13771
0
      3, this->tables(i), output);
13772
0
  }
13773
13774
  // optional .yb.master.SysUniverseReplicationEntryPB.State state = 4 [default = INITIALIZING];
13775
0
  if (cached_has_bits & 0x00000002u) {
13776
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
13777
0
      4, this->state(), output);
13778
0
  }
13779
13780
  // map<string, string> validated_tables = 5;
13781
0
  if (!this->validated_tables().empty()) {
13782
0
    typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer
13783
0
        ConstPtr;
13784
0
    typedef ConstPtr SortItem;
13785
0
    typedef ::google::protobuf::internal::CompareByDerefFirst<SortItem> Less;
13786
0
    struct Utf8Check {
13787
0
      static void Check(ConstPtr p) {
13788
0
        ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13789
0
          p->first.data(), static_cast<int>(p->first.length()),
13790
0
          ::google::protobuf::internal::WireFormat::SERIALIZE,
13791
0
          "yb.master.SysUniverseReplicationEntryPB.ValidatedTablesEntry.key");
13792
0
        ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13793
0
          p->second.data(), static_cast<int>(p->second.length()),
13794
0
          ::google::protobuf::internal::WireFormat::SERIALIZE,
13795
0
          "yb.master.SysUniverseReplicationEntryPB.ValidatedTablesEntry.value");
13796
0
      }
13797
0
    };
13798
13799
0
    if (output->IsSerializationDeterministic() &&
13800
0
        this->validated_tables().size() > 1) {
13801
0
      ::google::protobuf::scoped_array<SortItem> items(
13802
0
          new SortItem[this->validated_tables().size()]);
13803
0
      typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type;
13804
0
      size_type n = 0;
13805
0
      for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator
13806
0
          it = this->validated_tables().begin();
13807
0
          it != this->validated_tables().end(); ++it, ++n) {
13808
0
        items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
13809
0
      }
13810
0
      ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
13811
0
      ::google::protobuf::scoped_ptr<SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse> entry;
13812
0
      for (size_type i = 0; i < n; i++) {
13813
0
        entry.reset(validated_tables_.NewEntryWrapper(
13814
0
            items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second));
13815
0
        ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
13816
0
            5, *entry, output);
13817
0
        Utf8Check::Check(items[static_cast<ptrdiff_t>(i)]);
13818
0
      }
13819
0
    } else {
13820
0
      ::google::protobuf::scoped_ptr<SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse> entry;
13821
0
      for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator
13822
0
          it = this->validated_tables().begin();
13823
0
          it != this->validated_tables().end(); ++it) {
13824
0
        entry.reset(validated_tables_.NewEntryWrapper(
13825
0
            it->first, it->second));
13826
0
        ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
13827
0
            5, *entry, output);
13828
0
        Utf8Check::Check(&*it);
13829
0
      }
13830
0
    }
13831
0
  }
13832
13833
  // map<string, string> table_streams = 6;
13834
0
  if (!this->table_streams().empty()) {
13835
0
    typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer
13836
0
        ConstPtr;
13837
0
    typedef ConstPtr SortItem;
13838
0
    typedef ::google::protobuf::internal::CompareByDerefFirst<SortItem> Less;
13839
0
    struct Utf8Check {
13840
0
      static void Check(ConstPtr p) {
13841
0
        ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13842
0
          p->first.data(), static_cast<int>(p->first.length()),
13843
0
          ::google::protobuf::internal::WireFormat::SERIALIZE,
13844
0
          "yb.master.SysUniverseReplicationEntryPB.TableStreamsEntry.key");
13845
0
        ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13846
0
          p->second.data(), static_cast<int>(p->second.length()),
13847
0
          ::google::protobuf::internal::WireFormat::SERIALIZE,
13848
0
          "yb.master.SysUniverseReplicationEntryPB.TableStreamsEntry.value");
13849
0
      }
13850
0
    };
13851
13852
0
    if (output->IsSerializationDeterministic() &&
13853
0
        this->table_streams().size() > 1) {
13854
0
      ::google::protobuf::scoped_array<SortItem> items(
13855
0
          new SortItem[this->table_streams().size()]);
13856
0
      typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type;
13857
0
      size_type n = 0;
13858
0
      for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator
13859
0
          it = this->table_streams().begin();
13860
0
          it != this->table_streams().end(); ++it, ++n) {
13861
0
        items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
13862
0
      }
13863
0
      ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
13864
0
      ::google::protobuf::scoped_ptr<SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse> entry;
13865
0
      for (size_type i = 0; i < n; i++) {
13866
0
        entry.reset(table_streams_.NewEntryWrapper(
13867
0
            items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second));
13868
0
        ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
13869
0
            6, *entry, output);
13870
0
        Utf8Check::Check(items[static_cast<ptrdiff_t>(i)]);
13871
0
      }
13872
0
    } else {
13873
0
      ::google::protobuf::scoped_ptr<SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse> entry;
13874
0
      for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator
13875
0
          it = this->table_streams().begin();
13876
0
          it != this->table_streams().end(); ++it) {
13877
0
        entry.reset(table_streams_.NewEntryWrapper(
13878
0
            it->first, it->second));
13879
0
        ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
13880
0
            6, *entry, output);
13881
0
        Utf8Check::Check(&*it);
13882
0
      }
13883
0
    }
13884
0
  }
13885
13886
0
  if (_internal_metadata_.have_unknown_fields()) {
13887
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
13888
0
        _internal_metadata_.unknown_fields(), output);
13889
0
  }
13890
  // @@protoc_insertion_point(serialize_end:yb.master.SysUniverseReplicationEntryPB)
13891
0
}
13892
13893
::google::protobuf::uint8* SysUniverseReplicationEntryPB::InternalSerializeWithCachedSizesToArray(
13894
3
    bool deterministic, ::google::protobuf::uint8* target) const {
13895
3
  (void)deterministic; // Unused
13896
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SysUniverseReplicationEntryPB)
13897
3
  ::google::protobuf::uint32 cached_has_bits = 0;
13898
3
  (void) cached_has_bits;
13899
13900
3
  cached_has_bits = _has_bits_[0];
13901
  // optional string producer_id = 1;
13902
3
  if (cached_has_bits & 0x00000001u) {
13903
2
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13904
2
      this->producer_id().data(), static_cast<int>(this->producer_id().length()),
13905
2
      ::google::protobuf::internal::WireFormat::SERIALIZE,
13906
2
      "yb.master.SysUniverseReplicationEntryPB.producer_id");
13907
2
    target =
13908
2
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
13909
2
        1, this->producer_id(), target);
13910
2
  }
13911
13912
  // repeated .yb.HostPortPB producer_master_addresses = 2;
13913
3
  for (unsigned int i = 0,
13914
5
      n = static_cast<unsigned int>(this->producer_master_addresses_size()); i < n; 
i++2
) {
13915
2
    target = ::google::protobuf::internal::WireFormatLite::
13916
2
      InternalWriteMessageToArray(
13917
2
        2, this->producer_master_addresses(static_cast<int>(i)), deterministic, target);
13918
2
  }
13919
13920
  // repeated string tables = 3;
13921
6
  for (int i = 0, n = this->tables_size(); i < n; 
i++3
) {
13922
3
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13923
3
      this->tables(i).data(), static_cast<int>(this->tables(i).length()),
13924
3
      ::google::protobuf::internal::WireFormat::SERIALIZE,
13925
3
      "yb.master.SysUniverseReplicationEntryPB.tables");
13926
3
    target = ::google::protobuf::internal::WireFormatLite::
13927
3
      WriteStringToArray(3, this->tables(i), target);
13928
3
  }
13929
13930
  // optional .yb.master.SysUniverseReplicationEntryPB.State state = 4 [default = INITIALIZING];
13931
3
  if (cached_has_bits & 0x00000002u) {
13932
2
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
13933
2
      4, this->state(), target);
13934
2
  }
13935
13936
  // map<string, string> validated_tables = 5;
13937
3
  if (!this->validated_tables().empty()) {
13938
0
    typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer
13939
0
        ConstPtr;
13940
0
    typedef ConstPtr SortItem;
13941
0
    typedef ::google::protobuf::internal::CompareByDerefFirst<SortItem> Less;
13942
0
    struct Utf8Check {
13943
0
      static void Check(ConstPtr p) {
13944
0
        ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13945
0
          p->first.data(), static_cast<int>(p->first.length()),
13946
0
          ::google::protobuf::internal::WireFormat::SERIALIZE,
13947
0
          "yb.master.SysUniverseReplicationEntryPB.ValidatedTablesEntry.key");
13948
0
        ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13949
0
          p->second.data(), static_cast<int>(p->second.length()),
13950
0
          ::google::protobuf::internal::WireFormat::SERIALIZE,
13951
0
          "yb.master.SysUniverseReplicationEntryPB.ValidatedTablesEntry.value");
13952
0
      }
13953
0
    };
13954
13955
0
    if (deterministic &&
13956
0
        this->validated_tables().size() > 1) {
13957
0
      ::google::protobuf::scoped_array<SortItem> items(
13958
0
          new SortItem[this->validated_tables().size()]);
13959
0
      typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type;
13960
0
      size_type n = 0;
13961
0
      for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator
13962
0
          it = this->validated_tables().begin();
13963
0
          it != this->validated_tables().end(); ++it, ++n) {
13964
0
        items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
13965
0
      }
13966
0
      ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
13967
0
      ::google::protobuf::scoped_ptr<SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse> entry;
13968
0
      for (size_type i = 0; i < n; i++) {
13969
0
        entry.reset(validated_tables_.NewEntryWrapper(
13970
0
            items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second));
13971
0
        target = ::google::protobuf::internal::WireFormatLite::
13972
0
                   InternalWriteMessageNoVirtualToArray(
13973
0
                       5, *entry, deterministic, target);
13974
0
;
13975
0
        Utf8Check::Check(items[static_cast<ptrdiff_t>(i)]);
13976
0
      }
13977
0
    } else {
13978
0
      ::google::protobuf::scoped_ptr<SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse> entry;
13979
0
      for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator
13980
0
          it = this->validated_tables().begin();
13981
0
          it != this->validated_tables().end(); ++it) {
13982
0
        entry.reset(validated_tables_.NewEntryWrapper(
13983
0
            it->first, it->second));
13984
0
        target = ::google::protobuf::internal::WireFormatLite::
13985
0
                   InternalWriteMessageNoVirtualToArray(
13986
0
                       5, *entry, deterministic, target);
13987
0
;
13988
0
        Utf8Check::Check(&*it);
13989
0
      }
13990
0
    }
13991
0
  }
13992
13993
  // map<string, string> table_streams = 6;
13994
3
  if (!this->table_streams().empty()) {
13995
0
    typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer
13996
0
        ConstPtr;
13997
0
    typedef ConstPtr SortItem;
13998
0
    typedef ::google::protobuf::internal::CompareByDerefFirst<SortItem> Less;
13999
0
    struct Utf8Check {
14000
0
      static void Check(ConstPtr p) {
14001
0
        ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14002
0
          p->first.data(), static_cast<int>(p->first.length()),
14003
0
          ::google::protobuf::internal::WireFormat::SERIALIZE,
14004
0
          "yb.master.SysUniverseReplicationEntryPB.TableStreamsEntry.key");
14005
0
        ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14006
0
          p->second.data(), static_cast<int>(p->second.length()),
14007
0
          ::google::protobuf::internal::WireFormat::SERIALIZE,
14008
0
          "yb.master.SysUniverseReplicationEntryPB.TableStreamsEntry.value");
14009
0
      }
14010
0
    };
14011
14012
0
    if (deterministic &&
14013
0
        this->table_streams().size() > 1) {
14014
0
      ::google::protobuf::scoped_array<SortItem> items(
14015
0
          new SortItem[this->table_streams().size()]);
14016
0
      typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type;
14017
0
      size_type n = 0;
14018
0
      for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator
14019
0
          it = this->table_streams().begin();
14020
0
          it != this->table_streams().end(); ++it, ++n) {
14021
0
        items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
14022
0
      }
14023
0
      ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
14024
0
      ::google::protobuf::scoped_ptr<SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse> entry;
14025
0
      for (size_type i = 0; i < n; i++) {
14026
0
        entry.reset(table_streams_.NewEntryWrapper(
14027
0
            items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second));
14028
0
        target = ::google::protobuf::internal::WireFormatLite::
14029
0
                   InternalWriteMessageNoVirtualToArray(
14030
0
                       6, *entry, deterministic, target);
14031
0
;
14032
0
        Utf8Check::Check(items[static_cast<ptrdiff_t>(i)]);
14033
0
      }
14034
0
    } else {
14035
0
      ::google::protobuf::scoped_ptr<SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse> entry;
14036
0
      for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator
14037
0
          it = this->table_streams().begin();
14038
0
          it != this->table_streams().end(); ++it) {
14039
0
        entry.reset(table_streams_.NewEntryWrapper(
14040
0
            it->first, it->second));
14041
0
        target = ::google::protobuf::internal::WireFormatLite::
14042
0
                   InternalWriteMessageNoVirtualToArray(
14043
0
                       6, *entry, deterministic, target);
14044
0
;
14045
0
        Utf8Check::Check(&*it);
14046
0
      }
14047
0
    }
14048
0
  }
14049
14050
3
  if (_internal_metadata_.have_unknown_fields()) {
14051
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
14052
0
        _internal_metadata_.unknown_fields(), target);
14053
0
  }
14054
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SysUniverseReplicationEntryPB)
14055
3
  return target;
14056
3
}
14057
14058
3
size_t SysUniverseReplicationEntryPB::ByteSizeLong() const {
14059
// @@protoc_insertion_point(message_byte_size_start:yb.master.SysUniverseReplicationEntryPB)
14060
3
  size_t total_size = 0;
14061
14062
3
  if (_internal_metadata_.have_unknown_fields()) {
14063
0
    total_size +=
14064
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
14065
0
        _internal_metadata_.unknown_fields());
14066
0
  }
14067
  // repeated .yb.HostPortPB producer_master_addresses = 2;
14068
3
  {
14069
3
    unsigned int count = static_cast<unsigned int>(this->producer_master_addresses_size());
14070
3
    total_size += 1UL * count;
14071
5
    for (unsigned int i = 0; i < count; 
i++2
) {
14072
2
      total_size +=
14073
2
        ::google::protobuf::internal::WireFormatLite::MessageSize(
14074
2
          this->producer_master_addresses(static_cast<int>(i)));
14075
2
    }
14076
3
  }
14077
14078
  // repeated string tables = 3;
14079
3
  total_size += 1 *
14080
3
      ::google::protobuf::internal::FromIntSize(this->tables_size());
14081
6
  for (int i = 0, n = this->tables_size(); i < n; 
i++3
) {
14082
3
    total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
14083
3
      this->tables(i));
14084
3
  }
14085
14086
  // map<string, string> validated_tables = 5;
14087
3
  total_size += 1 *
14088
3
      ::google::protobuf::internal::FromIntSize(this->validated_tables_size());
14089
3
  {
14090
3
    ::google::protobuf::scoped_ptr<SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse> entry;
14091
3
    for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator
14092
3
        it = this->validated_tables().begin();
14093
3
        it != this->validated_tables().end(); 
++it0
) {
14094
0
      entry.reset(validated_tables_.NewEntryWrapper(it->first, it->second));
14095
0
      total_size += ::google::protobuf::internal::WireFormatLite::
14096
0
          MessageSizeNoVirtual(*entry);
14097
0
    }
14098
3
  }
14099
14100
  // map<string, string> table_streams = 6;
14101
3
  total_size += 1 *
14102
3
      ::google::protobuf::internal::FromIntSize(this->table_streams_size());
14103
3
  {
14104
3
    ::google::protobuf::scoped_ptr<SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse> entry;
14105
3
    for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator
14106
3
        it = this->table_streams().begin();
14107
3
        it != this->table_streams().end(); 
++it0
) {
14108
0
      entry.reset(table_streams_.NewEntryWrapper(it->first, it->second));
14109
0
      total_size += ::google::protobuf::internal::WireFormatLite::
14110
0
          MessageSizeNoVirtual(*entry);
14111
0
    }
14112
3
  }
14113
14114
3
  if (_has_bits_[0 / 32] & 3u) {
14115
    // optional string producer_id = 1;
14116
2
    if (has_producer_id()) {
14117
2
      total_size += 1 +
14118
2
        ::google::protobuf::internal::WireFormatLite::StringSize(
14119
2
          this->producer_id());
14120
2
    }
14121
14122
    // optional .yb.master.SysUniverseReplicationEntryPB.State state = 4 [default = INITIALIZING];
14123
2
    if (has_state()) {
14124
2
      total_size += 1 +
14125
2
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->state());
14126
2
    }
14127
14128
2
  }
14129
3
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
14130
3
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14131
3
  _cached_size_ = cached_size;
14132
3
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
14133
3
  return total_size;
14134
3
}
14135
14136
0
void SysUniverseReplicationEntryPB::MergeFrom(const ::google::protobuf::Message& from) {
14137
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SysUniverseReplicationEntryPB)
14138
0
  GOOGLE_DCHECK_NE(&from, this);
14139
0
  const SysUniverseReplicationEntryPB* source =
14140
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SysUniverseReplicationEntryPB>(
14141
0
          &from);
14142
0
  if (source == NULL) {
14143
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SysUniverseReplicationEntryPB)
14144
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
14145
0
  } else {
14146
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SysUniverseReplicationEntryPB)
14147
0
    MergeFrom(*source);
14148
0
  }
14149
0
}
14150
14151
1
void SysUniverseReplicationEntryPB::MergeFrom(const SysUniverseReplicationEntryPB& from) {
14152
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SysUniverseReplicationEntryPB)
14153
1
  GOOGLE_DCHECK_NE(&from, this);
14154
1
  _internal_metadata_.MergeFrom(from._internal_metadata_);
14155
1
  ::google::protobuf::uint32 cached_has_bits = 0;
14156
1
  (void) cached_has_bits;
14157
14158
1
  producer_master_addresses_.MergeFrom(from.producer_master_addresses_);
14159
1
  tables_.MergeFrom(from.tables_);
14160
1
  validated_tables_.MergeFrom(from.validated_tables_);
14161
1
  table_streams_.MergeFrom(from.table_streams_);
14162
1
  cached_has_bits = from._has_bits_[0];
14163
1
  if (cached_has_bits & 3u) {
14164
0
    if (cached_has_bits & 0x00000001u) {
14165
0
      set_has_producer_id();
14166
0
      producer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.producer_id_);
14167
0
    }
14168
0
    if (cached_has_bits & 0x00000002u) {
14169
0
      state_ = from.state_;
14170
0
    }
14171
0
    _has_bits_[0] |= cached_has_bits;
14172
0
  }
14173
1
}
14174
14175
0
void SysUniverseReplicationEntryPB::CopyFrom(const ::google::protobuf::Message& from) {
14176
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SysUniverseReplicationEntryPB)
14177
0
  if (&from == this) return;
14178
0
  Clear();
14179
0
  MergeFrom(from);
14180
0
}
14181
14182
1
void SysUniverseReplicationEntryPB::CopyFrom(const SysUniverseReplicationEntryPB& from) {
14183
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SysUniverseReplicationEntryPB)
14184
1
  if (&from == this) 
return0
;
14185
1
  Clear();
14186
1
  MergeFrom(from);
14187
1
}
14188
14189
4
bool SysUniverseReplicationEntryPB::IsInitialized() const {
14190
4
  if (!::google::protobuf::internal::AllAreInitialized(this->producer_master_addresses())) 
return false0
;
14191
4
  return true;
14192
4
}
14193
14194
0
void SysUniverseReplicationEntryPB::Swap(SysUniverseReplicationEntryPB* other) {
14195
0
  if (other == this) return;
14196
0
  InternalSwap(other);
14197
0
}
14198
12
void SysUniverseReplicationEntryPB::InternalSwap(SysUniverseReplicationEntryPB* other) {
14199
12
  using std::swap;
14200
12
  producer_master_addresses_.InternalSwap(&other->producer_master_addresses_);
14201
12
  tables_.InternalSwap(&other->tables_);
14202
12
  validated_tables_.Swap(&other->validated_tables_);
14203
12
  table_streams_.Swap(&other->table_streams_);
14204
12
  producer_id_.Swap(&other->producer_id_);
14205
12
  swap(state_, other->state_);
14206
12
  swap(_has_bits_[0], other->_has_bits_[0]);
14207
12
  _internal_metadata_.Swap(&other->_internal_metadata_);
14208
12
  swap(_cached_size_, other->_cached_size_);
14209
12
}
14210
14211
32
::google::protobuf::Metadata SysUniverseReplicationEntryPB::GetMetadata() const {
14212
32
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::protobuf_AssignDescriptorsOnce();
14213
32
  return ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::file_level_metadata[kIndexInFileMessages];
14214
32
}
14215
14216
14217
// @@protoc_insertion_point(namespace_scope)
14218
}  // namespace master
14219
}  // namespace yb
14220
14221
// @@protoc_insertion_point(global_scope)