YugabyteDB (2.13.0.0-b42, bfc6a6643e7399ac8a0e81d06a3ee6d6571b33ab)

Coverage Report

Created: 2022-03-09 17:30

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/master/master_ddl.pb.cc
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: yb/master/master_ddl.proto
3
4
#include "yb/master/master_ddl.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 TablegroupIdentifierPBDefaultTypeInternal {
26
 public:
27
  ::google::protobuf::internal::ExplicitlyConstructed<TablegroupIdentifierPB>
28
      _instance;
29
} _TablegroupIdentifierPB_default_instance_;
30
class UDTypeIdentifierPBDefaultTypeInternal {
31
 public:
32
  ::google::protobuf::internal::ExplicitlyConstructed<UDTypeIdentifierPB>
33
      _instance;
34
} _UDTypeIdentifierPB_default_instance_;
35
class UDTypeInfoPBDefaultTypeInternal {
36
 public:
37
  ::google::protobuf::internal::ExplicitlyConstructed<UDTypeInfoPB>
38
      _instance;
39
} _UDTypeInfoPB_default_instance_;
40
class CreateTableRequestPBDefaultTypeInternal {
41
 public:
42
  ::google::protobuf::internal::ExplicitlyConstructed<CreateTableRequestPB>
43
      _instance;
44
} _CreateTableRequestPB_default_instance_;
45
class CreateTableResponsePBDefaultTypeInternal {
46
 public:
47
  ::google::protobuf::internal::ExplicitlyConstructed<CreateTableResponsePB>
48
      _instance;
49
} _CreateTableResponsePB_default_instance_;
50
class IsCreateTableDoneRequestPBDefaultTypeInternal {
51
 public:
52
  ::google::protobuf::internal::ExplicitlyConstructed<IsCreateTableDoneRequestPB>
53
      _instance;
54
} _IsCreateTableDoneRequestPB_default_instance_;
55
class IsCreateTableDoneResponsePBDefaultTypeInternal {
56
 public:
57
  ::google::protobuf::internal::ExplicitlyConstructed<IsCreateTableDoneResponsePB>
58
      _instance;
59
} _IsCreateTableDoneResponsePB_default_instance_;
60
class ListTablesRequestPBDefaultTypeInternal {
61
 public:
62
  ::google::protobuf::internal::ExplicitlyConstructed<ListTablesRequestPB>
63
      _instance;
64
} _ListTablesRequestPB_default_instance_;
65
class ListTablesResponsePB_TableInfoDefaultTypeInternal {
66
 public:
67
  ::google::protobuf::internal::ExplicitlyConstructed<ListTablesResponsePB_TableInfo>
68
      _instance;
69
} _ListTablesResponsePB_TableInfo_default_instance_;
70
class ListTablesResponsePBDefaultTypeInternal {
71
 public:
72
  ::google::protobuf::internal::ExplicitlyConstructed<ListTablesResponsePB>
73
      _instance;
74
} _ListTablesResponsePB_default_instance_;
75
class GetTableSchemaRequestPBDefaultTypeInternal {
76
 public:
77
  ::google::protobuf::internal::ExplicitlyConstructed<GetTableSchemaRequestPB>
78
      _instance;
79
} _GetTableSchemaRequestPB_default_instance_;
80
class GetTableSchemaResponsePBDefaultTypeInternal {
81
 public:
82
  ::google::protobuf::internal::ExplicitlyConstructed<GetTableSchemaResponsePB>
83
      _instance;
84
} _GetTableSchemaResponsePB_default_instance_;
85
class GetTablegroupSchemaRequestPBDefaultTypeInternal {
86
 public:
87
  ::google::protobuf::internal::ExplicitlyConstructed<GetTablegroupSchemaRequestPB>
88
      _instance;
89
} _GetTablegroupSchemaRequestPB_default_instance_;
90
class GetTablegroupSchemaResponsePBDefaultTypeInternal {
91
 public:
92
  ::google::protobuf::internal::ExplicitlyConstructed<GetTablegroupSchemaResponsePB>
93
      _instance;
94
} _GetTablegroupSchemaResponsePB_default_instance_;
95
class GetColocatedTabletSchemaRequestPBDefaultTypeInternal {
96
 public:
97
  ::google::protobuf::internal::ExplicitlyConstructed<GetColocatedTabletSchemaRequestPB>
98
      _instance;
99
} _GetColocatedTabletSchemaRequestPB_default_instance_;
100
class GetColocatedTabletSchemaResponsePBDefaultTypeInternal {
101
 public:
102
  ::google::protobuf::internal::ExplicitlyConstructed<GetColocatedTabletSchemaResponsePB>
103
      _instance;
104
} _GetColocatedTabletSchemaResponsePB_default_instance_;
105
class TruncateTableRequestPBDefaultTypeInternal {
106
 public:
107
  ::google::protobuf::internal::ExplicitlyConstructed<TruncateTableRequestPB>
108
      _instance;
109
} _TruncateTableRequestPB_default_instance_;
110
class TruncateTableResponsePBDefaultTypeInternal {
111
 public:
112
  ::google::protobuf::internal::ExplicitlyConstructed<TruncateTableResponsePB>
113
      _instance;
114
} _TruncateTableResponsePB_default_instance_;
115
class IsTruncateTableDoneRequestPBDefaultTypeInternal {
116
 public:
117
  ::google::protobuf::internal::ExplicitlyConstructed<IsTruncateTableDoneRequestPB>
118
      _instance;
119
} _IsTruncateTableDoneRequestPB_default_instance_;
120
class IsTruncateTableDoneResponsePBDefaultTypeInternal {
121
 public:
122
  ::google::protobuf::internal::ExplicitlyConstructed<IsTruncateTableDoneResponsePB>
123
      _instance;
124
} _IsTruncateTableDoneResponsePB_default_instance_;
125
class BackfillIndexRequestPBDefaultTypeInternal {
126
 public:
127
  ::google::protobuf::internal::ExplicitlyConstructed<BackfillIndexRequestPB>
128
      _instance;
129
} _BackfillIndexRequestPB_default_instance_;
130
class BackfillIndexResponsePBDefaultTypeInternal {
131
 public:
132
  ::google::protobuf::internal::ExplicitlyConstructed<BackfillIndexResponsePB>
133
      _instance;
134
} _BackfillIndexResponsePB_default_instance_;
135
class LaunchBackfillIndexForTableRequestPBDefaultTypeInternal {
136
 public:
137
  ::google::protobuf::internal::ExplicitlyConstructed<LaunchBackfillIndexForTableRequestPB>
138
      _instance;
139
} _LaunchBackfillIndexForTableRequestPB_default_instance_;
140
class LaunchBackfillIndexForTableResponsePBDefaultTypeInternal {
141
 public:
142
  ::google::protobuf::internal::ExplicitlyConstructed<LaunchBackfillIndexForTableResponsePB>
143
      _instance;
144
} _LaunchBackfillIndexForTableResponsePB_default_instance_;
145
class GetBackfillJobsRequestPBDefaultTypeInternal {
146
 public:
147
  ::google::protobuf::internal::ExplicitlyConstructed<GetBackfillJobsRequestPB>
148
      _instance;
149
} _GetBackfillJobsRequestPB_default_instance_;
150
class GetBackfillJobsResponsePBDefaultTypeInternal {
151
 public:
152
  ::google::protobuf::internal::ExplicitlyConstructed<GetBackfillJobsResponsePB>
153
      _instance;
154
} _GetBackfillJobsResponsePB_default_instance_;
155
class DeleteTableRequestPBDefaultTypeInternal {
156
 public:
157
  ::google::protobuf::internal::ExplicitlyConstructed<DeleteTableRequestPB>
158
      _instance;
159
} _DeleteTableRequestPB_default_instance_;
160
class DeleteTableResponsePBDefaultTypeInternal {
161
 public:
162
  ::google::protobuf::internal::ExplicitlyConstructed<DeleteTableResponsePB>
163
      _instance;
164
} _DeleteTableResponsePB_default_instance_;
165
class IsDeleteTableDoneRequestPBDefaultTypeInternal {
166
 public:
167
  ::google::protobuf::internal::ExplicitlyConstructed<IsDeleteTableDoneRequestPB>
168
      _instance;
169
} _IsDeleteTableDoneRequestPB_default_instance_;
170
class IsDeleteTableDoneResponsePBDefaultTypeInternal {
171
 public:
172
  ::google::protobuf::internal::ExplicitlyConstructed<IsDeleteTableDoneResponsePB>
173
      _instance;
174
} _IsDeleteTableDoneResponsePB_default_instance_;
175
class AlterTableRequestPB_AddColumnDefaultTypeInternal {
176
 public:
177
  ::google::protobuf::internal::ExplicitlyConstructed<AlterTableRequestPB_AddColumn>
178
      _instance;
179
} _AlterTableRequestPB_AddColumn_default_instance_;
180
class AlterTableRequestPB_DropColumnDefaultTypeInternal {
181
 public:
182
  ::google::protobuf::internal::ExplicitlyConstructed<AlterTableRequestPB_DropColumn>
183
      _instance;
184
} _AlterTableRequestPB_DropColumn_default_instance_;
185
class AlterTableRequestPB_RenameColumnDefaultTypeInternal {
186
 public:
187
  ::google::protobuf::internal::ExplicitlyConstructed<AlterTableRequestPB_RenameColumn>
188
      _instance;
189
} _AlterTableRequestPB_RenameColumn_default_instance_;
190
class AlterTableRequestPB_StepDefaultTypeInternal {
191
 public:
192
  ::google::protobuf::internal::ExplicitlyConstructed<AlterTableRequestPB_Step>
193
      _instance;
194
} _AlterTableRequestPB_Step_default_instance_;
195
class AlterTableRequestPBDefaultTypeInternal {
196
 public:
197
  ::google::protobuf::internal::ExplicitlyConstructed<AlterTableRequestPB>
198
      _instance;
199
} _AlterTableRequestPB_default_instance_;
200
class AlterTableResponsePBDefaultTypeInternal {
201
 public:
202
  ::google::protobuf::internal::ExplicitlyConstructed<AlterTableResponsePB>
203
      _instance;
204
} _AlterTableResponsePB_default_instance_;
205
class IsAlterTableDoneRequestPBDefaultTypeInternal {
206
 public:
207
  ::google::protobuf::internal::ExplicitlyConstructed<IsAlterTableDoneRequestPB>
208
      _instance;
209
} _IsAlterTableDoneRequestPB_default_instance_;
210
class IsAlterTableDoneResponsePBDefaultTypeInternal {
211
 public:
212
  ::google::protobuf::internal::ExplicitlyConstructed<IsAlterTableDoneResponsePB>
213
      _instance;
214
} _IsAlterTableDoneResponsePB_default_instance_;
215
class CreateNamespaceRequestPBDefaultTypeInternal {
216
 public:
217
  ::google::protobuf::internal::ExplicitlyConstructed<CreateNamespaceRequestPB>
218
      _instance;
219
} _CreateNamespaceRequestPB_default_instance_;
220
class CreateNamespaceResponsePBDefaultTypeInternal {
221
 public:
222
  ::google::protobuf::internal::ExplicitlyConstructed<CreateNamespaceResponsePB>
223
      _instance;
224
} _CreateNamespaceResponsePB_default_instance_;
225
class IsCreateNamespaceDoneRequestPBDefaultTypeInternal {
226
 public:
227
  ::google::protobuf::internal::ExplicitlyConstructed<IsCreateNamespaceDoneRequestPB>
228
      _instance;
229
} _IsCreateNamespaceDoneRequestPB_default_instance_;
230
class IsCreateNamespaceDoneResponsePBDefaultTypeInternal {
231
 public:
232
  ::google::protobuf::internal::ExplicitlyConstructed<IsCreateNamespaceDoneResponsePB>
233
      _instance;
234
} _IsCreateNamespaceDoneResponsePB_default_instance_;
235
class DeleteNamespaceRequestPBDefaultTypeInternal {
236
 public:
237
  ::google::protobuf::internal::ExplicitlyConstructed<DeleteNamespaceRequestPB>
238
      _instance;
239
} _DeleteNamespaceRequestPB_default_instance_;
240
class DeleteNamespaceResponsePBDefaultTypeInternal {
241
 public:
242
  ::google::protobuf::internal::ExplicitlyConstructed<DeleteNamespaceResponsePB>
243
      _instance;
244
} _DeleteNamespaceResponsePB_default_instance_;
245
class IsDeleteNamespaceDoneRequestPBDefaultTypeInternal {
246
 public:
247
  ::google::protobuf::internal::ExplicitlyConstructed<IsDeleteNamespaceDoneRequestPB>
248
      _instance;
249
} _IsDeleteNamespaceDoneRequestPB_default_instance_;
250
class IsDeleteNamespaceDoneResponsePBDefaultTypeInternal {
251
 public:
252
  ::google::protobuf::internal::ExplicitlyConstructed<IsDeleteNamespaceDoneResponsePB>
253
      _instance;
254
} _IsDeleteNamespaceDoneResponsePB_default_instance_;
255
class AlterNamespaceRequestPBDefaultTypeInternal {
256
 public:
257
  ::google::protobuf::internal::ExplicitlyConstructed<AlterNamespaceRequestPB>
258
      _instance;
259
} _AlterNamespaceRequestPB_default_instance_;
260
class AlterNamespaceResponsePBDefaultTypeInternal {
261
 public:
262
  ::google::protobuf::internal::ExplicitlyConstructed<AlterNamespaceResponsePB>
263
      _instance;
264
} _AlterNamespaceResponsePB_default_instance_;
265
class ListNamespacesRequestPBDefaultTypeInternal {
266
 public:
267
  ::google::protobuf::internal::ExplicitlyConstructed<ListNamespacesRequestPB>
268
      _instance;
269
} _ListNamespacesRequestPB_default_instance_;
270
class ListNamespacesResponsePBDefaultTypeInternal {
271
 public:
272
  ::google::protobuf::internal::ExplicitlyConstructed<ListNamespacesResponsePB>
273
      _instance;
274
} _ListNamespacesResponsePB_default_instance_;
275
class GetNamespaceInfoRequestPBDefaultTypeInternal {
276
 public:
277
  ::google::protobuf::internal::ExplicitlyConstructed<GetNamespaceInfoRequestPB>
278
      _instance;
279
} _GetNamespaceInfoRequestPB_default_instance_;
280
class GetNamespaceInfoResponsePBDefaultTypeInternal {
281
 public:
282
  ::google::protobuf::internal::ExplicitlyConstructed<GetNamespaceInfoResponsePB>
283
      _instance;
284
} _GetNamespaceInfoResponsePB_default_instance_;
285
class CreateTablegroupRequestPBDefaultTypeInternal {
286
 public:
287
  ::google::protobuf::internal::ExplicitlyConstructed<CreateTablegroupRequestPB>
288
      _instance;
289
} _CreateTablegroupRequestPB_default_instance_;
290
class CreateTablegroupResponsePBDefaultTypeInternal {
291
 public:
292
  ::google::protobuf::internal::ExplicitlyConstructed<CreateTablegroupResponsePB>
293
      _instance;
294
} _CreateTablegroupResponsePB_default_instance_;
295
class DeleteTablegroupRequestPBDefaultTypeInternal {
296
 public:
297
  ::google::protobuf::internal::ExplicitlyConstructed<DeleteTablegroupRequestPB>
298
      _instance;
299
} _DeleteTablegroupRequestPB_default_instance_;
300
class DeleteTablegroupResponsePBDefaultTypeInternal {
301
 public:
302
  ::google::protobuf::internal::ExplicitlyConstructed<DeleteTablegroupResponsePB>
303
      _instance;
304
} _DeleteTablegroupResponsePB_default_instance_;
305
class ListTablegroupsRequestPBDefaultTypeInternal {
306
 public:
307
  ::google::protobuf::internal::ExplicitlyConstructed<ListTablegroupsRequestPB>
308
      _instance;
309
} _ListTablegroupsRequestPB_default_instance_;
310
class ListTablegroupsResponsePBDefaultTypeInternal {
311
 public:
312
  ::google::protobuf::internal::ExplicitlyConstructed<ListTablegroupsResponsePB>
313
      _instance;
314
} _ListTablegroupsResponsePB_default_instance_;
315
class CreateUDTypeRequestPBDefaultTypeInternal {
316
 public:
317
  ::google::protobuf::internal::ExplicitlyConstructed<CreateUDTypeRequestPB>
318
      _instance;
319
} _CreateUDTypeRequestPB_default_instance_;
320
class CreateUDTypeResponsePBDefaultTypeInternal {
321
 public:
322
  ::google::protobuf::internal::ExplicitlyConstructed<CreateUDTypeResponsePB>
323
      _instance;
324
} _CreateUDTypeResponsePB_default_instance_;
325
class DeleteUDTypeRequestPBDefaultTypeInternal {
326
 public:
327
  ::google::protobuf::internal::ExplicitlyConstructed<DeleteUDTypeRequestPB>
328
      _instance;
329
} _DeleteUDTypeRequestPB_default_instance_;
330
class DeleteUDTypeResponsePBDefaultTypeInternal {
331
 public:
332
  ::google::protobuf::internal::ExplicitlyConstructed<DeleteUDTypeResponsePB>
333
      _instance;
334
} _DeleteUDTypeResponsePB_default_instance_;
335
class ListUDTypesRequestPBDefaultTypeInternal {
336
 public:
337
  ::google::protobuf::internal::ExplicitlyConstructed<ListUDTypesRequestPB>
338
      _instance;
339
} _ListUDTypesRequestPB_default_instance_;
340
class ListUDTypesResponsePBDefaultTypeInternal {
341
 public:
342
  ::google::protobuf::internal::ExplicitlyConstructed<ListUDTypesResponsePB>
343
      _instance;
344
} _ListUDTypesResponsePB_default_instance_;
345
class GetUDTypeInfoRequestPBDefaultTypeInternal {
346
 public:
347
  ::google::protobuf::internal::ExplicitlyConstructed<GetUDTypeInfoRequestPB>
348
      _instance;
349
} _GetUDTypeInfoRequestPB_default_instance_;
350
class GetUDTypeInfoResponsePBDefaultTypeInternal {
351
 public:
352
  ::google::protobuf::internal::ExplicitlyConstructed<GetUDTypeInfoResponsePB>
353
      _instance;
354
} _GetUDTypeInfoResponsePB_default_instance_;
355
}  // namespace master
356
}  // namespace yb
357
namespace protobuf_yb_2fmaster_2fmaster_5fddl_2eproto {
358
15.8k
void InitDefaultsTablegroupIdentifierPBImpl() {
359
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
360
361
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
362
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
363
#else
364
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
365
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
366
15.8k
  {
367
15.8k
    void* ptr = &::yb::master::_TablegroupIdentifierPB_default_instance_;
368
15.8k
    new (ptr) ::yb::master::TablegroupIdentifierPB();
369
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
370
15.8k
  }
371
15.8k
  ::yb::master::TablegroupIdentifierPB::InitAsDefaultInstance();
372
15.8k
}
373
374
45.3k
void InitDefaultsTablegroupIdentifierPB() {
375
45.3k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
376
45.3k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTablegroupIdentifierPBImpl);
377
45.3k
}
378
379
15.8k
void InitDefaultsUDTypeIdentifierPBImpl() {
380
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
381
382
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
383
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
384
#else
385
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
386
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
387
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsNamespaceIdentifierPB();
388
15.8k
  {
389
15.8k
    void* ptr = &::yb::master::_UDTypeIdentifierPB_default_instance_;
390
15.8k
    new (ptr) ::yb::master::UDTypeIdentifierPB();
391
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
392
15.8k
  }
393
15.8k
  ::yb::master::UDTypeIdentifierPB::InitAsDefaultInstance();
394
15.8k
}
395
396
47.7k
void InitDefaultsUDTypeIdentifierPB() {
397
47.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
398
47.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsUDTypeIdentifierPBImpl);
399
47.7k
}
400
401
15.8k
void InitDefaultsUDTypeInfoPBImpl() {
402
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
403
404
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
405
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
406
#else
407
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
408
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
409
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsQLTypePB();
410
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsNamespaceIdentifierPB();
411
15.8k
  {
412
15.8k
    void* ptr = &::yb::master::_UDTypeInfoPB_default_instance_;
413
15.8k
    new (ptr) ::yb::master::UDTypeInfoPB();
414
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
415
15.8k
  }
416
15.8k
  ::yb::master::UDTypeInfoPB::InitAsDefaultInstance();
417
15.8k
}
418
419
47.6k
void InitDefaultsUDTypeInfoPB() {
420
47.6k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
421
47.6k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsUDTypeInfoPBImpl);
422
47.6k
}
423
424
15.8k
void InitDefaultsCreateTableRequestPBImpl() {
425
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
426
427
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
428
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
429
#else
430
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
431
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
432
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsSchemaPB();
433
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsPartitionSchemaPB();
434
15.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsReplicationInfoPB();
435
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsNamespaceIdentifierPB();
436
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsIndexInfoPB();
437
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsTransactionMetadataPB();
438
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsPartitionPB();
439
15.8k
  {
440
15.8k
    void* ptr = &::yb::master::_CreateTableRequestPB_default_instance_;
441
15.8k
    new (ptr) ::yb::master::CreateTableRequestPB();
442
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
443
15.8k
  }
444
15.8k
  ::yb::master::CreateTableRequestPB::InitAsDefaultInstance();
445
15.8k
}
446
447
51.1k
void InitDefaultsCreateTableRequestPB() {
448
51.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
449
51.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCreateTableRequestPBImpl);
450
51.1k
}
451
452
15.8k
void InitDefaultsCreateTableResponsePBImpl() {
453
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
454
455
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
456
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
457
#else
458
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
459
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
460
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
461
15.8k
  {
462
15.8k
    void* ptr = &::yb::master::_CreateTableResponsePB_default_instance_;
463
15.8k
    new (ptr) ::yb::master::CreateTableResponsePB();
464
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
465
15.8k
  }
466
15.8k
  ::yb::master::CreateTableResponsePB::InitAsDefaultInstance();
467
15.8k
}
468
469
25.7k
void InitDefaultsCreateTableResponsePB() {
470
25.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
471
25.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCreateTableResponsePBImpl);
472
25.7k
}
473
474
15.8k
void InitDefaultsIsCreateTableDoneRequestPBImpl() {
475
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
476
477
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
478
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
479
#else
480
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
481
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
482
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTableIdentifierPB();
483
15.8k
  {
484
15.8k
    void* ptr = &::yb::master::_IsCreateTableDoneRequestPB_default_instance_;
485
15.8k
    new (ptr) ::yb::master::IsCreateTableDoneRequestPB();
486
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
487
15.8k
  }
488
15.8k
  ::yb::master::IsCreateTableDoneRequestPB::InitAsDefaultInstance();
489
15.8k
}
490
491
52.1k
void InitDefaultsIsCreateTableDoneRequestPB() {
492
52.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
493
52.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsCreateTableDoneRequestPBImpl);
494
52.1k
}
495
496
15.8k
void InitDefaultsIsCreateTableDoneResponsePBImpl() {
497
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
498
499
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
500
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
501
#else
502
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
503
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
504
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
505
15.8k
  {
506
15.8k
    void* ptr = &::yb::master::_IsCreateTableDoneResponsePB_default_instance_;
507
15.8k
    new (ptr) ::yb::master::IsCreateTableDoneResponsePB();
508
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
509
15.8k
  }
510
15.8k
  ::yb::master::IsCreateTableDoneResponsePB::InitAsDefaultInstance();
511
15.8k
}
512
513
49.9k
void InitDefaultsIsCreateTableDoneResponsePB() {
514
49.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
515
49.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsCreateTableDoneResponsePBImpl);
516
49.9k
}
517
518
15.8k
void InitDefaultsListTablesRequestPBImpl() {
519
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
520
521
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
522
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
523
#else
524
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
525
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
526
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsNamespaceIdentifierPB();
527
15.8k
  {
528
15.8k
    void* ptr = &::yb::master::_ListTablesRequestPB_default_instance_;
529
15.8k
    new (ptr) ::yb::master::ListTablesRequestPB();
530
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
531
15.8k
  }
532
15.8k
  ::yb::master::ListTablesRequestPB::InitAsDefaultInstance();
533
15.8k
}
534
535
19.1k
void InitDefaultsListTablesRequestPB() {
536
19.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
537
19.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListTablesRequestPBImpl);
538
19.1k
}
539
540
15.8k
void InitDefaultsListTablesResponsePB_TableInfoImpl() {
541
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
542
543
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
544
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
545
#else
546
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
547
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
548
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsNamespaceIdentifierPB();
549
15.8k
  {
550
15.8k
    void* ptr = &::yb::master::_ListTablesResponsePB_TableInfo_default_instance_;
551
15.8k
    new (ptr) ::yb::master::ListTablesResponsePB_TableInfo();
552
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
553
15.8k
  }
554
15.8k
  ::yb::master::ListTablesResponsePB_TableInfo::InitAsDefaultInstance();
555
15.8k
}
556
557
85.0k
void InitDefaultsListTablesResponsePB_TableInfo() {
558
85.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
559
85.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListTablesResponsePB_TableInfoImpl);
560
85.0k
}
561
562
15.8k
void InitDefaultsListTablesResponsePBImpl() {
563
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
564
565
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
566
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
567
#else
568
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
569
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
570
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
571
15.8k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsListTablesResponsePB_TableInfo();
572
15.8k
  {
573
15.8k
    void* ptr = &::yb::master::_ListTablesResponsePB_default_instance_;
574
15.8k
    new (ptr) ::yb::master::ListTablesResponsePB();
575
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
576
15.8k
  }
577
15.8k
  ::yb::master::ListTablesResponsePB::InitAsDefaultInstance();
578
15.8k
}
579
580
19.0k
void InitDefaultsListTablesResponsePB() {
581
19.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
582
19.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListTablesResponsePBImpl);
583
19.0k
}
584
585
15.8k
void InitDefaultsGetTableSchemaRequestPBImpl() {
586
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
587
588
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
589
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
590
#else
591
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
592
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
593
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTableIdentifierPB();
594
15.8k
  {
595
15.8k
    void* ptr = &::yb::master::_GetTableSchemaRequestPB_default_instance_;
596
15.8k
    new (ptr) ::yb::master::GetTableSchemaRequestPB();
597
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
598
15.8k
  }
599
15.8k
  ::yb::master::GetTableSchemaRequestPB::InitAsDefaultInstance();
600
15.8k
}
601
602
241k
void InitDefaultsGetTableSchemaRequestPB() {
603
241k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
604
241k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetTableSchemaRequestPBImpl);
605
241k
}
606
607
15.8k
void InitDefaultsGetTableSchemaResponsePBImpl() {
608
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
609
610
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
611
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
612
#else
613
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
614
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
615
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
616
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsSchemaPB();
617
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsPartitionSchemaPB();
618
15.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsReplicationInfoPB();
619
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTableIdentifierPB();
620
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsIndexInfoPB();
621
15.8k
  {
622
15.8k
    void* ptr = &::yb::master::_GetTableSchemaResponsePB_default_instance_;
623
15.8k
    new (ptr) ::yb::master::GetTableSchemaResponsePB();
624
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
625
15.8k
  }
626
15.8k
  ::yb::master::GetTableSchemaResponsePB::InitAsDefaultInstance();
627
15.8k
}
628
629
451k
void InitDefaultsGetTableSchemaResponsePB() {
630
451k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
631
451k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetTableSchemaResponsePBImpl);
632
451k
}
633
634
13.6k
void InitDefaultsGetTablegroupSchemaRequestPBImpl() {
635
13.6k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
636
637
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
638
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
639
#else
640
13.6k
  ::google::protobuf::internal::InitProtobufDefaults();
641
13.6k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
642
13.6k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsTablegroupIdentifierPB();
643
13.6k
  {
644
13.6k
    void* ptr = &::yb::master::_GetTablegroupSchemaRequestPB_default_instance_;
645
13.6k
    new (ptr) ::yb::master::GetTablegroupSchemaRequestPB();
646
13.6k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
647
13.6k
  }
648
13.6k
  ::yb::master::GetTablegroupSchemaRequestPB::InitAsDefaultInstance();
649
13.6k
}
650
651
13.6k
void InitDefaultsGetTablegroupSchemaRequestPB() {
652
13.6k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
653
13.6k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetTablegroupSchemaRequestPBImpl);
654
13.6k
}
655
656
13.6k
void InitDefaultsGetTablegroupSchemaResponsePBImpl() {
657
13.6k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
658
659
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
660
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
661
#else
662
13.6k
  ::google::protobuf::internal::InitProtobufDefaults();
663
13.6k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
664
13.6k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
665
13.6k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetTableSchemaResponsePB();
666
13.6k
  {
667
13.6k
    void* ptr = &::yb::master::_GetTablegroupSchemaResponsePB_default_instance_;
668
13.6k
    new (ptr) ::yb::master::GetTablegroupSchemaResponsePB();
669
13.6k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
670
13.6k
  }
671
13.6k
  ::yb::master::GetTablegroupSchemaResponsePB::InitAsDefaultInstance();
672
13.6k
}
673
674
13.6k
void InitDefaultsGetTablegroupSchemaResponsePB() {
675
13.6k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
676
13.6k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetTablegroupSchemaResponsePBImpl);
677
13.6k
}
678
679
15.8k
void InitDefaultsGetColocatedTabletSchemaRequestPBImpl() {
680
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
681
682
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
683
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
684
#else
685
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
686
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
687
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTableIdentifierPB();
688
15.8k
  {
689
15.8k
    void* ptr = &::yb::master::_GetColocatedTabletSchemaRequestPB_default_instance_;
690
15.8k
    new (ptr) ::yb::master::GetColocatedTabletSchemaRequestPB();
691
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
692
15.8k
  }
693
15.8k
  ::yb::master::GetColocatedTabletSchemaRequestPB::InitAsDefaultInstance();
694
15.8k
}
695
696
15.8k
void InitDefaultsGetColocatedTabletSchemaRequestPB() {
697
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
698
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetColocatedTabletSchemaRequestPBImpl);
699
15.8k
}
700
701
15.8k
void InitDefaultsGetColocatedTabletSchemaResponsePBImpl() {
702
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
703
704
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
705
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
706
#else
707
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
708
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
709
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
710
15.8k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetTableSchemaResponsePB();
711
15.8k
  {
712
15.8k
    void* ptr = &::yb::master::_GetColocatedTabletSchemaResponsePB_default_instance_;
713
15.8k
    new (ptr) ::yb::master::GetColocatedTabletSchemaResponsePB();
714
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
715
15.8k
  }
716
15.8k
  ::yb::master::GetColocatedTabletSchemaResponsePB::InitAsDefaultInstance();
717
15.8k
}
718
719
15.8k
void InitDefaultsGetColocatedTabletSchemaResponsePB() {
720
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
721
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetColocatedTabletSchemaResponsePBImpl);
722
15.8k
}
723
724
15.8k
void InitDefaultsTruncateTableRequestPBImpl() {
725
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
726
727
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
728
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
729
#else
730
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
731
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
732
15.8k
  {
733
15.8k
    void* ptr = &::yb::master::_TruncateTableRequestPB_default_instance_;
734
15.8k
    new (ptr) ::yb::master::TruncateTableRequestPB();
735
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
736
15.8k
  }
737
15.8k
  ::yb::master::TruncateTableRequestPB::InitAsDefaultInstance();
738
15.8k
}
739
740
39.6k
void InitDefaultsTruncateTableRequestPB() {
741
39.6k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
742
39.6k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTruncateTableRequestPBImpl);
743
39.6k
}
744
745
15.8k
void InitDefaultsTruncateTableResponsePBImpl() {
746
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
747
748
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
749
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
750
#else
751
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
752
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
753
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
754
15.8k
  {
755
15.8k
    void* ptr = &::yb::master::_TruncateTableResponsePB_default_instance_;
756
15.8k
    new (ptr) ::yb::master::TruncateTableResponsePB();
757
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
758
15.8k
  }
759
15.8k
  ::yb::master::TruncateTableResponsePB::InitAsDefaultInstance();
760
15.8k
}
761
762
39.6k
void InitDefaultsTruncateTableResponsePB() {
763
39.6k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
764
39.6k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTruncateTableResponsePBImpl);
765
39.6k
}
766
767
15.8k
void InitDefaultsIsTruncateTableDoneRequestPBImpl() {
768
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
769
770
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
771
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
772
#else
773
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
774
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
775
15.8k
  {
776
15.8k
    void* ptr = &::yb::master::_IsTruncateTableDoneRequestPB_default_instance_;
777
15.8k
    new (ptr) ::yb::master::IsTruncateTableDoneRequestPB();
778
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
779
15.8k
  }
780
15.8k
  ::yb::master::IsTruncateTableDoneRequestPB::InitAsDefaultInstance();
781
15.8k
}
782
783
33.6k
void InitDefaultsIsTruncateTableDoneRequestPB() {
784
33.6k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
785
33.6k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsTruncateTableDoneRequestPBImpl);
786
33.6k
}
787
788
15.8k
void InitDefaultsIsTruncateTableDoneResponsePBImpl() {
789
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
790
791
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
792
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
793
#else
794
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
795
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
796
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
797
15.8k
  {
798
15.8k
    void* ptr = &::yb::master::_IsTruncateTableDoneResponsePB_default_instance_;
799
15.8k
    new (ptr) ::yb::master::IsTruncateTableDoneResponsePB();
800
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
801
15.8k
  }
802
15.8k
  ::yb::master::IsTruncateTableDoneResponsePB::InitAsDefaultInstance();
803
15.8k
}
804
805
33.6k
void InitDefaultsIsTruncateTableDoneResponsePB() {
806
33.6k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
807
33.6k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsTruncateTableDoneResponsePBImpl);
808
33.6k
}
809
810
15.8k
void InitDefaultsBackfillIndexRequestPBImpl() {
811
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
812
813
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
814
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
815
#else
816
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
817
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
818
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTableIdentifierPB();
819
15.8k
  {
820
15.8k
    void* ptr = &::yb::master::_BackfillIndexRequestPB_default_instance_;
821
15.8k
    new (ptr) ::yb::master::BackfillIndexRequestPB();
822
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
823
15.8k
  }
824
15.8k
  ::yb::master::BackfillIndexRequestPB::InitAsDefaultInstance();
825
15.8k
}
826
827
16.0k
void InitDefaultsBackfillIndexRequestPB() {
828
16.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
829
16.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsBackfillIndexRequestPBImpl);
830
16.0k
}
831
832
15.8k
void InitDefaultsBackfillIndexResponsePBImpl() {
833
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
834
835
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
836
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
837
#else
838
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
839
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
840
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
841
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTableIdentifierPB();
842
15.8k
  {
843
15.8k
    void* ptr = &::yb::master::_BackfillIndexResponsePB_default_instance_;
844
15.8k
    new (ptr) ::yb::master::BackfillIndexResponsePB();
845
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
846
15.8k
  }
847
15.8k
  ::yb::master::BackfillIndexResponsePB::InitAsDefaultInstance();
848
15.8k
}
849
850
16.0k
void InitDefaultsBackfillIndexResponsePB() {
851
16.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
852
16.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsBackfillIndexResponsePBImpl);
853
16.0k
}
854
855
15.8k
void InitDefaultsLaunchBackfillIndexForTableRequestPBImpl() {
856
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
857
858
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
859
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
860
#else
861
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
862
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
863
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTableIdentifierPB();
864
15.8k
  {
865
15.8k
    void* ptr = &::yb::master::_LaunchBackfillIndexForTableRequestPB_default_instance_;
866
15.8k
    new (ptr) ::yb::master::LaunchBackfillIndexForTableRequestPB();
867
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
868
15.8k
  }
869
15.8k
  ::yb::master::LaunchBackfillIndexForTableRequestPB::InitAsDefaultInstance();
870
15.8k
}
871
872
15.8k
void InitDefaultsLaunchBackfillIndexForTableRequestPB() {
873
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
874
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsLaunchBackfillIndexForTableRequestPBImpl);
875
15.8k
}
876
877
15.8k
void InitDefaultsLaunchBackfillIndexForTableResponsePBImpl() {
878
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
879
880
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
881
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
882
#else
883
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
884
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
885
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
886
15.8k
  {
887
15.8k
    void* ptr = &::yb::master::_LaunchBackfillIndexForTableResponsePB_default_instance_;
888
15.8k
    new (ptr) ::yb::master::LaunchBackfillIndexForTableResponsePB();
889
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
890
15.8k
  }
891
15.8k
  ::yb::master::LaunchBackfillIndexForTableResponsePB::InitAsDefaultInstance();
892
15.8k
}
893
894
15.8k
void InitDefaultsLaunchBackfillIndexForTableResponsePB() {
895
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
896
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsLaunchBackfillIndexForTableResponsePBImpl);
897
15.8k
}
898
899
15.8k
void InitDefaultsGetBackfillJobsRequestPBImpl() {
900
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
901
902
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
903
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
904
#else
905
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
906
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
907
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTableIdentifierPB();
908
15.8k
  {
909
15.8k
    void* ptr = &::yb::master::_GetBackfillJobsRequestPB_default_instance_;
910
15.8k
    new (ptr) ::yb::master::GetBackfillJobsRequestPB();
911
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
912
15.8k
  }
913
15.8k
  ::yb::master::GetBackfillJobsRequestPB::InitAsDefaultInstance();
914
15.8k
}
915
916
17.2k
void InitDefaultsGetBackfillJobsRequestPB() {
917
17.2k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
918
17.2k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetBackfillJobsRequestPBImpl);
919
17.2k
}
920
921
15.8k
void InitDefaultsGetBackfillJobsResponsePBImpl() {
922
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
923
924
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
925
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
926
#else
927
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
928
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
929
15.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsBackfillJobPB();
930
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
931
15.8k
  {
932
15.8k
    void* ptr = &::yb::master::_GetBackfillJobsResponsePB_default_instance_;
933
15.8k
    new (ptr) ::yb::master::GetBackfillJobsResponsePB();
934
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
935
15.8k
  }
936
15.8k
  ::yb::master::GetBackfillJobsResponsePB::InitAsDefaultInstance();
937
15.8k
}
938
939
17.2k
void InitDefaultsGetBackfillJobsResponsePB() {
940
17.2k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
941
17.2k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetBackfillJobsResponsePBImpl);
942
17.2k
}
943
944
15.8k
void InitDefaultsDeleteTableRequestPBImpl() {
945
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
946
947
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
948
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
949
#else
950
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
951
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
952
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTableIdentifierPB();
953
15.8k
  {
954
15.8k
    void* ptr = &::yb::master::_DeleteTableRequestPB_default_instance_;
955
15.8k
    new (ptr) ::yb::master::DeleteTableRequestPB();
956
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
957
15.8k
  }
958
15.8k
  ::yb::master::DeleteTableRequestPB::InitAsDefaultInstance();
959
15.8k
}
960
961
20.9k
void InitDefaultsDeleteTableRequestPB() {
962
20.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
963
20.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDeleteTableRequestPBImpl);
964
20.9k
}
965
966
15.8k
void InitDefaultsDeleteTableResponsePBImpl() {
967
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
968
969
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
970
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
971
#else
972
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
973
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
974
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
975
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTableIdentifierPB();
976
15.8k
  {
977
15.8k
    void* ptr = &::yb::master::_DeleteTableResponsePB_default_instance_;
978
15.8k
    new (ptr) ::yb::master::DeleteTableResponsePB();
979
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
980
15.8k
  }
981
15.8k
  ::yb::master::DeleteTableResponsePB::InitAsDefaultInstance();
982
15.8k
}
983
984
20.9k
void InitDefaultsDeleteTableResponsePB() {
985
20.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
986
20.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDeleteTableResponsePBImpl);
987
20.9k
}
988
989
15.8k
void InitDefaultsIsDeleteTableDoneRequestPBImpl() {
990
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
991
992
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
993
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
994
#else
995
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
996
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
997
15.8k
  {
998
15.8k
    void* ptr = &::yb::master::_IsDeleteTableDoneRequestPB_default_instance_;
999
15.8k
    new (ptr) ::yb::master::IsDeleteTableDoneRequestPB();
1000
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1001
15.8k
  }
1002
15.8k
  ::yb::master::IsDeleteTableDoneRequestPB::InitAsDefaultInstance();
1003
15.8k
}
1004
1005
27.0k
void InitDefaultsIsDeleteTableDoneRequestPB() {
1006
27.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1007
27.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsDeleteTableDoneRequestPBImpl);
1008
27.0k
}
1009
1010
15.8k
void InitDefaultsIsDeleteTableDoneResponsePBImpl() {
1011
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1012
1013
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1014
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1015
#else
1016
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1017
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1018
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
1019
15.8k
  {
1020
15.8k
    void* ptr = &::yb::master::_IsDeleteTableDoneResponsePB_default_instance_;
1021
15.8k
    new (ptr) ::yb::master::IsDeleteTableDoneResponsePB();
1022
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1023
15.8k
  }
1024
15.8k
  ::yb::master::IsDeleteTableDoneResponsePB::InitAsDefaultInstance();
1025
15.8k
}
1026
1027
27.0k
void InitDefaultsIsDeleteTableDoneResponsePB() {
1028
27.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1029
27.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsDeleteTableDoneResponsePBImpl);
1030
27.0k
}
1031
1032
15.8k
void InitDefaultsAlterTableRequestPB_AddColumnImpl() {
1033
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1034
1035
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1036
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1037
#else
1038
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1039
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1040
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsColumnSchemaPB();
1041
15.8k
  {
1042
15.8k
    void* ptr = &::yb::master::_AlterTableRequestPB_AddColumn_default_instance_;
1043
15.8k
    new (ptr) ::yb::master::AlterTableRequestPB_AddColumn();
1044
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1045
15.8k
  }
1046
15.8k
  ::yb::master::AlterTableRequestPB_AddColumn::InitAsDefaultInstance();
1047
15.8k
}
1048
1049
32.0k
void InitDefaultsAlterTableRequestPB_AddColumn() {
1050
32.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1051
32.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsAlterTableRequestPB_AddColumnImpl);
1052
32.0k
}
1053
1054
15.8k
void InitDefaultsAlterTableRequestPB_DropColumnImpl() {
1055
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1056
1057
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1058
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1059
#else
1060
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1061
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1062
15.8k
  {
1063
15.8k
    void* ptr = &::yb::master::_AlterTableRequestPB_DropColumn_default_instance_;
1064
15.8k
    new (ptr) ::yb::master::AlterTableRequestPB_DropColumn();
1065
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1066
15.8k
  }
1067
15.8k
  ::yb::master::AlterTableRequestPB_DropColumn::InitAsDefaultInstance();
1068
15.8k
}
1069
1070
31.8k
void InitDefaultsAlterTableRequestPB_DropColumn() {
1071
31.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1072
31.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsAlterTableRequestPB_DropColumnImpl);
1073
31.8k
}
1074
1075
15.8k
void InitDefaultsAlterTableRequestPB_RenameColumnImpl() {
1076
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1077
1078
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1079
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1080
#else
1081
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1082
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1083
15.8k
  {
1084
15.8k
    void* ptr = &::yb::master::_AlterTableRequestPB_RenameColumn_default_instance_;
1085
15.8k
    new (ptr) ::yb::master::AlterTableRequestPB_RenameColumn();
1086
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1087
15.8k
  }
1088
15.8k
  ::yb::master::AlterTableRequestPB_RenameColumn::InitAsDefaultInstance();
1089
15.8k
}
1090
1091
31.7k
void InitDefaultsAlterTableRequestPB_RenameColumn() {
1092
31.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1093
31.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsAlterTableRequestPB_RenameColumnImpl);
1094
31.7k
}
1095
1096
15.8k
void InitDefaultsAlterTableRequestPB_StepImpl() {
1097
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1098
1099
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1100
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1101
#else
1102
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1103
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1104
15.8k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterTableRequestPB_AddColumn();
1105
15.8k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterTableRequestPB_DropColumn();
1106
15.8k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterTableRequestPB_RenameColumn();
1107
15.8k
  {
1108
15.8k
    void* ptr = &::yb::master::_AlterTableRequestPB_Step_default_instance_;
1109
15.8k
    new (ptr) ::yb::master::AlterTableRequestPB_Step();
1110
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1111
15.8k
  }
1112
15.8k
  ::yb::master::AlterTableRequestPB_Step::InitAsDefaultInstance();
1113
15.8k
}
1114
1115
32.2k
void InitDefaultsAlterTableRequestPB_Step() {
1116
32.2k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1117
32.2k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsAlterTableRequestPB_StepImpl);
1118
32.2k
}
1119
1120
15.8k
void InitDefaultsAlterTableRequestPBImpl() {
1121
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1122
1123
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1124
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1125
#else
1126
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1127
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1128
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTableIdentifierPB();
1129
15.8k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterTableRequestPB_Step();
1130
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsNamespaceIdentifierPB();
1131
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsTablePropertiesPB();
1132
15.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsReplicationInfoPB();
1133
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsTransactionMetadataPB();
1134
15.8k
  {
1135
15.8k
    void* ptr = &::yb::master::_AlterTableRequestPB_default_instance_;
1136
15.8k
    new (ptr) ::yb::master::AlterTableRequestPB();
1137
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1138
15.8k
  }
1139
15.8k
  ::yb::master::AlterTableRequestPB::InitAsDefaultInstance();
1140
15.8k
}
1141
1142
19.0k
void InitDefaultsAlterTableRequestPB() {
1143
19.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1144
19.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsAlterTableRequestPBImpl);
1145
19.0k
}
1146
1147
15.8k
void InitDefaultsAlterTableResponsePBImpl() {
1148
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1149
1150
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1151
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1152
#else
1153
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1154
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1155
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
1156
15.8k
  {
1157
15.8k
    void* ptr = &::yb::master::_AlterTableResponsePB_default_instance_;
1158
15.8k
    new (ptr) ::yb::master::AlterTableResponsePB();
1159
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1160
15.8k
  }
1161
15.8k
  ::yb::master::AlterTableResponsePB::InitAsDefaultInstance();
1162
15.8k
}
1163
1164
19.0k
void InitDefaultsAlterTableResponsePB() {
1165
19.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1166
19.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsAlterTableResponsePBImpl);
1167
19.0k
}
1168
1169
15.8k
void InitDefaultsIsAlterTableDoneRequestPBImpl() {
1170
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1171
1172
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1173
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1174
#else
1175
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1176
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1177
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTableIdentifierPB();
1178
15.8k
  {
1179
15.8k
    void* ptr = &::yb::master::_IsAlterTableDoneRequestPB_default_instance_;
1180
15.8k
    new (ptr) ::yb::master::IsAlterTableDoneRequestPB();
1181
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1182
15.8k
  }
1183
15.8k
  ::yb::master::IsAlterTableDoneRequestPB::InitAsDefaultInstance();
1184
15.8k
}
1185
1186
17.1k
void InitDefaultsIsAlterTableDoneRequestPB() {
1187
17.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1188
17.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsAlterTableDoneRequestPBImpl);
1189
17.1k
}
1190
1191
15.8k
void InitDefaultsIsAlterTableDoneResponsePBImpl() {
1192
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1193
1194
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1195
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1196
#else
1197
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1198
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1199
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
1200
15.8k
  {
1201
15.8k
    void* ptr = &::yb::master::_IsAlterTableDoneResponsePB_default_instance_;
1202
15.8k
    new (ptr) ::yb::master::IsAlterTableDoneResponsePB();
1203
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1204
15.8k
  }
1205
15.8k
  ::yb::master::IsAlterTableDoneResponsePB::InitAsDefaultInstance();
1206
15.8k
}
1207
1208
17.1k
void InitDefaultsIsAlterTableDoneResponsePB() {
1209
17.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1210
17.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsAlterTableDoneResponsePBImpl);
1211
17.1k
}
1212
1213
15.8k
void InitDefaultsCreateNamespaceRequestPBImpl() {
1214
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1215
1216
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1217
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1218
#else
1219
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1220
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1221
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsTransactionMetadataPB();
1222
15.8k
  {
1223
15.8k
    void* ptr = &::yb::master::_CreateNamespaceRequestPB_default_instance_;
1224
15.8k
    new (ptr) ::yb::master::CreateNamespaceRequestPB();
1225
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1226
15.8k
  }
1227
15.8k
  ::yb::master::CreateNamespaceRequestPB::InitAsDefaultInstance();
1228
15.8k
}
1229
1230
19.8k
void InitDefaultsCreateNamespaceRequestPB() {
1231
19.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1232
19.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCreateNamespaceRequestPBImpl);
1233
19.8k
}
1234
1235
15.8k
void InitDefaultsCreateNamespaceResponsePBImpl() {
1236
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1237
1238
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1239
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1240
#else
1241
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1242
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1243
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
1244
15.8k
  {
1245
15.8k
    void* ptr = &::yb::master::_CreateNamespaceResponsePB_default_instance_;
1246
15.8k
    new (ptr) ::yb::master::CreateNamespaceResponsePB();
1247
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1248
15.8k
  }
1249
15.8k
  ::yb::master::CreateNamespaceResponsePB::InitAsDefaultInstance();
1250
15.8k
}
1251
1252
19.7k
void InitDefaultsCreateNamespaceResponsePB() {
1253
19.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1254
19.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCreateNamespaceResponsePBImpl);
1255
19.7k
}
1256
1257
15.8k
void InitDefaultsIsCreateNamespaceDoneRequestPBImpl() {
1258
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1259
1260
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1261
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1262
#else
1263
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1264
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1265
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsNamespaceIdentifierPB();
1266
15.8k
  {
1267
15.8k
    void* ptr = &::yb::master::_IsCreateNamespaceDoneRequestPB_default_instance_;
1268
15.8k
    new (ptr) ::yb::master::IsCreateNamespaceDoneRequestPB();
1269
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1270
15.8k
  }
1271
15.8k
  ::yb::master::IsCreateNamespaceDoneRequestPB::InitAsDefaultInstance();
1272
15.8k
}
1273
1274
20.0k
void InitDefaultsIsCreateNamespaceDoneRequestPB() {
1275
20.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1276
20.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsCreateNamespaceDoneRequestPBImpl);
1277
20.0k
}
1278
1279
15.8k
void InitDefaultsIsCreateNamespaceDoneResponsePBImpl() {
1280
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1281
1282
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1283
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1284
#else
1285
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1286
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1287
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
1288
15.8k
  {
1289
15.8k
    void* ptr = &::yb::master::_IsCreateNamespaceDoneResponsePB_default_instance_;
1290
15.8k
    new (ptr) ::yb::master::IsCreateNamespaceDoneResponsePB();
1291
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1292
15.8k
  }
1293
15.8k
  ::yb::master::IsCreateNamespaceDoneResponsePB::InitAsDefaultInstance();
1294
15.8k
}
1295
1296
20.1k
void InitDefaultsIsCreateNamespaceDoneResponsePB() {
1297
20.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1298
20.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsCreateNamespaceDoneResponsePBImpl);
1299
20.1k
}
1300
1301
15.8k
void InitDefaultsDeleteNamespaceRequestPBImpl() {
1302
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1303
1304
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1305
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1306
#else
1307
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1308
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1309
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsNamespaceIdentifierPB();
1310
15.8k
  {
1311
15.8k
    void* ptr = &::yb::master::_DeleteNamespaceRequestPB_default_instance_;
1312
15.8k
    new (ptr) ::yb::master::DeleteNamespaceRequestPB();
1313
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1314
15.8k
  }
1315
15.8k
  ::yb::master::DeleteNamespaceRequestPB::InitAsDefaultInstance();
1316
15.8k
}
1317
1318
18.9k
void InitDefaultsDeleteNamespaceRequestPB() {
1319
18.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1320
18.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDeleteNamespaceRequestPBImpl);
1321
18.9k
}
1322
1323
15.8k
void InitDefaultsDeleteNamespaceResponsePBImpl() {
1324
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1325
1326
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1327
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1328
#else
1329
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1330
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1331
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
1332
15.8k
  {
1333
15.8k
    void* ptr = &::yb::master::_DeleteNamespaceResponsePB_default_instance_;
1334
15.8k
    new (ptr) ::yb::master::DeleteNamespaceResponsePB();
1335
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1336
15.8k
  }
1337
15.8k
  ::yb::master::DeleteNamespaceResponsePB::InitAsDefaultInstance();
1338
15.8k
}
1339
1340
18.9k
void InitDefaultsDeleteNamespaceResponsePB() {
1341
18.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1342
18.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDeleteNamespaceResponsePBImpl);
1343
18.9k
}
1344
1345
15.8k
void InitDefaultsIsDeleteNamespaceDoneRequestPBImpl() {
1346
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1347
1348
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1349
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1350
#else
1351
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1352
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1353
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsNamespaceIdentifierPB();
1354
15.8k
  {
1355
15.8k
    void* ptr = &::yb::master::_IsDeleteNamespaceDoneRequestPB_default_instance_;
1356
15.8k
    new (ptr) ::yb::master::IsDeleteNamespaceDoneRequestPB();
1357
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1358
15.8k
  }
1359
15.8k
  ::yb::master::IsDeleteNamespaceDoneRequestPB::InitAsDefaultInstance();
1360
15.8k
}
1361
1362
18.9k
void InitDefaultsIsDeleteNamespaceDoneRequestPB() {
1363
18.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1364
18.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsDeleteNamespaceDoneRequestPBImpl);
1365
18.9k
}
1366
1367
15.8k
void InitDefaultsIsDeleteNamespaceDoneResponsePBImpl() {
1368
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1369
1370
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1371
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1372
#else
1373
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1374
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1375
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
1376
15.8k
  {
1377
15.8k
    void* ptr = &::yb::master::_IsDeleteNamespaceDoneResponsePB_default_instance_;
1378
15.8k
    new (ptr) ::yb::master::IsDeleteNamespaceDoneResponsePB();
1379
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1380
15.8k
  }
1381
15.8k
  ::yb::master::IsDeleteNamespaceDoneResponsePB::InitAsDefaultInstance();
1382
15.8k
}
1383
1384
19.0k
void InitDefaultsIsDeleteNamespaceDoneResponsePB() {
1385
19.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1386
19.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsDeleteNamespaceDoneResponsePBImpl);
1387
19.0k
}
1388
1389
15.8k
void InitDefaultsAlterNamespaceRequestPBImpl() {
1390
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1391
1392
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1393
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1394
#else
1395
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1396
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1397
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsNamespaceIdentifierPB();
1398
15.8k
  {
1399
15.8k
    void* ptr = &::yb::master::_AlterNamespaceRequestPB_default_instance_;
1400
15.8k
    new (ptr) ::yb::master::AlterNamespaceRequestPB();
1401
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1402
15.8k
  }
1403
15.8k
  ::yb::master::AlterNamespaceRequestPB::InitAsDefaultInstance();
1404
15.8k
}
1405
1406
15.8k
void InitDefaultsAlterNamespaceRequestPB() {
1407
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1408
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsAlterNamespaceRequestPBImpl);
1409
15.8k
}
1410
1411
15.8k
void InitDefaultsAlterNamespaceResponsePBImpl() {
1412
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1413
1414
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1415
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1416
#else
1417
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1418
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1419
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
1420
15.8k
  {
1421
15.8k
    void* ptr = &::yb::master::_AlterNamespaceResponsePB_default_instance_;
1422
15.8k
    new (ptr) ::yb::master::AlterNamespaceResponsePB();
1423
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1424
15.8k
  }
1425
15.8k
  ::yb::master::AlterNamespaceResponsePB::InitAsDefaultInstance();
1426
15.8k
}
1427
1428
15.8k
void InitDefaultsAlterNamespaceResponsePB() {
1429
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1430
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsAlterNamespaceResponsePBImpl);
1431
15.8k
}
1432
1433
15.8k
void InitDefaultsListNamespacesRequestPBImpl() {
1434
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1435
1436
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1437
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1438
#else
1439
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1440
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1441
15.8k
  {
1442
15.8k
    void* ptr = &::yb::master::_ListNamespacesRequestPB_default_instance_;
1443
15.8k
    new (ptr) ::yb::master::ListNamespacesRequestPB();
1444
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1445
15.8k
  }
1446
15.8k
  ::yb::master::ListNamespacesRequestPB::InitAsDefaultInstance();
1447
15.8k
}
1448
1449
24.7k
void InitDefaultsListNamespacesRequestPB() {
1450
24.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1451
24.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListNamespacesRequestPBImpl);
1452
24.7k
}
1453
1454
15.8k
void InitDefaultsListNamespacesResponsePBImpl() {
1455
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1456
1457
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1458
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1459
#else
1460
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1461
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1462
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
1463
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsNamespaceIdentifierPB();
1464
15.8k
  {
1465
15.8k
    void* ptr = &::yb::master::_ListNamespacesResponsePB_default_instance_;
1466
15.8k
    new (ptr) ::yb::master::ListNamespacesResponsePB();
1467
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1468
15.8k
  }
1469
15.8k
  ::yb::master::ListNamespacesResponsePB::InitAsDefaultInstance();
1470
15.8k
}
1471
1472
24.7k
void InitDefaultsListNamespacesResponsePB() {
1473
24.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1474
24.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListNamespacesResponsePBImpl);
1475
24.7k
}
1476
1477
15.8k
void InitDefaultsGetNamespaceInfoRequestPBImpl() {
1478
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1479
1480
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1481
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1482
#else
1483
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1484
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1485
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsNamespaceIdentifierPB();
1486
15.8k
  {
1487
15.8k
    void* ptr = &::yb::master::_GetNamespaceInfoRequestPB_default_instance_;
1488
15.8k
    new (ptr) ::yb::master::GetNamespaceInfoRequestPB();
1489
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1490
15.8k
  }
1491
15.8k
  ::yb::master::GetNamespaceInfoRequestPB::InitAsDefaultInstance();
1492
15.8k
}
1493
1494
19.3k
void InitDefaultsGetNamespaceInfoRequestPB() {
1495
19.3k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1496
19.3k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetNamespaceInfoRequestPBImpl);
1497
19.3k
}
1498
1499
15.8k
void InitDefaultsGetNamespaceInfoResponsePBImpl() {
1500
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1501
1502
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1503
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1504
#else
1505
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1506
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1507
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
1508
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsNamespaceIdentifierPB();
1509
15.8k
  {
1510
15.8k
    void* ptr = &::yb::master::_GetNamespaceInfoResponsePB_default_instance_;
1511
15.8k
    new (ptr) ::yb::master::GetNamespaceInfoResponsePB();
1512
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1513
15.8k
  }
1514
15.8k
  ::yb::master::GetNamespaceInfoResponsePB::InitAsDefaultInstance();
1515
15.8k
}
1516
1517
40.2k
void InitDefaultsGetNamespaceInfoResponsePB() {
1518
40.2k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1519
40.2k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetNamespaceInfoResponsePBImpl);
1520
40.2k
}
1521
1522
15.8k
void InitDefaultsCreateTablegroupRequestPBImpl() {
1523
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1524
1525
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1526
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1527
#else
1528
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1529
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1530
15.8k
  {
1531
15.8k
    void* ptr = &::yb::master::_CreateTablegroupRequestPB_default_instance_;
1532
15.8k
    new (ptr) ::yb::master::CreateTablegroupRequestPB();
1533
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1534
15.8k
  }
1535
15.8k
  ::yb::master::CreateTablegroupRequestPB::InitAsDefaultInstance();
1536
15.8k
}
1537
1538
15.8k
void InitDefaultsCreateTablegroupRequestPB() {
1539
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1540
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCreateTablegroupRequestPBImpl);
1541
15.8k
}
1542
1543
15.8k
void InitDefaultsCreateTablegroupResponsePBImpl() {
1544
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1545
1546
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1547
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1548
#else
1549
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1550
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1551
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
1552
15.8k
  {
1553
15.8k
    void* ptr = &::yb::master::_CreateTablegroupResponsePB_default_instance_;
1554
15.8k
    new (ptr) ::yb::master::CreateTablegroupResponsePB();
1555
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1556
15.8k
  }
1557
15.8k
  ::yb::master::CreateTablegroupResponsePB::InitAsDefaultInstance();
1558
15.8k
}
1559
1560
15.8k
void InitDefaultsCreateTablegroupResponsePB() {
1561
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1562
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCreateTablegroupResponsePBImpl);
1563
15.8k
}
1564
1565
15.8k
void InitDefaultsDeleteTablegroupRequestPBImpl() {
1566
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1567
1568
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1569
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1570
#else
1571
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1572
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1573
15.8k
  {
1574
15.8k
    void* ptr = &::yb::master::_DeleteTablegroupRequestPB_default_instance_;
1575
15.8k
    new (ptr) ::yb::master::DeleteTablegroupRequestPB();
1576
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1577
15.8k
  }
1578
15.8k
  ::yb::master::DeleteTablegroupRequestPB::InitAsDefaultInstance();
1579
15.8k
}
1580
1581
15.8k
void InitDefaultsDeleteTablegroupRequestPB() {
1582
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1583
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDeleteTablegroupRequestPBImpl);
1584
15.8k
}
1585
1586
15.8k
void InitDefaultsDeleteTablegroupResponsePBImpl() {
1587
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1588
1589
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1590
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1591
#else
1592
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1593
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1594
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
1595
15.8k
  {
1596
15.8k
    void* ptr = &::yb::master::_DeleteTablegroupResponsePB_default_instance_;
1597
15.8k
    new (ptr) ::yb::master::DeleteTablegroupResponsePB();
1598
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1599
15.8k
  }
1600
15.8k
  ::yb::master::DeleteTablegroupResponsePB::InitAsDefaultInstance();
1601
15.8k
}
1602
1603
15.8k
void InitDefaultsDeleteTablegroupResponsePB() {
1604
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1605
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDeleteTablegroupResponsePBImpl);
1606
15.8k
}
1607
1608
15.8k
void InitDefaultsListTablegroupsRequestPBImpl() {
1609
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1610
1611
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1612
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1613
#else
1614
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1615
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1616
15.8k
  {
1617
15.8k
    void* ptr = &::yb::master::_ListTablegroupsRequestPB_default_instance_;
1618
15.8k
    new (ptr) ::yb::master::ListTablegroupsRequestPB();
1619
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1620
15.8k
  }
1621
15.8k
  ::yb::master::ListTablegroupsRequestPB::InitAsDefaultInstance();
1622
15.8k
}
1623
1624
15.8k
void InitDefaultsListTablegroupsRequestPB() {
1625
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1626
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListTablegroupsRequestPBImpl);
1627
15.8k
}
1628
1629
15.8k
void InitDefaultsListTablegroupsResponsePBImpl() {
1630
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1631
1632
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1633
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1634
#else
1635
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1636
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1637
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
1638
15.8k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsTablegroupIdentifierPB();
1639
15.8k
  {
1640
15.8k
    void* ptr = &::yb::master::_ListTablegroupsResponsePB_default_instance_;
1641
15.8k
    new (ptr) ::yb::master::ListTablegroupsResponsePB();
1642
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1643
15.8k
  }
1644
15.8k
  ::yb::master::ListTablegroupsResponsePB::InitAsDefaultInstance();
1645
15.8k
}
1646
1647
15.8k
void InitDefaultsListTablegroupsResponsePB() {
1648
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1649
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListTablegroupsResponsePBImpl);
1650
15.8k
}
1651
1652
15.8k
void InitDefaultsCreateUDTypeRequestPBImpl() {
1653
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1654
1655
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1656
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1657
#else
1658
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1659
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1660
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsNamespaceIdentifierPB();
1661
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsQLTypePB();
1662
15.8k
  {
1663
15.8k
    void* ptr = &::yb::master::_CreateUDTypeRequestPB_default_instance_;
1664
15.8k
    new (ptr) ::yb::master::CreateUDTypeRequestPB();
1665
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1666
15.8k
  }
1667
15.8k
  ::yb::master::CreateUDTypeRequestPB::InitAsDefaultInstance();
1668
15.8k
}
1669
1670
15.9k
void InitDefaultsCreateUDTypeRequestPB() {
1671
15.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1672
15.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCreateUDTypeRequestPBImpl);
1673
15.9k
}
1674
1675
15.8k
void InitDefaultsCreateUDTypeResponsePBImpl() {
1676
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1677
1678
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1679
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1680
#else
1681
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1682
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1683
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
1684
15.8k
  {
1685
15.8k
    void* ptr = &::yb::master::_CreateUDTypeResponsePB_default_instance_;
1686
15.8k
    new (ptr) ::yb::master::CreateUDTypeResponsePB();
1687
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1688
15.8k
  }
1689
15.8k
  ::yb::master::CreateUDTypeResponsePB::InitAsDefaultInstance();
1690
15.8k
}
1691
1692
15.9k
void InitDefaultsCreateUDTypeResponsePB() {
1693
15.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1694
15.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCreateUDTypeResponsePBImpl);
1695
15.9k
}
1696
1697
15.8k
void InitDefaultsDeleteUDTypeRequestPBImpl() {
1698
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1699
1700
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1701
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1702
#else
1703
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1704
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1705
15.8k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsUDTypeIdentifierPB();
1706
15.8k
  {
1707
15.8k
    void* ptr = &::yb::master::_DeleteUDTypeRequestPB_default_instance_;
1708
15.8k
    new (ptr) ::yb::master::DeleteUDTypeRequestPB();
1709
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1710
15.8k
  }
1711
15.8k
  ::yb::master::DeleteUDTypeRequestPB::InitAsDefaultInstance();
1712
15.8k
}
1713
1714
15.9k
void InitDefaultsDeleteUDTypeRequestPB() {
1715
15.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1716
15.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDeleteUDTypeRequestPBImpl);
1717
15.9k
}
1718
1719
15.8k
void InitDefaultsDeleteUDTypeResponsePBImpl() {
1720
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1721
1722
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1723
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1724
#else
1725
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1726
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1727
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
1728
15.8k
  {
1729
15.8k
    void* ptr = &::yb::master::_DeleteUDTypeResponsePB_default_instance_;
1730
15.8k
    new (ptr) ::yb::master::DeleteUDTypeResponsePB();
1731
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1732
15.8k
  }
1733
15.8k
  ::yb::master::DeleteUDTypeResponsePB::InitAsDefaultInstance();
1734
15.8k
}
1735
1736
15.9k
void InitDefaultsDeleteUDTypeResponsePB() {
1737
15.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1738
15.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDeleteUDTypeResponsePBImpl);
1739
15.9k
}
1740
1741
15.8k
void InitDefaultsListUDTypesRequestPBImpl() {
1742
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1743
1744
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1745
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1746
#else
1747
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1748
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1749
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsNamespaceIdentifierPB();
1750
15.8k
  {
1751
15.8k
    void* ptr = &::yb::master::_ListUDTypesRequestPB_default_instance_;
1752
15.8k
    new (ptr) ::yb::master::ListUDTypesRequestPB();
1753
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1754
15.8k
  }
1755
15.8k
  ::yb::master::ListUDTypesRequestPB::InitAsDefaultInstance();
1756
15.8k
}
1757
1758
15.8k
void InitDefaultsListUDTypesRequestPB() {
1759
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1760
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListUDTypesRequestPBImpl);
1761
15.8k
}
1762
1763
15.8k
void InitDefaultsListUDTypesResponsePBImpl() {
1764
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1765
1766
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1767
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1768
#else
1769
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1770
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1771
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
1772
15.8k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsUDTypeInfoPB();
1773
15.8k
  {
1774
15.8k
    void* ptr = &::yb::master::_ListUDTypesResponsePB_default_instance_;
1775
15.8k
    new (ptr) ::yb::master::ListUDTypesResponsePB();
1776
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1777
15.8k
  }
1778
15.8k
  ::yb::master::ListUDTypesResponsePB::InitAsDefaultInstance();
1779
15.8k
}
1780
1781
15.8k
void InitDefaultsListUDTypesResponsePB() {
1782
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1783
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListUDTypesResponsePBImpl);
1784
15.8k
}
1785
1786
15.8k
void InitDefaultsGetUDTypeInfoRequestPBImpl() {
1787
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1788
1789
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1790
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1791
#else
1792
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1793
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1794
15.8k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsUDTypeIdentifierPB();
1795
15.8k
  {
1796
15.8k
    void* ptr = &::yb::master::_GetUDTypeInfoRequestPB_default_instance_;
1797
15.8k
    new (ptr) ::yb::master::GetUDTypeInfoRequestPB();
1798
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1799
15.8k
  }
1800
15.8k
  ::yb::master::GetUDTypeInfoRequestPB::InitAsDefaultInstance();
1801
15.8k
}
1802
1803
15.9k
void InitDefaultsGetUDTypeInfoRequestPB() {
1804
15.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1805
15.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetUDTypeInfoRequestPBImpl);
1806
15.9k
}
1807
1808
15.8k
void InitDefaultsGetUDTypeInfoResponsePBImpl() {
1809
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1810
1811
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1812
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1813
#else
1814
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1815
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1816
15.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
1817
15.8k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsUDTypeInfoPB();
1818
15.8k
  {
1819
15.8k
    void* ptr = &::yb::master::_GetUDTypeInfoResponsePB_default_instance_;
1820
15.8k
    new (ptr) ::yb::master::GetUDTypeInfoResponsePB();
1821
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1822
15.8k
  }
1823
15.8k
  ::yb::master::GetUDTypeInfoResponsePB::InitAsDefaultInstance();
1824
15.8k
}
1825
1826
15.9k
void InitDefaultsGetUDTypeInfoResponsePB() {
1827
15.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1828
15.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetUDTypeInfoResponsePBImpl);
1829
15.9k
}
1830
1831
::google::protobuf::Metadata file_level_metadata[66];
1832
const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[1];
1833
1834
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
1835
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::TablegroupIdentifierPB, _has_bits_),
1836
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::TablegroupIdentifierPB, _internal_metadata_),
1837
  ~0u,  // no _extensions_
1838
  ~0u,  // no _oneof_case_
1839
  ~0u,  // no _weak_field_map_
1840
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::TablegroupIdentifierPB, id_),
1841
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::TablegroupIdentifierPB, name_),
1842
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::TablegroupIdentifierPB, namespace_id_),
1843
  0,
1844
  1,
1845
  2,
1846
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::UDTypeIdentifierPB, _has_bits_),
1847
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::UDTypeIdentifierPB, _internal_metadata_),
1848
  ~0u,  // no _extensions_
1849
  ~0u,  // no _oneof_case_
1850
  ~0u,  // no _weak_field_map_
1851
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::UDTypeIdentifierPB, type_id_),
1852
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::UDTypeIdentifierPB, type_name_),
1853
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::UDTypeIdentifierPB, namespace__),
1854
  0,
1855
  1,
1856
  2,
1857
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::UDTypeInfoPB, _has_bits_),
1858
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::UDTypeInfoPB, _internal_metadata_),
1859
  ~0u,  // no _extensions_
1860
  ~0u,  // no _oneof_case_
1861
  ~0u,  // no _weak_field_map_
1862
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::UDTypeInfoPB, id_),
1863
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::UDTypeInfoPB, name_),
1864
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::UDTypeInfoPB, field_names_),
1865
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::UDTypeInfoPB, field_types_),
1866
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::UDTypeInfoPB, namespace__),
1867
  0,
1868
  1,
1869
  ~0u,
1870
  ~0u,
1871
  2,
1872
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, _has_bits_),
1873
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, _internal_metadata_),
1874
  ~0u,  // no _extensions_
1875
  ~0u,  // no _oneof_case_
1876
  ~0u,  // no _weak_field_map_
1877
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, name_),
1878
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, schema_),
1879
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, num_tablets_),
1880
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, partition_schema_),
1881
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, replication_info_),
1882
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, table_type_),
1883
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, namespace__),
1884
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, index_info_),
1885
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, indexed_table_id_),
1886
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, is_local_index_),
1887
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, is_unique_index_),
1888
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, skip_index_backfill_),
1889
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, is_backfill_deferred_),
1890
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, creator_role_name_),
1891
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, table_id_),
1892
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, is_pg_catalog_table_),
1893
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, is_pg_shared_table_),
1894
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, colocated_),
1895
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, tablegroup_id_),
1896
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, transaction_),
1897
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, tablespace_id_),
1898
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, partitions_),
1899
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableRequestPB, matview_pg_table_id_),
1900
  0,
1901
  7,
1902
  13,
1903
  8,
1904
  9,
1905
  20,
1906
  10,
1907
  11,
1908
  1,
1909
  16,
1910
  17,
1911
  18,
1912
  19,
1913
  2,
1914
  3,
1915
  14,
1916
  15,
1917
  21,
1918
  4,
1919
  12,
1920
  5,
1921
  ~0u,
1922
  6,
1923
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableResponsePB, _has_bits_),
1924
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableResponsePB, _internal_metadata_),
1925
  ~0u,  // no _extensions_
1926
  ~0u,  // no _oneof_case_
1927
  ~0u,  // no _weak_field_map_
1928
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableResponsePB, error_),
1929
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTableResponsePB, table_id_),
1930
  1,
1931
  0,
1932
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsCreateTableDoneRequestPB, _has_bits_),
1933
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsCreateTableDoneRequestPB, _internal_metadata_),
1934
  ~0u,  // no _extensions_
1935
  ~0u,  // no _oneof_case_
1936
  ~0u,  // no _weak_field_map_
1937
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsCreateTableDoneRequestPB, table_),
1938
  0,
1939
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsCreateTableDoneResponsePB, _has_bits_),
1940
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsCreateTableDoneResponsePB, _internal_metadata_),
1941
  ~0u,  // no _extensions_
1942
  ~0u,  // no _oneof_case_
1943
  ~0u,  // no _weak_field_map_
1944
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsCreateTableDoneResponsePB, error_),
1945
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsCreateTableDoneResponsePB, done_),
1946
  0,
1947
  1,
1948
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesRequestPB, _has_bits_),
1949
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesRequestPB, _internal_metadata_),
1950
  ~0u,  // no _extensions_
1951
  ~0u,  // no _oneof_case_
1952
  ~0u,  // no _weak_field_map_
1953
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesRequestPB, name_filter_),
1954
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesRequestPB, namespace__),
1955
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesRequestPB, exclude_system_tables_),
1956
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesRequestPB, relation_type_filter_),
1957
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesRequestPB, include_not_running_),
1958
  0,
1959
  1,
1960
  2,
1961
  ~0u,
1962
  3,
1963
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesResponsePB_TableInfo, _has_bits_),
1964
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesResponsePB_TableInfo, _internal_metadata_),
1965
  ~0u,  // no _extensions_
1966
  ~0u,  // no _oneof_case_
1967
  ~0u,  // no _weak_field_map_
1968
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesResponsePB_TableInfo, id_),
1969
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesResponsePB_TableInfo, name_),
1970
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesResponsePB_TableInfo, table_type_),
1971
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesResponsePB_TableInfo, namespace__),
1972
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesResponsePB_TableInfo, relation_type_),
1973
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesResponsePB_TableInfo, state_),
1974
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesResponsePB_TableInfo, pgschema_name_),
1975
  0,
1976
  1,
1977
  5,
1978
  3,
1979
  6,
1980
  4,
1981
  2,
1982
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesResponsePB, _has_bits_),
1983
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesResponsePB, _internal_metadata_),
1984
  ~0u,  // no _extensions_
1985
  ~0u,  // no _oneof_case_
1986
  ~0u,  // no _weak_field_map_
1987
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesResponsePB, error_),
1988
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablesResponsePB, tables_),
1989
  0,
1990
  ~0u,
1991
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTableSchemaRequestPB, _has_bits_),
1992
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTableSchemaRequestPB, _internal_metadata_),
1993
  ~0u,  // no _extensions_
1994
  ~0u,  // no _oneof_case_
1995
  ~0u,  // no _weak_field_map_
1996
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTableSchemaRequestPB, table_),
1997
  0,
1998
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTableSchemaResponsePB, _has_bits_),
1999
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTableSchemaResponsePB, _internal_metadata_),
2000
  ~0u,  // no _extensions_
2001
  ~0u,  // no _oneof_case_
2002
  ~0u,  // no _weak_field_map_
2003
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTableSchemaResponsePB, error_),
2004
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTableSchemaResponsePB, schema_),
2005
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTableSchemaResponsePB, version_),
2006
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTableSchemaResponsePB, partition_schema_),
2007
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTableSchemaResponsePB, replication_info_),
2008
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTableSchemaResponsePB, create_table_done_),
2009
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTableSchemaResponsePB, table_type_),
2010
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTableSchemaResponsePB, identifier_),
2011
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTableSchemaResponsePB, indexes_),
2012
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTableSchemaResponsePB, obsolete_indexed_table_id_),
2013
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTableSchemaResponsePB, index_info_),
2014
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTableSchemaResponsePB, colocated_),
2015
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTableSchemaResponsePB, is_compatible_with_previous_version_),
2016
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTableSchemaResponsePB, wal_retention_secs_),
2017
  1,
2018
  2,
2019
  7,
2020
  4,
2021
  3,
2022
  8,
2023
  12,
2024
  5,
2025
  ~0u,
2026
  0,
2027
  6,
2028
  9,
2029
  10,
2030
  11,
2031
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTablegroupSchemaRequestPB, _has_bits_),
2032
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTablegroupSchemaRequestPB, _internal_metadata_),
2033
  ~0u,  // no _extensions_
2034
  ~0u,  // no _oneof_case_
2035
  ~0u,  // no _weak_field_map_
2036
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTablegroupSchemaRequestPB, parent_tablegroup_),
2037
  0,
2038
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTablegroupSchemaResponsePB, _has_bits_),
2039
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTablegroupSchemaResponsePB, _internal_metadata_),
2040
  ~0u,  // no _extensions_
2041
  ~0u,  // no _oneof_case_
2042
  ~0u,  // no _weak_field_map_
2043
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTablegroupSchemaResponsePB, error_),
2044
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetTablegroupSchemaResponsePB, get_table_schema_response_pbs_),
2045
  0,
2046
  ~0u,
2047
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetColocatedTabletSchemaRequestPB, _has_bits_),
2048
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetColocatedTabletSchemaRequestPB, _internal_metadata_),
2049
  ~0u,  // no _extensions_
2050
  ~0u,  // no _oneof_case_
2051
  ~0u,  // no _weak_field_map_
2052
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetColocatedTabletSchemaRequestPB, parent_colocated_table_),
2053
  0,
2054
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetColocatedTabletSchemaResponsePB, _has_bits_),
2055
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetColocatedTabletSchemaResponsePB, _internal_metadata_),
2056
  ~0u,  // no _extensions_
2057
  ~0u,  // no _oneof_case_
2058
  ~0u,  // no _weak_field_map_
2059
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetColocatedTabletSchemaResponsePB, error_),
2060
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetColocatedTabletSchemaResponsePB, get_table_schema_response_pbs_),
2061
  0,
2062
  ~0u,
2063
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::TruncateTableRequestPB, _has_bits_),
2064
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::TruncateTableRequestPB, _internal_metadata_),
2065
  ~0u,  // no _extensions_
2066
  ~0u,  // no _oneof_case_
2067
  ~0u,  // no _weak_field_map_
2068
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::TruncateTableRequestPB, table_ids_),
2069
  ~0u,
2070
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::TruncateTableResponsePB, _has_bits_),
2071
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::TruncateTableResponsePB, _internal_metadata_),
2072
  ~0u,  // no _extensions_
2073
  ~0u,  // no _oneof_case_
2074
  ~0u,  // no _weak_field_map_
2075
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::TruncateTableResponsePB, error_),
2076
  0,
2077
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsTruncateTableDoneRequestPB, _has_bits_),
2078
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsTruncateTableDoneRequestPB, _internal_metadata_),
2079
  ~0u,  // no _extensions_
2080
  ~0u,  // no _oneof_case_
2081
  ~0u,  // no _weak_field_map_
2082
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsTruncateTableDoneRequestPB, table_id_),
2083
  0,
2084
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsTruncateTableDoneResponsePB, _has_bits_),
2085
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsTruncateTableDoneResponsePB, _internal_metadata_),
2086
  ~0u,  // no _extensions_
2087
  ~0u,  // no _oneof_case_
2088
  ~0u,  // no _weak_field_map_
2089
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsTruncateTableDoneResponsePB, error_),
2090
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsTruncateTableDoneResponsePB, done_),
2091
  0,
2092
  1,
2093
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackfillIndexRequestPB, _has_bits_),
2094
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackfillIndexRequestPB, _internal_metadata_),
2095
  ~0u,  // no _extensions_
2096
  ~0u,  // no _oneof_case_
2097
  ~0u,  // no _weak_field_map_
2098
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackfillIndexRequestPB, index_identifier_),
2099
  0,
2100
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackfillIndexResponsePB, _has_bits_),
2101
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackfillIndexResponsePB, _internal_metadata_),
2102
  ~0u,  // no _extensions_
2103
  ~0u,  // no _oneof_case_
2104
  ~0u,  // no _weak_field_map_
2105
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackfillIndexResponsePB, error_),
2106
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackfillIndexResponsePB, table_identifier_),
2107
  0,
2108
  1,
2109
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::LaunchBackfillIndexForTableRequestPB, _has_bits_),
2110
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::LaunchBackfillIndexForTableRequestPB, _internal_metadata_),
2111
  ~0u,  // no _extensions_
2112
  ~0u,  // no _oneof_case_
2113
  ~0u,  // no _weak_field_map_
2114
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::LaunchBackfillIndexForTableRequestPB, table_identifier_),
2115
  0,
2116
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::LaunchBackfillIndexForTableResponsePB, _has_bits_),
2117
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::LaunchBackfillIndexForTableResponsePB, _internal_metadata_),
2118
  ~0u,  // no _extensions_
2119
  ~0u,  // no _oneof_case_
2120
  ~0u,  // no _weak_field_map_
2121
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::LaunchBackfillIndexForTableResponsePB, error_),
2122
  0,
2123
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetBackfillJobsRequestPB, _has_bits_),
2124
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetBackfillJobsRequestPB, _internal_metadata_),
2125
  ~0u,  // no _extensions_
2126
  ~0u,  // no _oneof_case_
2127
  ~0u,  // no _weak_field_map_
2128
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetBackfillJobsRequestPB, table_identifier_),
2129
  0,
2130
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetBackfillJobsResponsePB, _has_bits_),
2131
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetBackfillJobsResponsePB, _internal_metadata_),
2132
  ~0u,  // no _extensions_
2133
  ~0u,  // no _oneof_case_
2134
  ~0u,  // no _weak_field_map_
2135
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetBackfillJobsResponsePB, backfill_jobs_),
2136
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetBackfillJobsResponsePB, error_),
2137
  ~0u,
2138
  0,
2139
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteTableRequestPB, _has_bits_),
2140
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteTableRequestPB, _internal_metadata_),
2141
  ~0u,  // no _extensions_
2142
  ~0u,  // no _oneof_case_
2143
  ~0u,  // no _weak_field_map_
2144
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteTableRequestPB, table_),
2145
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteTableRequestPB, is_index_table_),
2146
  0,
2147
  1,
2148
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteTableResponsePB, _has_bits_),
2149
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteTableResponsePB, _internal_metadata_),
2150
  ~0u,  // no _extensions_
2151
  ~0u,  // no _oneof_case_
2152
  ~0u,  // no _weak_field_map_
2153
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteTableResponsePB, error_),
2154
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteTableResponsePB, table_id_),
2155
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteTableResponsePB, deleted_table_ids_),
2156
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteTableResponsePB, indexed_table_),
2157
  1,
2158
  0,
2159
  ~0u,
2160
  2,
2161
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsDeleteTableDoneRequestPB, _has_bits_),
2162
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsDeleteTableDoneRequestPB, _internal_metadata_),
2163
  ~0u,  // no _extensions_
2164
  ~0u,  // no _oneof_case_
2165
  ~0u,  // no _weak_field_map_
2166
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsDeleteTableDoneRequestPB, table_id_),
2167
  0,
2168
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsDeleteTableDoneResponsePB, _has_bits_),
2169
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsDeleteTableDoneResponsePB, _internal_metadata_),
2170
  ~0u,  // no _extensions_
2171
  ~0u,  // no _oneof_case_
2172
  ~0u,  // no _weak_field_map_
2173
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsDeleteTableDoneResponsePB, error_),
2174
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsDeleteTableDoneResponsePB, done_),
2175
  0,
2176
  1,
2177
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB_AddColumn, _has_bits_),
2178
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB_AddColumn, _internal_metadata_),
2179
  ~0u,  // no _extensions_
2180
  ~0u,  // no _oneof_case_
2181
  ~0u,  // no _weak_field_map_
2182
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB_AddColumn, schema_),
2183
  0,
2184
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB_DropColumn, _has_bits_),
2185
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB_DropColumn, _internal_metadata_),
2186
  ~0u,  // no _extensions_
2187
  ~0u,  // no _oneof_case_
2188
  ~0u,  // no _weak_field_map_
2189
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB_DropColumn, name_),
2190
  0,
2191
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB_RenameColumn, _has_bits_),
2192
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB_RenameColumn, _internal_metadata_),
2193
  ~0u,  // no _extensions_
2194
  ~0u,  // no _oneof_case_
2195
  ~0u,  // no _weak_field_map_
2196
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB_RenameColumn, old_name_),
2197
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB_RenameColumn, new_name_),
2198
  0,
2199
  1,
2200
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB_Step, _has_bits_),
2201
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB_Step, _internal_metadata_),
2202
  ~0u,  // no _extensions_
2203
  ~0u,  // no _oneof_case_
2204
  ~0u,  // no _weak_field_map_
2205
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB_Step, type_),
2206
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB_Step, add_column_),
2207
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB_Step, drop_column_),
2208
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB_Step, rename_column_),
2209
  3,
2210
  0,
2211
  1,
2212
  2,
2213
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB, _has_bits_),
2214
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB, _internal_metadata_),
2215
  ~0u,  // no _extensions_
2216
  ~0u,  // no _oneof_case_
2217
  ~0u,  // no _weak_field_map_
2218
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB, table_),
2219
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB, alter_schema_steps_),
2220
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB, new_table_name_),
2221
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB, new_namespace_),
2222
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB, alter_properties_),
2223
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB, wal_retention_secs_),
2224
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB, force_send_alter_request_),
2225
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB, replication_info_),
2226
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableRequestPB, transaction_),
2227
  1,
2228
  ~0u,
2229
  0,
2230
  2,
2231
  3,
2232
  6,
2233
  7,
2234
  4,
2235
  5,
2236
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableResponsePB, _has_bits_),
2237
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableResponsePB, _internal_metadata_),
2238
  ~0u,  // no _extensions_
2239
  ~0u,  // no _oneof_case_
2240
  ~0u,  // no _weak_field_map_
2241
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableResponsePB, error_),
2242
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterTableResponsePB, schema_version_),
2243
  0,
2244
  1,
2245
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsAlterTableDoneRequestPB, _has_bits_),
2246
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsAlterTableDoneRequestPB, _internal_metadata_),
2247
  ~0u,  // no _extensions_
2248
  ~0u,  // no _oneof_case_
2249
  ~0u,  // no _weak_field_map_
2250
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsAlterTableDoneRequestPB, table_),
2251
  0,
2252
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsAlterTableDoneResponsePB, _has_bits_),
2253
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsAlterTableDoneResponsePB, _internal_metadata_),
2254
  ~0u,  // no _extensions_
2255
  ~0u,  // no _oneof_case_
2256
  ~0u,  // no _weak_field_map_
2257
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsAlterTableDoneResponsePB, error_),
2258
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsAlterTableDoneResponsePB, schema_version_),
2259
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsAlterTableDoneResponsePB, done_),
2260
  0,
2261
  1,
2262
  2,
2263
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateNamespaceRequestPB, _has_bits_),
2264
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateNamespaceRequestPB, _internal_metadata_),
2265
  ~0u,  // no _extensions_
2266
  ~0u,  // no _oneof_case_
2267
  ~0u,  // no _weak_field_map_
2268
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateNamespaceRequestPB, name_),
2269
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateNamespaceRequestPB, database_type_),
2270
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateNamespaceRequestPB, creator_role_name_),
2271
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateNamespaceRequestPB, namespace_id_),
2272
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateNamespaceRequestPB, source_namespace_id_),
2273
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateNamespaceRequestPB, next_pg_oid_),
2274
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateNamespaceRequestPB, transaction_),
2275
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateNamespaceRequestPB, colocated_),
2276
  0,
2277
  7,
2278
  1,
2279
  2,
2280
  3,
2281
  5,
2282
  4,
2283
  6,
2284
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateNamespaceResponsePB, _has_bits_),
2285
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateNamespaceResponsePB, _internal_metadata_),
2286
  ~0u,  // no _extensions_
2287
  ~0u,  // no _oneof_case_
2288
  ~0u,  // no _weak_field_map_
2289
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateNamespaceResponsePB, error_),
2290
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateNamespaceResponsePB, id_),
2291
  1,
2292
  0,
2293
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsCreateNamespaceDoneRequestPB, _has_bits_),
2294
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsCreateNamespaceDoneRequestPB, _internal_metadata_),
2295
  ~0u,  // no _extensions_
2296
  ~0u,  // no _oneof_case_
2297
  ~0u,  // no _weak_field_map_
2298
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsCreateNamespaceDoneRequestPB, namespace__),
2299
  0,
2300
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsCreateNamespaceDoneResponsePB, _has_bits_),
2301
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsCreateNamespaceDoneResponsePB, _internal_metadata_),
2302
  ~0u,  // no _extensions_
2303
  ~0u,  // no _oneof_case_
2304
  ~0u,  // no _weak_field_map_
2305
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsCreateNamespaceDoneResponsePB, error_),
2306
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsCreateNamespaceDoneResponsePB, done_),
2307
  0,
2308
  1,
2309
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteNamespaceRequestPB, _has_bits_),
2310
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteNamespaceRequestPB, _internal_metadata_),
2311
  ~0u,  // no _extensions_
2312
  ~0u,  // no _oneof_case_
2313
  ~0u,  // no _weak_field_map_
2314
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteNamespaceRequestPB, namespace__),
2315
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteNamespaceRequestPB, database_type_),
2316
  0,
2317
  1,
2318
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteNamespaceResponsePB, _has_bits_),
2319
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteNamespaceResponsePB, _internal_metadata_),
2320
  ~0u,  // no _extensions_
2321
  ~0u,  // no _oneof_case_
2322
  ~0u,  // no _weak_field_map_
2323
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteNamespaceResponsePB, error_),
2324
  0,
2325
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsDeleteNamespaceDoneRequestPB, _has_bits_),
2326
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsDeleteNamespaceDoneRequestPB, _internal_metadata_),
2327
  ~0u,  // no _extensions_
2328
  ~0u,  // no _oneof_case_
2329
  ~0u,  // no _weak_field_map_
2330
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsDeleteNamespaceDoneRequestPB, namespace__),
2331
  0,
2332
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsDeleteNamespaceDoneResponsePB, _has_bits_),
2333
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsDeleteNamespaceDoneResponsePB, _internal_metadata_),
2334
  ~0u,  // no _extensions_
2335
  ~0u,  // no _oneof_case_
2336
  ~0u,  // no _weak_field_map_
2337
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsDeleteNamespaceDoneResponsePB, error_),
2338
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IsDeleteNamespaceDoneResponsePB, done_),
2339
  0,
2340
  1,
2341
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterNamespaceRequestPB, _has_bits_),
2342
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterNamespaceRequestPB, _internal_metadata_),
2343
  ~0u,  // no _extensions_
2344
  ~0u,  // no _oneof_case_
2345
  ~0u,  // no _weak_field_map_
2346
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterNamespaceRequestPB, namespace__),
2347
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterNamespaceRequestPB, new_name_),
2348
  1,
2349
  0,
2350
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterNamespaceResponsePB, _has_bits_),
2351
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterNamespaceResponsePB, _internal_metadata_),
2352
  ~0u,  // no _extensions_
2353
  ~0u,  // no _oneof_case_
2354
  ~0u,  // no _weak_field_map_
2355
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::AlterNamespaceResponsePB, error_),
2356
  0,
2357
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListNamespacesRequestPB, _has_bits_),
2358
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListNamespacesRequestPB, _internal_metadata_),
2359
  ~0u,  // no _extensions_
2360
  ~0u,  // no _oneof_case_
2361
  ~0u,  // no _weak_field_map_
2362
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListNamespacesRequestPB, database_type_),
2363
  0,
2364
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListNamespacesResponsePB, _has_bits_),
2365
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListNamespacesResponsePB, _internal_metadata_),
2366
  ~0u,  // no _extensions_
2367
  ~0u,  // no _oneof_case_
2368
  ~0u,  // no _weak_field_map_
2369
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListNamespacesResponsePB, error_),
2370
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListNamespacesResponsePB, namespaces_),
2371
  0,
2372
  ~0u,
2373
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetNamespaceInfoRequestPB, _has_bits_),
2374
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetNamespaceInfoRequestPB, _internal_metadata_),
2375
  ~0u,  // no _extensions_
2376
  ~0u,  // no _oneof_case_
2377
  ~0u,  // no _weak_field_map_
2378
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetNamespaceInfoRequestPB, namespace__),
2379
  0,
2380
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetNamespaceInfoResponsePB, _has_bits_),
2381
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetNamespaceInfoResponsePB, _internal_metadata_),
2382
  ~0u,  // no _extensions_
2383
  ~0u,  // no _oneof_case_
2384
  ~0u,  // no _weak_field_map_
2385
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetNamespaceInfoResponsePB, error_),
2386
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetNamespaceInfoResponsePB, namespace__),
2387
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetNamespaceInfoResponsePB, colocated_),
2388
  0,
2389
  1,
2390
  2,
2391
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTablegroupRequestPB, _has_bits_),
2392
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTablegroupRequestPB, _internal_metadata_),
2393
  ~0u,  // no _extensions_
2394
  ~0u,  // no _oneof_case_
2395
  ~0u,  // no _weak_field_map_
2396
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTablegroupRequestPB, id_),
2397
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTablegroupRequestPB, namespace_id_),
2398
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTablegroupRequestPB, namespace_name_),
2399
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTablegroupRequestPB, tablespace_id_),
2400
  0,
2401
  1,
2402
  2,
2403
  3,
2404
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTablegroupResponsePB, _has_bits_),
2405
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTablegroupResponsePB, _internal_metadata_),
2406
  ~0u,  // no _extensions_
2407
  ~0u,  // no _oneof_case_
2408
  ~0u,  // no _weak_field_map_
2409
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTablegroupResponsePB, error_),
2410
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTablegroupResponsePB, parent_table_id_),
2411
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateTablegroupResponsePB, parent_table_name_),
2412
  2,
2413
  0,
2414
  1,
2415
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteTablegroupRequestPB, _has_bits_),
2416
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteTablegroupRequestPB, _internal_metadata_),
2417
  ~0u,  // no _extensions_
2418
  ~0u,  // no _oneof_case_
2419
  ~0u,  // no _weak_field_map_
2420
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteTablegroupRequestPB, id_),
2421
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteTablegroupRequestPB, namespace_id_),
2422
  0,
2423
  1,
2424
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteTablegroupResponsePB, _has_bits_),
2425
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteTablegroupResponsePB, _internal_metadata_),
2426
  ~0u,  // no _extensions_
2427
  ~0u,  // no _oneof_case_
2428
  ~0u,  // no _weak_field_map_
2429
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteTablegroupResponsePB, error_),
2430
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteTablegroupResponsePB, parent_table_id_),
2431
  1,
2432
  0,
2433
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablegroupsRequestPB, _has_bits_),
2434
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablegroupsRequestPB, _internal_metadata_),
2435
  ~0u,  // no _extensions_
2436
  ~0u,  // no _oneof_case_
2437
  ~0u,  // no _weak_field_map_
2438
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablegroupsRequestPB, namespace_id_),
2439
  0,
2440
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablegroupsResponsePB, _has_bits_),
2441
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablegroupsResponsePB, _internal_metadata_),
2442
  ~0u,  // no _extensions_
2443
  ~0u,  // no _oneof_case_
2444
  ~0u,  // no _weak_field_map_
2445
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablegroupsResponsePB, error_),
2446
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListTablegroupsResponsePB, tablegroups_),
2447
  0,
2448
  ~0u,
2449
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateUDTypeRequestPB, _has_bits_),
2450
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateUDTypeRequestPB, _internal_metadata_),
2451
  ~0u,  // no _extensions_
2452
  ~0u,  // no _oneof_case_
2453
  ~0u,  // no _weak_field_map_
2454
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateUDTypeRequestPB, namespace__),
2455
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateUDTypeRequestPB, name_),
2456
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateUDTypeRequestPB, field_names_),
2457
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateUDTypeRequestPB, field_types_),
2458
  1,
2459
  0,
2460
  ~0u,
2461
  ~0u,
2462
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateUDTypeResponsePB, _has_bits_),
2463
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateUDTypeResponsePB, _internal_metadata_),
2464
  ~0u,  // no _extensions_
2465
  ~0u,  // no _oneof_case_
2466
  ~0u,  // no _weak_field_map_
2467
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateUDTypeResponsePB, error_),
2468
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateUDTypeResponsePB, id_),
2469
  1,
2470
  0,
2471
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteUDTypeRequestPB, _has_bits_),
2472
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteUDTypeRequestPB, _internal_metadata_),
2473
  ~0u,  // no _extensions_
2474
  ~0u,  // no _oneof_case_
2475
  ~0u,  // no _weak_field_map_
2476
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteUDTypeRequestPB, type_),
2477
  0,
2478
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteUDTypeResponsePB, _has_bits_),
2479
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteUDTypeResponsePB, _internal_metadata_),
2480
  ~0u,  // no _extensions_
2481
  ~0u,  // no _oneof_case_
2482
  ~0u,  // no _weak_field_map_
2483
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteUDTypeResponsePB, error_),
2484
  0,
2485
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListUDTypesRequestPB, _has_bits_),
2486
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListUDTypesRequestPB, _internal_metadata_),
2487
  ~0u,  // no _extensions_
2488
  ~0u,  // no _oneof_case_
2489
  ~0u,  // no _weak_field_map_
2490
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListUDTypesRequestPB, namespace__),
2491
  0,
2492
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListUDTypesResponsePB, _has_bits_),
2493
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListUDTypesResponsePB, _internal_metadata_),
2494
  ~0u,  // no _extensions_
2495
  ~0u,  // no _oneof_case_
2496
  ~0u,  // no _weak_field_map_
2497
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListUDTypesResponsePB, error_),
2498
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListUDTypesResponsePB, udtypes_),
2499
  0,
2500
  ~0u,
2501
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetUDTypeInfoRequestPB, _has_bits_),
2502
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetUDTypeInfoRequestPB, _internal_metadata_),
2503
  ~0u,  // no _extensions_
2504
  ~0u,  // no _oneof_case_
2505
  ~0u,  // no _weak_field_map_
2506
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetUDTypeInfoRequestPB, type_),
2507
  0,
2508
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetUDTypeInfoResponsePB, _has_bits_),
2509
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetUDTypeInfoResponsePB, _internal_metadata_),
2510
  ~0u,  // no _extensions_
2511
  ~0u,  // no _oneof_case_
2512
  ~0u,  // no _weak_field_map_
2513
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetUDTypeInfoResponsePB, error_),
2514
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::GetUDTypeInfoResponsePB, udtype_),
2515
  0,
2516
  1,
2517
};
2518
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
2519
  { 0, 8, sizeof(::yb::master::TablegroupIdentifierPB)},
2520
  { 11, 19, sizeof(::yb::master::UDTypeIdentifierPB)},
2521
  { 22, 32, sizeof(::yb::master::UDTypeInfoPB)},
2522
  { 37, 65, sizeof(::yb::master::CreateTableRequestPB)},
2523
  { 88, 95, sizeof(::yb::master::CreateTableResponsePB)},
2524
  { 97, 103, sizeof(::yb::master::IsCreateTableDoneRequestPB)},
2525
  { 104, 111, sizeof(::yb::master::IsCreateTableDoneResponsePB)},
2526
  { 113, 123, sizeof(::yb::master::ListTablesRequestPB)},
2527
  { 128, 140, sizeof(::yb::master::ListTablesResponsePB_TableInfo)},
2528
  { 147, 154, sizeof(::yb::master::ListTablesResponsePB)},
2529
  { 156, 162, sizeof(::yb::master::GetTableSchemaRequestPB)},
2530
  { 163, 182, sizeof(::yb::master::GetTableSchemaResponsePB)},
2531
  { 196, 202, sizeof(::yb::master::GetTablegroupSchemaRequestPB)},
2532
  { 203, 210, sizeof(::yb::master::GetTablegroupSchemaResponsePB)},
2533
  { 212, 218, sizeof(::yb::master::GetColocatedTabletSchemaRequestPB)},
2534
  { 219, 226, sizeof(::yb::master::GetColocatedTabletSchemaResponsePB)},
2535
  { 228, 234, sizeof(::yb::master::TruncateTableRequestPB)},
2536
  { 235, 241, sizeof(::yb::master::TruncateTableResponsePB)},
2537
  { 242, 248, sizeof(::yb::master::IsTruncateTableDoneRequestPB)},
2538
  { 249, 256, sizeof(::yb::master::IsTruncateTableDoneResponsePB)},
2539
  { 258, 264, sizeof(::yb::master::BackfillIndexRequestPB)},
2540
  { 265, 272, sizeof(::yb::master::BackfillIndexResponsePB)},
2541
  { 274, 280, sizeof(::yb::master::LaunchBackfillIndexForTableRequestPB)},
2542
  { 281, 287, sizeof(::yb::master::LaunchBackfillIndexForTableResponsePB)},
2543
  { 288, 294, sizeof(::yb::master::GetBackfillJobsRequestPB)},
2544
  { 295, 302, sizeof(::yb::master::GetBackfillJobsResponsePB)},
2545
  { 304, 311, sizeof(::yb::master::DeleteTableRequestPB)},
2546
  { 313, 322, sizeof(::yb::master::DeleteTableResponsePB)},
2547
  { 326, 332, sizeof(::yb::master::IsDeleteTableDoneRequestPB)},
2548
  { 333, 340, sizeof(::yb::master::IsDeleteTableDoneResponsePB)},
2549
  { 342, 348, sizeof(::yb::master::AlterTableRequestPB_AddColumn)},
2550
  { 349, 355, sizeof(::yb::master::AlterTableRequestPB_DropColumn)},
2551
  { 356, 363, sizeof(::yb::master::AlterTableRequestPB_RenameColumn)},
2552
  { 365, 374, sizeof(::yb::master::AlterTableRequestPB_Step)},
2553
  { 378, 392, sizeof(::yb::master::AlterTableRequestPB)},
2554
  { 401, 408, sizeof(::yb::master::AlterTableResponsePB)},
2555
  { 410, 416, sizeof(::yb::master::IsAlterTableDoneRequestPB)},
2556
  { 417, 425, sizeof(::yb::master::IsAlterTableDoneResponsePB)},
2557
  { 428, 441, sizeof(::yb::master::CreateNamespaceRequestPB)},
2558
  { 449, 456, sizeof(::yb::master::CreateNamespaceResponsePB)},
2559
  { 458, 464, sizeof(::yb::master::IsCreateNamespaceDoneRequestPB)},
2560
  { 465, 472, sizeof(::yb::master::IsCreateNamespaceDoneResponsePB)},
2561
  { 474, 481, sizeof(::yb::master::DeleteNamespaceRequestPB)},
2562
  { 483, 489, sizeof(::yb::master::DeleteNamespaceResponsePB)},
2563
  { 490, 496, sizeof(::yb::master::IsDeleteNamespaceDoneRequestPB)},
2564
  { 497, 504, sizeof(::yb::master::IsDeleteNamespaceDoneResponsePB)},
2565
  { 506, 513, sizeof(::yb::master::AlterNamespaceRequestPB)},
2566
  { 515, 521, sizeof(::yb::master::AlterNamespaceResponsePB)},
2567
  { 522, 528, sizeof(::yb::master::ListNamespacesRequestPB)},
2568
  { 529, 536, sizeof(::yb::master::ListNamespacesResponsePB)},
2569
  { 538, 544, sizeof(::yb::master::GetNamespaceInfoRequestPB)},
2570
  { 545, 553, sizeof(::yb::master::GetNamespaceInfoResponsePB)},
2571
  { 556, 565, sizeof(::yb::master::CreateTablegroupRequestPB)},
2572
  { 569, 577, sizeof(::yb::master::CreateTablegroupResponsePB)},
2573
  { 580, 587, sizeof(::yb::master::DeleteTablegroupRequestPB)},
2574
  { 589, 596, sizeof(::yb::master::DeleteTablegroupResponsePB)},
2575
  { 598, 604, sizeof(::yb::master::ListTablegroupsRequestPB)},
2576
  { 605, 612, sizeof(::yb::master::ListTablegroupsResponsePB)},
2577
  { 614, 623, sizeof(::yb::master::CreateUDTypeRequestPB)},
2578
  { 627, 634, sizeof(::yb::master::CreateUDTypeResponsePB)},
2579
  { 636, 642, sizeof(::yb::master::DeleteUDTypeRequestPB)},
2580
  { 643, 649, sizeof(::yb::master::DeleteUDTypeResponsePB)},
2581
  { 650, 656, sizeof(::yb::master::ListUDTypesRequestPB)},
2582
  { 657, 664, sizeof(::yb::master::ListUDTypesResponsePB)},
2583
  { 666, 672, sizeof(::yb::master::GetUDTypeInfoRequestPB)},
2584
  { 673, 680, sizeof(::yb::master::GetUDTypeInfoResponsePB)},
2585
};
2586
2587
static ::google::protobuf::Message const * const file_default_instances[] = {
2588
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_TablegroupIdentifierPB_default_instance_),
2589
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_UDTypeIdentifierPB_default_instance_),
2590
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_UDTypeInfoPB_default_instance_),
2591
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_CreateTableRequestPB_default_instance_),
2592
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_CreateTableResponsePB_default_instance_),
2593
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_IsCreateTableDoneRequestPB_default_instance_),
2594
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_IsCreateTableDoneResponsePB_default_instance_),
2595
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListTablesRequestPB_default_instance_),
2596
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListTablesResponsePB_TableInfo_default_instance_),
2597
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListTablesResponsePB_default_instance_),
2598
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetTableSchemaRequestPB_default_instance_),
2599
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetTableSchemaResponsePB_default_instance_),
2600
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetTablegroupSchemaRequestPB_default_instance_),
2601
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetTablegroupSchemaResponsePB_default_instance_),
2602
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetColocatedTabletSchemaRequestPB_default_instance_),
2603
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetColocatedTabletSchemaResponsePB_default_instance_),
2604
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_TruncateTableRequestPB_default_instance_),
2605
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_TruncateTableResponsePB_default_instance_),
2606
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_IsTruncateTableDoneRequestPB_default_instance_),
2607
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_IsTruncateTableDoneResponsePB_default_instance_),
2608
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_BackfillIndexRequestPB_default_instance_),
2609
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_BackfillIndexResponsePB_default_instance_),
2610
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_LaunchBackfillIndexForTableRequestPB_default_instance_),
2611
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_LaunchBackfillIndexForTableResponsePB_default_instance_),
2612
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetBackfillJobsRequestPB_default_instance_),
2613
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetBackfillJobsResponsePB_default_instance_),
2614
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_DeleteTableRequestPB_default_instance_),
2615
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_DeleteTableResponsePB_default_instance_),
2616
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_IsDeleteTableDoneRequestPB_default_instance_),
2617
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_IsDeleteTableDoneResponsePB_default_instance_),
2618
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_AlterTableRequestPB_AddColumn_default_instance_),
2619
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_AlterTableRequestPB_DropColumn_default_instance_),
2620
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_AlterTableRequestPB_RenameColumn_default_instance_),
2621
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_AlterTableRequestPB_Step_default_instance_),
2622
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_AlterTableRequestPB_default_instance_),
2623
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_AlterTableResponsePB_default_instance_),
2624
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_IsAlterTableDoneRequestPB_default_instance_),
2625
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_IsAlterTableDoneResponsePB_default_instance_),
2626
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_CreateNamespaceRequestPB_default_instance_),
2627
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_CreateNamespaceResponsePB_default_instance_),
2628
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_IsCreateNamespaceDoneRequestPB_default_instance_),
2629
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_IsCreateNamespaceDoneResponsePB_default_instance_),
2630
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_DeleteNamespaceRequestPB_default_instance_),
2631
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_DeleteNamespaceResponsePB_default_instance_),
2632
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_IsDeleteNamespaceDoneRequestPB_default_instance_),
2633
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_IsDeleteNamespaceDoneResponsePB_default_instance_),
2634
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_AlterNamespaceRequestPB_default_instance_),
2635
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_AlterNamespaceResponsePB_default_instance_),
2636
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListNamespacesRequestPB_default_instance_),
2637
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListNamespacesResponsePB_default_instance_),
2638
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetNamespaceInfoRequestPB_default_instance_),
2639
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetNamespaceInfoResponsePB_default_instance_),
2640
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_CreateTablegroupRequestPB_default_instance_),
2641
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_CreateTablegroupResponsePB_default_instance_),
2642
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_DeleteTablegroupRequestPB_default_instance_),
2643
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_DeleteTablegroupResponsePB_default_instance_),
2644
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListTablegroupsRequestPB_default_instance_),
2645
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListTablegroupsResponsePB_default_instance_),
2646
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_CreateUDTypeRequestPB_default_instance_),
2647
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_CreateUDTypeResponsePB_default_instance_),
2648
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_DeleteUDTypeRequestPB_default_instance_),
2649
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_DeleteUDTypeResponsePB_default_instance_),
2650
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListUDTypesRequestPB_default_instance_),
2651
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListUDTypesResponsePB_default_instance_),
2652
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetUDTypeInfoRequestPB_default_instance_),
2653
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_GetUDTypeInfoResponsePB_default_instance_),
2654
};
2655
2656
1.88k
void protobuf_AssignDescriptors() {
2657
1.88k
  AddDescriptors();
2658
1.88k
  ::google::protobuf::MessageFactory* factory = NULL;
2659
1.88k
  AssignDescriptors(
2660
1.88k
      "yb/master/master_ddl.proto", schemas, file_default_instances, TableStruct::offsets, factory,
2661
1.88k
      file_level_metadata, file_level_enum_descriptors, NULL);
2662
1.88k
}
2663
2664
239k
void protobuf_AssignDescriptorsOnce() {
2665
239k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
2666
239k
  ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
2667
239k
}
2668
2669
void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
2670
0
void protobuf_RegisterTypes(const ::std::string&) {
2671
0
  protobuf_AssignDescriptorsOnce();
2672
0
  ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 66);
2673
0
}
2674
2675
15.8k
void AddDescriptorsImpl() {
2676
15.8k
  InitDefaults();
2677
15.8k
  static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
2678
15.8k
      "\n\032yb/master/master_ddl.proto\022\tyb.master\032"
2679
15.8k
      "\026yb/common/common.proto\032\034yb/common/commo"
2680
15.8k
      "n_types.proto\032#yb/master/catalog_entity_"
2681
15.8k
      "info.proto\032\034yb/master/master_types.proto"
2682
15.8k
      "\032\024yb/rpc/service.proto\"H\n\026TablegroupIden"
2683
15.8k
      "tifierPB\022\n\n\002id\030\001 \001(\014\022\014\n\004name\030\002 \001(\t\022\024\n\014na"
2684
15.8k
      "mespace_id\030\003 \001(\014\"m\n\022UDTypeIdentifierPB\022\017"
2685
15.8k
      "\n\007type_id\030\001 \001(\014\022\021\n\ttype_name\030\002 \001(\t\0223\n\tna"
2686
15.8k
      "mespace\030\003 \001(\0132 .yb.master.NamespaceIdent"
2687
15.8k
      "ifierPB\"\225\001\n\014UDTypeInfoPB\022\n\n\002id\030\001 \001(\014\022\014\n\004"
2688
15.8k
      "name\030\002 \001(\t\022\023\n\013field_names\030\003 \003(\t\022!\n\013field"
2689
15.8k
      "_types\030\004 \003(\0132\014.yb.QLTypePB\0223\n\tnamespace\030"
2690
15.8k
      "\005 \001(\0132 .yb.master.NamespaceIdentifierPB\""
2691
15.8k
      "\240\006\n\024CreateTableRequestPB\022\014\n\004name\030\001 \002(\t\022\034"
2692
15.8k
      "\n\006schema\030\002 \001(\0132\014.yb.SchemaPB\022\023\n\013num_tabl"
2693
15.8k
      "ets\030\003 \001(\005\022/\n\020partition_schema\030\005 \001(\0132\025.yb"
2694
15.8k
      ".PartitionSchemaPB\0226\n\020replication_info\030\006"
2695
15.8k
      " \001(\0132\034.yb.master.ReplicationInfoPB\0225\n\nta"
2696
15.8k
      "ble_type\030\007 \001(\0162\r.yb.TableType:\022DEFAULT_T"
2697
15.8k
      "ABLE_TYPE\0223\n\tnamespace\030\010 \001(\0132 .yb.master"
2698
15.8k
      ".NamespaceIdentifierPB\022#\n\nindex_info\030\020 \001"
2699
15.8k
      "(\0132\017.yb.IndexInfoPB\022\030\n\020indexed_table_id\030"
2700
15.8k
      "\t \001(\014\022\035\n\016is_local_index\030\n \001(\010:\005false\022\036\n\017"
2701
15.8k
      "is_unique_index\030\013 \001(\010:\005false\022\"\n\023skip_ind"
2702
15.8k
      "ex_backfill\030\022 \001(\010:\005false\022#\n\024is_backfill_"
2703
15.8k
      "deferred\030\027 \001(\010:\005false\022\031\n\021creator_role_na"
2704
15.8k
      "me\030\014 \001(\t\022\020\n\010table_id\030\r \001(\014\022\"\n\023is_pg_cata"
2705
15.8k
      "log_table\030\016 \001(\010:\005false\022!\n\022is_pg_shared_t"
2706
15.8k
      "able\030\017 \001(\010:\005false\022\027\n\tcolocated\030\021 \001(\010:\004tr"
2707
15.8k
      "ue\022\025\n\rtablegroup_id\030\023 \001(\014\022.\n\013transaction"
2708
15.8k
      "\030\024 \001(\0132\031.yb.TransactionMetadataPB\022\025\n\rtab"
2709
15.8k
      "lespace_id\030\025 \001(\014\022#\n\npartitions\030\026 \003(\0132\017.y"
2710
15.8k
      "b.PartitionPB\022\033\n\023matview_pg_table_id\030\030 \001"
2711
15.8k
      "(\014\"R\n\025CreateTableResponsePB\022\'\n\005error\030\001 \001"
2712
15.8k
      "(\0132\030.yb.master.MasterErrorPB\022\020\n\010table_id"
2713
15.8k
      "\030\002 \001(\014\"I\n\032IsCreateTableDoneRequestPB\022+\n\005"
2714
15.8k
      "table\030\001 \002(\0132\034.yb.master.TableIdentifierP"
2715
15.8k
      "B\"T\n\033IsCreateTableDoneResponsePB\022\'\n\005erro"
2716
15.8k
      "r\030\001 \001(\0132\030.yb.master.MasterErrorPB\022\014\n\004don"
2717
15.8k
      "e\030\003 \001(\010\"\331\001\n\023ListTablesRequestPB\022\023\n\013name_"
2718
15.8k
      "filter\030\001 \001(\t\0223\n\tnamespace\030\002 \001(\0132 .yb.mas"
2719
15.8k
      "ter.NamespaceIdentifierPB\022$\n\025exclude_sys"
2720
15.8k
      "tem_tables\030\003 \001(\010:\005false\0225\n\024relation_type"
2721
15.8k
      "_filter\030\004 \003(\0162\027.yb.master.RelationType\022\033"
2722
15.8k
      "\n\023include_not_running\030\005 \001(\010\"\210\003\n\024ListTabl"
2723
15.8k
      "esResponsePB\022\'\n\005error\030\001 \001(\0132\030.yb.master."
2724
15.8k
      "MasterErrorPB\0229\n\006tables\030\002 \003(\0132).yb.maste"
2725
15.8k
      "r.ListTablesResponsePB.TableInfo\032\213\002\n\tTab"
2726
15.8k
      "leInfo\022\n\n\002id\030\001 \002(\014\022\014\n\004name\030\002 \002(\t\022!\n\ntabl"
2727
15.8k
      "e_type\030\003 \001(\0162\r.yb.TableType\0223\n\tnamespace"
2728
15.8k
      "\030\004 \001(\0132 .yb.master.NamespaceIdentifierPB"
2729
15.8k
      "\022C\n\rrelation_type\030\005 \001(\0162\027.yb.master.Rela"
2730
15.8k
      "tionType:\023USER_TABLE_RELATION\0220\n\005state\030\006"
2731
15.8k
      " \001(\0162!.yb.master.SysTablesEntryPB.State\022"
2732
15.8k
      "\025\n\rpgschema_name\030\007 \001(\t\"F\n\027GetTableSchema"
2733
15.8k
      "RequestPB\022+\n\005table\030\001 \002(\0132\034.yb.master.Tab"
2734
15.8k
      "leIdentifierPB\"\230\004\n\030GetTableSchemaRespons"
2735
15.8k
      "ePB\022\'\n\005error\030\001 \001(\0132\030.yb.master.MasterErr"
2736
15.8k
      "orPB\022\034\n\006schema\030\002 \001(\0132\014.yb.SchemaPB\022\017\n\007ve"
2737
15.8k
      "rsion\030\t \001(\r\022/\n\020partition_schema\030\005 \001(\0132\025."
2738
15.8k
      "yb.PartitionSchemaPB\0226\n\020replication_info"
2739
15.8k
      "\030\003 \001(\0132\034.yb.master.ReplicationInfoPB\022\031\n\021"
2740
15.8k
      "create_table_done\030\006 \001(\010\022!\n\ntable_type\030\007 "
2741
15.8k
      "\001(\0162\r.yb.TableType\0220\n\nidentifier\030\010 \001(\0132\034"
2742
15.8k
      ".yb.master.TableIdentifierPB\022 \n\007indexes\030"
2743
15.8k
      "\n \003(\0132\017.yb.IndexInfoPB\022!\n\031OBSOLETE_index"
2744
15.8k
      "ed_table_id\030\013 \001(\014\022#\n\nindex_info\030\014 \001(\0132\017."
2745
15.8k
      "yb.IndexInfoPB\022\021\n\tcolocated\030\r \001(\010\0222\n#is_"
2746
15.8k
      "compatible_with_previous_version\030\016 \001(\010:\005"
2747
15.8k
      "false\022\032\n\022wal_retention_secs\030\017 \001(\r\"\\\n\034Get"
2748
15.8k
      "TablegroupSchemaRequestPB\022<\n\021parent_tabl"
2749
15.8k
      "egroup\030\001 \002(\0132!.yb.master.TablegroupIdent"
2750
15.8k
      "ifierPB\"\224\001\n\035GetTablegroupSchemaResponseP"
2751
15.8k
      "B\022\'\n\005error\030\001 \001(\0132\030.yb.master.MasterError"
2752
15.8k
      "PB\022J\n\035get_table_schema_response_pbs\030\002 \003("
2753
15.8k
      "\0132#.yb.master.GetTableSchemaResponsePB\"a"
2754
15.8k
      "\n!GetColocatedTabletSchemaRequestPB\022<\n\026p"
2755
15.8k
      "arent_colocated_table\030\001 \002(\0132\034.yb.master."
2756
15.8k
      "TableIdentifierPB\"\231\001\n\"GetColocatedTablet"
2757
15.8k
      "SchemaResponsePB\022\'\n\005error\030\001 \001(\0132\030.yb.mas"
2758
15.8k
      "ter.MasterErrorPB\022J\n\035get_table_schema_re"
2759
15.8k
      "sponse_pbs\030\002 \003(\0132#.yb.master.GetTableSch"
2760
15.8k
      "emaResponsePB\"+\n\026TruncateTableRequestPB\022"
2761
15.8k
      "\021\n\ttable_ids\030\001 \003(\014\"B\n\027TruncateTableRespo"
2762
15.8k
      "nsePB\022\'\n\005error\030\001 \001(\0132\030.yb.master.MasterE"
2763
15.8k
      "rrorPB\"0\n\034IsTruncateTableDoneRequestPB\022\020"
2764
15.8k
      "\n\010table_id\030\001 \001(\014\"V\n\035IsTruncateTableDoneR"
2765
15.8k
      "esponsePB\022\'\n\005error\030\001 \001(\0132\030.yb.master.Mas"
2766
15.8k
      "terErrorPB\022\014\n\004done\030\002 \001(\010\"P\n\026BackfillInde"
2767
15.8k
      "xRequestPB\0226\n\020index_identifier\030\001 \001(\0132\034.y"
2768
15.8k
      "b.master.TableIdentifierPB\"z\n\027BackfillIn"
2769
15.8k
      "dexResponsePB\022\'\n\005error\030\001 \001(\0132\030.yb.master"
2770
15.8k
      ".MasterErrorPB\0226\n\020table_identifier\030\002 \001(\013"
2771
15.8k
      "2\034.yb.master.TableIdentifierPB\"^\n$Launch"
2772
15.8k
      "BackfillIndexForTableRequestPB\0226\n\020table_"
2773
15.8k
      "identifier\030\001 \001(\0132\034.yb.master.TableIdenti"
2774
15.8k
      "fierPB\"P\n%LaunchBackfillIndexForTableRes"
2775
15.8k
      "ponsePB\022\'\n\005error\030\001 \001(\0132\030.yb.master.Maste"
2776
15.8k
      "rErrorPB\"R\n\030GetBackfillJobsRequestPB\0226\n\020"
2777
15.8k
      "table_identifier\030\001 \001(\0132\034.yb.master.Table"
2778
15.8k
      "IdentifierPB\"u\n\031GetBackfillJobsResponseP"
2779
15.8k
      "B\022/\n\rbackfill_jobs\030\001 \003(\0132\030.yb.master.Bac"
2780
15.8k
      "kfillJobPB\022\'\n\005error\030\002 \001(\0132\030.yb.master.Ma"
2781
15.8k
      "sterErrorPB\"b\n\024DeleteTableRequestPB\022+\n\005t"
2782
15.8k
      "able\030\001 \002(\0132\034.yb.master.TableIdentifierPB"
2783
15.8k
      "\022\035\n\016is_index_table\030\002 \001(\010:\005false\"\242\001\n\025Dele"
2784
15.8k
      "teTableResponsePB\022\'\n\005error\030\001 \001(\0132\030.yb.ma"
2785
15.8k
      "ster.MasterErrorPB\022\020\n\010table_id\030\002 \001(\014\022\031\n\021"
2786
15.8k
      "deleted_table_ids\030\004 \003(\014\0223\n\rindexed_table"
2787
15.8k
      "\030\003 \001(\0132\034.yb.master.TableIdentifierPB\".\n\032"
2788
15.8k
      "IsDeleteTableDoneRequestPB\022\020\n\010table_id\030\001"
2789
15.8k
      " \002(\014\"T\n\033IsDeleteTableDoneResponsePB\022\'\n\005e"
2790
15.8k
      "rror\030\001 \001(\0132\030.yb.master.MasterErrorPB\022\014\n\004"
2791
15.8k
      "done\030\002 \001(\010\"\235\007\n\023AlterTableRequestPB\022+\n\005ta"
2792
15.8k
      "ble\030\001 \002(\0132\034.yb.master.TableIdentifierPB\022"
2793
15.8k
      "\?\n\022alter_schema_steps\030\002 \003(\0132#.yb.master."
2794
15.8k
      "AlterTableRequestPB.Step\022\026\n\016new_table_na"
2795
15.8k
      "me\030\003 \001(\t\0227\n\rnew_namespace\030\004 \001(\0132 .yb.mas"
2796
15.8k
      "ter.NamespaceIdentifierPB\022/\n\020alter_prope"
2797
15.8k
      "rties\030\005 \001(\0132\025.yb.TablePropertiesPB\022\032\n\022wa"
2798
15.8k
      "l_retention_secs\030\006 \001(\r\022\'\n\030force_send_alt"
2799
15.8k
      "er_request\030\007 \001(\010:\005false\0226\n\020replication_i"
2800
15.8k
      "nfo\030\010 \001(\0132\034.yb.master.ReplicationInfoPB\022"
2801
15.8k
      ".\n\013transaction\030\t \001(\0132\031.yb.TransactionMet"
2802
15.8k
      "adataPB\032/\n\tAddColumn\022\"\n\006schema\030\001 \002(\0132\022.y"
2803
15.8k
      "b.ColumnSchemaPB\032\032\n\nDropColumn\022\014\n\004name\030\001"
2804
15.8k
      " \002(\t\0322\n\014RenameColumn\022\020\n\010old_name\030\001 \002(\t\022\020"
2805
15.8k
      "\n\010new_name\030\002 \002(\t\032\210\002\n\004Step\022>\n\004type\030\001 \001(\0162"
2806
15.8k
      "\'.yb.master.AlterTableRequestPB.StepType"
2807
15.8k
      ":\007UNKNOWN\022<\n\nadd_column\030\002 \001(\0132(.yb.maste"
2808
15.8k
      "r.AlterTableRequestPB.AddColumn\022>\n\013drop_"
2809
15.8k
      "column\030\003 \001(\0132).yb.master.AlterTableReque"
2810
15.8k
      "stPB.DropColumn\022B\n\rrename_column\030\004 \001(\0132+"
2811
15.8k
      ".yb.master.AlterTableRequestPB.RenameCol"
2812
15.8k
      "umn\"]\n\010StepType\022\013\n\007UNKNOWN\020\000\022\016\n\nADD_COLU"
2813
15.8k
      "MN\020\001\022\017\n\013DROP_COLUMN\020\002\022\021\n\rRENAME_COLUMN\020\003"
2814
15.8k
      "\022\020\n\014ALTER_COLUMN\020\004\"W\n\024AlterTableResponse"
2815
15.8k
      "PB\022\'\n\005error\030\001 \001(\0132\030.yb.master.MasterErro"
2816
15.8k
      "rPB\022\026\n\016schema_version\030\002 \001(\r\"H\n\031IsAlterTa"
2817
15.8k
      "bleDoneRequestPB\022+\n\005table\030\001 \002(\0132\034.yb.mas"
2818
15.8k
      "ter.TableIdentifierPB\"k\n\032IsAlterTableDon"
2819
15.8k
      "eResponsePB\022\'\n\005error\030\001 \001(\0132\030.yb.master.M"
2820
15.8k
      "asterErrorPB\022\026\n\016schema_version\030\002 \001(\r\022\014\n\004"
2821
15.8k
      "done\030\003 \001(\010\"\217\002\n\030CreateNamespaceRequestPB\022"
2822
15.8k
      "\014\n\004name\030\001 \001(\t\0228\n\rdatabase_type\030\002 \001(\0162\017.y"
2823
15.8k
      "b.YQLDatabase:\020YQL_DATABASE_CQL\022\031\n\021creat"
2824
15.8k
      "or_role_name\030\003 \001(\t\022\024\n\014namespace_id\030\004 \001(\014"
2825
15.8k
      "\022\033\n\023source_namespace_id\030\005 \001(\014\022\023\n\013next_pg"
2826
15.8k
      "_oid\030\006 \001(\r\022.\n\013transaction\030\010 \001(\0132\031.yb.Tra"
2827
15.8k
      "nsactionMetadataPB\022\030\n\tcolocated\030\007 \001(\010:\005f"
2828
15.8k
      "alse\"P\n\031CreateNamespaceResponsePB\022\'\n\005err"
2829
15.8k
      "or\030\001 \001(\0132\030.yb.master.MasterErrorPB\022\n\n\002id"
2830
15.8k
      "\030\002 \001(\014\"U\n\036IsCreateNamespaceDoneRequestPB"
2831
15.8k
      "\0223\n\tnamespace\030\001 \001(\0132 .yb.master.Namespac"
2832
15.8k
      "eIdentifierPB\"X\n\037IsCreateNamespaceDoneRe"
2833
15.8k
      "sponsePB\022\'\n\005error\030\001 \001(\0132\030.yb.master.Mast"
2834
15.8k
      "erErrorPB\022\014\n\004done\030\002 \001(\010\"\211\001\n\030DeleteNamesp"
2835
15.8k
      "aceRequestPB\0223\n\tnamespace\030\001 \001(\0132 .yb.mas"
2836
15.8k
      "ter.NamespaceIdentifierPB\0228\n\rdatabase_ty"
2837
15.8k
      "pe\030\002 \001(\0162\017.yb.YQLDatabase:\020YQL_DATABASE_"
2838
15.8k
      "CQL\"D\n\031DeleteNamespaceResponsePB\022\'\n\005erro"
2839
15.8k
      "r\030\001 \001(\0132\030.yb.master.MasterErrorPB\"U\n\036IsD"
2840
15.8k
      "eleteNamespaceDoneRequestPB\0223\n\tnamespace"
2841
15.8k
      "\030\001 \001(\0132 .yb.master.NamespaceIdentifierPB"
2842
15.8k
      "\"X\n\037IsDeleteNamespaceDoneResponsePB\022\'\n\005e"
2843
15.8k
      "rror\030\001 \001(\0132\030.yb.master.MasterErrorPB\022\014\n\004"
2844
15.8k
      "done\030\002 \001(\010\"`\n\027AlterNamespaceRequestPB\0223\n"
2845
15.8k
      "\tnamespace\030\001 \001(\0132 .yb.master.NamespaceId"
2846
15.8k
      "entifierPB\022\020\n\010new_name\030\002 \001(\t\"C\n\030AlterNam"
2847
15.8k
      "espaceResponsePB\022\'\n\005error\030\001 \001(\0132\030.yb.mas"
2848
15.8k
      "ter.MasterErrorPB\"S\n\027ListNamespacesReque"
2849
15.8k
      "stPB\0228\n\rdatabase_type\030\001 \001(\0162\017.yb.YQLData"
2850
15.8k
      "base:\020YQL_DATABASE_CQL\"y\n\030ListNamespaces"
2851
15.8k
      "ResponsePB\022\'\n\005error\030\001 \001(\0132\030.yb.master.Ma"
2852
15.8k
      "sterErrorPB\0224\n\nnamespaces\030\002 \003(\0132 .yb.mas"
2853
15.8k
      "ter.NamespaceIdentifierPB\"P\n\031GetNamespac"
2854
15.8k
      "eInfoRequestPB\0223\n\tnamespace\030\001 \001(\0132 .yb.m"
2855
15.8k
      "aster.NamespaceIdentifierPB\"\215\001\n\032GetNames"
2856
15.8k
      "paceInfoResponsePB\022\'\n\005error\030\001 \001(\0132\030.yb.m"
2857
15.8k
      "aster.MasterErrorPB\0223\n\tnamespace\030\002 \001(\0132 "
2858
15.8k
      ".yb.master.NamespaceIdentifierPB\022\021\n\tcolo"
2859
15.8k
      "cated\030\003 \001(\010\"l\n\031CreateTablegroupRequestPB"
2860
15.8k
      "\022\n\n\002id\030\001 \002(\014\022\024\n\014namespace_id\030\002 \002(\014\022\026\n\016na"
2861
15.8k
      "mespace_name\030\003 \001(\t\022\025\n\rtablespace_id\030\004 \001("
2862
15.8k
      "\014\"y\n\032CreateTablegroupResponsePB\022\'\n\005error"
2863
15.8k
      "\030\001 \001(\0132\030.yb.master.MasterErrorPB\022\027\n\017pare"
2864
15.8k
      "nt_table_id\030\002 \001(\014\022\031\n\021parent_table_name\030\003"
2865
15.8k
      " \001(\014\"=\n\031DeleteTablegroupRequestPB\022\n\n\002id\030"
2866
15.8k
      "\001 \002(\014\022\024\n\014namespace_id\030\002 \002(\014\"^\n\032DeleteTab"
2867
15.8k
      "legroupResponsePB\022\'\n\005error\030\001 \001(\0132\030.yb.ma"
2868
15.8k
      "ster.MasterErrorPB\022\027\n\017parent_table_id\030\002 "
2869
15.8k
      "\001(\014\"0\n\030ListTablegroupsRequestPB\022\024\n\014names"
2870
15.8k
      "pace_id\030\001 \001(\014\"|\n\031ListTablegroupsResponse"
2871
15.8k
      "PB\022\'\n\005error\030\001 \001(\0132\030.yb.master.MasterErro"
2872
15.8k
      "rPB\0226\n\013tablegroups\030\002 \003(\0132!.yb.master.Tab"
2873
15.8k
      "legroupIdentifierPB\"\222\001\n\025CreateUDTypeRequ"
2874
15.8k
      "estPB\0223\n\tnamespace\030\001 \001(\0132 .yb.master.Nam"
2875
15.8k
      "espaceIdentifierPB\022\014\n\004name\030\002 \001(\t\022\023\n\013fiel"
2876
15.8k
      "d_names\030\003 \003(\t\022!\n\013field_types\030\004 \003(\0132\014.yb."
2877
15.8k
      "QLTypePB\"M\n\026CreateUDTypeResponsePB\022\'\n\005er"
2878
15.8k
      "ror\030\001 \001(\0132\030.yb.master.MasterErrorPB\022\n\n\002i"
2879
15.8k
      "d\030\002 \001(\014\"D\n\025DeleteUDTypeRequestPB\022+\n\004type"
2880
15.8k
      "\030\001 \001(\0132\035.yb.master.UDTypeIdentifierPB\"A\n"
2881
15.8k
      "\026DeleteUDTypeResponsePB\022\'\n\005error\030\001 \001(\0132\030"
2882
15.8k
      ".yb.master.MasterErrorPB\"K\n\024ListUDTypesR"
2883
15.8k
      "equestPB\0223\n\tnamespace\030\001 \001(\0132 .yb.master."
2884
15.8k
      "NamespaceIdentifierPB\"j\n\025ListUDTypesResp"
2885
15.8k
      "onsePB\022\'\n\005error\030\001 \001(\0132\030.yb.master.Master"
2886
15.8k
      "ErrorPB\022(\n\007udtypes\030\002 \003(\0132\027.yb.master.UDT"
2887
15.8k
      "ypeInfoPB\"E\n\026GetUDTypeInfoRequestPB\022+\n\004t"
2888
15.8k
      "ype\030\001 \001(\0132\035.yb.master.UDTypeIdentifierPB"
2889
15.8k
      "\"k\n\027GetUDTypeInfoResponsePB\022\'\n\005error\030\001 \001"
2890
15.8k
      "(\0132\030.yb.master.MasterErrorPB\022\'\n\006udtype\030\002"
2891
15.8k
      " \001(\0132\027.yb.master.UDTypeInfoPB2\363\025\n\tMaster"
2892
15.8k
      "Ddl\022P\n\013CreateTable\022\037.yb.master.CreateTab"
2893
15.8k
      "leRequestPB\032 .yb.master.CreateTableRespo"
2894
15.8k
      "nsePB\022b\n\021IsCreateTableDone\022%.yb.master.I"
2895
15.8k
      "sCreateTableDoneRequestPB\032&.yb.master.Is"
2896
15.8k
      "CreateTableDoneResponsePB\022M\n\nListTables\022"
2897
15.8k
      "\036.yb.master.ListTablesRequestPB\032\037.yb.mas"
2898
15.8k
      "ter.ListTablesResponsePB\022Y\n\016GetTableSche"
2899
15.8k
      "ma\022\".yb.master.GetTableSchemaRequestPB\032#"
2900
15.8k
      ".yb.master.GetTableSchemaResponsePB\022h\n\023G"
2901
15.8k
      "etTablegroupSchema\022\'.yb.master.GetTableg"
2902
15.8k
      "roupSchemaRequestPB\032(.yb.master.GetTable"
2903
15.8k
      "groupSchemaResponsePB\022w\n\030GetColocatedTab"
2904
15.8k
      "letSchema\022,.yb.master.GetColocatedTablet"
2905
15.8k
      "SchemaRequestPB\032-.yb.master.GetColocated"
2906
15.8k
      "TabletSchemaResponsePB\022V\n\rTruncateTable\022"
2907
15.8k
      "!.yb.master.TruncateTableRequestPB\032\".yb."
2908
15.8k
      "master.TruncateTableResponsePB\022h\n\023IsTrun"
2909
15.8k
      "cateTableDone\022\'.yb.master.IsTruncateTabl"
2910
15.8k
      "eDoneRequestPB\032(.yb.master.IsTruncateTab"
2911
15.8k
      "leDoneResponsePB\022V\n\rBackfillIndex\022!.yb.m"
2912
15.8k
      "aster.BackfillIndexRequestPB\032\".yb.master"
2913
15.8k
      ".BackfillIndexResponsePB\022\200\001\n\033LaunchBackf"
2914
15.8k
      "illIndexForTable\022/.yb.master.LaunchBackf"
2915
15.8k
      "illIndexForTableRequestPB\0320.yb.master.La"
2916
15.8k
      "unchBackfillIndexForTableResponsePB\022\\\n\017G"
2917
15.8k
      "etBackfillJobs\022#.yb.master.GetBackfillJo"
2918
15.8k
      "bsRequestPB\032$.yb.master.GetBackfillJobsR"
2919
15.8k
      "esponsePB\022P\n\013DeleteTable\022\037.yb.master.Del"
2920
15.8k
      "eteTableRequestPB\032 .yb.master.DeleteTabl"
2921
15.8k
      "eResponsePB\022b\n\021IsDeleteTableDone\022%.yb.ma"
2922
15.8k
      "ster.IsDeleteTableDoneRequestPB\032&.yb.mas"
2923
15.8k
      "ter.IsDeleteTableDoneResponsePB\022M\n\nAlter"
2924
15.8k
      "Table\022\036.yb.master.AlterTableRequestPB\032\037."
2925
15.8k
      "yb.master.AlterTableResponsePB\022_\n\020IsAlte"
2926
15.8k
      "rTableDone\022$.yb.master.IsAlterTableDoneR"
2927
15.8k
      "equestPB\032%.yb.master.IsAlterTableDoneRes"
2928
15.8k
      "ponsePB\022\\\n\017CreateNamespace\022#.yb.master.C"
2929
15.8k
      "reateNamespaceRequestPB\032$.yb.master.Crea"
2930
15.8k
      "teNamespaceResponsePB\022n\n\025IsCreateNamespa"
2931
15.8k
      "ceDone\022).yb.master.IsCreateNamespaceDone"
2932
15.8k
      "RequestPB\032*.yb.master.IsCreateNamespaceD"
2933
15.8k
      "oneResponsePB\022\\\n\017DeleteNamespace\022#.yb.ma"
2934
15.8k
      "ster.DeleteNamespaceRequestPB\032$.yb.maste"
2935
15.8k
      "r.DeleteNamespaceResponsePB\022n\n\025IsDeleteN"
2936
15.8k
      "amespaceDone\022).yb.master.IsDeleteNamespa"
2937
15.8k
      "ceDoneRequestPB\032*.yb.master.IsDeleteName"
2938
15.8k
      "spaceDoneResponsePB\022Y\n\016AlterNamespace\022\"."
2939
15.8k
      "yb.master.AlterNamespaceRequestPB\032#.yb.m"
2940
15.8k
      "aster.AlterNamespaceResponsePB\022Y\n\016ListNa"
2941
15.8k
      "mespaces\022\".yb.master.ListNamespacesReque"
2942
15.8k
      "stPB\032#.yb.master.ListNamespacesResponseP"
2943
15.8k
      "B\022_\n\020GetNamespaceInfo\022$.yb.master.GetNam"
2944
15.8k
      "espaceInfoRequestPB\032%.yb.master.GetNames"
2945
15.8k
      "paceInfoResponsePB\022_\n\020CreateTablegroup\022$"
2946
15.8k
      ".yb.master.CreateTablegroupRequestPB\032%.y"
2947
15.8k
      "b.master.CreateTablegroupResponsePB\022_\n\020D"
2948
15.8k
      "eleteTablegroup\022$.yb.master.DeleteTableg"
2949
15.8k
      "roupRequestPB\032%.yb.master.DeleteTablegro"
2950
15.8k
      "upResponsePB\022\\\n\017ListTablegroups\022#.yb.mas"
2951
15.8k
      "ter.ListTablegroupsRequestPB\032$.yb.master"
2952
15.8k
      ".ListTablegroupsResponsePB\022S\n\014CreateUDTy"
2953
15.8k
      "pe\022 .yb.master.CreateUDTypeRequestPB\032!.y"
2954
15.8k
      "b.master.CreateUDTypeResponsePB\022S\n\014Delet"
2955
15.8k
      "eUDType\022 .yb.master.DeleteUDTypeRequestP"
2956
15.8k
      "B\032!.yb.master.DeleteUDTypeResponsePB\022P\n\013"
2957
15.8k
      "ListUDTypes\022\037.yb.master.ListUDTypesReque"
2958
15.8k
      "stPB\032 .yb.master.ListUDTypesResponsePB\022V"
2959
15.8k
      "\n\rGetUDTypeInfo\022!.yb.master.GetUDTypeInf"
2960
15.8k
      "oRequestPB\032\".yb.master.GetUDTypeInfoResp"
2961
15.8k
      "onsePB\032\033\332\265\030\027yb.master.MasterServiceB\017\n\ro"
2962
15.8k
      "rg.yb.master"
2963
15.8k
  };
2964
15.8k
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
2965
15.8k
      descriptor, 11372);
2966
15.8k
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
2967
15.8k
    "yb/master/master_ddl.proto", &protobuf_RegisterTypes);
2968
15.8k
  ::protobuf_yb_2fcommon_2fcommon_2eproto::AddDescriptors();
2969
15.8k
  ::protobuf_yb_2fcommon_2fcommon_5ftypes_2eproto::AddDescriptors();
2970
15.8k
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::AddDescriptors();
2971
15.8k
  ::protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::AddDescriptors();
2972
15.8k
  ::protobuf_yb_2frpc_2fservice_2eproto::AddDescriptors();
2973
15.8k
}
2974
2975
33.5k
void AddDescriptors() {
2976
33.5k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
2977
33.5k
  ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
2978
33.5k
}
2979
// Force AddDescriptors() to be called at dynamic initialization time.
2980
struct StaticDescriptorInitializer {
2981
15.8k
  StaticDescriptorInitializer() {
2982
15.8k
    AddDescriptors();
2983
15.8k
  }
2984
} static_descriptor_initializer;
2985
}  // namespace protobuf_yb_2fmaster_2fmaster_5fddl_2eproto
2986
namespace yb {
2987
namespace master {
2988
0
const ::google::protobuf::EnumDescriptor* AlterTableRequestPB_StepType_descriptor() {
2989
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
2990
0
  return protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_enum_descriptors[0];
2991
0
}
2992
869
bool AlterTableRequestPB_StepType_IsValid(int value) {
2993
869
  switch (value) {
2994
0
    case 0:
2995
521
    case 1:
2996
809
    case 2:
2997
854
    case 3:
2998
869
    case 4:
2999
869
      return true;
3000
0
    default:
3001
0
      return false;
3002
869
  }
3003
869
}
3004
3005
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3006
const AlterTableRequestPB_StepType AlterTableRequestPB::UNKNOWN;
3007
const AlterTableRequestPB_StepType AlterTableRequestPB::ADD_COLUMN;
3008
const AlterTableRequestPB_StepType AlterTableRequestPB::DROP_COLUMN;
3009
const AlterTableRequestPB_StepType AlterTableRequestPB::RENAME_COLUMN;
3010
const AlterTableRequestPB_StepType AlterTableRequestPB::ALTER_COLUMN;
3011
const AlterTableRequestPB_StepType AlterTableRequestPB::StepType_MIN;
3012
const AlterTableRequestPB_StepType AlterTableRequestPB::StepType_MAX;
3013
const int AlterTableRequestPB::StepType_ARRAYSIZE;
3014
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3015
3016
// ===================================================================
3017
3018
15.8k
void TablegroupIdentifierPB::InitAsDefaultInstance() {
3019
15.8k
}
3020
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3021
const int TablegroupIdentifierPB::kIdFieldNumber;
3022
const int TablegroupIdentifierPB::kNameFieldNumber;
3023
const int TablegroupIdentifierPB::kNamespaceIdFieldNumber;
3024
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3025
3026
TablegroupIdentifierPB::TablegroupIdentifierPB()
3027
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3028
7
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3029
7
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsTablegroupIdentifierPB();
3030
7
  }
3031
15.8k
  SharedCtor();
3032
  // @@protoc_insertion_point(constructor:yb.master.TablegroupIdentifierPB)
3033
15.8k
}
3034
TablegroupIdentifierPB::TablegroupIdentifierPB(const TablegroupIdentifierPB& from)
3035
  : ::google::protobuf::Message(),
3036
      _internal_metadata_(NULL),
3037
      _has_bits_(from._has_bits_),
3038
0
      _cached_size_(0) {
3039
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3040
0
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3041
0
  if (from.has_id()) {
3042
0
    id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
3043
0
  }
3044
0
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3045
0
  if (from.has_name()) {
3046
0
    name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
3047
0
  }
3048
0
  namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3049
0
  if (from.has_namespace_id()) {
3050
0
    namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_id_);
3051
0
  }
3052
  // @@protoc_insertion_point(copy_constructor:yb.master.TablegroupIdentifierPB)
3053
0
}
3054
3055
15.8k
void TablegroupIdentifierPB::SharedCtor() {
3056
15.8k
  _cached_size_ = 0;
3057
15.8k
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3058
15.8k
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3059
15.8k
  namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3060
15.8k
}
3061
3062
7
TablegroupIdentifierPB::~TablegroupIdentifierPB() {
3063
  // @@protoc_insertion_point(destructor:yb.master.TablegroupIdentifierPB)
3064
7
  SharedDtor();
3065
7
}
3066
3067
7
void TablegroupIdentifierPB::SharedDtor() {
3068
7
  id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3069
7
  name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3070
7
  namespace_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3071
7
}
3072
3073
0
void TablegroupIdentifierPB::SetCachedSize(int size) const {
3074
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3075
0
  _cached_size_ = size;
3076
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3077
0
}
3078
0
const ::google::protobuf::Descriptor* TablegroupIdentifierPB::descriptor() {
3079
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
3080
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3081
0
}
3082
3083
0
const TablegroupIdentifierPB& TablegroupIdentifierPB::default_instance() {
3084
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsTablegroupIdentifierPB();
3085
0
  return *internal_default_instance();
3086
0
}
3087
3088
0
TablegroupIdentifierPB* TablegroupIdentifierPB::New(::google::protobuf::Arena* arena) const {
3089
0
  TablegroupIdentifierPB* n = new TablegroupIdentifierPB;
3090
0
  if (arena != NULL) {
3091
0
    arena->Own(n);
3092
0
  }
3093
0
  return n;
3094
0
}
3095
3096
0
void TablegroupIdentifierPB::Clear() {
3097
// @@protoc_insertion_point(message_clear_start:yb.master.TablegroupIdentifierPB)
3098
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3099
  // Prevent compiler warnings about cached_has_bits being unused
3100
0
  (void) cached_has_bits;
3101
3102
0
  cached_has_bits = _has_bits_[0];
3103
0
  if (cached_has_bits & 7u) {
3104
0
    if (cached_has_bits & 0x00000001u) {
3105
0
      GOOGLE_DCHECK(!id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3106
0
      (*id_.UnsafeRawStringPointer())->clear();
3107
0
    }
3108
0
    if (cached_has_bits & 0x00000002u) {
3109
0
      GOOGLE_DCHECK(!name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3110
0
      (*name_.UnsafeRawStringPointer())->clear();
3111
0
    }
3112
0
    if (cached_has_bits & 0x00000004u) {
3113
0
      GOOGLE_DCHECK(!namespace_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3114
0
      (*namespace_id_.UnsafeRawStringPointer())->clear();
3115
0
    }
3116
0
  }
3117
0
  _has_bits_.Clear();
3118
0
  _internal_metadata_.Clear();
3119
0
}
3120
3121
bool TablegroupIdentifierPB::MergePartialFromCodedStream(
3122
3
    ::google::protobuf::io::CodedInputStream* input) {
3123
6
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
3124
3
  ::google::protobuf::uint32 tag;
3125
  // @@protoc_insertion_point(parse_start:yb.master.TablegroupIdentifierPB)
3126
9
  for (;;) {
3127
9
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3128
9
    tag = p.first;
3129
9
    if (!p.second) goto handle_unusual;
3130
6
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3131
      // optional bytes id = 1;
3132
3
      case 1: {
3133
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3134
3
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
3135
3
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3136
3
                input, this->mutable_id()));
3137
0
        } else {
3138
0
          goto handle_unusual;
3139
0
        }
3140
3
        break;
3141
3
      }
3142
3143
      // optional string name = 2;
3144
0
      case 2: {
3145
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3146
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
3147
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3148
0
                input, this->mutable_name()));
3149
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
3150
0
            this->name().data(), static_cast<int>(this->name().length()),
3151
0
            ::google::protobuf::internal::WireFormat::PARSE,
3152
0
            "yb.master.TablegroupIdentifierPB.name");
3153
0
        } else {
3154
0
          goto handle_unusual;
3155
0
        }
3156
0
        break;
3157
0
      }
3158
3159
      // optional bytes namespace_id = 3;
3160
3
      case 3: {
3161
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3162
3
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
3163
3
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3164
3
                input, this->mutable_namespace_id()));
3165
0
        } else {
3166
0
          goto handle_unusual;
3167
0
        }
3168
3
        break;
3169
3
      }
3170
3171
0
      default: {
3172
3
      handle_unusual:
3173
3
        if (tag == 0) {
3174
3
          goto success;
3175
3
        }
3176
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3177
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3178
0
        break;
3179
0
      }
3180
6
    }
3181
6
  }
3182
3
success:
3183
  // @@protoc_insertion_point(parse_success:yb.master.TablegroupIdentifierPB)
3184
3
  return true;
3185
0
failure:
3186
  // @@protoc_insertion_point(parse_failure:yb.master.TablegroupIdentifierPB)
3187
0
  return false;
3188
3
#undef DO_
3189
3
}
3190
3191
void TablegroupIdentifierPB::SerializeWithCachedSizes(
3192
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3193
  // @@protoc_insertion_point(serialize_start:yb.master.TablegroupIdentifierPB)
3194
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3195
0
  (void) cached_has_bits;
3196
3197
0
  cached_has_bits = _has_bits_[0];
3198
  // optional bytes id = 1;
3199
0
  if (cached_has_bits & 0x00000001u) {
3200
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
3201
0
      1, this->id(), output);
3202
0
  }
3203
3204
  // optional string name = 2;
3205
0
  if (cached_has_bits & 0x00000002u) {
3206
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
3207
0
      this->name().data(), static_cast<int>(this->name().length()),
3208
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
3209
0
      "yb.master.TablegroupIdentifierPB.name");
3210
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
3211
0
      2, this->name(), output);
3212
0
  }
3213
3214
  // optional bytes namespace_id = 3;
3215
0
  if (cached_has_bits & 0x00000004u) {
3216
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
3217
0
      3, this->namespace_id(), output);
3218
0
  }
3219
3220
0
  if (_internal_metadata_.have_unknown_fields()) {
3221
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3222
0
        _internal_metadata_.unknown_fields(), output);
3223
0
  }
3224
  // @@protoc_insertion_point(serialize_end:yb.master.TablegroupIdentifierPB)
3225
0
}
3226
3227
::google::protobuf::uint8* TablegroupIdentifierPB::InternalSerializeWithCachedSizesToArray(
3228
3
    bool deterministic, ::google::protobuf::uint8* target) const {
3229
3
  (void)deterministic; // Unused
3230
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.TablegroupIdentifierPB)
3231
3
  ::google::protobuf::uint32 cached_has_bits = 0;
3232
3
  (void) cached_has_bits;
3233
3234
3
  cached_has_bits = _has_bits_[0];
3235
  // optional bytes id = 1;
3236
3
  if (cached_has_bits & 0x00000001u) {
3237
3
    target =
3238
3
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
3239
3
        1, this->id(), target);
3240
3
  }
3241
3242
  // optional string name = 2;
3243
3
  if (cached_has_bits & 0x00000002u) {
3244
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
3245
0
      this->name().data(), static_cast<int>(this->name().length()),
3246
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
3247
0
      "yb.master.TablegroupIdentifierPB.name");
3248
0
    target =
3249
0
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
3250
0
        2, this->name(), target);
3251
0
  }
3252
3253
  // optional bytes namespace_id = 3;
3254
3
  if (cached_has_bits & 0x00000004u) {
3255
3
    target =
3256
3
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
3257
3
        3, this->namespace_id(), target);
3258
3
  }
3259
3260
3
  if (_internal_metadata_.have_unknown_fields()) {
3261
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3262
0
        _internal_metadata_.unknown_fields(), target);
3263
0
  }
3264
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.TablegroupIdentifierPB)
3265
3
  return target;
3266
3
}
3267
3268
6
size_t TablegroupIdentifierPB::ByteSizeLong() const {
3269
// @@protoc_insertion_point(message_byte_size_start:yb.master.TablegroupIdentifierPB)
3270
6
  size_t total_size = 0;
3271
3272
6
  if (_internal_metadata_.have_unknown_fields()) {
3273
0
    total_size +=
3274
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3275
0
        _internal_metadata_.unknown_fields());
3276
0
  }
3277
6
  if (_has_bits_[0 / 32] & 7u) {
3278
    // optional bytes id = 1;
3279
6
    if (has_id()) {
3280
6
      total_size += 1 +
3281
6
        ::google::protobuf::internal::WireFormatLite::BytesSize(
3282
6
          this->id());
3283
6
    }
3284
3285
    // optional string name = 2;
3286
6
    if (has_name()) {
3287
0
      total_size += 1 +
3288
0
        ::google::protobuf::internal::WireFormatLite::StringSize(
3289
0
          this->name());
3290
0
    }
3291
3292
    // optional bytes namespace_id = 3;
3293
6
    if (has_namespace_id()) {
3294
6
      total_size += 1 +
3295
6
        ::google::protobuf::internal::WireFormatLite::BytesSize(
3296
6
          this->namespace_id());
3297
6
    }
3298
3299
6
  }
3300
6
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3301
6
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3302
6
  _cached_size_ = cached_size;
3303
6
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3304
6
  return total_size;
3305
6
}
3306
3307
0
void TablegroupIdentifierPB::MergeFrom(const ::google::protobuf::Message& from) {
3308
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.TablegroupIdentifierPB)
3309
0
  GOOGLE_DCHECK_NE(&from, this);
3310
0
  const TablegroupIdentifierPB* source =
3311
0
      ::google::protobuf::internal::DynamicCastToGenerated<const TablegroupIdentifierPB>(
3312
0
          &from);
3313
0
  if (source == NULL) {
3314
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.TablegroupIdentifierPB)
3315
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3316
0
  } else {
3317
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.TablegroupIdentifierPB)
3318
0
    MergeFrom(*source);
3319
0
  }
3320
0
}
3321
3322
0
void TablegroupIdentifierPB::MergeFrom(const TablegroupIdentifierPB& from) {
3323
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.TablegroupIdentifierPB)
3324
0
  GOOGLE_DCHECK_NE(&from, this);
3325
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3326
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3327
0
  (void) cached_has_bits;
3328
3329
0
  cached_has_bits = from._has_bits_[0];
3330
0
  if (cached_has_bits & 7u) {
3331
0
    if (cached_has_bits & 0x00000001u) {
3332
0
      set_has_id();
3333
0
      id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
3334
0
    }
3335
0
    if (cached_has_bits & 0x00000002u) {
3336
0
      set_has_name();
3337
0
      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
3338
0
    }
3339
0
    if (cached_has_bits & 0x00000004u) {
3340
0
      set_has_namespace_id();
3341
0
      namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_id_);
3342
0
    }
3343
0
  }
3344
0
}
3345
3346
0
void TablegroupIdentifierPB::CopyFrom(const ::google::protobuf::Message& from) {
3347
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.TablegroupIdentifierPB)
3348
0
  if (&from == this) return;
3349
0
  Clear();
3350
0
  MergeFrom(from);
3351
0
}
3352
3353
0
void TablegroupIdentifierPB::CopyFrom(const TablegroupIdentifierPB& from) {
3354
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.TablegroupIdentifierPB)
3355
0
  if (&from == this) return;
3356
0
  Clear();
3357
0
  MergeFrom(from);
3358
0
}
3359
3360
0
bool TablegroupIdentifierPB::IsInitialized() const {
3361
0
  return true;
3362
0
}
3363
3364
0
void TablegroupIdentifierPB::Swap(TablegroupIdentifierPB* other) {
3365
0
  if (other == this) return;
3366
0
  InternalSwap(other);
3367
0
}
3368
1
void TablegroupIdentifierPB::InternalSwap(TablegroupIdentifierPB* other) {
3369
1
  using std::swap;
3370
1
  id_.Swap(&other->id_);
3371
1
  name_.Swap(&other->name_);
3372
1
  namespace_id_.Swap(&other->namespace_id_);
3373
1
  swap(_has_bits_[0], other->_has_bits_[0]);
3374
1
  _internal_metadata_.Swap(&other->_internal_metadata_);
3375
1
  swap(_cached_size_, other->_cached_size_);
3376
1
}
3377
3378
4
::google::protobuf::Metadata TablegroupIdentifierPB::GetMetadata() const {
3379
4
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
3380
4
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
3381
4
}
3382
3383
3384
// ===================================================================
3385
3386
15.8k
void UDTypeIdentifierPB::InitAsDefaultInstance() {
3387
15.8k
  ::yb::master::_UDTypeIdentifierPB_default_instance_._instance.get_mutable()->namespace__ = const_cast< ::yb::master::NamespaceIdentifierPB*>(
3388
15.8k
      ::yb::master::NamespaceIdentifierPB::internal_default_instance());
3389
15.8k
}
3390
0
void UDTypeIdentifierPB::clear_namespace_() {
3391
0
  if (namespace__ != NULL) namespace__->Clear();
3392
0
  clear_has_namespace_();
3393
0
}
3394
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3395
const int UDTypeIdentifierPB::kTypeIdFieldNumber;
3396
const int UDTypeIdentifierPB::kTypeNameFieldNumber;
3397
const int UDTypeIdentifierPB::kNamespaceFieldNumber;
3398
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3399
3400
UDTypeIdentifierPB::UDTypeIdentifierPB()
3401
16.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3402
216
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3403
216
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsUDTypeIdentifierPB();
3404
216
  }
3405
16.0k
  SharedCtor();
3406
  // @@protoc_insertion_point(constructor:yb.master.UDTypeIdentifierPB)
3407
16.0k
}
3408
UDTypeIdentifierPB::UDTypeIdentifierPB(const UDTypeIdentifierPB& from)
3409
  : ::google::protobuf::Message(),
3410
      _internal_metadata_(NULL),
3411
      _has_bits_(from._has_bits_),
3412
0
      _cached_size_(0) {
3413
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3414
0
  type_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3415
0
  if (from.has_type_id()) {
3416
0
    type_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_id_);
3417
0
  }
3418
0
  type_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3419
0
  if (from.has_type_name()) {
3420
0
    type_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_name_);
3421
0
  }
3422
0
  if (from.has_namespace_()) {
3423
0
    namespace__ = new ::yb::master::NamespaceIdentifierPB(*from.namespace__);
3424
0
  } else {
3425
0
    namespace__ = NULL;
3426
0
  }
3427
  // @@protoc_insertion_point(copy_constructor:yb.master.UDTypeIdentifierPB)
3428
0
}
3429
3430
16.0k
void UDTypeIdentifierPB::SharedCtor() {
3431
16.0k
  _cached_size_ = 0;
3432
16.0k
  type_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3433
16.0k
  type_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3434
16.0k
  namespace__ = NULL;
3435
16.0k
}
3436
3437
216
UDTypeIdentifierPB::~UDTypeIdentifierPB() {
3438
  // @@protoc_insertion_point(destructor:yb.master.UDTypeIdentifierPB)
3439
216
  SharedDtor();
3440
216
}
3441
3442
216
void UDTypeIdentifierPB::SharedDtor() {
3443
216
  type_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3444
216
  type_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3445
216
  if (this != internal_default_instance()) delete namespace__;
3446
216
}
3447
3448
0
void UDTypeIdentifierPB::SetCachedSize(int size) const {
3449
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3450
0
  _cached_size_ = size;
3451
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3452
0
}
3453
0
const ::google::protobuf::Descriptor* UDTypeIdentifierPB::descriptor() {
3454
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
3455
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3456
0
}
3457
3458
0
const UDTypeIdentifierPB& UDTypeIdentifierPB::default_instance() {
3459
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsUDTypeIdentifierPB();
3460
0
  return *internal_default_instance();
3461
0
}
3462
3463
0
UDTypeIdentifierPB* UDTypeIdentifierPB::New(::google::protobuf::Arena* arena) const {
3464
0
  UDTypeIdentifierPB* n = new UDTypeIdentifierPB;
3465
0
  if (arena != NULL) {
3466
0
    arena->Own(n);
3467
0
  }
3468
0
  return n;
3469
0
}
3470
3471
0
void UDTypeIdentifierPB::Clear() {
3472
// @@protoc_insertion_point(message_clear_start:yb.master.UDTypeIdentifierPB)
3473
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3474
  // Prevent compiler warnings about cached_has_bits being unused
3475
0
  (void) cached_has_bits;
3476
3477
0
  cached_has_bits = _has_bits_[0];
3478
0
  if (cached_has_bits & 7u) {
3479
0
    if (cached_has_bits & 0x00000001u) {
3480
0
      GOOGLE_DCHECK(!type_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3481
0
      (*type_id_.UnsafeRawStringPointer())->clear();
3482
0
    }
3483
0
    if (cached_has_bits & 0x00000002u) {
3484
0
      GOOGLE_DCHECK(!type_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3485
0
      (*type_name_.UnsafeRawStringPointer())->clear();
3486
0
    }
3487
0
    if (cached_has_bits & 0x00000004u) {
3488
0
      GOOGLE_DCHECK(namespace__ != NULL);
3489
0
      namespace__->Clear();
3490
0
    }
3491
0
  }
3492
0
  _has_bits_.Clear();
3493
0
  _internal_metadata_.Clear();
3494
0
}
3495
3496
bool UDTypeIdentifierPB::MergePartialFromCodedStream(
3497
108
    ::google::protobuf::io::CodedInputStream* input) {
3498
216
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
3499
108
  ::google::protobuf::uint32 tag;
3500
  // @@protoc_insertion_point(parse_start:yb.master.UDTypeIdentifierPB)
3501
324
  for (;;) {
3502
324
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3503
324
    tag = p.first;
3504
324
    if (!p.second) goto handle_unusual;
3505
216
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3506
      // optional bytes type_id = 1;
3507
0
      case 1: {
3508
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3509
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
3510
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3511
0
                input, this->mutable_type_id()));
3512
0
        } else {
3513
0
          goto handle_unusual;
3514
0
        }
3515
0
        break;
3516
0
      }
3517
3518
      // optional string type_name = 2;
3519
108
      case 2: {
3520
108
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3521
108
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
3522
108
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3523
108
                input, this->mutable_type_name()));
3524
108
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
3525
108
            this->type_name().data(), static_cast<int>(this->type_name().length()),
3526
108
            ::google::protobuf::internal::WireFormat::PARSE,
3527
108
            "yb.master.UDTypeIdentifierPB.type_name");
3528
0
        } else {
3529
0
          goto handle_unusual;
3530
0
        }
3531
108
        break;
3532
108
      }
3533
3534
      // optional .yb.master.NamespaceIdentifierPB namespace = 3;
3535
108
      case 3: {
3536
108
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3537
108
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
3538
108
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3539
108
               input, mutable_namespace_()));
3540
0
        } else {
3541
0
          goto handle_unusual;
3542
0
        }
3543
108
        break;
3544
108
      }
3545
3546
0
      default: {
3547
108
      handle_unusual:
3548
108
        if (tag == 0) {
3549
108
          goto success;
3550
108
        }
3551
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3552
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3553
0
        break;
3554
0
      }
3555
216
    }
3556
216
  }
3557
108
success:
3558
  // @@protoc_insertion_point(parse_success:yb.master.UDTypeIdentifierPB)
3559
108
  return true;
3560
0
failure:
3561
  // @@protoc_insertion_point(parse_failure:yb.master.UDTypeIdentifierPB)
3562
0
  return false;
3563
108
#undef DO_
3564
108
}
3565
3566
void UDTypeIdentifierPB::SerializeWithCachedSizes(
3567
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3568
  // @@protoc_insertion_point(serialize_start:yb.master.UDTypeIdentifierPB)
3569
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3570
0
  (void) cached_has_bits;
3571
3572
0
  cached_has_bits = _has_bits_[0];
3573
  // optional bytes type_id = 1;
3574
0
  if (cached_has_bits & 0x00000001u) {
3575
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
3576
0
      1, this->type_id(), output);
3577
0
  }
3578
3579
  // optional string type_name = 2;
3580
0
  if (cached_has_bits & 0x00000002u) {
3581
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
3582
0
      this->type_name().data(), static_cast<int>(this->type_name().length()),
3583
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
3584
0
      "yb.master.UDTypeIdentifierPB.type_name");
3585
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
3586
0
      2, this->type_name(), output);
3587
0
  }
3588
3589
  // optional .yb.master.NamespaceIdentifierPB namespace = 3;
3590
0
  if (cached_has_bits & 0x00000004u) {
3591
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3592
0
      3, *this->namespace__, output);
3593
0
  }
3594
3595
0
  if (_internal_metadata_.have_unknown_fields()) {
3596
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3597
0
        _internal_metadata_.unknown_fields(), output);
3598
0
  }
3599
  // @@protoc_insertion_point(serialize_end:yb.master.UDTypeIdentifierPB)
3600
0
}
3601
3602
::google::protobuf::uint8* UDTypeIdentifierPB::InternalSerializeWithCachedSizesToArray(
3603
108
    bool deterministic, ::google::protobuf::uint8* target) const {
3604
108
  (void)deterministic; // Unused
3605
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.UDTypeIdentifierPB)
3606
108
  ::google::protobuf::uint32 cached_has_bits = 0;
3607
108
  (void) cached_has_bits;
3608
3609
108
  cached_has_bits = _has_bits_[0];
3610
  // optional bytes type_id = 1;
3611
108
  if (cached_has_bits & 0x00000001u) {
3612
0
    target =
3613
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
3614
0
        1, this->type_id(), target);
3615
0
  }
3616
3617
  // optional string type_name = 2;
3618
108
  if (cached_has_bits & 0x00000002u) {
3619
108
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
3620
108
      this->type_name().data(), static_cast<int>(this->type_name().length()),
3621
108
      ::google::protobuf::internal::WireFormat::SERIALIZE,
3622
108
      "yb.master.UDTypeIdentifierPB.type_name");
3623
108
    target =
3624
108
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
3625
108
        2, this->type_name(), target);
3626
108
  }
3627
3628
  // optional .yb.master.NamespaceIdentifierPB namespace = 3;
3629
108
  if (cached_has_bits & 0x00000004u) {
3630
108
    target = ::google::protobuf::internal::WireFormatLite::
3631
108
      InternalWriteMessageToArray(
3632
108
        3, *this->namespace__, deterministic, target);
3633
108
  }
3634
3635
108
  if (_internal_metadata_.have_unknown_fields()) {
3636
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3637
0
        _internal_metadata_.unknown_fields(), target);
3638
0
  }
3639
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.UDTypeIdentifierPB)
3640
108
  return target;
3641
108
}
3642
3643
216
size_t UDTypeIdentifierPB::ByteSizeLong() const {
3644
// @@protoc_insertion_point(message_byte_size_start:yb.master.UDTypeIdentifierPB)
3645
216
  size_t total_size = 0;
3646
3647
216
  if (_internal_metadata_.have_unknown_fields()) {
3648
0
    total_size +=
3649
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3650
0
        _internal_metadata_.unknown_fields());
3651
0
  }
3652
216
  if (_has_bits_[0 / 32] & 7u) {
3653
    // optional bytes type_id = 1;
3654
216
    if (has_type_id()) {
3655
0
      total_size += 1 +
3656
0
        ::google::protobuf::internal::WireFormatLite::BytesSize(
3657
0
          this->type_id());
3658
0
    }
3659
3660
    // optional string type_name = 2;
3661
216
    if (has_type_name()) {
3662
216
      total_size += 1 +
3663
216
        ::google::protobuf::internal::WireFormatLite::StringSize(
3664
216
          this->type_name());
3665
216
    }
3666
3667
    // optional .yb.master.NamespaceIdentifierPB namespace = 3;
3668
216
    if (has_namespace_()) {
3669
216
      total_size += 1 +
3670
216
        ::google::protobuf::internal::WireFormatLite::MessageSize(
3671
216
          *this->namespace__);
3672
216
    }
3673
3674
216
  }
3675
216
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3676
216
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3677
216
  _cached_size_ = cached_size;
3678
216
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3679
216
  return total_size;
3680
216
}
3681
3682
0
void UDTypeIdentifierPB::MergeFrom(const ::google::protobuf::Message& from) {
3683
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.UDTypeIdentifierPB)
3684
0
  GOOGLE_DCHECK_NE(&from, this);
3685
0
  const UDTypeIdentifierPB* source =
3686
0
      ::google::protobuf::internal::DynamicCastToGenerated<const UDTypeIdentifierPB>(
3687
0
          &from);
3688
0
  if (source == NULL) {
3689
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.UDTypeIdentifierPB)
3690
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3691
0
  } else {
3692
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.UDTypeIdentifierPB)
3693
0
    MergeFrom(*source);
3694
0
  }
3695
0
}
3696
3697
0
void UDTypeIdentifierPB::MergeFrom(const UDTypeIdentifierPB& from) {
3698
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.UDTypeIdentifierPB)
3699
0
  GOOGLE_DCHECK_NE(&from, this);
3700
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3701
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3702
0
  (void) cached_has_bits;
3703
3704
0
  cached_has_bits = from._has_bits_[0];
3705
0
  if (cached_has_bits & 7u) {
3706
0
    if (cached_has_bits & 0x00000001u) {
3707
0
      set_has_type_id();
3708
0
      type_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_id_);
3709
0
    }
3710
0
    if (cached_has_bits & 0x00000002u) {
3711
0
      set_has_type_name();
3712
0
      type_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_name_);
3713
0
    }
3714
0
    if (cached_has_bits & 0x00000004u) {
3715
0
      mutable_namespace_()->::yb::master::NamespaceIdentifierPB::MergeFrom(from.namespace_());
3716
0
    }
3717
0
  }
3718
0
}
3719
3720
0
void UDTypeIdentifierPB::CopyFrom(const ::google::protobuf::Message& from) {
3721
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.UDTypeIdentifierPB)
3722
0
  if (&from == this) return;
3723
0
  Clear();
3724
0
  MergeFrom(from);
3725
0
}
3726
3727
0
void UDTypeIdentifierPB::CopyFrom(const UDTypeIdentifierPB& from) {
3728
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.UDTypeIdentifierPB)
3729
0
  if (&from == this) return;
3730
0
  Clear();
3731
0
  MergeFrom(from);
3732
0
}
3733
3734
0
bool UDTypeIdentifierPB::IsInitialized() const {
3735
0
  return true;
3736
0
}
3737
3738
0
void UDTypeIdentifierPB::Swap(UDTypeIdentifierPB* other) {
3739
0
  if (other == this) return;
3740
0
  InternalSwap(other);
3741
0
}
3742
0
void UDTypeIdentifierPB::InternalSwap(UDTypeIdentifierPB* other) {
3743
0
  using std::swap;
3744
0
  type_id_.Swap(&other->type_id_);
3745
0
  type_name_.Swap(&other->type_name_);
3746
0
  swap(namespace__, other->namespace__);
3747
0
  swap(_has_bits_[0], other->_has_bits_[0]);
3748
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
3749
0
  swap(_cached_size_, other->_cached_size_);
3750
0
}
3751
3752
342
::google::protobuf::Metadata UDTypeIdentifierPB::GetMetadata() const {
3753
342
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
3754
342
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
3755
342
}
3756
3757
3758
// ===================================================================
3759
3760
15.8k
void UDTypeInfoPB::InitAsDefaultInstance() {
3761
15.8k
  ::yb::master::_UDTypeInfoPB_default_instance_._instance.get_mutable()->namespace__ = const_cast< ::yb::master::NamespaceIdentifierPB*>(
3762
15.8k
      ::yb::master::NamespaceIdentifierPB::internal_default_instance());
3763
15.8k
}
3764
0
void UDTypeInfoPB::clear_field_types() {
3765
0
  field_types_.Clear();
3766
0
}
3767
0
void UDTypeInfoPB::clear_namespace_() {
3768
0
  if (namespace__ != NULL) namespace__->Clear();
3769
0
  clear_has_namespace_();
3770
0
}
3771
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3772
const int UDTypeInfoPB::kIdFieldNumber;
3773
const int UDTypeInfoPB::kNameFieldNumber;
3774
const int UDTypeInfoPB::kFieldNamesFieldNumber;
3775
const int UDTypeInfoPB::kFieldTypesFieldNumber;
3776
const int UDTypeInfoPB::kNamespaceFieldNumber;
3777
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3778
3779
UDTypeInfoPB::UDTypeInfoPB()
3780
15.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3781
96
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3782
96
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsUDTypeInfoPB();
3783
96
  }
3784
15.9k
  SharedCtor();
3785
  // @@protoc_insertion_point(constructor:yb.master.UDTypeInfoPB)
3786
15.9k
}
3787
UDTypeInfoPB::UDTypeInfoPB(const UDTypeInfoPB& from)
3788
  : ::google::protobuf::Message(),
3789
      _internal_metadata_(NULL),
3790
      _has_bits_(from._has_bits_),
3791
      _cached_size_(0),
3792
      field_names_(from.field_names_),
3793
0
      field_types_(from.field_types_) {
3794
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3795
0
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3796
0
  if (from.has_id()) {
3797
0
    id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
3798
0
  }
3799
0
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3800
0
  if (from.has_name()) {
3801
0
    name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
3802
0
  }
3803
0
  if (from.has_namespace_()) {
3804
0
    namespace__ = new ::yb::master::NamespaceIdentifierPB(*from.namespace__);
3805
0
  } else {
3806
0
    namespace__ = NULL;
3807
0
  }
3808
  // @@protoc_insertion_point(copy_constructor:yb.master.UDTypeInfoPB)
3809
0
}
3810
3811
15.9k
void UDTypeInfoPB::SharedCtor() {
3812
15.9k
  _cached_size_ = 0;
3813
15.9k
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3814
15.9k
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3815
15.9k
  namespace__ = NULL;
3816
15.9k
}
3817
3818
96
UDTypeInfoPB::~UDTypeInfoPB() {
3819
  // @@protoc_insertion_point(destructor:yb.master.UDTypeInfoPB)
3820
96
  SharedDtor();
3821
96
}
3822
3823
96
void UDTypeInfoPB::SharedDtor() {
3824
96
  id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3825
96
  name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3826
96
  if (this != internal_default_instance()) delete namespace__;
3827
96
}
3828
3829
0
void UDTypeInfoPB::SetCachedSize(int size) const {
3830
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3831
0
  _cached_size_ = size;
3832
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3833
0
}
3834
0
const ::google::protobuf::Descriptor* UDTypeInfoPB::descriptor() {
3835
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
3836
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3837
0
}
3838
3839
0
const UDTypeInfoPB& UDTypeInfoPB::default_instance() {
3840
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsUDTypeInfoPB();
3841
0
  return *internal_default_instance();
3842
0
}
3843
3844
0
UDTypeInfoPB* UDTypeInfoPB::New(::google::protobuf::Arena* arena) const {
3845
0
  UDTypeInfoPB* n = new UDTypeInfoPB;
3846
0
  if (arena != NULL) {
3847
0
    arena->Own(n);
3848
0
  }
3849
0
  return n;
3850
0
}
3851
3852
0
void UDTypeInfoPB::Clear() {
3853
// @@protoc_insertion_point(message_clear_start:yb.master.UDTypeInfoPB)
3854
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3855
  // Prevent compiler warnings about cached_has_bits being unused
3856
0
  (void) cached_has_bits;
3857
3858
0
  field_names_.Clear();
3859
0
  field_types_.Clear();
3860
0
  cached_has_bits = _has_bits_[0];
3861
0
  if (cached_has_bits & 7u) {
3862
0
    if (cached_has_bits & 0x00000001u) {
3863
0
      GOOGLE_DCHECK(!id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3864
0
      (*id_.UnsafeRawStringPointer())->clear();
3865
0
    }
3866
0
    if (cached_has_bits & 0x00000002u) {
3867
0
      GOOGLE_DCHECK(!name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3868
0
      (*name_.UnsafeRawStringPointer())->clear();
3869
0
    }
3870
0
    if (cached_has_bits & 0x00000004u) {
3871
0
      GOOGLE_DCHECK(namespace__ != NULL);
3872
0
      namespace__->Clear();
3873
0
    }
3874
0
  }
3875
0
  _has_bits_.Clear();
3876
0
  _internal_metadata_.Clear();
3877
0
}
3878
3879
bool UDTypeInfoPB::MergePartialFromCodedStream(
3880
48
    ::google::protobuf::io::CodedInputStream* input) {
3881
328
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
3882
48
  ::google::protobuf::uint32 tag;
3883
  // @@protoc_insertion_point(parse_start:yb.master.UDTypeInfoPB)
3884
376
  for (;;) {
3885
376
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3886
376
    tag = p.first;
3887
376
    if (!p.second) goto handle_unusual;
3888
328
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3889
      // optional bytes id = 1;
3890
48
      case 1: {
3891
48
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3892
48
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
3893
48
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3894
48
                input, this->mutable_id()));
3895
0
        } else {
3896
0
          goto handle_unusual;
3897
0
        }
3898
48
        break;
3899
48
      }
3900
3901
      // optional string name = 2;
3902
48
      case 2: {
3903
48
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3904
48
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
3905
48
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3906
48
                input, this->mutable_name()));
3907
48
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
3908
48
            this->name().data(), static_cast<int>(this->name().length()),
3909
48
            ::google::protobuf::internal::WireFormat::PARSE,
3910
48
            "yb.master.UDTypeInfoPB.name");
3911
0
        } else {
3912
0
          goto handle_unusual;
3913
0
        }
3914
48
        break;
3915
48
      }
3916
3917
      // repeated string field_names = 3;
3918
92
      case 3: {
3919
92
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3920
92
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
3921
92
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3922
92
                input, this->add_field_names()));
3923
92
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
3924
92
            this->field_names(this->field_names_size() - 1).data(),
3925
92
            static_cast<int>(this->field_names(this->field_names_size() - 1).length()),
3926
92
            ::google::protobuf::internal::WireFormat::PARSE,
3927
92
            "yb.master.UDTypeInfoPB.field_names");
3928
0
        } else {
3929
0
          goto handle_unusual;
3930
0
        }
3931
92
        break;
3932
92
      }
3933
3934
      // repeated .yb.QLTypePB field_types = 4;
3935
92
      case 4: {
3936
92
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3937
92
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
3938
92
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_field_types()));
3939
0
        } else {
3940
0
          goto handle_unusual;
3941
0
        }
3942
92
        break;
3943
92
      }
3944
3945
      // optional .yb.master.NamespaceIdentifierPB namespace = 5;
3946
48
      case 5: {
3947
48
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3948
48
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
3949
48
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3950
48
               input, mutable_namespace_()));
3951
0
        } else {
3952
0
          goto handle_unusual;
3953
0
        }
3954
48
        break;
3955
48
      }
3956
3957
0
      default: {
3958
48
      handle_unusual:
3959
48
        if (tag == 0) {
3960
48
          goto success;
3961
48
        }
3962
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3963
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3964
0
        break;
3965
0
      }
3966
328
    }
3967
328
  }
3968
48
success:
3969
  // @@protoc_insertion_point(parse_success:yb.master.UDTypeInfoPB)
3970
48
  return true;
3971
0
failure:
3972
  // @@protoc_insertion_point(parse_failure:yb.master.UDTypeInfoPB)
3973
0
  return false;
3974
48
#undef DO_
3975
48
}
3976
3977
void UDTypeInfoPB::SerializeWithCachedSizes(
3978
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3979
  // @@protoc_insertion_point(serialize_start:yb.master.UDTypeInfoPB)
3980
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3981
0
  (void) cached_has_bits;
3982
3983
0
  cached_has_bits = _has_bits_[0];
3984
  // optional bytes id = 1;
3985
0
  if (cached_has_bits & 0x00000001u) {
3986
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
3987
0
      1, this->id(), output);
3988
0
  }
3989
3990
  // optional string name = 2;
3991
0
  if (cached_has_bits & 0x00000002u) {
3992
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
3993
0
      this->name().data(), static_cast<int>(this->name().length()),
3994
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
3995
0
      "yb.master.UDTypeInfoPB.name");
3996
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
3997
0
      2, this->name(), output);
3998
0
  }
3999
4000
  // repeated string field_names = 3;
4001
0
  for (int i = 0, n = this->field_names_size(); i < n; i++) {
4002
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
4003
0
      this->field_names(i).data(), static_cast<int>(this->field_names(i).length()),
4004
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
4005
0
      "yb.master.UDTypeInfoPB.field_names");
4006
0
    ::google::protobuf::internal::WireFormatLite::WriteString(
4007
0
      3, this->field_names(i), output);
4008
0
  }
4009
4010
  // repeated .yb.QLTypePB field_types = 4;
4011
0
  for (unsigned int i = 0,
4012
0
      n = static_cast<unsigned int>(this->field_types_size()); i < n; i++) {
4013
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4014
0
      4, this->field_types(static_cast<int>(i)), output);
4015
0
  }
4016
4017
  // optional .yb.master.NamespaceIdentifierPB namespace = 5;
4018
0
  if (cached_has_bits & 0x00000004u) {
4019
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4020
0
      5, *this->namespace__, output);
4021
0
  }
4022
4023
0
  if (_internal_metadata_.have_unknown_fields()) {
4024
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4025
0
        _internal_metadata_.unknown_fields(), output);
4026
0
  }
4027
  // @@protoc_insertion_point(serialize_end:yb.master.UDTypeInfoPB)
4028
0
}
4029
4030
::google::protobuf::uint8* UDTypeInfoPB::InternalSerializeWithCachedSizesToArray(
4031
48
    bool deterministic, ::google::protobuf::uint8* target) const {
4032
48
  (void)deterministic; // Unused
4033
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.UDTypeInfoPB)
4034
48
  ::google::protobuf::uint32 cached_has_bits = 0;
4035
48
  (void) cached_has_bits;
4036
4037
48
  cached_has_bits = _has_bits_[0];
4038
  // optional bytes id = 1;
4039
48
  if (cached_has_bits & 0x00000001u) {
4040
48
    target =
4041
48
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
4042
48
        1, this->id(), target);
4043
48
  }
4044
4045
  // optional string name = 2;
4046
48
  if (cached_has_bits & 0x00000002u) {
4047
48
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
4048
48
      this->name().data(), static_cast<int>(this->name().length()),
4049
48
      ::google::protobuf::internal::WireFormat::SERIALIZE,
4050
48
      "yb.master.UDTypeInfoPB.name");
4051
48
    target =
4052
48
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
4053
48
        2, this->name(), target);
4054
48
  }
4055
4056
  // repeated string field_names = 3;
4057
140
  for (int i = 0, n = this->field_names_size(); i < n; i++) {
4058
92
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
4059
92
      this->field_names(i).data(), static_cast<int>(this->field_names(i).length()),
4060
92
      ::google::protobuf::internal::WireFormat::SERIALIZE,
4061
92
      "yb.master.UDTypeInfoPB.field_names");
4062
92
    target = ::google::protobuf::internal::WireFormatLite::
4063
92
      WriteStringToArray(3, this->field_names(i), target);
4064
92
  }
4065
4066
  // repeated .yb.QLTypePB field_types = 4;
4067
48
  for (unsigned int i = 0,
4068
140
      n = static_cast<unsigned int>(this->field_types_size()); i < n; i++) {
4069
92
    target = ::google::protobuf::internal::WireFormatLite::
4070
92
      InternalWriteMessageToArray(
4071
92
        4, this->field_types(static_cast<int>(i)), deterministic, target);
4072
92
  }
4073
4074
  // optional .yb.master.NamespaceIdentifierPB namespace = 5;
4075
48
  if (cached_has_bits & 0x00000004u) {
4076
48
    target = ::google::protobuf::internal::WireFormatLite::
4077
48
      InternalWriteMessageToArray(
4078
48
        5, *this->namespace__, deterministic, target);
4079
48
  }
4080
4081
48
  if (_internal_metadata_.have_unknown_fields()) {
4082
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4083
0
        _internal_metadata_.unknown_fields(), target);
4084
0
  }
4085
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.UDTypeInfoPB)
4086
48
  return target;
4087
48
}
4088
4089
96
size_t UDTypeInfoPB::ByteSizeLong() const {
4090
// @@protoc_insertion_point(message_byte_size_start:yb.master.UDTypeInfoPB)
4091
96
  size_t total_size = 0;
4092
4093
96
  if (_internal_metadata_.have_unknown_fields()) {
4094
0
    total_size +=
4095
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4096
0
        _internal_metadata_.unknown_fields());
4097
0
  }
4098
  // repeated string field_names = 3;
4099
96
  total_size += 1 *
4100
96
      ::google::protobuf::internal::FromIntSize(this->field_names_size());
4101
280
  for (int i = 0, n = this->field_names_size(); i < n; i++) {
4102
184
    total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
4103
184
      this->field_names(i));
4104
184
  }
4105
4106
  // repeated .yb.QLTypePB field_types = 4;
4107
96
  {
4108
96
    unsigned int count = static_cast<unsigned int>(this->field_types_size());
4109
96
    total_size += 1UL * count;
4110
280
    for (unsigned int i = 0; i < count; i++) {
4111
184
      total_size +=
4112
184
        ::google::protobuf::internal::WireFormatLite::MessageSize(
4113
184
          this->field_types(static_cast<int>(i)));
4114
184
    }
4115
96
  }
4116
4117
96
  if (_has_bits_[0 / 32] & 7u) {
4118
    // optional bytes id = 1;
4119
96
    if (has_id()) {
4120
96
      total_size += 1 +
4121
96
        ::google::protobuf::internal::WireFormatLite::BytesSize(
4122
96
          this->id());
4123
96
    }
4124
4125
    // optional string name = 2;
4126
96
    if (has_name()) {
4127
96
      total_size += 1 +
4128
96
        ::google::protobuf::internal::WireFormatLite::StringSize(
4129
96
          this->name());
4130
96
    }
4131
4132
    // optional .yb.master.NamespaceIdentifierPB namespace = 5;
4133
96
    if (has_namespace_()) {
4134
96
      total_size += 1 +
4135
96
        ::google::protobuf::internal::WireFormatLite::MessageSize(
4136
96
          *this->namespace__);
4137
96
    }
4138
4139
96
  }
4140
96
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4141
96
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4142
96
  _cached_size_ = cached_size;
4143
96
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4144
96
  return total_size;
4145
96
}
4146
4147
0
void UDTypeInfoPB::MergeFrom(const ::google::protobuf::Message& from) {
4148
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.UDTypeInfoPB)
4149
0
  GOOGLE_DCHECK_NE(&from, this);
4150
0
  const UDTypeInfoPB* source =
4151
0
      ::google::protobuf::internal::DynamicCastToGenerated<const UDTypeInfoPB>(
4152
0
          &from);
4153
0
  if (source == NULL) {
4154
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.UDTypeInfoPB)
4155
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4156
0
  } else {
4157
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.UDTypeInfoPB)
4158
0
    MergeFrom(*source);
4159
0
  }
4160
0
}
4161
4162
0
void UDTypeInfoPB::MergeFrom(const UDTypeInfoPB& from) {
4163
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.UDTypeInfoPB)
4164
0
  GOOGLE_DCHECK_NE(&from, this);
4165
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4166
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4167
0
  (void) cached_has_bits;
4168
4169
0
  field_names_.MergeFrom(from.field_names_);
4170
0
  field_types_.MergeFrom(from.field_types_);
4171
0
  cached_has_bits = from._has_bits_[0];
4172
0
  if (cached_has_bits & 7u) {
4173
0
    if (cached_has_bits & 0x00000001u) {
4174
0
      set_has_id();
4175
0
      id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
4176
0
    }
4177
0
    if (cached_has_bits & 0x00000002u) {
4178
0
      set_has_name();
4179
0
      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
4180
0
    }
4181
0
    if (cached_has_bits & 0x00000004u) {
4182
0
      mutable_namespace_()->::yb::master::NamespaceIdentifierPB::MergeFrom(from.namespace_());
4183
0
    }
4184
0
  }
4185
0
}
4186
4187
0
void UDTypeInfoPB::CopyFrom(const ::google::protobuf::Message& from) {
4188
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.UDTypeInfoPB)
4189
0
  if (&from == this) return;
4190
0
  Clear();
4191
0
  MergeFrom(from);
4192
0
}
4193
4194
0
void UDTypeInfoPB::CopyFrom(const UDTypeInfoPB& from) {
4195
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.UDTypeInfoPB)
4196
0
  if (&from == this) return;
4197
0
  Clear();
4198
0
  MergeFrom(from);
4199
0
}
4200
4201
0
bool UDTypeInfoPB::IsInitialized() const {
4202
0
  return true;
4203
0
}
4204
4205
0
void UDTypeInfoPB::Swap(UDTypeInfoPB* other) {
4206
0
  if (other == this) return;
4207
0
  InternalSwap(other);
4208
0
}
4209
0
void UDTypeInfoPB::InternalSwap(UDTypeInfoPB* other) {
4210
0
  using std::swap;
4211
0
  field_names_.InternalSwap(&other->field_names_);
4212
0
  field_types_.InternalSwap(&other->field_types_);
4213
0
  id_.Swap(&other->id_);
4214
0
  name_.Swap(&other->name_);
4215
0
  swap(namespace__, other->namespace__);
4216
0
  swap(_has_bits_[0], other->_has_bits_[0]);
4217
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
4218
0
  swap(_cached_size_, other->_cached_size_);
4219
0
}
4220
4221
0
::google::protobuf::Metadata UDTypeInfoPB::GetMetadata() const {
4222
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
4223
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
4224
0
}
4225
4226
4227
// ===================================================================
4228
4229
15.8k
void CreateTableRequestPB::InitAsDefaultInstance() {
4230
15.8k
  ::yb::master::_CreateTableRequestPB_default_instance_._instance.get_mutable()->schema_ = const_cast< ::yb::SchemaPB*>(
4231
15.8k
      ::yb::SchemaPB::internal_default_instance());
4232
15.8k
  ::yb::master::_CreateTableRequestPB_default_instance_._instance.get_mutable()->partition_schema_ = const_cast< ::yb::PartitionSchemaPB*>(
4233
15.8k
      ::yb::PartitionSchemaPB::internal_default_instance());
4234
15.8k
  ::yb::master::_CreateTableRequestPB_default_instance_._instance.get_mutable()->replication_info_ = const_cast< ::yb::master::ReplicationInfoPB*>(
4235
15.8k
      ::yb::master::ReplicationInfoPB::internal_default_instance());
4236
15.8k
  ::yb::master::_CreateTableRequestPB_default_instance_._instance.get_mutable()->namespace__ = const_cast< ::yb::master::NamespaceIdentifierPB*>(
4237
15.8k
      ::yb::master::NamespaceIdentifierPB::internal_default_instance());
4238
15.8k
  ::yb::master::_CreateTableRequestPB_default_instance_._instance.get_mutable()->index_info_ = const_cast< ::yb::IndexInfoPB*>(
4239
15.8k
      ::yb::IndexInfoPB::internal_default_instance());
4240
15.8k
  ::yb::master::_CreateTableRequestPB_default_instance_._instance.get_mutable()->transaction_ = const_cast< ::yb::TransactionMetadataPB*>(
4241
15.8k
      ::yb::TransactionMetadataPB::internal_default_instance());
4242
15.8k
}
4243
0
void CreateTableRequestPB::clear_schema() {
4244
0
  if (schema_ != NULL) schema_->Clear();
4245
0
  clear_has_schema();
4246
0
}
4247
37
void CreateTableRequestPB::clear_partition_schema() {
4248
37
  if (partition_schema_ != NULL) partition_schema_->Clear();
4249
37
  clear_has_partition_schema();
4250
37
}
4251
0
void CreateTableRequestPB::clear_replication_info() {
4252
0
  if (replication_info_ != NULL) replication_info_->Clear();
4253
0
  clear_has_replication_info();
4254
0
}
4255
0
void CreateTableRequestPB::clear_namespace_() {
4256
0
  if (namespace__ != NULL) namespace__->Clear();
4257
0
  clear_has_namespace_();
4258
0
}
4259
0
void CreateTableRequestPB::clear_index_info() {
4260
0
  if (index_info_ != NULL) index_info_->Clear();
4261
0
  clear_has_index_info();
4262
0
}
4263
0
void CreateTableRequestPB::clear_transaction() {
4264
0
  if (transaction_ != NULL) transaction_->Clear();
4265
0
  clear_has_transaction();
4266
0
}
4267
0
void CreateTableRequestPB::clear_partitions() {
4268
0
  partitions_.Clear();
4269
0
}
4270
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4271
const int CreateTableRequestPB::kNameFieldNumber;
4272
const int CreateTableRequestPB::kSchemaFieldNumber;
4273
const int CreateTableRequestPB::kNumTabletsFieldNumber;
4274
const int CreateTableRequestPB::kPartitionSchemaFieldNumber;
4275
const int CreateTableRequestPB::kReplicationInfoFieldNumber;
4276
const int CreateTableRequestPB::kTableTypeFieldNumber;
4277
const int CreateTableRequestPB::kNamespaceFieldNumber;
4278
const int CreateTableRequestPB::kIndexInfoFieldNumber;
4279
const int CreateTableRequestPB::kIndexedTableIdFieldNumber;
4280
const int CreateTableRequestPB::kIsLocalIndexFieldNumber;
4281
const int CreateTableRequestPB::kIsUniqueIndexFieldNumber;
4282
const int CreateTableRequestPB::kSkipIndexBackfillFieldNumber;
4283
const int CreateTableRequestPB::kIsBackfillDeferredFieldNumber;
4284
const int CreateTableRequestPB::kCreatorRoleNameFieldNumber;
4285
const int CreateTableRequestPB::kTableIdFieldNumber;
4286
const int CreateTableRequestPB::kIsPgCatalogTableFieldNumber;
4287
const int CreateTableRequestPB::kIsPgSharedTableFieldNumber;
4288
const int CreateTableRequestPB::kColocatedFieldNumber;
4289
const int CreateTableRequestPB::kTablegroupIdFieldNumber;
4290
const int CreateTableRequestPB::kTransactionFieldNumber;
4291
const int CreateTableRequestPB::kTablespaceIdFieldNumber;
4292
const int CreateTableRequestPB::kPartitionsFieldNumber;
4293
const int CreateTableRequestPB::kMatviewPgTableIdFieldNumber;
4294
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4295
4296
CreateTableRequestPB::CreateTableRequestPB()
4297
51.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4298
35.3k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4299
35.3k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsCreateTableRequestPB();
4300
35.3k
  }
4301
51.1k
  SharedCtor();
4302
  // @@protoc_insertion_point(constructor:yb.master.CreateTableRequestPB)
4303
51.1k
}
4304
CreateTableRequestPB::CreateTableRequestPB(const CreateTableRequestPB& from)
4305
  : ::google::protobuf::Message(),
4306
      _internal_metadata_(NULL),
4307
      _has_bits_(from._has_bits_),
4308
      _cached_size_(0),
4309
3.65k
      partitions_(from.partitions_) {
4310
3.65k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4311
3.65k
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4312
3.65k
  if (from.has_name()) {
4313
3.65k
    name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
4314
3.65k
  }
4315
3.65k
  indexed_table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4316
3.65k
  if (from.has_indexed_table_id()) {
4317
548
    indexed_table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.indexed_table_id_);
4318
548
  }
4319
3.65k
  creator_role_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4320
3.65k
  if (from.has_creator_role_name()) {
4321
242
    creator_role_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.creator_role_name_);
4322
242
  }
4323
3.65k
  table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4324
3.65k
  if (from.has_table_id()) {
4325
1.44k
    table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_id_);
4326
1.44k
  }
4327
3.65k
  tablegroup_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4328
3.65k
  if (from.has_tablegroup_id()) {
4329
8
    tablegroup_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablegroup_id_);
4330
8
  }
4331
3.65k
  tablespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4332
3.65k
  if (from.has_tablespace_id()) {
4333
1
    tablespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablespace_id_);
4334
1
  }
4335
3.65k
  matview_pg_table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4336
3.65k
  if (from.has_matview_pg_table_id()) {
4337
0
    matview_pg_table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.matview_pg_table_id_);
4338
0
  }
4339
3.65k
  if (from.has_schema()) {
4340
3.65k
    schema_ = new ::yb::SchemaPB(*from.schema_);
4341
0
  } else {
4342
0
    schema_ = NULL;
4343
0
  }
4344
3.65k
  if (from.has_partition_schema()) {
4345
2.93k
    partition_schema_ = new ::yb::PartitionSchemaPB(*from.partition_schema_);
4346
718
  } else {
4347
718
    partition_schema_ = NULL;
4348
718
  }
4349
3.65k
  if (from.has_replication_info()) {
4350
0
    replication_info_ = new ::yb::master::ReplicationInfoPB(*from.replication_info_);
4351
3.65k
  } else {
4352
3.65k
    replication_info_ = NULL;
4353
3.65k
  }
4354
3.65k
  if (from.has_namespace_()) {
4355
3.65k
    namespace__ = new ::yb::master::NamespaceIdentifierPB(*from.namespace__);
4356
0
  } else {
4357
0
    namespace__ = NULL;
4358
0
  }
4359
3.65k
  if (from.has_index_info()) {
4360
548
    index_info_ = new ::yb::IndexInfoPB(*from.index_info_);
4361
3.10k
  } else {
4362
3.10k
    index_info_ = NULL;
4363
3.10k
  }
4364
3.65k
  if (from.has_transaction()) {
4365
1.41k
    transaction_ = new ::yb::TransactionMetadataPB(*from.transaction_);
4366
2.23k
  } else {
4367
2.23k
    transaction_ = NULL;
4368
2.23k
  }
4369
3.65k
  ::memcpy(&num_tablets_, &from.num_tablets_,
4370
3.65k
    static_cast<size_t>(reinterpret_cast<char*>(&colocated_) -
4371
3.65k
    reinterpret_cast<char*>(&num_tablets_)) + sizeof(colocated_));
4372
  // @@protoc_insertion_point(copy_constructor:yb.master.CreateTableRequestPB)
4373
3.65k
}
4374
4375
51.1k
void CreateTableRequestPB::SharedCtor() {
4376
51.1k
  _cached_size_ = 0;
4377
51.1k
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4378
51.1k
  indexed_table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4379
51.1k
  creator_role_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4380
51.1k
  table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4381
51.1k
  tablegroup_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4382
51.1k
  tablespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4383
51.1k
  matview_pg_table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4384
51.1k
  ::memset(&schema_, 0, static_cast<size_t>(
4385
51.1k
      reinterpret_cast<char*>(&is_backfill_deferred_) -
4386
51.1k
      reinterpret_cast<char*>(&schema_)) + sizeof(is_backfill_deferred_));
4387
51.1k
  table_type_ = 2;
4388
51.1k
  colocated_ = true;
4389
51.1k
}
4390
4391
39.3k
CreateTableRequestPB::~CreateTableRequestPB() {
4392
  // @@protoc_insertion_point(destructor:yb.master.CreateTableRequestPB)
4393
39.3k
  SharedDtor();
4394
39.3k
}
4395
4396
39.3k
void CreateTableRequestPB::SharedDtor() {
4397
39.3k
  name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4398
39.3k
  indexed_table_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4399
39.3k
  creator_role_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4400
39.3k
  table_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4401
39.3k
  tablegroup_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4402
39.3k
  tablespace_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4403
39.3k
  matview_pg_table_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4404
39.3k
  if (this != internal_default_instance()) delete schema_;
4405
39.3k
  if (this != internal_default_instance()) delete partition_schema_;
4406
39.3k
  if (this != internal_default_instance()) delete replication_info_;
4407
39.3k
  if (this != internal_default_instance()) delete namespace__;
4408
39.3k
  if (this != internal_default_instance()) delete index_info_;
4409
39.3k
  if (this != internal_default_instance()) delete transaction_;
4410
39.3k
}
4411
4412
0
void CreateTableRequestPB::SetCachedSize(int size) const {
4413
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4414
0
  _cached_size_ = size;
4415
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4416
0
}
4417
0
const ::google::protobuf::Descriptor* CreateTableRequestPB::descriptor() {
4418
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
4419
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4420
0
}
4421
4422
0
const CreateTableRequestPB& CreateTableRequestPB::default_instance() {
4423
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsCreateTableRequestPB();
4424
0
  return *internal_default_instance();
4425
0
}
4426
4427
0
CreateTableRequestPB* CreateTableRequestPB::New(::google::protobuf::Arena* arena) const {
4428
0
  CreateTableRequestPB* n = new CreateTableRequestPB;
4429
0
  if (arena != NULL) {
4430
0
    arena->Own(n);
4431
0
  }
4432
0
  return n;
4433
0
}
4434
4435
3.07k
void CreateTableRequestPB::Clear() {
4436
// @@protoc_insertion_point(message_clear_start:yb.master.CreateTableRequestPB)
4437
3.07k
  ::google::protobuf::uint32 cached_has_bits = 0;
4438
  // Prevent compiler warnings about cached_has_bits being unused
4439
3.07k
  (void) cached_has_bits;
4440
4441
3.07k
  partitions_.Clear();
4442
3.07k
  cached_has_bits = _has_bits_[0];
4443
3.07k
  if (cached_has_bits & 255u) {
4444
0
    if (cached_has_bits & 0x00000001u) {
4445
0
      GOOGLE_DCHECK(!name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
4446
0
      (*name_.UnsafeRawStringPointer())->clear();
4447
0
    }
4448
0
    if (cached_has_bits & 0x00000002u) {
4449
0
      GOOGLE_DCHECK(!indexed_table_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
4450
0
      (*indexed_table_id_.UnsafeRawStringPointer())->clear();
4451
0
    }
4452
0
    if (cached_has_bits & 0x00000004u) {
4453
0
      GOOGLE_DCHECK(!creator_role_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
4454
0
      (*creator_role_name_.UnsafeRawStringPointer())->clear();
4455
0
    }
4456
0
    if (cached_has_bits & 0x00000008u) {
4457
0
      GOOGLE_DCHECK(!table_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
4458
0
      (*table_id_.UnsafeRawStringPointer())->clear();
4459
0
    }
4460
0
    if (cached_has_bits & 0x00000010u) {
4461
0
      GOOGLE_DCHECK(!tablegroup_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
4462
0
      (*tablegroup_id_.UnsafeRawStringPointer())->clear();
4463
0
    }
4464
0
    if (cached_has_bits & 0x00000020u) {
4465
0
      GOOGLE_DCHECK(!tablespace_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
4466
0
      (*tablespace_id_.UnsafeRawStringPointer())->clear();
4467
0
    }
4468
0
    if (cached_has_bits & 0x00000040u) {
4469
0
      GOOGLE_DCHECK(!matview_pg_table_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
4470
0
      (*matview_pg_table_id_.UnsafeRawStringPointer())->clear();
4471
0
    }
4472
0
    if (cached_has_bits & 0x00000080u) {
4473
0
      GOOGLE_DCHECK(schema_ != NULL);
4474
0
      schema_->Clear();
4475
0
    }
4476
0
  }
4477
3.07k
  if (cached_has_bits & 7936u) {
4478
0
    if (cached_has_bits & 0x00000100u) {
4479
0
      GOOGLE_DCHECK(partition_schema_ != NULL);
4480
0
      partition_schema_->Clear();
4481
0
    }
4482
0
    if (cached_has_bits & 0x00000200u) {
4483
0
      GOOGLE_DCHECK(replication_info_ != NULL);
4484
0
      replication_info_->Clear();
4485
0
    }
4486
0
    if (cached_has_bits & 0x00000400u) {
4487
0
      GOOGLE_DCHECK(namespace__ != NULL);
4488
0
      namespace__->Clear();
4489
0
    }
4490
0
    if (cached_has_bits & 0x00000800u) {
4491
0
      GOOGLE_DCHECK(index_info_ != NULL);
4492
0
      index_info_->Clear();
4493
0
    }
4494
0
    if (cached_has_bits & 0x00001000u) {
4495
0
      GOOGLE_DCHECK(transaction_ != NULL);
4496
0
      transaction_->Clear();
4497
0
    }
4498
0
  }
4499
3.07k
  if (cached_has_bits & 57344u) {
4500
0
    ::memset(&num_tablets_, 0, static_cast<size_t>(
4501
0
        reinterpret_cast<char*>(&is_pg_shared_table_) -
4502
0
        reinterpret_cast<char*>(&num_tablets_)) + sizeof(is_pg_shared_table_));
4503
0
  }
4504
3.07k
  if (cached_has_bits & 4128768u) {
4505
0
    ::memset(&is_local_index_, 0, static_cast<size_t>(
4506
0
        reinterpret_cast<char*>(&is_backfill_deferred_) -
4507
0
        reinterpret_cast<char*>(&is_local_index_)) + sizeof(is_backfill_deferred_));
4508
0
    table_type_ = 2;
4509
0
    colocated_ = true;
4510
0
  }
4511
3.07k
  _has_bits_.Clear();
4512
3.07k
  _internal_metadata_.Clear();
4513
3.07k
}
4514
4515
bool CreateTableRequestPB::MergePartialFromCodedStream(
4516
3.07k
    ::google::protobuf::io::CodedInputStream* input) {
4517
27.4k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
4518
3.07k
  ::google::protobuf::uint32 tag;
4519
  // @@protoc_insertion_point(parse_start:yb.master.CreateTableRequestPB)
4520
30.5k
  for (;;) {
4521
30.5k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u);
4522
30.5k
    tag = p.first;
4523
30.5k
    if (!p.second) goto handle_unusual;
4524
27.4k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4525
      // required string name = 1;
4526
3.07k
      case 1: {
4527
3.07k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4528
3.07k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4529
3.07k
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
4530
3.07k
                input, this->mutable_name()));
4531
3.07k
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
4532
3.07k
            this->name().data(), static_cast<int>(this->name().length()),
4533
3.07k
            ::google::protobuf::internal::WireFormat::PARSE,
4534
3.07k
            "yb.master.CreateTableRequestPB.name");
4535
0
        } else {
4536
0
          goto handle_unusual;
4537
0
        }
4538
3.07k
        break;
4539
3.07k
      }
4540
4541
      // optional .yb.SchemaPB schema = 2;
4542
3.07k
      case 2: {
4543
3.07k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4544
3.07k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
4545
3.07k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4546
3.07k
               input, mutable_schema()));
4547
0
        } else {
4548
0
          goto handle_unusual;
4549
0
        }
4550
3.07k
        break;
4551
3.07k
      }
4552
4553
      // optional int32 num_tablets = 3;
4554
2.93k
      case 3: {
4555
2.93k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4556
2.93k
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
4557
2.93k
          set_has_num_tablets();
4558
2.93k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4559
2.93k
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
4560
2.93k
                 input, &num_tablets_)));
4561
0
        } else {
4562
0
          goto handle_unusual;
4563
0
        }
4564
2.93k
        break;
4565
2.93k
      }
4566
4567
      // optional .yb.PartitionSchemaPB partition_schema = 5;
4568
2.93k
      case 5: {
4569
2.93k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4570
2.93k
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
4571
2.93k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4572
2.93k
               input, mutable_partition_schema()));
4573
1
        } else {
4574
1
          goto handle_unusual;
4575
1
        }
4576
2.93k
        break;
4577
2.93k
      }
4578
4579
      // optional .yb.master.ReplicationInfoPB replication_info = 6;
4580
0
      case 6: {
4581
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4582
0
            static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
4583
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4584
0
               input, mutable_replication_info()));
4585
0
        } else {
4586
0
          goto handle_unusual;
4587
0
        }
4588
0
        break;
4589
0
      }
4590
4591
      // optional .yb.TableType table_type = 7 [default = DEFAULT_TABLE_TYPE];
4592
3.07k
      case 7: {
4593
3.07k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4594
3.07k
            static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
4595
3.07k
          int value;
4596
3.07k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4597
3.07k
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
4598
3.07k
                 input, &value)));
4599
3.07k
          if (::yb::TableType_IsValid(value)) {
4600
3.07k
            set_table_type(static_cast< ::yb::TableType >(value));
4601
0
          } else {
4602
0
            mutable_unknown_fields()->AddVarint(
4603
0
                7, static_cast< ::google::protobuf::uint64>(value));
4604
0
          }
4605
0
        } else {
4606
0
          goto handle_unusual;
4607
0
        }
4608
3.07k
        break;
4609
3.07k
      }
4610
4611
      // optional .yb.master.NamespaceIdentifierPB namespace = 8;
4612
3.07k
      case 8: {
4613
3.07k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4614
3.07k
            static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
4615
3.07k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4616
3.07k
               input, mutable_namespace_()));
4617
0
        } else {
4618
0
          goto handle_unusual;
4619
0
        }
4620
3.07k
        break;
4621
3.07k
      }
4622
4623
      // optional bytes indexed_table_id = 9;
4624
548
      case 9: {
4625
548
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4626
548
            static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) {
4627
548
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
4628
548
                input, this->mutable_indexed_table_id()));
4629
0
        } else {
4630
0
          goto handle_unusual;
4631
0
        }
4632
548
        break;
4633
548
      }
4634
4635
      // optional bool is_local_index = 10 [default = false];
4636
547
      case 10: {
4637
547
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4638
547
            static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
4639
547
          set_has_is_local_index();
4640
547
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4641
547
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
4642
547
                 input, &is_local_index_)));
4643
0
        } else {
4644
0
          goto handle_unusual;
4645
0
        }
4646
547
        break;
4647
547
      }
4648
4649
      // optional bool is_unique_index = 11 [default = false];
4650
548
      case 11: {
4651
548
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4652
548
            static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) {
4653
548
          set_has_is_unique_index();
4654
548
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4655
548
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
4656
548
                 input, &is_unique_index_)));
4657
0
        } else {
4658
0
          goto handle_unusual;
4659
0
        }
4660
548
        break;
4661
548
      }
4662
4663
      // optional string creator_role_name = 12;
4664
242
      case 12: {
4665
242
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4666
242
            static_cast< ::google::protobuf::uint8>(98u /* 98 & 0xFF */)) {
4667
242
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
4668
242
                input, this->mutable_creator_role_name()));
4669
242
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
4670
242
            this->creator_role_name().data(), static_cast<int>(this->creator_role_name().length()),
4671
242
            ::google::protobuf::internal::WireFormat::PARSE,
4672
242
            "yb.master.CreateTableRequestPB.creator_role_name");
4673
0
        } else {
4674
0
          goto handle_unusual;
4675
0
        }
4676
242
        break;
4677
242
      }
4678
4679
      // optional bytes table_id = 13;
4680
1.43k
      case 13: {
4681
1.43k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4682
1.43k
            static_cast< ::google::protobuf::uint8>(106u /* 106 & 0xFF */)) {
4683
1.43k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
4684
1.43k
                input, this->mutable_table_id()));
4685
0
        } else {
4686
0
          goto handle_unusual;
4687
0
        }
4688
1.43k
        break;
4689
1.43k
      }
4690
4691
      // optional bool is_pg_catalog_table = 14 [default = false];
4692
0
      case 14: {
4693
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4694
0
            static_cast< ::google::protobuf::uint8>(112u /* 112 & 0xFF */)) {
4695
0
          set_has_is_pg_catalog_table();
4696
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4697
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
4698
0
                 input, &is_pg_catalog_table_)));
4699
0
        } else {
4700
0
          goto handle_unusual;
4701
0
        }
4702
0
        break;
4703
0
      }
4704
4705
      // optional bool is_pg_shared_table = 15 [default = false];
4706
0
      case 15: {
4707
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4708
0
            static_cast< ::google::protobuf::uint8>(120u /* 120 & 0xFF */)) {
4709
0
          set_has_is_pg_shared_table();
4710
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4711
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
4712
0
                 input, &is_pg_shared_table_)));
4713
0
        } else {
4714
0
          goto handle_unusual;
4715
0
        }
4716
0
        break;
4717
0
      }
4718
4719
      // optional .yb.IndexInfoPB index_info = 16;
4720
548
      case 16: {
4721
548
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4722
548
            static_cast< ::google::protobuf::uint8>(130u /* 130 & 0xFF */)) {
4723
548
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4724
548
               input, mutable_index_info()));
4725
0
        } else {
4726
0
          goto handle_unusual;
4727
0
        }
4728
548
        break;
4729
548
      }
4730
4731
      // optional bool colocated = 17 [default = true];
4732
2.93k
      case 17: {
4733
2.93k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4734
2.93k
            static_cast< ::google::protobuf::uint8>(136u /* 136 & 0xFF */)) {
4735
2.93k
          set_has_colocated();
4736
2.93k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4737
2.93k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
4738
2.93k
                 input, &colocated_)));
4739
0
        } else {
4740
0
          goto handle_unusual;
4741
0
        }
4742
2.93k
        break;
4743
2.93k
      }
4744
4745
      // optional bool skip_index_backfill = 18 [default = false];
4746
548
      case 18: {
4747
548
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4748
548
            static_cast< ::google::protobuf::uint8>(144u /* 144 & 0xFF */)) {
4749
548
          set_has_skip_index_backfill();
4750
548
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4751
548
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
4752
548
                 input, &skip_index_backfill_)));
4753
0
        } else {
4754
0
          goto handle_unusual;
4755
0
        }
4756
548
        break;
4757
548
      }
4758
4759
      // optional bytes tablegroup_id = 19;
4760
7
      case 19: {
4761
7
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4762
7
            static_cast< ::google::protobuf::uint8>(154u /* 154 & 0xFF */)) {
4763
7
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
4764
7
                input, this->mutable_tablegroup_id()));
4765
0
        } else {
4766
0
          goto handle_unusual;
4767
0
        }
4768
7
        break;
4769
7
      }
4770
4771
      // optional .yb.TransactionMetadataPB transaction = 20;
4772
1.41k
      case 20: {
4773
1.41k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4774
1.41k
            static_cast< ::google::protobuf::uint8>(162u /* 162 & 0xFF */)) {
4775
1.41k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4776
1.41k
               input, mutable_transaction()));
4777
0
        } else {
4778
0
          goto handle_unusual;
4779
0
        }
4780
1.41k
        break;
4781
1.41k
      }
4782
4783
      // optional bytes tablespace_id = 21;
4784
0
      case 21: {
4785
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4786
0
            static_cast< ::google::protobuf::uint8>(170u /* 170 & 0xFF */)) {
4787
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
4788
0
                input, this->mutable_tablespace_id()));
4789
0
        } else {
4790
0
          goto handle_unusual;
4791
0
        }
4792
0
        break;
4793
0
      }
4794
4795
      // repeated .yb.PartitionPB partitions = 22;
4796
0
      case 22: {
4797
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4798
0
            static_cast< ::google::protobuf::uint8>(178u /* 178 & 0xFF */)) {
4799
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_partitions()));
4800
0
        } else {
4801
0
          goto handle_unusual;
4802
0
        }
4803
0
        break;
4804
0
      }
4805
4806
      // optional bool is_backfill_deferred = 23 [default = false];
4807
548
      case 23: {
4808
548
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4809
548
            static_cast< ::google::protobuf::uint8>(184u /* 184 & 0xFF */)) {
4810
548
          set_has_is_backfill_deferred();
4811
548
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4812
548
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
4813
548
                 input, &is_backfill_deferred_)));
4814
0
        } else {
4815
0
          goto handle_unusual;
4816
0
        }
4817
548
        break;
4818
548
      }
4819
4820
      // optional bytes matview_pg_table_id = 24;
4821
0
      case 24: {
4822
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4823
0
            static_cast< ::google::protobuf::uint8>(194u /* 194 & 0xFF */)) {
4824
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
4825
0
                input, this->mutable_matview_pg_table_id()));
4826
0
        } else {
4827
0
          goto handle_unusual;
4828
0
        }
4829
0
        break;
4830
3.07k
      }
4831
4832
0
      default: {
4833
3.07k
      handle_unusual:
4834
3.07k
        if (tag == 0) {
4835
3.07k
          goto success;
4836
3.07k
        }
4837
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
4838
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
4839
0
        break;
4840
0
      }
4841
27.4k
    }
4842
27.4k
  }
4843
3.07k
success:
4844
  // @@protoc_insertion_point(parse_success:yb.master.CreateTableRequestPB)
4845
3.07k
  return true;
4846
0
failure:
4847
  // @@protoc_insertion_point(parse_failure:yb.master.CreateTableRequestPB)
4848
0
  return false;
4849
3.07k
#undef DO_
4850
3.07k
}
4851
4852
void CreateTableRequestPB::SerializeWithCachedSizes(
4853
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4854
  // @@protoc_insertion_point(serialize_start:yb.master.CreateTableRequestPB)
4855
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4856
0
  (void) cached_has_bits;
4857
4858
0
  cached_has_bits = _has_bits_[0];
4859
  // required string name = 1;
4860
0
  if (cached_has_bits & 0x00000001u) {
4861
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
4862
0
      this->name().data(), static_cast<int>(this->name().length()),
4863
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
4864
0
      "yb.master.CreateTableRequestPB.name");
4865
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
4866
0
      1, this->name(), output);
4867
0
  }
4868
4869
  // optional .yb.SchemaPB schema = 2;
4870
0
  if (cached_has_bits & 0x00000080u) {
4871
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4872
0
      2, *this->schema_, output);
4873
0
  }
4874
4875
  // optional int32 num_tablets = 3;
4876
0
  if (cached_has_bits & 0x00002000u) {
4877
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->num_tablets(), output);
4878
0
  }
4879
4880
  // optional .yb.PartitionSchemaPB partition_schema = 5;
4881
0
  if (cached_has_bits & 0x00000100u) {
4882
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4883
0
      5, *this->partition_schema_, output);
4884
0
  }
4885
4886
  // optional .yb.master.ReplicationInfoPB replication_info = 6;
4887
0
  if (cached_has_bits & 0x00000200u) {
4888
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4889
0
      6, *this->replication_info_, output);
4890
0
  }
4891
4892
  // optional .yb.TableType table_type = 7 [default = DEFAULT_TABLE_TYPE];
4893
0
  if (cached_has_bits & 0x00100000u) {
4894
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
4895
0
      7, this->table_type(), output);
4896
0
  }
4897
4898
  // optional .yb.master.NamespaceIdentifierPB namespace = 8;
4899
0
  if (cached_has_bits & 0x00000400u) {
4900
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4901
0
      8, *this->namespace__, output);
4902
0
  }
4903
4904
  // optional bytes indexed_table_id = 9;
4905
0
  if (cached_has_bits & 0x00000002u) {
4906
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4907
0
      9, this->indexed_table_id(), output);
4908
0
  }
4909
4910
  // optional bool is_local_index = 10 [default = false];
4911
0
  if (cached_has_bits & 0x00010000u) {
4912
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->is_local_index(), output);
4913
0
  }
4914
4915
  // optional bool is_unique_index = 11 [default = false];
4916
0
  if (cached_has_bits & 0x00020000u) {
4917
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(11, this->is_unique_index(), output);
4918
0
  }
4919
4920
  // optional string creator_role_name = 12;
4921
0
  if (cached_has_bits & 0x00000004u) {
4922
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
4923
0
      this->creator_role_name().data(), static_cast<int>(this->creator_role_name().length()),
4924
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
4925
0
      "yb.master.CreateTableRequestPB.creator_role_name");
4926
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
4927
0
      12, this->creator_role_name(), output);
4928
0
  }
4929
4930
  // optional bytes table_id = 13;
4931
0
  if (cached_has_bits & 0x00000008u) {
4932
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4933
0
      13, this->table_id(), output);
4934
0
  }
4935
4936
  // optional bool is_pg_catalog_table = 14 [default = false];
4937
0
  if (cached_has_bits & 0x00004000u) {
4938
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(14, this->is_pg_catalog_table(), output);
4939
0
  }
4940
4941
  // optional bool is_pg_shared_table = 15 [default = false];
4942
0
  if (cached_has_bits & 0x00008000u) {
4943
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(15, this->is_pg_shared_table(), output);
4944
0
  }
4945
4946
  // optional .yb.IndexInfoPB index_info = 16;
4947
0
  if (cached_has_bits & 0x00000800u) {
4948
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4949
0
      16, *this->index_info_, output);
4950
0
  }
4951
4952
  // optional bool colocated = 17 [default = true];
4953
0
  if (cached_has_bits & 0x00200000u) {
4954
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(17, this->colocated(), output);
4955
0
  }
4956
4957
  // optional bool skip_index_backfill = 18 [default = false];
4958
0
  if (cached_has_bits & 0x00040000u) {
4959
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(18, this->skip_index_backfill(), output);
4960
0
  }
4961
4962
  // optional bytes tablegroup_id = 19;
4963
0
  if (cached_has_bits & 0x00000010u) {
4964
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4965
0
      19, this->tablegroup_id(), output);
4966
0
  }
4967
4968
  // optional .yb.TransactionMetadataPB transaction = 20;
4969
0
  if (cached_has_bits & 0x00001000u) {
4970
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4971
0
      20, *this->transaction_, output);
4972
0
  }
4973
4974
  // optional bytes tablespace_id = 21;
4975
0
  if (cached_has_bits & 0x00000020u) {
4976
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4977
0
      21, this->tablespace_id(), output);
4978
0
  }
4979
4980
  // repeated .yb.PartitionPB partitions = 22;
4981
0
  for (unsigned int i = 0,
4982
0
      n = static_cast<unsigned int>(this->partitions_size()); i < n; i++) {
4983
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4984
0
      22, this->partitions(static_cast<int>(i)), output);
4985
0
  }
4986
4987
  // optional bool is_backfill_deferred = 23 [default = false];
4988
0
  if (cached_has_bits & 0x00080000u) {
4989
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(23, this->is_backfill_deferred(), output);
4990
0
  }
4991
4992
  // optional bytes matview_pg_table_id = 24;
4993
0
  if (cached_has_bits & 0x00000040u) {
4994
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4995
0
      24, this->matview_pg_table_id(), output);
4996
0
  }
4997
4998
0
  if (_internal_metadata_.have_unknown_fields()) {
4999
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5000
0
        _internal_metadata_.unknown_fields(), output);
5001
0
  }
5002
  // @@protoc_insertion_point(serialize_end:yb.master.CreateTableRequestPB)
5003
0
}
5004
5005
::google::protobuf::uint8* CreateTableRequestPB::InternalSerializeWithCachedSizesToArray(
5006
2.93k
    bool deterministic, ::google::protobuf::uint8* target) const {
5007
2.93k
  (void)deterministic; // Unused
5008
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.CreateTableRequestPB)
5009
2.93k
  ::google::protobuf::uint32 cached_has_bits = 0;
5010
2.93k
  (void) cached_has_bits;
5011
5012
2.93k
  cached_has_bits = _has_bits_[0];
5013
  // required string name = 1;
5014
2.93k
  if (cached_has_bits & 0x00000001u) {
5015
2.93k
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
5016
2.93k
      this->name().data(), static_cast<int>(this->name().length()),
5017
2.93k
      ::google::protobuf::internal::WireFormat::SERIALIZE,
5018
2.93k
      "yb.master.CreateTableRequestPB.name");
5019
2.93k
    target =
5020
2.93k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
5021
2.93k
        1, this->name(), target);
5022
2.93k
  }
5023
5024
  // optional .yb.SchemaPB schema = 2;
5025
2.93k
  if (cached_has_bits & 0x00000080u) {
5026
2.93k
    target = ::google::protobuf::internal::WireFormatLite::
5027
2.93k
      InternalWriteMessageToArray(
5028
2.93k
        2, *this->schema_, deterministic, target);
5029
2.93k
  }
5030
5031
  // optional int32 num_tablets = 3;
5032
2.93k
  if (cached_has_bits & 0x00002000u) {
5033
2.93k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->num_tablets(), target);
5034
2.93k
  }
5035
5036
  // optional .yb.PartitionSchemaPB partition_schema = 5;
5037
2.93k
  if (cached_has_bits & 0x00000100u) {
5038
2.93k
    target = ::google::protobuf::internal::WireFormatLite::
5039
2.93k
      InternalWriteMessageToArray(
5040
2.93k
        5, *this->partition_schema_, deterministic, target);
5041
2.93k
  }
5042
5043
  // optional .yb.master.ReplicationInfoPB replication_info = 6;
5044
2.93k
  if (cached_has_bits & 0x00000200u) {
5045
0
    target = ::google::protobuf::internal::WireFormatLite::
5046
0
      InternalWriteMessageToArray(
5047
0
        6, *this->replication_info_, deterministic, target);
5048
0
  }
5049
5050
  // optional .yb.TableType table_type = 7 [default = DEFAULT_TABLE_TYPE];
5051
2.93k
  if (cached_has_bits & 0x00100000u) {
5052
2.93k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
5053
2.93k
      7, this->table_type(), target);
5054
2.93k
  }
5055
5056
  // optional .yb.master.NamespaceIdentifierPB namespace = 8;
5057
2.93k
  if (cached_has_bits & 0x00000400u) {
5058
2.93k
    target = ::google::protobuf::internal::WireFormatLite::
5059
2.93k
      InternalWriteMessageToArray(
5060
2.93k
        8, *this->namespace__, deterministic, target);
5061
2.93k
  }
5062
5063
  // optional bytes indexed_table_id = 9;
5064
2.93k
  if (cached_has_bits & 0x00000002u) {
5065
548
    target =
5066
548
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
5067
548
        9, this->indexed_table_id(), target);
5068
548
  }
5069
5070
  // optional bool is_local_index = 10 [default = false];
5071
2.93k
  if (cached_has_bits & 0x00010000u) {
5072
548
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(10, this->is_local_index(), target);
5073
548
  }
5074
5075
  // optional bool is_unique_index = 11 [default = false];
5076
2.93k
  if (cached_has_bits & 0x00020000u) {
5077
548
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(11, this->is_unique_index(), target);
5078
548
  }
5079
5080
  // optional string creator_role_name = 12;
5081
2.93k
  if (cached_has_bits & 0x00000004u) {
5082
242
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
5083
242
      this->creator_role_name().data(), static_cast<int>(this->creator_role_name().length()),
5084
242
      ::google::protobuf::internal::WireFormat::SERIALIZE,
5085
242
      "yb.master.CreateTableRequestPB.creator_role_name");
5086
242
    target =
5087
242
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
5088
242
        12, this->creator_role_name(), target);
5089
242
  }
5090
5091
  // optional bytes table_id = 13;
5092
2.93k
  if (cached_has_bits & 0x00000008u) {
5093
1.43k
    target =
5094
1.43k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
5095
1.43k
        13, this->table_id(), target);
5096
1.43k
  }
5097
5098
  // optional bool is_pg_catalog_table = 14 [default = false];
5099
2.93k
  if (cached_has_bits & 0x00004000u) {
5100
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(14, this->is_pg_catalog_table(), target);
5101
0
  }
5102
5103
  // optional bool is_pg_shared_table = 15 [default = false];
5104
2.93k
  if (cached_has_bits & 0x00008000u) {
5105
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(15, this->is_pg_shared_table(), target);
5106
0
  }
5107
5108
  // optional .yb.IndexInfoPB index_info = 16;
5109
2.93k
  if (cached_has_bits & 0x00000800u) {
5110
548
    target = ::google::protobuf::internal::WireFormatLite::
5111
548
      InternalWriteMessageToArray(
5112
548
        16, *this->index_info_, deterministic, target);
5113
548
  }
5114
5115
  // optional bool colocated = 17 [default = true];
5116
2.93k
  if (cached_has_bits & 0x00200000u) {
5117
2.93k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(17, this->colocated(), target);
5118
2.93k
  }
5119
5120
  // optional bool skip_index_backfill = 18 [default = false];
5121
2.93k
  if (cached_has_bits & 0x00040000u) {
5122
548
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(18, this->skip_index_backfill(), target);
5123
548
  }
5124
5125
  // optional bytes tablegroup_id = 19;
5126
2.93k
  if (cached_has_bits & 0x00000010u) {
5127
7
    target =
5128
7
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
5129
7
        19, this->tablegroup_id(), target);
5130
7
  }
5131
5132
  // optional .yb.TransactionMetadataPB transaction = 20;
5133
2.93k
  if (cached_has_bits & 0x00001000u) {
5134
1.41k
    target = ::google::protobuf::internal::WireFormatLite::
5135
1.41k
      InternalWriteMessageToArray(
5136
1.41k
        20, *this->transaction_, deterministic, target);
5137
1.41k
  }
5138
5139
  // optional bytes tablespace_id = 21;
5140
2.93k
  if (cached_has_bits & 0x00000020u) {
5141
0
    target =
5142
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
5143
0
        21, this->tablespace_id(), target);
5144
0
  }
5145
5146
  // repeated .yb.PartitionPB partitions = 22;
5147
2.93k
  for (unsigned int i = 0,
5148
2.93k
      n = static_cast<unsigned int>(this->partitions_size()); i < n; i++) {
5149
0
    target = ::google::protobuf::internal::WireFormatLite::
5150
0
      InternalWriteMessageToArray(
5151
0
        22, this->partitions(static_cast<int>(i)), deterministic, target);
5152
0
  }
5153
5154
  // optional bool is_backfill_deferred = 23 [default = false];
5155
2.93k
  if (cached_has_bits & 0x00080000u) {
5156
548
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(23, this->is_backfill_deferred(), target);
5157
548
  }
5158
5159
  // optional bytes matview_pg_table_id = 24;
5160
2.93k
  if (cached_has_bits & 0x00000040u) {
5161
0
    target =
5162
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
5163
0
        24, this->matview_pg_table_id(), target);
5164
0
  }
5165
5166
2.93k
  if (_internal_metadata_.have_unknown_fields()) {
5167
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5168
0
        _internal_metadata_.unknown_fields(), target);
5169
0
  }
5170
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.CreateTableRequestPB)
5171
2.93k
  return target;
5172
2.93k
}
5173
5174
5.87k
size_t CreateTableRequestPB::ByteSizeLong() const {
5175
// @@protoc_insertion_point(message_byte_size_start:yb.master.CreateTableRequestPB)
5176
5.87k
  size_t total_size = 0;
5177
5178
5.87k
  if (_internal_metadata_.have_unknown_fields()) {
5179
0
    total_size +=
5180
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5181
0
        _internal_metadata_.unknown_fields());
5182
0
  }
5183
  // required string name = 1;
5184
5.87k
  if (has_name()) {
5185
5.87k
    total_size += 1 +
5186
5.87k
      ::google::protobuf::internal::WireFormatLite::StringSize(
5187
5.87k
        this->name());
5188
5.87k
  }
5189
  // repeated .yb.PartitionPB partitions = 22;
5190
5.87k
  {
5191
5.87k
    unsigned int count = static_cast<unsigned int>(this->partitions_size());
5192
5.87k
    total_size += 2UL * count;
5193
5.87k
    for (unsigned int i = 0; i < count; i++) {
5194
0
      total_size +=
5195
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
5196
0
          this->partitions(static_cast<int>(i)));
5197
0
    }
5198
5.87k
  }
5199
5200
5.87k
  if (_has_bits_[0 / 32] & 254u) {
5201
    // optional bytes indexed_table_id = 9;
5202
5.87k
    if (has_indexed_table_id()) {
5203
1.09k
      total_size += 1 +
5204
1.09k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
5205
1.09k
          this->indexed_table_id());
5206
1.09k
    }
5207
5208
    // optional string creator_role_name = 12;
5209
5.87k
    if (has_creator_role_name()) {
5210
484
      total_size += 1 +
5211
484
        ::google::protobuf::internal::WireFormatLite::StringSize(
5212
484
          this->creator_role_name());
5213
484
    }
5214
5215
    // optional bytes table_id = 13;
5216
5.87k
    if (has_table_id()) {
5217
2.87k
      total_size += 1 +
5218
2.87k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
5219
2.87k
          this->table_id());
5220
2.87k
    }
5221
5222
    // optional bytes tablegroup_id = 19;
5223
5.87k
    if (has_tablegroup_id()) {
5224
14
      total_size += 2 +
5225
14
        ::google::protobuf::internal::WireFormatLite::BytesSize(
5226
14
          this->tablegroup_id());
5227
14
    }
5228
5229
    // optional bytes tablespace_id = 21;
5230
5.87k
    if (has_tablespace_id()) {
5231
0
      total_size += 2 +
5232
0
        ::google::protobuf::internal::WireFormatLite::BytesSize(
5233
0
          this->tablespace_id());
5234
0
    }
5235
5236
    // optional bytes matview_pg_table_id = 24;
5237
5.87k
    if (has_matview_pg_table_id()) {
5238
0
      total_size += 2 +
5239
0
        ::google::protobuf::internal::WireFormatLite::BytesSize(
5240
0
          this->matview_pg_table_id());
5241
0
    }
5242
5243
    // optional .yb.SchemaPB schema = 2;
5244
5.87k
    if (has_schema()) {
5245
5.87k
      total_size += 1 +
5246
5.87k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
5247
5.87k
          *this->schema_);
5248
5.87k
    }
5249
5250
5.87k
  }
5251
5.87k
  if (_has_bits_[8 / 32] & 65280u) {
5252
    // optional .yb.PartitionSchemaPB partition_schema = 5;
5253
5.87k
    if (has_partition_schema()) {
5254
5.87k
      total_size += 1 +
5255
5.87k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
5256
5.87k
          *this->partition_schema_);
5257
5.87k
    }
5258
5259
    // optional .yb.master.ReplicationInfoPB replication_info = 6;
5260
5.87k
    if (has_replication_info()) {
5261
0
      total_size += 1 +
5262
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
5263
0
          *this->replication_info_);
5264
0
    }
5265
5266
    // optional .yb.master.NamespaceIdentifierPB namespace = 8;
5267
5.87k
    if (has_namespace_()) {
5268
5.87k
      total_size += 1 +
5269
5.87k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
5270
5.87k
          *this->namespace__);
5271
5.87k
    }
5272
5273
    // optional .yb.IndexInfoPB index_info = 16;
5274
5.87k
    if (has_index_info()) {
5275
1.09k
      total_size += 2 +
5276
1.09k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
5277
1.09k
          *this->index_info_);
5278
1.09k
    }
5279
5280
    // optional .yb.TransactionMetadataPB transaction = 20;
5281
5.87k
    if (has_transaction()) {
5282
2.83k
      total_size += 2 +
5283
2.83k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
5284
2.83k
          *this->transaction_);
5285
2.83k
    }
5286
5287
    // optional int32 num_tablets = 3;
5288
5.87k
    if (has_num_tablets()) {
5289
5.87k
      total_size += 1 +
5290
5.87k
        ::google::protobuf::internal::WireFormatLite::Int32Size(
5291
5.87k
          this->num_tablets());
5292
5.87k
    }
5293
5294
    // optional bool is_pg_catalog_table = 14 [default = false];
5295
5.87k
    if (has_is_pg_catalog_table()) {
5296
0
      total_size += 1 + 1;
5297
0
    }
5298
5299
    // optional bool is_pg_shared_table = 15 [default = false];
5300
5.87k
    if (has_is_pg_shared_table()) {
5301
0
      total_size += 1 + 1;
5302
0
    }
5303
5304
5.87k
  }
5305
5.87k
  if (_has_bits_[16 / 32] & 4128768u) {
5306
    // optional bool is_local_index = 10 [default = false];
5307
5.87k
    if (has_is_local_index()) {
5308
1.09k
      total_size += 1 + 1;
5309
1.09k
    }
5310
5311
    // optional bool is_unique_index = 11 [default = false];
5312
5.87k
    if (has_is_unique_index()) {
5313
1.09k
      total_size += 1 + 1;
5314
1.09k
    }
5315
5316
    // optional bool skip_index_backfill = 18 [default = false];
5317
5.87k
    if (has_skip_index_backfill()) {
5318
1.09k
      total_size += 2 + 1;
5319
1.09k
    }
5320
5321
    // optional bool is_backfill_deferred = 23 [default = false];
5322
5.87k
    if (has_is_backfill_deferred()) {
5323
1.09k
      total_size += 2 + 1;
5324
1.09k
    }
5325
5326
    // optional .yb.TableType table_type = 7 [default = DEFAULT_TABLE_TYPE];
5327
5.87k
    if (has_table_type()) {
5328
5.87k
      total_size += 1 +
5329
5.87k
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->table_type());
5330
5.87k
    }
5331
5332
    // optional bool colocated = 17 [default = true];
5333
5.87k
    if (has_colocated()) {
5334
5.87k
      total_size += 2 + 1;
5335
5.87k
    }
5336
5337
5.87k
  }
5338
5.87k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5339
5.87k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5340
5.87k
  _cached_size_ = cached_size;
5341
5.87k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5342
5.87k
  return total_size;
5343
5.87k
}
5344
5345
0
void CreateTableRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
5346
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.CreateTableRequestPB)
5347
0
  GOOGLE_DCHECK_NE(&from, this);
5348
0
  const CreateTableRequestPB* source =
5349
0
      ::google::protobuf::internal::DynamicCastToGenerated<const CreateTableRequestPB>(
5350
0
          &from);
5351
0
  if (source == NULL) {
5352
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.CreateTableRequestPB)
5353
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5354
0
  } else {
5355
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.CreateTableRequestPB)
5356
0
    MergeFrom(*source);
5357
0
  }
5358
0
}
5359
5360
0
void CreateTableRequestPB::MergeFrom(const CreateTableRequestPB& from) {
5361
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.CreateTableRequestPB)
5362
0
  GOOGLE_DCHECK_NE(&from, this);
5363
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5364
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5365
0
  (void) cached_has_bits;
5366
5367
0
  partitions_.MergeFrom(from.partitions_);
5368
0
  cached_has_bits = from._has_bits_[0];
5369
0
  if (cached_has_bits & 255u) {
5370
0
    if (cached_has_bits & 0x00000001u) {
5371
0
      set_has_name();
5372
0
      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
5373
0
    }
5374
0
    if (cached_has_bits & 0x00000002u) {
5375
0
      set_has_indexed_table_id();
5376
0
      indexed_table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.indexed_table_id_);
5377
0
    }
5378
0
    if (cached_has_bits & 0x00000004u) {
5379
0
      set_has_creator_role_name();
5380
0
      creator_role_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.creator_role_name_);
5381
0
    }
5382
0
    if (cached_has_bits & 0x00000008u) {
5383
0
      set_has_table_id();
5384
0
      table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_id_);
5385
0
    }
5386
0
    if (cached_has_bits & 0x00000010u) {
5387
0
      set_has_tablegroup_id();
5388
0
      tablegroup_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablegroup_id_);
5389
0
    }
5390
0
    if (cached_has_bits & 0x00000020u) {
5391
0
      set_has_tablespace_id();
5392
0
      tablespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablespace_id_);
5393
0
    }
5394
0
    if (cached_has_bits & 0x00000040u) {
5395
0
      set_has_matview_pg_table_id();
5396
0
      matview_pg_table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.matview_pg_table_id_);
5397
0
    }
5398
0
    if (cached_has_bits & 0x00000080u) {
5399
0
      mutable_schema()->::yb::SchemaPB::MergeFrom(from.schema());
5400
0
    }
5401
0
  }
5402
0
  if (cached_has_bits & 65280u) {
5403
0
    if (cached_has_bits & 0x00000100u) {
5404
0
      mutable_partition_schema()->::yb::PartitionSchemaPB::MergeFrom(from.partition_schema());
5405
0
    }
5406
0
    if (cached_has_bits & 0x00000200u) {
5407
0
      mutable_replication_info()->::yb::master::ReplicationInfoPB::MergeFrom(from.replication_info());
5408
0
    }
5409
0
    if (cached_has_bits & 0x00000400u) {
5410
0
      mutable_namespace_()->::yb::master::NamespaceIdentifierPB::MergeFrom(from.namespace_());
5411
0
    }
5412
0
    if (cached_has_bits & 0x00000800u) {
5413
0
      mutable_index_info()->::yb::IndexInfoPB::MergeFrom(from.index_info());
5414
0
    }
5415
0
    if (cached_has_bits & 0x00001000u) {
5416
0
      mutable_transaction()->::yb::TransactionMetadataPB::MergeFrom(from.transaction());
5417
0
    }
5418
0
    if (cached_has_bits & 0x00002000u) {
5419
0
      num_tablets_ = from.num_tablets_;
5420
0
    }
5421
0
    if (cached_has_bits & 0x00004000u) {
5422
0
      is_pg_catalog_table_ = from.is_pg_catalog_table_;
5423
0
    }
5424
0
    if (cached_has_bits & 0x00008000u) {
5425
0
      is_pg_shared_table_ = from.is_pg_shared_table_;
5426
0
    }
5427
0
    _has_bits_[0] |= cached_has_bits;
5428
0
  }
5429
0
  if (cached_has_bits & 4128768u) {
5430
0
    if (cached_has_bits & 0x00010000u) {
5431
0
      is_local_index_ = from.is_local_index_;
5432
0
    }
5433
0
    if (cached_has_bits & 0x00020000u) {
5434
0
      is_unique_index_ = from.is_unique_index_;
5435
0
    }
5436
0
    if (cached_has_bits & 0x00040000u) {
5437
0
      skip_index_backfill_ = from.skip_index_backfill_;
5438
0
    }
5439
0
    if (cached_has_bits & 0x00080000u) {
5440
0
      is_backfill_deferred_ = from.is_backfill_deferred_;
5441
0
    }
5442
0
    if (cached_has_bits & 0x00100000u) {
5443
0
      table_type_ = from.table_type_;
5444
0
    }
5445
0
    if (cached_has_bits & 0x00200000u) {
5446
0
      colocated_ = from.colocated_;
5447
0
    }
5448
0
    _has_bits_[0] |= cached_has_bits;
5449
0
  }
5450
0
}
5451
5452
0
void CreateTableRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
5453
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.CreateTableRequestPB)
5454
0
  if (&from == this) return;
5455
0
  Clear();
5456
0
  MergeFrom(from);
5457
0
}
5458
5459
0
void CreateTableRequestPB::CopyFrom(const CreateTableRequestPB& from) {
5460
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.CreateTableRequestPB)
5461
0
  if (&from == this) return;
5462
0
  Clear();
5463
0
  MergeFrom(from);
5464
0
}
5465
5466
6.59k
bool CreateTableRequestPB::IsInitialized() const {
5467
6.59k
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
5468
6.59k
  if (has_schema()) {
5469
6.59k
    if (!this->schema_->IsInitialized()) return false;
5470
6.59k
  }
5471
6.59k
  if (has_partition_schema()) {
5472
6.45k
    if (!this->partition_schema_->IsInitialized()) return false;
5473
6.59k
  }
5474
6.59k
  if (has_index_info()) {
5475
1.18k
    if (!this->index_info_->IsInitialized()) return false;
5476
6.59k
  }
5477
6.59k
  return true;
5478
6.59k
}
5479
5480
0
void CreateTableRequestPB::Swap(CreateTableRequestPB* other) {
5481
0
  if (other == this) return;
5482
0
  InternalSwap(other);
5483
0
}
5484
0
void CreateTableRequestPB::InternalSwap(CreateTableRequestPB* other) {
5485
0
  using std::swap;
5486
0
  partitions_.InternalSwap(&other->partitions_);
5487
0
  name_.Swap(&other->name_);
5488
0
  indexed_table_id_.Swap(&other->indexed_table_id_);
5489
0
  creator_role_name_.Swap(&other->creator_role_name_);
5490
0
  table_id_.Swap(&other->table_id_);
5491
0
  tablegroup_id_.Swap(&other->tablegroup_id_);
5492
0
  tablespace_id_.Swap(&other->tablespace_id_);
5493
0
  matview_pg_table_id_.Swap(&other->matview_pg_table_id_);
5494
0
  swap(schema_, other->schema_);
5495
0
  swap(partition_schema_, other->partition_schema_);
5496
0
  swap(replication_info_, other->replication_info_);
5497
0
  swap(namespace__, other->namespace__);
5498
0
  swap(index_info_, other->index_info_);
5499
0
  swap(transaction_, other->transaction_);
5500
0
  swap(num_tablets_, other->num_tablets_);
5501
0
  swap(is_pg_catalog_table_, other->is_pg_catalog_table_);
5502
0
  swap(is_pg_shared_table_, other->is_pg_shared_table_);
5503
0
  swap(is_local_index_, other->is_local_index_);
5504
0
  swap(is_unique_index_, other->is_unique_index_);
5505
0
  swap(skip_index_backfill_, other->skip_index_backfill_);
5506
0
  swap(is_backfill_deferred_, other->is_backfill_deferred_);
5507
0
  swap(table_type_, other->table_type_);
5508
0
  swap(colocated_, other->colocated_);
5509
0
  swap(_has_bits_[0], other->_has_bits_[0]);
5510
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
5511
0
  swap(_cached_size_, other->_cached_size_);
5512
0
}
5513
5514
11.4k
::google::protobuf::Metadata CreateTableRequestPB::GetMetadata() const {
5515
11.4k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
5516
11.4k
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
5517
11.4k
}
5518
5519
5520
// ===================================================================
5521
5522
15.8k
void CreateTableResponsePB::InitAsDefaultInstance() {
5523
15.8k
  ::yb::master::_CreateTableResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
5524
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
5525
15.8k
}
5526
0
void CreateTableResponsePB::clear_error() {
5527
0
  if (error_ != NULL) error_->Clear();
5528
0
  clear_has_error();
5529
0
}
5530
#if !defined(_MSC_VER) || _MSC_VER >= 1900
5531
const int CreateTableResponsePB::kErrorFieldNumber;
5532
const int CreateTableResponsePB::kTableIdFieldNumber;
5533
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
5534
5535
CreateTableResponsePB::CreateTableResponsePB()
5536
25.7k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
5537
9.94k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
5538
9.94k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsCreateTableResponsePB();
5539
9.94k
  }
5540
25.7k
  SharedCtor();
5541
  // @@protoc_insertion_point(constructor:yb.master.CreateTableResponsePB)
5542
25.7k
}
5543
CreateTableResponsePB::CreateTableResponsePB(const CreateTableResponsePB& from)
5544
  : ::google::protobuf::Message(),
5545
      _internal_metadata_(NULL),
5546
      _has_bits_(from._has_bits_),
5547
0
      _cached_size_(0) {
5548
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5549
0
  table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5550
0
  if (from.has_table_id()) {
5551
0
    table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_id_);
5552
0
  }
5553
0
  if (from.has_error()) {
5554
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
5555
0
  } else {
5556
0
    error_ = NULL;
5557
0
  }
5558
  // @@protoc_insertion_point(copy_constructor:yb.master.CreateTableResponsePB)
5559
0
}
5560
5561
25.7k
void CreateTableResponsePB::SharedCtor() {
5562
25.7k
  _cached_size_ = 0;
5563
25.7k
  table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5564
25.7k
  error_ = NULL;
5565
25.7k
}
5566
5567
9.94k
CreateTableResponsePB::~CreateTableResponsePB() {
5568
  // @@protoc_insertion_point(destructor:yb.master.CreateTableResponsePB)
5569
9.94k
  SharedDtor();
5570
9.94k
}
5571
5572
9.94k
void CreateTableResponsePB::SharedDtor() {
5573
9.94k
  table_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5574
9.94k
  if (this != internal_default_instance()) delete error_;
5575
9.94k
}
5576
5577
0
void CreateTableResponsePB::SetCachedSize(int size) const {
5578
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5579
0
  _cached_size_ = size;
5580
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5581
0
}
5582
0
const ::google::protobuf::Descriptor* CreateTableResponsePB::descriptor() {
5583
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
5584
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
5585
0
}
5586
5587
0
const CreateTableResponsePB& CreateTableResponsePB::default_instance() {
5588
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsCreateTableResponsePB();
5589
0
  return *internal_default_instance();
5590
0
}
5591
5592
0
CreateTableResponsePB* CreateTableResponsePB::New(::google::protobuf::Arena* arena) const {
5593
0
  CreateTableResponsePB* n = new CreateTableResponsePB;
5594
0
  if (arena != NULL) {
5595
0
    arena->Own(n);
5596
0
  }
5597
0
  return n;
5598
0
}
5599
5600
3.22k
void CreateTableResponsePB::Clear() {
5601
// @@protoc_insertion_point(message_clear_start:yb.master.CreateTableResponsePB)
5602
3.22k
  ::google::protobuf::uint32 cached_has_bits = 0;
5603
  // Prevent compiler warnings about cached_has_bits being unused
5604
3.22k
  (void) cached_has_bits;
5605
5606
3.22k
  cached_has_bits = _has_bits_[0];
5607
3.22k
  if (cached_has_bits & 3u) {
5608
0
    if (cached_has_bits & 0x00000001u) {
5609
0
      GOOGLE_DCHECK(!table_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
5610
0
      (*table_id_.UnsafeRawStringPointer())->clear();
5611
0
    }
5612
0
    if (cached_has_bits & 0x00000002u) {
5613
0
      GOOGLE_DCHECK(error_ != NULL);
5614
0
      error_->Clear();
5615
0
    }
5616
0
  }
5617
3.22k
  _has_bits_.Clear();
5618
3.22k
  _internal_metadata_.Clear();
5619
3.22k
}
5620
5621
bool CreateTableResponsePB::MergePartialFromCodedStream(
5622
3.22k
    ::google::protobuf::io::CodedInputStream* input) {
5623
3.23k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
5624
3.22k
  ::google::protobuf::uint32 tag;
5625
  // @@protoc_insertion_point(parse_start:yb.master.CreateTableResponsePB)
5626
6.46k
  for (;;) {
5627
6.46k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5628
6.46k
    tag = p.first;
5629
6.46k
    if (!p.second) goto handle_unusual;
5630
3.23k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5631
      // optional .yb.master.MasterErrorPB error = 1;
5632
20
      case 1: {
5633
20
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5634
20
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
5635
20
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5636
20
               input, mutable_error()));
5637
0
        } else {
5638
0
          goto handle_unusual;
5639
0
        }
5640
20
        break;
5641
20
      }
5642
5643
      // optional bytes table_id = 2;
5644
3.21k
      case 2: {
5645
3.21k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5646
3.21k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
5647
3.21k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
5648
3.21k
                input, this->mutable_table_id()));
5649
0
        } else {
5650
0
          goto handle_unusual;
5651
0
        }
5652
3.21k
        break;
5653
3.22k
      }
5654
5655
0
      default: {
5656
3.22k
      handle_unusual:
5657
3.22k
        if (tag == 0) {
5658
3.22k
          goto success;
5659
3.22k
        }
5660
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
5661
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
5662
0
        break;
5663
0
      }
5664
3.23k
    }
5665
3.23k
  }
5666
3.22k
success:
5667
  // @@protoc_insertion_point(parse_success:yb.master.CreateTableResponsePB)
5668
3.22k
  return true;
5669
0
failure:
5670
  // @@protoc_insertion_point(parse_failure:yb.master.CreateTableResponsePB)
5671
0
  return false;
5672
3.22k
#undef DO_
5673
3.22k
}
5674
5675
void CreateTableResponsePB::SerializeWithCachedSizes(
5676
0
    ::google::protobuf::io::CodedOutputStream* output) const {
5677
  // @@protoc_insertion_point(serialize_start:yb.master.CreateTableResponsePB)
5678
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5679
0
  (void) cached_has_bits;
5680
5681
0
  cached_has_bits = _has_bits_[0];
5682
  // optional .yb.master.MasterErrorPB error = 1;
5683
0
  if (cached_has_bits & 0x00000002u) {
5684
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5685
0
      1, *this->error_, output);
5686
0
  }
5687
5688
  // optional bytes table_id = 2;
5689
0
  if (cached_has_bits & 0x00000001u) {
5690
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
5691
0
      2, this->table_id(), output);
5692
0
  }
5693
5694
0
  if (_internal_metadata_.have_unknown_fields()) {
5695
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5696
0
        _internal_metadata_.unknown_fields(), output);
5697
0
  }
5698
  // @@protoc_insertion_point(serialize_end:yb.master.CreateTableResponsePB)
5699
0
}
5700
5701
::google::protobuf::uint8* CreateTableResponsePB::InternalSerializeWithCachedSizesToArray(
5702
3.36k
    bool deterministic, ::google::protobuf::uint8* target) const {
5703
3.36k
  (void)deterministic; // Unused
5704
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.CreateTableResponsePB)
5705
3.36k
  ::google::protobuf::uint32 cached_has_bits = 0;
5706
3.36k
  (void) cached_has_bits;
5707
5708
3.36k
  cached_has_bits = _has_bits_[0];
5709
  // optional .yb.master.MasterErrorPB error = 1;
5710
3.36k
  if (cached_has_bits & 0x00000002u) {
5711
20
    target = ::google::protobuf::internal::WireFormatLite::
5712
20
      InternalWriteMessageToArray(
5713
20
        1, *this->error_, deterministic, target);
5714
20
  }
5715
5716
  // optional bytes table_id = 2;
5717
3.36k
  if (cached_has_bits & 0x00000001u) {
5718
3.35k
    target =
5719
3.35k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
5720
3.35k
        2, this->table_id(), target);
5721
3.35k
  }
5722
5723
3.36k
  if (_internal_metadata_.have_unknown_fields()) {
5724
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5725
0
        _internal_metadata_.unknown_fields(), target);
5726
0
  }
5727
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.CreateTableResponsePB)
5728
3.36k
  return target;
5729
3.36k
}
5730
5731
6.72k
size_t CreateTableResponsePB::ByteSizeLong() const {
5732
// @@protoc_insertion_point(message_byte_size_start:yb.master.CreateTableResponsePB)
5733
6.72k
  size_t total_size = 0;
5734
5735
6.72k
  if (_internal_metadata_.have_unknown_fields()) {
5736
0
    total_size +=
5737
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5738
0
        _internal_metadata_.unknown_fields());
5739
0
  }
5740
6.72k
  if (_has_bits_[0 / 32] & 3u) {
5741
    // optional bytes table_id = 2;
5742
6.72k
    if (has_table_id()) {
5743
6.70k
      total_size += 1 +
5744
6.70k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
5745
6.70k
          this->table_id());
5746
6.70k
    }
5747
5748
    // optional .yb.master.MasterErrorPB error = 1;
5749
6.72k
    if (has_error()) {
5750
40
      total_size += 1 +
5751
40
        ::google::protobuf::internal::WireFormatLite::MessageSize(
5752
40
          *this->error_);
5753
40
    }
5754
5755
6.72k
  }
5756
6.72k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5757
6.72k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5758
6.72k
  _cached_size_ = cached_size;
5759
6.72k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5760
6.72k
  return total_size;
5761
6.72k
}
5762
5763
0
void CreateTableResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
5764
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.CreateTableResponsePB)
5765
0
  GOOGLE_DCHECK_NE(&from, this);
5766
0
  const CreateTableResponsePB* source =
5767
0
      ::google::protobuf::internal::DynamicCastToGenerated<const CreateTableResponsePB>(
5768
0
          &from);
5769
0
  if (source == NULL) {
5770
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.CreateTableResponsePB)
5771
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5772
0
  } else {
5773
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.CreateTableResponsePB)
5774
0
    MergeFrom(*source);
5775
0
  }
5776
0
}
5777
5778
0
void CreateTableResponsePB::MergeFrom(const CreateTableResponsePB& from) {
5779
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.CreateTableResponsePB)
5780
0
  GOOGLE_DCHECK_NE(&from, this);
5781
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5782
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5783
0
  (void) cached_has_bits;
5784
5785
0
  cached_has_bits = from._has_bits_[0];
5786
0
  if (cached_has_bits & 3u) {
5787
0
    if (cached_has_bits & 0x00000001u) {
5788
0
      set_has_table_id();
5789
0
      table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_id_);
5790
0
    }
5791
0
    if (cached_has_bits & 0x00000002u) {
5792
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
5793
0
    }
5794
0
  }
5795
0
}
5796
5797
0
void CreateTableResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
5798
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.CreateTableResponsePB)
5799
0
  if (&from == this) return;
5800
0
  Clear();
5801
0
  MergeFrom(from);
5802
0
}
5803
5804
0
void CreateTableResponsePB::CopyFrom(const CreateTableResponsePB& from) {
5805
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.CreateTableResponsePB)
5806
0
  if (&from == this) return;
5807
0
  Clear();
5808
0
  MergeFrom(from);
5809
0
}
5810
5811
6.59k
bool CreateTableResponsePB::IsInitialized() const {
5812
6.59k
  if (has_error()) {
5813
40
    if (!this->error_->IsInitialized()) return false;
5814
6.59k
  }
5815
6.59k
  return true;
5816
6.59k
}
5817
5818
0
void CreateTableResponsePB::Swap(CreateTableResponsePB* other) {
5819
0
  if (other == this) return;
5820
0
  InternalSwap(other);
5821
0
}
5822
0
void CreateTableResponsePB::InternalSwap(CreateTableResponsePB* other) {
5823
0
  using std::swap;
5824
0
  table_id_.Swap(&other->table_id_);
5825
0
  swap(error_, other->error_);
5826
0
  swap(_has_bits_[0], other->_has_bits_[0]);
5827
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
5828
0
  swap(_cached_size_, other->_cached_size_);
5829
0
}
5830
5831
2
::google::protobuf::Metadata CreateTableResponsePB::GetMetadata() const {
5832
2
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
5833
2
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
5834
2
}
5835
5836
5837
// ===================================================================
5838
5839
15.8k
void IsCreateTableDoneRequestPB::InitAsDefaultInstance() {
5840
15.8k
  ::yb::master::_IsCreateTableDoneRequestPB_default_instance_._instance.get_mutable()->table_ = const_cast< ::yb::master::TableIdentifierPB*>(
5841
15.8k
      ::yb::master::TableIdentifierPB::internal_default_instance());
5842
15.8k
}
5843
0
void IsCreateTableDoneRequestPB::clear_table() {
5844
0
  if (table_ != NULL) table_->Clear();
5845
0
  clear_has_table();
5846
0
}
5847
#if !defined(_MSC_VER) || _MSC_VER >= 1900
5848
const int IsCreateTableDoneRequestPB::kTableFieldNumber;
5849
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
5850
5851
IsCreateTableDoneRequestPB::IsCreateTableDoneRequestPB()
5852
52.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
5853
36.1k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
5854
36.1k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsCreateTableDoneRequestPB();
5855
36.1k
  }
5856
52.1k
  SharedCtor();
5857
  // @@protoc_insertion_point(constructor:yb.master.IsCreateTableDoneRequestPB)
5858
52.1k
}
5859
IsCreateTableDoneRequestPB::IsCreateTableDoneRequestPB(const IsCreateTableDoneRequestPB& from)
5860
  : ::google::protobuf::Message(),
5861
      _internal_metadata_(NULL),
5862
      _has_bits_(from._has_bits_),
5863
0
      _cached_size_(0) {
5864
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5865
0
  if (from.has_table()) {
5866
0
    table_ = new ::yb::master::TableIdentifierPB(*from.table_);
5867
0
  } else {
5868
0
    table_ = NULL;
5869
0
  }
5870
  // @@protoc_insertion_point(copy_constructor:yb.master.IsCreateTableDoneRequestPB)
5871
0
}
5872
5873
51.9k
void IsCreateTableDoneRequestPB::SharedCtor() {
5874
51.9k
  _cached_size_ = 0;
5875
51.9k
  table_ = NULL;
5876
51.9k
}
5877
5878
36.3k
IsCreateTableDoneRequestPB::~IsCreateTableDoneRequestPB() {
5879
  // @@protoc_insertion_point(destructor:yb.master.IsCreateTableDoneRequestPB)
5880
36.3k
  SharedDtor();
5881
36.3k
}
5882
5883
36.3k
void IsCreateTableDoneRequestPB::SharedDtor() {
5884
36.3k
  if (this != internal_default_instance()) delete table_;
5885
36.3k
}
5886
5887
0
void IsCreateTableDoneRequestPB::SetCachedSize(int size) const {
5888
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5889
0
  _cached_size_ = size;
5890
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5891
0
}
5892
0
const ::google::protobuf::Descriptor* IsCreateTableDoneRequestPB::descriptor() {
5893
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
5894
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
5895
0
}
5896
5897
0
const IsCreateTableDoneRequestPB& IsCreateTableDoneRequestPB::default_instance() {
5898
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsCreateTableDoneRequestPB();
5899
0
  return *internal_default_instance();
5900
0
}
5901
5902
0
IsCreateTableDoneRequestPB* IsCreateTableDoneRequestPB::New(::google::protobuf::Arena* arena) const {
5903
0
  IsCreateTableDoneRequestPB* n = new IsCreateTableDoneRequestPB;
5904
0
  if (arena != NULL) {
5905
0
    arena->Own(n);
5906
0
  }
5907
0
  return n;
5908
0
}
5909
5910
16.2k
void IsCreateTableDoneRequestPB::Clear() {
5911
// @@protoc_insertion_point(message_clear_start:yb.master.IsCreateTableDoneRequestPB)
5912
16.2k
  ::google::protobuf::uint32 cached_has_bits = 0;
5913
  // Prevent compiler warnings about cached_has_bits being unused
5914
16.2k
  (void) cached_has_bits;
5915
5916
16.2k
  cached_has_bits = _has_bits_[0];
5917
16.2k
  if (cached_has_bits & 0x00000001u) {
5918
0
    GOOGLE_DCHECK(table_ != NULL);
5919
0
    table_->Clear();
5920
0
  }
5921
16.2k
  _has_bits_.Clear();
5922
16.2k
  _internal_metadata_.Clear();
5923
16.2k
}
5924
5925
bool IsCreateTableDoneRequestPB::MergePartialFromCodedStream(
5926
16.2k
    ::google::protobuf::io::CodedInputStream* input) {
5927
16.2k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
5928
16.2k
  ::google::protobuf::uint32 tag;
5929
  // @@protoc_insertion_point(parse_start:yb.master.IsCreateTableDoneRequestPB)
5930
32.5k
  for (;;) {
5931
32.5k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5932
32.5k
    tag = p.first;
5933
32.5k
    if (!p.second) goto handle_unusual;
5934
16.2k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5935
      // required .yb.master.TableIdentifierPB table = 1;
5936
16.2k
      case 1: {
5937
16.2k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5938
16.2k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
5939
16.2k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5940
16.2k
               input, mutable_table()));
5941
0
        } else {
5942
0
          goto handle_unusual;
5943
0
        }
5944
16.2k
        break;
5945
16.2k
      }
5946
5947
0
      default: {
5948
16.2k
      handle_unusual:
5949
16.2k
        if (tag == 0) {
5950
16.2k
          goto success;
5951
16.2k
        }
5952
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
5953
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
5954
0
        break;
5955
0
      }
5956
16.2k
    }
5957
16.2k
  }
5958
16.2k
success:
5959
  // @@protoc_insertion_point(parse_success:yb.master.IsCreateTableDoneRequestPB)
5960
16.2k
  return true;
5961
0
failure:
5962
  // @@protoc_insertion_point(parse_failure:yb.master.IsCreateTableDoneRequestPB)
5963
0
  return false;
5964
16.2k
#undef DO_
5965
16.2k
}
5966
5967
void IsCreateTableDoneRequestPB::SerializeWithCachedSizes(
5968
0
    ::google::protobuf::io::CodedOutputStream* output) const {
5969
  // @@protoc_insertion_point(serialize_start:yb.master.IsCreateTableDoneRequestPB)
5970
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5971
0
  (void) cached_has_bits;
5972
5973
0
  cached_has_bits = _has_bits_[0];
5974
  // required .yb.master.TableIdentifierPB table = 1;
5975
0
  if (cached_has_bits & 0x00000001u) {
5976
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5977
0
      1, *this->table_, output);
5978
0
  }
5979
5980
0
  if (_internal_metadata_.have_unknown_fields()) {
5981
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5982
0
        _internal_metadata_.unknown_fields(), output);
5983
0
  }
5984
  // @@protoc_insertion_point(serialize_end:yb.master.IsCreateTableDoneRequestPB)
5985
0
}
5986
5987
::google::protobuf::uint8* IsCreateTableDoneRequestPB::InternalSerializeWithCachedSizesToArray(
5988
15.9k
    bool deterministic, ::google::protobuf::uint8* target) const {
5989
15.9k
  (void)deterministic; // Unused
5990
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.IsCreateTableDoneRequestPB)
5991
15.9k
  ::google::protobuf::uint32 cached_has_bits = 0;
5992
15.9k
  (void) cached_has_bits;
5993
5994
15.9k
  cached_has_bits = _has_bits_[0];
5995
  // required .yb.master.TableIdentifierPB table = 1;
5996
15.9k
  if (cached_has_bits & 0x00000001u) {
5997
15.9k
    target = ::google::protobuf::internal::WireFormatLite::
5998
15.9k
      InternalWriteMessageToArray(
5999
15.9k
        1, *this->table_, deterministic, target);
6000
15.9k
  }
6001
6002
15.9k
  if (_internal_metadata_.have_unknown_fields()) {
6003
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6004
0
        _internal_metadata_.unknown_fields(), target);
6005
0
  }
6006
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.IsCreateTableDoneRequestPB)
6007
15.9k
  return target;
6008
15.9k
}
6009
6010
31.9k
size_t IsCreateTableDoneRequestPB::ByteSizeLong() const {
6011
// @@protoc_insertion_point(message_byte_size_start:yb.master.IsCreateTableDoneRequestPB)
6012
31.9k
  size_t total_size = 0;
6013
6014
31.9k
  if (_internal_metadata_.have_unknown_fields()) {
6015
0
    total_size +=
6016
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6017
0
        _internal_metadata_.unknown_fields());
6018
0
  }
6019
  // required .yb.master.TableIdentifierPB table = 1;
6020
31.9k
  if (has_table()) {
6021
31.9k
    total_size += 1 +
6022
31.9k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
6023
31.9k
        *this->table_);
6024
31.9k
  }
6025
31.9k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6026
31.9k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6027
31.9k
  _cached_size_ = cached_size;
6028
31.9k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6029
31.9k
  return total_size;
6030
31.9k
}
6031
6032
0
void IsCreateTableDoneRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
6033
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.IsCreateTableDoneRequestPB)
6034
0
  GOOGLE_DCHECK_NE(&from, this);
6035
0
  const IsCreateTableDoneRequestPB* source =
6036
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsCreateTableDoneRequestPB>(
6037
0
          &from);
6038
0
  if (source == NULL) {
6039
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.IsCreateTableDoneRequestPB)
6040
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6041
0
  } else {
6042
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.IsCreateTableDoneRequestPB)
6043
0
    MergeFrom(*source);
6044
0
  }
6045
0
}
6046
6047
0
void IsCreateTableDoneRequestPB::MergeFrom(const IsCreateTableDoneRequestPB& from) {
6048
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.IsCreateTableDoneRequestPB)
6049
0
  GOOGLE_DCHECK_NE(&from, this);
6050
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6051
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6052
0
  (void) cached_has_bits;
6053
6054
0
  if (from.has_table()) {
6055
0
    mutable_table()->::yb::master::TableIdentifierPB::MergeFrom(from.table());
6056
0
  }
6057
0
}
6058
6059
0
void IsCreateTableDoneRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
6060
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.IsCreateTableDoneRequestPB)
6061
0
  if (&from == this) return;
6062
0
  Clear();
6063
0
  MergeFrom(from);
6064
0
}
6065
6066
0
void IsCreateTableDoneRequestPB::CopyFrom(const IsCreateTableDoneRequestPB& from) {
6067
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.IsCreateTableDoneRequestPB)
6068
0
  if (&from == this) return;
6069
0
  Clear();
6070
0
  MergeFrom(from);
6071
0
}
6072
6073
32.2k
bool IsCreateTableDoneRequestPB::IsInitialized() const {
6074
32.2k
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
6075
32.2k
  return true;
6076
32.2k
}
6077
6078
0
void IsCreateTableDoneRequestPB::Swap(IsCreateTableDoneRequestPB* other) {
6079
0
  if (other == this) return;
6080
0
  InternalSwap(other);
6081
0
}
6082
0
void IsCreateTableDoneRequestPB::InternalSwap(IsCreateTableDoneRequestPB* other) {
6083
0
  using std::swap;
6084
0
  swap(table_, other->table_);
6085
0
  swap(_has_bits_[0], other->_has_bits_[0]);
6086
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
6087
0
  swap(_cached_size_, other->_cached_size_);
6088
0
}
6089
6090
16.2k
::google::protobuf::Metadata IsCreateTableDoneRequestPB::GetMetadata() const {
6091
16.2k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
6092
16.2k
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
6093
16.2k
}
6094
6095
6096
// ===================================================================
6097
6098
15.8k
void IsCreateTableDoneResponsePB::InitAsDefaultInstance() {
6099
15.8k
  ::yb::master::_IsCreateTableDoneResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
6100
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
6101
15.8k
}
6102
0
void IsCreateTableDoneResponsePB::clear_error() {
6103
0
  if (error_ != NULL) error_->Clear();
6104
0
  clear_has_error();
6105
0
}
6106
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6107
const int IsCreateTableDoneResponsePB::kErrorFieldNumber;
6108
const int IsCreateTableDoneResponsePB::kDoneFieldNumber;
6109
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6110
6111
IsCreateTableDoneResponsePB::IsCreateTableDoneResponsePB()
6112
49.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6113
34.2k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6114
34.2k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsCreateTableDoneResponsePB();
6115
34.2k
  }
6116
49.9k
  SharedCtor();
6117
  // @@protoc_insertion_point(constructor:yb.master.IsCreateTableDoneResponsePB)
6118
49.9k
}
6119
IsCreateTableDoneResponsePB::IsCreateTableDoneResponsePB(const IsCreateTableDoneResponsePB& from)
6120
  : ::google::protobuf::Message(),
6121
      _internal_metadata_(NULL),
6122
      _has_bits_(from._has_bits_),
6123
0
      _cached_size_(0) {
6124
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6125
0
  if (from.has_error()) {
6126
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
6127
0
  } else {
6128
0
    error_ = NULL;
6129
0
  }
6130
0
  done_ = from.done_;
6131
  // @@protoc_insertion_point(copy_constructor:yb.master.IsCreateTableDoneResponsePB)
6132
0
}
6133
6134
50.0k
void IsCreateTableDoneResponsePB::SharedCtor() {
6135
50.0k
  _cached_size_ = 0;
6136
50.0k
  ::memset(&error_, 0, static_cast<size_t>(
6137
50.0k
      reinterpret_cast<char*>(&done_) -
6138
50.0k
      reinterpret_cast<char*>(&error_)) + sizeof(done_));
6139
50.0k
}
6140
6141
34.2k
IsCreateTableDoneResponsePB::~IsCreateTableDoneResponsePB() {
6142
  // @@protoc_insertion_point(destructor:yb.master.IsCreateTableDoneResponsePB)
6143
34.2k
  SharedDtor();
6144
34.2k
}
6145
6146
34.2k
void IsCreateTableDoneResponsePB::SharedDtor() {
6147
34.2k
  if (this != internal_default_instance()) delete error_;
6148
34.2k
}
6149
6150
0
void IsCreateTableDoneResponsePB::SetCachedSize(int size) const {
6151
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6152
0
  _cached_size_ = size;
6153
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6154
0
}
6155
0
const ::google::protobuf::Descriptor* IsCreateTableDoneResponsePB::descriptor() {
6156
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
6157
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6158
0
}
6159
6160
0
const IsCreateTableDoneResponsePB& IsCreateTableDoneResponsePB::default_instance() {
6161
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsCreateTableDoneResponsePB();
6162
0
  return *internal_default_instance();
6163
0
}
6164
6165
0
IsCreateTableDoneResponsePB* IsCreateTableDoneResponsePB::New(::google::protobuf::Arena* arena) const {
6166
0
  IsCreateTableDoneResponsePB* n = new IsCreateTableDoneResponsePB;
6167
0
  if (arena != NULL) {
6168
0
    arena->Own(n);
6169
0
  }
6170
0
  return n;
6171
0
}
6172
6173
15.9k
void IsCreateTableDoneResponsePB::Clear() {
6174
// @@protoc_insertion_point(message_clear_start:yb.master.IsCreateTableDoneResponsePB)
6175
15.9k
  ::google::protobuf::uint32 cached_has_bits = 0;
6176
  // Prevent compiler warnings about cached_has_bits being unused
6177
15.9k
  (void) cached_has_bits;
6178
6179
15.9k
  cached_has_bits = _has_bits_[0];
6180
15.9k
  if (cached_has_bits & 0x00000001u) {
6181
0
    GOOGLE_DCHECK(error_ != NULL);
6182
0
    error_->Clear();
6183
0
  }
6184
15.9k
  done_ = false;
6185
15.9k
  _has_bits_.Clear();
6186
15.9k
  _internal_metadata_.Clear();
6187
15.9k
}
6188
6189
bool IsCreateTableDoneResponsePB::MergePartialFromCodedStream(
6190
15.9k
    ::google::protobuf::io::CodedInputStream* input) {
6191
15.9k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
6192
15.9k
  ::google::protobuf::uint32 tag;
6193
  // @@protoc_insertion_point(parse_start:yb.master.IsCreateTableDoneResponsePB)
6194
31.8k
  for (;;) {
6195
31.8k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6196
31.8k
    tag = p.first;
6197
31.8k
    if (!p.second) goto handle_unusual;
6198
15.9k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6199
      // optional .yb.master.MasterErrorPB error = 1;
6200
15
      case 1: {
6201
15
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6202
15
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
6203
15
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
6204
15
               input, mutable_error()));
6205
0
        } else {
6206
0
          goto handle_unusual;
6207
0
        }
6208
15
        break;
6209
15
      }
6210
6211
      // optional bool done = 3;
6212
15.9k
      case 3: {
6213
15.9k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6214
15.9k
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
6215
15.9k
          set_has_done();
6216
15.9k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6217
15.9k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
6218
15.9k
                 input, &done_)));
6219
0
        } else {
6220
0
          goto handle_unusual;
6221
0
        }
6222
15.9k
        break;
6223
15.9k
      }
6224
6225
0
      default: {
6226
15.9k
      handle_unusual:
6227
15.9k
        if (tag == 0) {
6228
15.9k
          goto success;
6229
15.9k
        }
6230
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
6231
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
6232
0
        break;
6233
0
      }
6234
15.9k
    }
6235
15.9k
  }
6236
15.9k
success:
6237
  // @@protoc_insertion_point(parse_success:yb.master.IsCreateTableDoneResponsePB)
6238
15.9k
  return true;
6239
0
failure:
6240
  // @@protoc_insertion_point(parse_failure:yb.master.IsCreateTableDoneResponsePB)
6241
0
  return false;
6242
15.9k
#undef DO_
6243
15.9k
}
6244
6245
void IsCreateTableDoneResponsePB::SerializeWithCachedSizes(
6246
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6247
  // @@protoc_insertion_point(serialize_start:yb.master.IsCreateTableDoneResponsePB)
6248
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6249
0
  (void) cached_has_bits;
6250
6251
0
  cached_has_bits = _has_bits_[0];
6252
  // optional .yb.master.MasterErrorPB error = 1;
6253
0
  if (cached_has_bits & 0x00000001u) {
6254
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6255
0
      1, *this->error_, output);
6256
0
  }
6257
6258
  // optional bool done = 3;
6259
0
  if (cached_has_bits & 0x00000002u) {
6260
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->done(), output);
6261
0
  }
6262
6263
0
  if (_internal_metadata_.have_unknown_fields()) {
6264
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6265
0
        _internal_metadata_.unknown_fields(), output);
6266
0
  }
6267
  // @@protoc_insertion_point(serialize_end:yb.master.IsCreateTableDoneResponsePB)
6268
0
}
6269
6270
::google::protobuf::uint8* IsCreateTableDoneResponsePB::InternalSerializeWithCachedSizesToArray(
6271
16.2k
    bool deterministic, ::google::protobuf::uint8* target) const {
6272
16.2k
  (void)deterministic; // Unused
6273
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.IsCreateTableDoneResponsePB)
6274
16.2k
  ::google::protobuf::uint32 cached_has_bits = 0;
6275
16.2k
  (void) cached_has_bits;
6276
6277
16.2k
  cached_has_bits = _has_bits_[0];
6278
  // optional .yb.master.MasterErrorPB error = 1;
6279
16.2k
  if (cached_has_bits & 0x00000001u) {
6280
20
    target = ::google::protobuf::internal::WireFormatLite::
6281
20
      InternalWriteMessageToArray(
6282
20
        1, *this->error_, deterministic, target);
6283
20
  }
6284
6285
  // optional bool done = 3;
6286
16.2k
  if (cached_has_bits & 0x00000002u) {
6287
16.2k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->done(), target);
6288
16.2k
  }
6289
6290
16.2k
  if (_internal_metadata_.have_unknown_fields()) {
6291
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6292
0
        _internal_metadata_.unknown_fields(), target);
6293
0
  }
6294
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.IsCreateTableDoneResponsePB)
6295
16.2k
  return target;
6296
16.2k
}
6297
6298
32.5k
size_t IsCreateTableDoneResponsePB::ByteSizeLong() const {
6299
// @@protoc_insertion_point(message_byte_size_start:yb.master.IsCreateTableDoneResponsePB)
6300
32.5k
  size_t total_size = 0;
6301
6302
32.5k
  if (_internal_metadata_.have_unknown_fields()) {
6303
0
    total_size +=
6304
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6305
0
        _internal_metadata_.unknown_fields());
6306
0
  }
6307
32.5k
  if (_has_bits_[0 / 32] & 3u) {
6308
    // optional .yb.master.MasterErrorPB error = 1;
6309
32.5k
    if (has_error()) {
6310
40
      total_size += 1 +
6311
40
        ::google::protobuf::internal::WireFormatLite::MessageSize(
6312
40
          *this->error_);
6313
40
    }
6314
6315
    // optional bool done = 3;
6316
32.5k
    if (has_done()) {
6317
32.4k
      total_size += 1 + 1;
6318
32.4k
    }
6319
6320
32.5k
  }
6321
32.5k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6322
32.5k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6323
32.5k
  _cached_size_ = cached_size;
6324
32.5k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6325
32.5k
  return total_size;
6326
32.5k
}
6327
6328
0
void IsCreateTableDoneResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
6329
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.IsCreateTableDoneResponsePB)
6330
0
  GOOGLE_DCHECK_NE(&from, this);
6331
0
  const IsCreateTableDoneResponsePB* source =
6332
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsCreateTableDoneResponsePB>(
6333
0
          &from);
6334
0
  if (source == NULL) {
6335
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.IsCreateTableDoneResponsePB)
6336
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6337
0
  } else {
6338
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.IsCreateTableDoneResponsePB)
6339
0
    MergeFrom(*source);
6340
0
  }
6341
0
}
6342
6343
0
void IsCreateTableDoneResponsePB::MergeFrom(const IsCreateTableDoneResponsePB& from) {
6344
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.IsCreateTableDoneResponsePB)
6345
0
  GOOGLE_DCHECK_NE(&from, this);
6346
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6347
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6348
0
  (void) cached_has_bits;
6349
6350
0
  cached_has_bits = from._has_bits_[0];
6351
0
  if (cached_has_bits & 3u) {
6352
0
    if (cached_has_bits & 0x00000001u) {
6353
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
6354
0
    }
6355
0
    if (cached_has_bits & 0x00000002u) {
6356
0
      done_ = from.done_;
6357
0
    }
6358
0
    _has_bits_[0] |= cached_has_bits;
6359
0
  }
6360
0
}
6361
6362
0
void IsCreateTableDoneResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
6363
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.IsCreateTableDoneResponsePB)
6364
0
  if (&from == this) return;
6365
0
  Clear();
6366
0
  MergeFrom(from);
6367
0
}
6368
6369
0
void IsCreateTableDoneResponsePB::CopyFrom(const IsCreateTableDoneResponsePB& from) {
6370
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.IsCreateTableDoneResponsePB)
6371
0
  if (&from == this) return;
6372
0
  Clear();
6373
0
  MergeFrom(from);
6374
0
}
6375
6376
32.1k
bool IsCreateTableDoneResponsePB::IsInitialized() const {
6377
32.1k
  if (has_error()) {
6378
35
    if (!this->error_->IsInitialized()) return false;
6379
32.1k
  }
6380
32.1k
  return true;
6381
32.1k
}
6382
6383
0
void IsCreateTableDoneResponsePB::Swap(IsCreateTableDoneResponsePB* other) {
6384
0
  if (other == this) return;
6385
0
  InternalSwap(other);
6386
0
}
6387
0
void IsCreateTableDoneResponsePB::InternalSwap(IsCreateTableDoneResponsePB* other) {
6388
0
  using std::swap;
6389
0
  swap(error_, other->error_);
6390
0
  swap(done_, other->done_);
6391
0
  swap(_has_bits_[0], other->_has_bits_[0]);
6392
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
6393
0
  swap(_cached_size_, other->_cached_size_);
6394
0
}
6395
6396
0
::google::protobuf::Metadata IsCreateTableDoneResponsePB::GetMetadata() const {
6397
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
6398
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
6399
0
}
6400
6401
6402
// ===================================================================
6403
6404
15.8k
void ListTablesRequestPB::InitAsDefaultInstance() {
6405
15.8k
  ::yb::master::_ListTablesRequestPB_default_instance_._instance.get_mutable()->namespace__ = const_cast< ::yb::master::NamespaceIdentifierPB*>(
6406
15.8k
      ::yb::master::NamespaceIdentifierPB::internal_default_instance());
6407
15.8k
}
6408
0
void ListTablesRequestPB::clear_namespace_() {
6409
0
  if (namespace__ != NULL) namespace__->Clear();
6410
0
  clear_has_namespace_();
6411
0
}
6412
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6413
const int ListTablesRequestPB::kNameFilterFieldNumber;
6414
const int ListTablesRequestPB::kNamespaceFieldNumber;
6415
const int ListTablesRequestPB::kExcludeSystemTablesFieldNumber;
6416
const int ListTablesRequestPB::kRelationTypeFilterFieldNumber;
6417
const int ListTablesRequestPB::kIncludeNotRunningFieldNumber;
6418
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6419
6420
ListTablesRequestPB::ListTablesRequestPB()
6421
19.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6422
3.27k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6423
3.27k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsListTablesRequestPB();
6424
3.27k
  }
6425
19.1k
  SharedCtor();
6426
  // @@protoc_insertion_point(constructor:yb.master.ListTablesRequestPB)
6427
19.1k
}
6428
ListTablesRequestPB::ListTablesRequestPB(const ListTablesRequestPB& from)
6429
  : ::google::protobuf::Message(),
6430
      _internal_metadata_(NULL),
6431
      _has_bits_(from._has_bits_),
6432
      _cached_size_(0),
6433
0
      relation_type_filter_(from.relation_type_filter_) {
6434
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6435
0
  name_filter_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6436
0
  if (from.has_name_filter()) {
6437
0
    name_filter_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_filter_);
6438
0
  }
6439
0
  if (from.has_namespace_()) {
6440
0
    namespace__ = new ::yb::master::NamespaceIdentifierPB(*from.namespace__);
6441
0
  } else {
6442
0
    namespace__ = NULL;
6443
0
  }
6444
0
  ::memcpy(&exclude_system_tables_, &from.exclude_system_tables_,
6445
0
    static_cast<size_t>(reinterpret_cast<char*>(&include_not_running_) -
6446
0
    reinterpret_cast<char*>(&exclude_system_tables_)) + sizeof(include_not_running_));
6447
  // @@protoc_insertion_point(copy_constructor:yb.master.ListTablesRequestPB)
6448
0
}
6449
6450
19.1k
void ListTablesRequestPB::SharedCtor() {
6451
19.1k
  _cached_size_ = 0;
6452
19.1k
  name_filter_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6453
19.1k
  ::memset(&namespace__, 0, static_cast<size_t>(
6454
19.1k
      reinterpret_cast<char*>(&include_not_running_) -
6455
19.1k
      reinterpret_cast<char*>(&namespace__)) + sizeof(include_not_running_));
6456
19.1k
}
6457
6458
3.27k
ListTablesRequestPB::~ListTablesRequestPB() {
6459
  // @@protoc_insertion_point(destructor:yb.master.ListTablesRequestPB)
6460
3.27k
  SharedDtor();
6461
3.27k
}
6462
6463
3.27k
void ListTablesRequestPB::SharedDtor() {
6464
3.27k
  name_filter_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6465
3.27k
  if (this != internal_default_instance()) delete namespace__;
6466
3.27k
}
6467
6468
0
void ListTablesRequestPB::SetCachedSize(int size) const {
6469
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6470
0
  _cached_size_ = size;
6471
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6472
0
}
6473
0
const ::google::protobuf::Descriptor* ListTablesRequestPB::descriptor() {
6474
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
6475
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6476
0
}
6477
6478
0
const ListTablesRequestPB& ListTablesRequestPB::default_instance() {
6479
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsListTablesRequestPB();
6480
0
  return *internal_default_instance();
6481
0
}
6482
6483
0
ListTablesRequestPB* ListTablesRequestPB::New(::google::protobuf::Arena* arena) const {
6484
0
  ListTablesRequestPB* n = new ListTablesRequestPB;
6485
0
  if (arena != NULL) {
6486
0
    arena->Own(n);
6487
0
  }
6488
0
  return n;
6489
0
}
6490
6491
1.83k
void ListTablesRequestPB::Clear() {
6492
// @@protoc_insertion_point(message_clear_start:yb.master.ListTablesRequestPB)
6493
1.83k
  ::google::protobuf::uint32 cached_has_bits = 0;
6494
  // Prevent compiler warnings about cached_has_bits being unused
6495
1.83k
  (void) cached_has_bits;
6496
6497
1.83k
  relation_type_filter_.Clear();
6498
1.83k
  cached_has_bits = _has_bits_[0];
6499
1.83k
  if (cached_has_bits & 3u) {
6500
0
    if (cached_has_bits & 0x00000001u) {
6501
0
      GOOGLE_DCHECK(!name_filter_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
6502
0
      (*name_filter_.UnsafeRawStringPointer())->clear();
6503
0
    }
6504
0
    if (cached_has_bits & 0x00000002u) {
6505
0
      GOOGLE_DCHECK(namespace__ != NULL);
6506
0
      namespace__->Clear();
6507
0
    }
6508
0
  }
6509
1.83k
  ::memset(&exclude_system_tables_, 0, static_cast<size_t>(
6510
1.83k
      reinterpret_cast<char*>(&include_not_running_) -
6511
1.83k
      reinterpret_cast<char*>(&exclude_system_tables_)) + sizeof(include_not_running_));
6512
1.83k
  _has_bits_.Clear();
6513
1.83k
  _internal_metadata_.Clear();
6514
1.83k
}
6515
6516
bool ListTablesRequestPB::MergePartialFromCodedStream(
6517
1.83k
    ::google::protobuf::io::CodedInputStream* input) {
6518
727
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
6519
1.83k
  ::google::protobuf::uint32 tag;
6520
  // @@protoc_insertion_point(parse_start:yb.master.ListTablesRequestPB)
6521
2.56k
  for (;;) {
6522
2.56k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6523
2.56k
    tag = p.first;
6524
2.56k
    if (!p.second) goto handle_unusual;
6525
727
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6526
      // optional string name_filter = 1;
6527
26
      case 1: {
6528
26
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6529
26
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
6530
26
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
6531
26
                input, this->mutable_name_filter()));
6532
26
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6533
26
            this->name_filter().data(), static_cast<int>(this->name_filter().length()),
6534
26
            ::google::protobuf::internal::WireFormat::PARSE,
6535
26
            "yb.master.ListTablesRequestPB.name_filter");
6536
0
        } else {
6537
0
          goto handle_unusual;
6538
0
        }
6539
26
        break;
6540
26
      }
6541
6542
      // optional .yb.master.NamespaceIdentifierPB namespace = 2;
6543
349
      case 2: {
6544
349
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6545
349
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
6546
349
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
6547
349
               input, mutable_namespace_()));
6548
0
        } else {
6549
0
          goto handle_unusual;
6550
0
        }
6551
349
        break;
6552
349
      }
6553
6554
      // optional bool exclude_system_tables = 3 [default = false];
6555
194
      case 3: {
6556
194
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6557
194
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
6558
194
          set_has_exclude_system_tables();
6559
194
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6560
194
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
6561
194
                 input, &exclude_system_tables_)));
6562
0
        } else {
6563
0
          goto handle_unusual;
6564
0
        }
6565
194
        break;
6566
194
      }
6567
6568
      // repeated .yb.master.RelationType relation_type_filter = 4;
6569
158
      case 4: {
6570
158
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6571
158
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
6572
158
          int value;
6573
158
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6574
158
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
6575
158
                 input, &value)));
6576
158
          if (::yb::master::RelationType_IsValid(value)) {
6577
158
            add_relation_type_filter(static_cast< ::yb::master::RelationType >(value));
6578
0
          } else {
6579
0
            mutable_unknown_fields()->AddVarint(
6580
0
                4, static_cast< ::google::protobuf::uint64>(value));
6581
0
          }
6582
0
        } else if (
6583
0
            static_cast< ::google::protobuf::uint8>(tag) ==
6584
0
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
6585
0
          DO_((::google::protobuf::internal::WireFormat::ReadPackedEnumPreserveUnknowns(
6586
0
                 input,
6587
0
                 4,
6588
0
                 ::yb::master::RelationType_IsValid,
6589
0
                 mutable_unknown_fields(),
6590
0
                 this->mutable_relation_type_filter())));
6591
0
        } else {
6592
0
          goto handle_unusual;
6593
0
        }
6594
158
        break;
6595
158
      }
6596
6597
      // optional bool include_not_running = 5;
6598
0
      case 5: {
6599
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6600
0
            static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
6601
0
          set_has_include_not_running();
6602
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6603
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
6604
0
                 input, &include_not_running_)));
6605
0
        } else {
6606
0
          goto handle_unusual;
6607
0
        }
6608
0
        break;
6609
1.83k
      }
6610
6611
0
      default: {
6612
1.83k
      handle_unusual:
6613
1.83k
        if (tag == 0) {
6614
1.83k
          goto success;
6615
1.83k
        }
6616
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
6617
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
6618
0
        break;
6619
0
      }
6620
727
    }
6621
727
  }
6622
1.83k
success:
6623
  // @@protoc_insertion_point(parse_success:yb.master.ListTablesRequestPB)
6624
1.83k
  return true;
6625
0
failure:
6626
  // @@protoc_insertion_point(parse_failure:yb.master.ListTablesRequestPB)
6627
0
  return false;
6628
1.83k
#undef DO_
6629
1.83k
}
6630
6631
void ListTablesRequestPB::SerializeWithCachedSizes(
6632
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6633
  // @@protoc_insertion_point(serialize_start:yb.master.ListTablesRequestPB)
6634
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6635
0
  (void) cached_has_bits;
6636
6637
0
  cached_has_bits = _has_bits_[0];
6638
  // optional string name_filter = 1;
6639
0
  if (cached_has_bits & 0x00000001u) {
6640
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6641
0
      this->name_filter().data(), static_cast<int>(this->name_filter().length()),
6642
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
6643
0
      "yb.master.ListTablesRequestPB.name_filter");
6644
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
6645
0
      1, this->name_filter(), output);
6646
0
  }
6647
6648
  // optional .yb.master.NamespaceIdentifierPB namespace = 2;
6649
0
  if (cached_has_bits & 0x00000002u) {
6650
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6651
0
      2, *this->namespace__, output);
6652
0
  }
6653
6654
  // optional bool exclude_system_tables = 3 [default = false];
6655
0
  if (cached_has_bits & 0x00000004u) {
6656
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->exclude_system_tables(), output);
6657
0
  }
6658
6659
  // repeated .yb.master.RelationType relation_type_filter = 4;
6660
0
  for (int i = 0, n = this->relation_type_filter_size(); i < n; i++) {
6661
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
6662
0
      4, this->relation_type_filter(i), output);
6663
0
  }
6664
6665
  // optional bool include_not_running = 5;
6666
0
  if (cached_has_bits & 0x00000008u) {
6667
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->include_not_running(), output);
6668
0
  }
6669
6670
0
  if (_internal_metadata_.have_unknown_fields()) {
6671
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6672
0
        _internal_metadata_.unknown_fields(), output);
6673
0
  }
6674
  // @@protoc_insertion_point(serialize_end:yb.master.ListTablesRequestPB)
6675
0
}
6676
6677
::google::protobuf::uint8* ListTablesRequestPB::InternalSerializeWithCachedSizesToArray(
6678
1.44k
    bool deterministic, ::google::protobuf::uint8* target) const {
6679
1.44k
  (void)deterministic; // Unused
6680
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListTablesRequestPB)
6681
1.44k
  ::google::protobuf::uint32 cached_has_bits = 0;
6682
1.44k
  (void) cached_has_bits;
6683
6684
1.44k
  cached_has_bits = _has_bits_[0];
6685
  // optional string name_filter = 1;
6686
1.44k
  if (cached_has_bits & 0x00000001u) {
6687
23
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6688
23
      this->name_filter().data(), static_cast<int>(this->name_filter().length()),
6689
23
      ::google::protobuf::internal::WireFormat::SERIALIZE,
6690
23
      "yb.master.ListTablesRequestPB.name_filter");
6691
23
    target =
6692
23
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
6693
23
        1, this->name_filter(), target);
6694
23
  }
6695
6696
  // optional .yb.master.NamespaceIdentifierPB namespace = 2;
6697
1.44k
  if (cached_has_bits & 0x00000002u) {
6698
155
    target = ::google::protobuf::internal::WireFormatLite::
6699
155
      InternalWriteMessageToArray(
6700
155
        2, *this->namespace__, deterministic, target);
6701
155
  }
6702
6703
  // optional bool exclude_system_tables = 3 [default = false];
6704
1.44k
  if (cached_has_bits & 0x00000004u) {
6705
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->exclude_system_tables(), target);
6706
0
  }
6707
6708
  // repeated .yb.master.RelationType relation_type_filter = 4;
6709
1.44k
  target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
6710
1.44k
    4, this->relation_type_filter_, target);
6711
6712
  // optional bool include_not_running = 5;
6713
1.44k
  if (cached_has_bits & 0x00000008u) {
6714
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->include_not_running(), target);
6715
0
  }
6716
6717
1.44k
  if (_internal_metadata_.have_unknown_fields()) {
6718
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6719
0
        _internal_metadata_.unknown_fields(), target);
6720
0
  }
6721
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListTablesRequestPB)
6722
1.44k
  return target;
6723
1.44k
}
6724
6725
2.88k
size_t ListTablesRequestPB::ByteSizeLong() const {
6726
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListTablesRequestPB)
6727
2.88k
  size_t total_size = 0;
6728
6729
2.88k
  if (_internal_metadata_.have_unknown_fields()) {
6730
0
    total_size +=
6731
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6732
0
        _internal_metadata_.unknown_fields());
6733
0
  }
6734
  // repeated .yb.master.RelationType relation_type_filter = 4;
6735
2.88k
  {
6736
2.88k
    size_t data_size = 0;
6737
3.20k
    unsigned int count = static_cast<unsigned int>(this->relation_type_filter_size());for (unsigned int i = 0; i < count; i++) {
6738
316
      data_size += ::google::protobuf::internal::WireFormatLite::EnumSize(
6739
316
        this->relation_type_filter(static_cast<int>(i)));
6740
316
    }
6741
2.88k
    total_size += (1UL * count) + data_size;
6742
2.88k
  }
6743
6744
2.88k
  if (_has_bits_[0 / 32] & 15u) {
6745
    // optional string name_filter = 1;
6746
356
    if (has_name_filter()) {
6747
46
      total_size += 1 +
6748
46
        ::google::protobuf::internal::WireFormatLite::StringSize(
6749
46
          this->name_filter());
6750
46
    }
6751
6752
    // optional .yb.master.NamespaceIdentifierPB namespace = 2;
6753
356
    if (has_namespace_()) {
6754
310
      total_size += 1 +
6755
310
        ::google::protobuf::internal::WireFormatLite::MessageSize(
6756
310
          *this->namespace__);
6757
310
    }
6758
6759
    // optional bool exclude_system_tables = 3 [default = false];
6760
356
    if (has_exclude_system_tables()) {
6761
0
      total_size += 1 + 1;
6762
0
    }
6763
6764
    // optional bool include_not_running = 5;
6765
356
    if (has_include_not_running()) {
6766
0
      total_size += 1 + 1;
6767
0
    }
6768
6769
356
  }
6770
2.88k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6771
2.88k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6772
2.88k
  _cached_size_ = cached_size;
6773
2.88k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6774
2.88k
  return total_size;
6775
2.88k
}
6776
6777
0
void ListTablesRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
6778
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListTablesRequestPB)
6779
0
  GOOGLE_DCHECK_NE(&from, this);
6780
0
  const ListTablesRequestPB* source =
6781
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListTablesRequestPB>(
6782
0
          &from);
6783
0
  if (source == NULL) {
6784
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListTablesRequestPB)
6785
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6786
0
  } else {
6787
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListTablesRequestPB)
6788
0
    MergeFrom(*source);
6789
0
  }
6790
0
}
6791
6792
0
void ListTablesRequestPB::MergeFrom(const ListTablesRequestPB& from) {
6793
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListTablesRequestPB)
6794
0
  GOOGLE_DCHECK_NE(&from, this);
6795
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6796
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6797
0
  (void) cached_has_bits;
6798
6799
0
  relation_type_filter_.MergeFrom(from.relation_type_filter_);
6800
0
  cached_has_bits = from._has_bits_[0];
6801
0
  if (cached_has_bits & 15u) {
6802
0
    if (cached_has_bits & 0x00000001u) {
6803
0
      set_has_name_filter();
6804
0
      name_filter_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_filter_);
6805
0
    }
6806
0
    if (cached_has_bits & 0x00000002u) {
6807
0
      mutable_namespace_()->::yb::master::NamespaceIdentifierPB::MergeFrom(from.namespace_());
6808
0
    }
6809
0
    if (cached_has_bits & 0x00000004u) {
6810
0
      exclude_system_tables_ = from.exclude_system_tables_;
6811
0
    }
6812
0
    if (cached_has_bits & 0x00000008u) {
6813
0
      include_not_running_ = from.include_not_running_;
6814
0
    }
6815
0
    _has_bits_[0] |= cached_has_bits;
6816
0
  }
6817
0
}
6818
6819
0
void ListTablesRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
6820
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListTablesRequestPB)
6821
0
  if (&from == this) return;
6822
0
  Clear();
6823
0
  MergeFrom(from);
6824
0
}
6825
6826
0
void ListTablesRequestPB::CopyFrom(const ListTablesRequestPB& from) {
6827
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListTablesRequestPB)
6828
0
  if (&from == this) return;
6829
0
  Clear();
6830
0
  MergeFrom(from);
6831
0
}
6832
6833
3.27k
bool ListTablesRequestPB::IsInitialized() const {
6834
3.27k
  return true;
6835
3.27k
}
6836
6837
0
void ListTablesRequestPB::Swap(ListTablesRequestPB* other) {
6838
0
  if (other == this) return;
6839
0
  InternalSwap(other);
6840
0
}
6841
0
void ListTablesRequestPB::InternalSwap(ListTablesRequestPB* other) {
6842
0
  using std::swap;
6843
0
  relation_type_filter_.InternalSwap(&other->relation_type_filter_);
6844
0
  name_filter_.Swap(&other->name_filter_);
6845
0
  swap(namespace__, other->namespace__);
6846
0
  swap(exclude_system_tables_, other->exclude_system_tables_);
6847
0
  swap(include_not_running_, other->include_not_running_);
6848
0
  swap(_has_bits_[0], other->_has_bits_[0]);
6849
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
6850
0
  swap(_cached_size_, other->_cached_size_);
6851
0
}
6852
6853
1.83k
::google::protobuf::Metadata ListTablesRequestPB::GetMetadata() const {
6854
1.83k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
6855
1.83k
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
6856
1.83k
}
6857
6858
6859
// ===================================================================
6860
6861
15.8k
void ListTablesResponsePB_TableInfo::InitAsDefaultInstance() {
6862
15.8k
  ::yb::master::_ListTablesResponsePB_TableInfo_default_instance_._instance.get_mutable()->namespace__ = const_cast< ::yb::master::NamespaceIdentifierPB*>(
6863
15.8k
      ::yb::master::NamespaceIdentifierPB::internal_default_instance());
6864
15.8k
}
6865
0
void ListTablesResponsePB_TableInfo::clear_namespace_() {
6866
0
  if (namespace__ != NULL) namespace__->Clear();
6867
0
  clear_has_namespace_();
6868
0
}
6869
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6870
const int ListTablesResponsePB_TableInfo::kIdFieldNumber;
6871
const int ListTablesResponsePB_TableInfo::kNameFieldNumber;
6872
const int ListTablesResponsePB_TableInfo::kTableTypeFieldNumber;
6873
const int ListTablesResponsePB_TableInfo::kNamespaceFieldNumber;
6874
const int ListTablesResponsePB_TableInfo::kRelationTypeFieldNumber;
6875
const int ListTablesResponsePB_TableInfo::kStateFieldNumber;
6876
const int ListTablesResponsePB_TableInfo::kPgschemaNameFieldNumber;
6877
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6878
6879
ListTablesResponsePB_TableInfo::ListTablesResponsePB_TableInfo()
6880
69.2k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6881
53.3k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6882
53.3k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsListTablesResponsePB_TableInfo();
6883
53.3k
  }
6884
69.2k
  SharedCtor();
6885
  // @@protoc_insertion_point(constructor:yb.master.ListTablesResponsePB.TableInfo)
6886
69.2k
}
6887
ListTablesResponsePB_TableInfo::ListTablesResponsePB_TableInfo(const ListTablesResponsePB_TableInfo& from)
6888
  : ::google::protobuf::Message(),
6889
      _internal_metadata_(NULL),
6890
      _has_bits_(from._has_bits_),
6891
0
      _cached_size_(0) {
6892
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6893
0
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6894
0
  if (from.has_id()) {
6895
0
    id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
6896
0
  }
6897
0
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6898
0
  if (from.has_name()) {
6899
0
    name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
6900
0
  }
6901
0
  pgschema_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6902
0
  if (from.has_pgschema_name()) {
6903
0
    pgschema_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.pgschema_name_);
6904
0
  }
6905
0
  if (from.has_namespace_()) {
6906
0
    namespace__ = new ::yb::master::NamespaceIdentifierPB(*from.namespace__);
6907
0
  } else {
6908
0
    namespace__ = NULL;
6909
0
  }
6910
0
  ::memcpy(&state_, &from.state_,
6911
0
    static_cast<size_t>(reinterpret_cast<char*>(&relation_type_) -
6912
0
    reinterpret_cast<char*>(&state_)) + sizeof(relation_type_));
6913
  // @@protoc_insertion_point(copy_constructor:yb.master.ListTablesResponsePB.TableInfo)
6914
0
}
6915
6916
69.2k
void ListTablesResponsePB_TableInfo::SharedCtor() {
6917
69.2k
  _cached_size_ = 0;
6918
69.2k
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6919
69.2k
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6920
69.2k
  pgschema_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6921
69.2k
  ::memset(&namespace__, 0, static_cast<size_t>(
6922
69.2k
      reinterpret_cast<char*>(&state_) -
6923
69.2k
      reinterpret_cast<char*>(&namespace__)) + sizeof(state_));
6924
69.2k
  table_type_ = 2;
6925
69.2k
  relation_type_ = 2;
6926
69.2k
}
6927
6928
53.3k
ListTablesResponsePB_TableInfo::~ListTablesResponsePB_TableInfo() {
6929
  // @@protoc_insertion_point(destructor:yb.master.ListTablesResponsePB.TableInfo)
6930
53.3k
  SharedDtor();
6931
53.3k
}
6932
6933
53.3k
void ListTablesResponsePB_TableInfo::SharedDtor() {
6934
53.3k
  id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6935
53.3k
  name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6936
53.3k
  pgschema_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6937
53.3k
  if (this != internal_default_instance()) delete namespace__;
6938
53.3k
}
6939
6940
0
void ListTablesResponsePB_TableInfo::SetCachedSize(int size) const {
6941
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6942
0
  _cached_size_ = size;
6943
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6944
0
}
6945
0
const ::google::protobuf::Descriptor* ListTablesResponsePB_TableInfo::descriptor() {
6946
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
6947
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6948
0
}
6949
6950
0
const ListTablesResponsePB_TableInfo& ListTablesResponsePB_TableInfo::default_instance() {
6951
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsListTablesResponsePB_TableInfo();
6952
0
  return *internal_default_instance();
6953
0
}
6954
6955
0
ListTablesResponsePB_TableInfo* ListTablesResponsePB_TableInfo::New(::google::protobuf::Arena* arena) const {
6956
0
  ListTablesResponsePB_TableInfo* n = new ListTablesResponsePB_TableInfo;
6957
0
  if (arena != NULL) {
6958
0
    arena->Own(n);
6959
0
  }
6960
0
  return n;
6961
0
}
6962
6963
void ListTablesResponsePB_TableInfo::Clear() {
6964
// @@protoc_insertion_point(message_clear_start:yb.master.ListTablesResponsePB.TableInfo)
6965
  ::google::protobuf::uint32 cached_has_bits = 0;
6966
  // Prevent compiler warnings about cached_has_bits being unused
6967
  (void) cached_has_bits;
6968
6969
  cached_has_bits = _has_bits_[0];
6970
  if (cached_has_bits & 15u) {
6971
    if (cached_has_bits & 0x00000001u) {
6972
      GOOGLE_DCHECK(!id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
6973
      (*id_.UnsafeRawStringPointer())->clear();
6974
    }
6975
    if (cached_has_bits & 0x00000002u) {
6976
      GOOGLE_DCHECK(!name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
6977
      (*name_.UnsafeRawStringPointer())->clear();
6978
    }
6979
    if (cached_has_bits & 0x00000004u) {
6980
      GOOGLE_DCHECK(!pgschema_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
6981
      (*pgschema_name_.UnsafeRawStringPointer())->clear();
6982
    }
6983
    if (cached_has_bits & 0x00000008u) {
6984
      GOOGLE_DCHECK(namespace__ != NULL);
6985
      namespace__->Clear();
6986
    }
6987
  }
6988
  if (cached_has_bits & 112u) {
6989
    state_ = 0;
6990
    table_type_ = 2;
6991
    relation_type_ = 2;
6992
  }
6993
  _has_bits_.Clear();
6994
  _internal_metadata_.Clear();
6995
}
6996
6997
bool ListTablesResponsePB_TableInfo::MergePartialFromCodedStream(
6998
2.53k
    ::google::protobuf::io::CodedInputStream* input) {
6999
17.7k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7000
2.53k
  ::google::protobuf::uint32 tag;
7001
  // @@protoc_insertion_point(parse_start:yb.master.ListTablesResponsePB.TableInfo)
7002
20.3k
  for (;;) {
7003
20.3k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7004
20.3k
    tag = p.first;
7005
20.3k
    if (!p.second) goto handle_unusual;
7006
17.7k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7007
      // required bytes id = 1;
7008
2.53k
      case 1: {
7009
2.53k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7010
2.53k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7011
2.53k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
7012
2.53k
                input, this->mutable_id()));
7013
0
        } else {
7014
0
          goto handle_unusual;
7015
0
        }
7016
2.53k
        break;
7017
2.53k
      }
7018
7019
      // required string name = 2;
7020
2.53k
      case 2: {
7021
2.53k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7022
2.53k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
7023
2.53k
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
7024
2.53k
                input, this->mutable_name()));
7025
2.53k
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7026
2.53k
            this->name().data(), static_cast<int>(this->name().length()),
7027
2.53k
            ::google::protobuf::internal::WireFormat::PARSE,
7028
2.53k
            "yb.master.ListTablesResponsePB.TableInfo.name");
7029
0
        } else {
7030
0
          goto handle_unusual;
7031
0
        }
7032
2.53k
        break;
7033
2.53k
      }
7034
7035
      // optional .yb.TableType table_type = 3;
7036
2.53k
      case 3: {
7037
2.53k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7038
2.53k
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
7039
2.53k
          int value;
7040
2.53k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7041
2.53k
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
7042
2.53k
                 input, &value)));
7043
2.53k
          if (::yb::TableType_IsValid(value)) {
7044
2.53k
            set_table_type(static_cast< ::yb::TableType >(value));
7045
0
          } else {
7046
0
            mutable_unknown_fields()->AddVarint(
7047
0
                3, static_cast< ::google::protobuf::uint64>(value));
7048
0
          }
7049
0
        } else {
7050
0
          goto handle_unusual;
7051
0
        }
7052
2.53k
        break;
7053
2.53k
      }
7054
7055
      // optional .yb.master.NamespaceIdentifierPB namespace = 4;
7056
2.53k
      case 4: {
7057
2.53k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7058
2.53k
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
7059
2.53k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
7060
2.53k
               input, mutable_namespace_()));
7061
0
        } else {
7062
0
          goto handle_unusual;
7063
0
        }
7064
2.53k
        break;
7065
2.53k
      }
7066
7067
      // optional .yb.master.RelationType relation_type = 5 [default = USER_TABLE_RELATION];
7068
2.53k
      case 5: {
7069
2.53k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7070
2.53k
            static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
7071
2.53k
          int value;
7072
2.53k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7073
2.53k
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
7074
2.53k
                 input, &value)));
7075
2.53k
          if (::yb::master::RelationType_IsValid(value)) {
7076
2.53k
            set_relation_type(static_cast< ::yb::master::RelationType >(value));
7077
0
          } else {
7078
0
            mutable_unknown_fields()->AddVarint(
7079
0
                5, static_cast< ::google::protobuf::uint64>(value));
7080
0
          }
7081
0
        } else {
7082
0
          goto handle_unusual;
7083
0
        }
7084
2.53k
        break;
7085
2.53k
      }
7086
7087
      // optional .yb.master.SysTablesEntryPB.State state = 6;
7088
2.53k
      case 6: {
7089
2.53k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7090
2.53k
            static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
7091
2.53k
          int value;
7092
2.53k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7093
2.53k
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
7094
2.53k
                 input, &value)));
7095
2.53k
          if (::yb::master::SysTablesEntryPB_State_IsValid(value)) {
7096
2.53k
            set_state(static_cast< ::yb::master::SysTablesEntryPB_State >(value));
7097
0
          } else {
7098
0
            mutable_unknown_fields()->AddVarint(
7099
0
                6, static_cast< ::google::protobuf::uint64>(value));
7100
0
          }
7101
0
        } else {
7102
0
          goto handle_unusual;
7103
0
        }
7104
2.53k
        break;
7105
2.53k
      }
7106
7107
      // optional string pgschema_name = 7;
7108
2.53k
      case 7: {
7109
2.53k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7110
2.53k
            static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
7111
2.53k
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
7112
2.53k
                input, this->mutable_pgschema_name()));
7113
2.53k
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7114
2.53k
            this->pgschema_name().data(), static_cast<int>(this->pgschema_name().length()),
7115
2.53k
            ::google::protobuf::internal::WireFormat::PARSE,
7116
2.53k
            "yb.master.ListTablesResponsePB.TableInfo.pgschema_name");
7117
0
        } else {
7118
0
          goto handle_unusual;
7119
0
        }
7120
2.53k
        break;
7121
2.53k
      }
7122
7123
0
      default: {
7124
2.53k
      handle_unusual:
7125
2.53k
        if (tag == 0) {
7126
2.53k
          goto success;
7127
2.53k
        }
7128
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
7129
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
7130
0
        break;
7131
0
      }
7132
17.7k
    }
7133
17.7k
  }
7134
2.53k
success:
7135
  // @@protoc_insertion_point(parse_success:yb.master.ListTablesResponsePB.TableInfo)
7136
2.53k
  return true;
7137
0
failure:
7138
  // @@protoc_insertion_point(parse_failure:yb.master.ListTablesResponsePB.TableInfo)
7139
0
  return false;
7140
2.53k
#undef DO_
7141
2.53k
}
7142
7143
void ListTablesResponsePB_TableInfo::SerializeWithCachedSizes(
7144
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7145
  // @@protoc_insertion_point(serialize_start:yb.master.ListTablesResponsePB.TableInfo)
7146
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7147
0
  (void) cached_has_bits;
7148
7149
0
  cached_has_bits = _has_bits_[0];
7150
  // required bytes id = 1;
7151
0
  if (cached_has_bits & 0x00000001u) {
7152
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
7153
0
      1, this->id(), output);
7154
0
  }
7155
7156
  // required string name = 2;
7157
0
  if (cached_has_bits & 0x00000002u) {
7158
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7159
0
      this->name().data(), static_cast<int>(this->name().length()),
7160
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
7161
0
      "yb.master.ListTablesResponsePB.TableInfo.name");
7162
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
7163
0
      2, this->name(), output);
7164
0
  }
7165
7166
  // optional .yb.TableType table_type = 3;
7167
0
  if (cached_has_bits & 0x00000020u) {
7168
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
7169
0
      3, this->table_type(), output);
7170
0
  }
7171
7172
  // optional .yb.master.NamespaceIdentifierPB namespace = 4;
7173
0
  if (cached_has_bits & 0x00000008u) {
7174
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7175
0
      4, *this->namespace__, output);
7176
0
  }
7177
7178
  // optional .yb.master.RelationType relation_type = 5 [default = USER_TABLE_RELATION];
7179
0
  if (cached_has_bits & 0x00000040u) {
7180
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
7181
0
      5, this->relation_type(), output);
7182
0
  }
7183
7184
  // optional .yb.master.SysTablesEntryPB.State state = 6;
7185
0
  if (cached_has_bits & 0x00000010u) {
7186
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
7187
0
      6, this->state(), output);
7188
0
  }
7189
7190
  // optional string pgschema_name = 7;
7191
0
  if (cached_has_bits & 0x00000004u) {
7192
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7193
0
      this->pgschema_name().data(), static_cast<int>(this->pgschema_name().length()),
7194
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
7195
0
      "yb.master.ListTablesResponsePB.TableInfo.pgschema_name");
7196
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
7197
0
      7, this->pgschema_name(), output);
7198
0
  }
7199
7200
0
  if (_internal_metadata_.have_unknown_fields()) {
7201
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7202
0
        _internal_metadata_.unknown_fields(), output);
7203
0
  }
7204
  // @@protoc_insertion_point(serialize_end:yb.master.ListTablesResponsePB.TableInfo)
7205
0
}
7206
7207
::google::protobuf::uint8* ListTablesResponsePB_TableInfo::InternalSerializeWithCachedSizesToArray(
7208
5.12k
    bool deterministic, ::google::protobuf::uint8* target) const {
7209
5.12k
  (void)deterministic; // Unused
7210
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListTablesResponsePB.TableInfo)
7211
5.12k
  ::google::protobuf::uint32 cached_has_bits = 0;
7212
5.12k
  (void) cached_has_bits;
7213
7214
5.12k
  cached_has_bits = _has_bits_[0];
7215
  // required bytes id = 1;
7216
5.12k
  if (cached_has_bits & 0x00000001u) {
7217
5.12k
    target =
7218
5.12k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
7219
5.12k
        1, this->id(), target);
7220
5.12k
  }
7221
7222
  // required string name = 2;
7223
5.12k
  if (cached_has_bits & 0x00000002u) {
7224
5.12k
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7225
5.12k
      this->name().data(), static_cast<int>(this->name().length()),
7226
5.12k
      ::google::protobuf::internal::WireFormat::SERIALIZE,
7227
5.12k
      "yb.master.ListTablesResponsePB.TableInfo.name");
7228
5.12k
    target =
7229
5.12k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
7230
5.12k
        2, this->name(), target);
7231
5.12k
  }
7232
7233
  // optional .yb.TableType table_type = 3;
7234
5.12k
  if (cached_has_bits & 0x00000020u) {
7235
5.12k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
7236
5.12k
      3, this->table_type(), target);
7237
5.12k
  }
7238
7239
  // optional .yb.master.NamespaceIdentifierPB namespace = 4;
7240
5.12k
  if (cached_has_bits & 0x00000008u) {
7241
5.12k
    target = ::google::protobuf::internal::WireFormatLite::
7242
5.12k
      InternalWriteMessageToArray(
7243
5.12k
        4, *this->namespace__, deterministic, target);
7244
5.12k
  }
7245
7246
  // optional .yb.master.RelationType relation_type = 5 [default = USER_TABLE_RELATION];
7247
5.12k
  if (cached_has_bits & 0x00000040u) {
7248
5.12k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
7249
5.12k
      5, this->relation_type(), target);
7250
5.12k
  }
7251
7252
  // optional .yb.master.SysTablesEntryPB.State state = 6;
7253
5.12k
  if (cached_has_bits & 0x00000010u) {
7254
5.12k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
7255
5.12k
      6, this->state(), target);
7256
5.12k
  }
7257
7258
  // optional string pgschema_name = 7;
7259
5.12k
  if (cached_has_bits & 0x00000004u) {
7260
5.12k
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7261
5.12k
      this->pgschema_name().data(), static_cast<int>(this->pgschema_name().length()),
7262
5.12k
      ::google::protobuf::internal::WireFormat::SERIALIZE,
7263
5.12k
      "yb.master.ListTablesResponsePB.TableInfo.pgschema_name");
7264
5.12k
    target =
7265
5.12k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
7266
5.12k
        7, this->pgschema_name(), target);
7267
5.12k
  }
7268
7269
5.12k
  if (_internal_metadata_.have_unknown_fields()) {
7270
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7271
0
        _internal_metadata_.unknown_fields(), target);
7272
0
  }
7273
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListTablesResponsePB.TableInfo)
7274
5.12k
  return target;
7275
5.12k
}
7276
7277
0
size_t ListTablesResponsePB_TableInfo::RequiredFieldsByteSizeFallback() const {
7278
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:yb.master.ListTablesResponsePB.TableInfo)
7279
0
  size_t total_size = 0;
7280
7281
0
  if (has_id()) {
7282
    // required bytes id = 1;
7283
0
    total_size += 1 +
7284
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
7285
0
        this->id());
7286
0
  }
7287
7288
0
  if (has_name()) {
7289
    // required string name = 2;
7290
0
    total_size += 1 +
7291
0
      ::google::protobuf::internal::WireFormatLite::StringSize(
7292
0
        this->name());
7293
0
  }
7294
7295
0
  return total_size;
7296
0
}
7297
10.2k
size_t ListTablesResponsePB_TableInfo::ByteSizeLong() const {
7298
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListTablesResponsePB.TableInfo)
7299
10.2k
  size_t total_size = 0;
7300
7301
10.2k
  if (_internal_metadata_.have_unknown_fields()) {
7302
0
    total_size +=
7303
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7304
0
        _internal_metadata_.unknown_fields());
7305
0
  }
7306
10.2k
  if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) {  // All required fields are present.
7307
    // required bytes id = 1;
7308
10.2k
    total_size += 1 +
7309
10.2k
      ::google::protobuf::internal::WireFormatLite::BytesSize(
7310
10.2k
        this->id());
7311
7312
    // required string name = 2;
7313
10.2k
    total_size += 1 +
7314
10.2k
      ::google::protobuf::internal::WireFormatLite::StringSize(
7315
10.2k
        this->name());
7316
7317
0
  } else {
7318
0
    total_size += RequiredFieldsByteSizeFallback();
7319
0
  }
7320
10.2k
  if (_has_bits_[0 / 32] & 124u) {
7321
    // optional string pgschema_name = 7;
7322
10.2k
    if (has_pgschema_name()) {
7323
10.2k
      total_size += 1 +
7324
10.2k
        ::google::protobuf::internal::WireFormatLite::StringSize(
7325
10.2k
          this->pgschema_name());
7326
10.2k
    }
7327
7328
    // optional .yb.master.NamespaceIdentifierPB namespace = 4;
7329
10.2k
    if (has_namespace_()) {
7330
10.2k
      total_size += 1 +
7331
10.2k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
7332
10.2k
          *this->namespace__);
7333
10.2k
    }
7334
7335
    // optional .yb.master.SysTablesEntryPB.State state = 6;
7336
10.2k
    if (has_state()) {
7337
10.2k
      total_size += 1 +
7338
10.2k
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->state());
7339
10.2k
    }
7340
7341
    // optional .yb.TableType table_type = 3;
7342
10.2k
    if (has_table_type()) {
7343
10.2k
      total_size += 1 +
7344
10.2k
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->table_type());
7345
10.2k
    }
7346
7347
    // optional .yb.master.RelationType relation_type = 5 [default = USER_TABLE_RELATION];
7348
10.2k
    if (has_relation_type()) {
7349
10.2k
      total_size += 1 +
7350
10.2k
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->relation_type());
7351
10.2k
    }
7352
7353
10.2k
  }
7354
10.2k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7355
10.2k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7356
10.2k
  _cached_size_ = cached_size;
7357
10.2k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7358
10.2k
  return total_size;
7359
10.2k
}
7360
7361
0
void ListTablesResponsePB_TableInfo::MergeFrom(const ::google::protobuf::Message& from) {
7362
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListTablesResponsePB.TableInfo)
7363
0
  GOOGLE_DCHECK_NE(&from, this);
7364
0
  const ListTablesResponsePB_TableInfo* source =
7365
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListTablesResponsePB_TableInfo>(
7366
0
          &from);
7367
0
  if (source == NULL) {
7368
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListTablesResponsePB.TableInfo)
7369
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7370
0
  } else {
7371
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListTablesResponsePB.TableInfo)
7372
0
    MergeFrom(*source);
7373
0
  }
7374
0
}
7375
7376
0
void ListTablesResponsePB_TableInfo::MergeFrom(const ListTablesResponsePB_TableInfo& from) {
7377
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListTablesResponsePB.TableInfo)
7378
0
  GOOGLE_DCHECK_NE(&from, this);
7379
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7380
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7381
0
  (void) cached_has_bits;
7382
7383
0
  cached_has_bits = from._has_bits_[0];
7384
0
  if (cached_has_bits & 127u) {
7385
0
    if (cached_has_bits & 0x00000001u) {
7386
0
      set_has_id();
7387
0
      id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
7388
0
    }
7389
0
    if (cached_has_bits & 0x00000002u) {
7390
0
      set_has_name();
7391
0
      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
7392
0
    }
7393
0
    if (cached_has_bits & 0x00000004u) {
7394
0
      set_has_pgschema_name();
7395
0
      pgschema_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.pgschema_name_);
7396
0
    }
7397
0
    if (cached_has_bits & 0x00000008u) {
7398
0
      mutable_namespace_()->::yb::master::NamespaceIdentifierPB::MergeFrom(from.namespace_());
7399
0
    }
7400
0
    if (cached_has_bits & 0x00000010u) {
7401
0
      state_ = from.state_;
7402
0
    }
7403
0
    if (cached_has_bits & 0x00000020u) {
7404
0
      table_type_ = from.table_type_;
7405
0
    }
7406
0
    if (cached_has_bits & 0x00000040u) {
7407
0
      relation_type_ = from.relation_type_;
7408
0
    }
7409
0
    _has_bits_[0] |= cached_has_bits;
7410
0
  }
7411
0
}
7412
7413
0
void ListTablesResponsePB_TableInfo::CopyFrom(const ::google::protobuf::Message& from) {
7414
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListTablesResponsePB.TableInfo)
7415
0
  if (&from == this) return;
7416
0
  Clear();
7417
0
  MergeFrom(from);
7418
0
}
7419
7420
0
void ListTablesResponsePB_TableInfo::CopyFrom(const ListTablesResponsePB_TableInfo& from) {
7421
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListTablesResponsePB.TableInfo)
7422
0
  if (&from == this) return;
7423
0
  Clear();
7424
0
  MergeFrom(from);
7425
0
}
7426
7427
53.7k
bool ListTablesResponsePB_TableInfo::IsInitialized() const {
7428
53.7k
  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
7429
53.7k
  return true;
7430
53.7k
}
7431
7432
0
void ListTablesResponsePB_TableInfo::Swap(ListTablesResponsePB_TableInfo* other) {
7433
0
  if (other == this) return;
7434
0
  InternalSwap(other);
7435
0
}
7436
0
void ListTablesResponsePB_TableInfo::InternalSwap(ListTablesResponsePB_TableInfo* other) {
7437
0
  using std::swap;
7438
0
  id_.Swap(&other->id_);
7439
0
  name_.Swap(&other->name_);
7440
0
  pgschema_name_.Swap(&other->pgschema_name_);
7441
0
  swap(namespace__, other->namespace__);
7442
0
  swap(state_, other->state_);
7443
0
  swap(table_type_, other->table_type_);
7444
0
  swap(relation_type_, other->relation_type_);
7445
0
  swap(_has_bits_[0], other->_has_bits_[0]);
7446
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7447
0
  swap(_cached_size_, other->_cached_size_);
7448
0
}
7449
7450
914
::google::protobuf::Metadata ListTablesResponsePB_TableInfo::GetMetadata() const {
7451
914
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
7452
914
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
7453
914
}
7454
7455
7456
// ===================================================================
7457
7458
15.8k
void ListTablesResponsePB::InitAsDefaultInstance() {
7459
15.8k
  ::yb::master::_ListTablesResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
7460
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
7461
15.8k
}
7462
0
void ListTablesResponsePB::clear_error() {
7463
0
  if (error_ != NULL) error_->Clear();
7464
0
  clear_has_error();
7465
0
}
7466
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7467
const int ListTablesResponsePB::kErrorFieldNumber;
7468
const int ListTablesResponsePB::kTablesFieldNumber;
7469
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7470
7471
ListTablesResponsePB::ListTablesResponsePB()
7472
19.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7473
3.25k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7474
3.25k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsListTablesResponsePB();
7475
3.25k
  }
7476
19.0k
  SharedCtor();
7477
  // @@protoc_insertion_point(constructor:yb.master.ListTablesResponsePB)
7478
19.0k
}
7479
ListTablesResponsePB::ListTablesResponsePB(const ListTablesResponsePB& from)
7480
  : ::google::protobuf::Message(),
7481
      _internal_metadata_(NULL),
7482
      _has_bits_(from._has_bits_),
7483
      _cached_size_(0),
7484
0
      tables_(from.tables_) {
7485
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7486
0
  if (from.has_error()) {
7487
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
7488
0
  } else {
7489
0
    error_ = NULL;
7490
0
  }
7491
  // @@protoc_insertion_point(copy_constructor:yb.master.ListTablesResponsePB)
7492
0
}
7493
7494
19.0k
void ListTablesResponsePB::SharedCtor() {
7495
19.0k
  _cached_size_ = 0;
7496
19.0k
  error_ = NULL;
7497
19.0k
}
7498
7499
3.25k
ListTablesResponsePB::~ListTablesResponsePB() {
7500
  // @@protoc_insertion_point(destructor:yb.master.ListTablesResponsePB)
7501
3.25k
  SharedDtor();
7502
3.25k
}
7503
7504
3.25k
void ListTablesResponsePB::SharedDtor() {
7505
3.25k
  if (this != internal_default_instance()) delete error_;
7506
3.25k
}
7507
7508
0
void ListTablesResponsePB::SetCachedSize(int size) const {
7509
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7510
0
  _cached_size_ = size;
7511
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7512
0
}
7513
0
const ::google::protobuf::Descriptor* ListTablesResponsePB::descriptor() {
7514
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
7515
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7516
0
}
7517
7518
0
const ListTablesResponsePB& ListTablesResponsePB::default_instance() {
7519
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsListTablesResponsePB();
7520
0
  return *internal_default_instance();
7521
0
}
7522
7523
0
ListTablesResponsePB* ListTablesResponsePB::New(::google::protobuf::Arena* arena) const {
7524
0
  ListTablesResponsePB* n = new ListTablesResponsePB;
7525
0
  if (arena != NULL) {
7526
0
    arena->Own(n);
7527
0
  }
7528
0
  return n;
7529
0
}
7530
7531
1.44k
void ListTablesResponsePB::Clear() {
7532
// @@protoc_insertion_point(message_clear_start:yb.master.ListTablesResponsePB)
7533
1.44k
  ::google::protobuf::uint32 cached_has_bits = 0;
7534
  // Prevent compiler warnings about cached_has_bits being unused
7535
1.44k
  (void) cached_has_bits;
7536
7537
1.44k
  tables_.Clear();
7538
1.44k
  cached_has_bits = _has_bits_[0];
7539
1.44k
  if (cached_has_bits & 0x00000001u) {
7540
1
    GOOGLE_DCHECK(error_ != NULL);
7541
1
    error_->Clear();
7542
1
  }
7543
1.44k
  _has_bits_.Clear();
7544
1.44k
  _internal_metadata_.Clear();
7545
1.44k
}
7546
7547
bool ListTablesResponsePB::MergePartialFromCodedStream(
7548
1.44k
    ::google::protobuf::io::CodedInputStream* input) {
7549
25.5k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7550
1.44k
  ::google::protobuf::uint32 tag;
7551
  // @@protoc_insertion_point(parse_start:yb.master.ListTablesResponsePB)
7552
26.9k
  for (;;) {
7553
26.9k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7554
26.9k
    tag = p.first;
7555
26.9k
    if (!p.second) goto handle_unusual;
7556
25.5k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7557
      // optional .yb.master.MasterErrorPB error = 1;
7558
1
      case 1: {
7559
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7560
1
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7561
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
7562
1
               input, mutable_error()));
7563
0
        } else {
7564
0
          goto handle_unusual;
7565
0
        }
7566
1
        break;
7567
1
      }
7568
7569
      // repeated .yb.master.ListTablesResponsePB.TableInfo tables = 2;
7570
25.5k
      case 2: {
7571
25.5k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7572
25.5k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
7573
25.5k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_tables()));
7574
0
        } else {
7575
0
          goto handle_unusual;
7576
0
        }
7577
25.5k
        break;
7578
1.44k
      }
7579
7580
0
      default: {
7581
1.44k
      handle_unusual:
7582
1.44k
        if (tag == 0) {
7583
1.44k
          goto success;
7584
1.44k
        }
7585
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
7586
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
7587
0
        break;
7588
0
      }
7589
25.5k
    }
7590
25.5k
  }
7591
1.44k
success:
7592
  // @@protoc_insertion_point(parse_success:yb.master.ListTablesResponsePB)
7593
1.44k
  return true;
7594
0
failure:
7595
  // @@protoc_insertion_point(parse_failure:yb.master.ListTablesResponsePB)
7596
0
  return false;
7597
1.44k
#undef DO_
7598
1.44k
}
7599
7600
void ListTablesResponsePB::SerializeWithCachedSizes(
7601
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7602
  // @@protoc_insertion_point(serialize_start:yb.master.ListTablesResponsePB)
7603
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7604
0
  (void) cached_has_bits;
7605
7606
0
  cached_has_bits = _has_bits_[0];
7607
  // optional .yb.master.MasterErrorPB error = 1;
7608
0
  if (cached_has_bits & 0x00000001u) {
7609
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7610
0
      1, *this->error_, output);
7611
0
  }
7612
7613
  // repeated .yb.master.ListTablesResponsePB.TableInfo tables = 2;
7614
0
  for (unsigned int i = 0,
7615
0
      n = static_cast<unsigned int>(this->tables_size()); i < n; i++) {
7616
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7617
0
      2, this->tables(static_cast<int>(i)), output);
7618
0
  }
7619
7620
0
  if (_internal_metadata_.have_unknown_fields()) {
7621
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7622
0
        _internal_metadata_.unknown_fields(), output);
7623
0
  }
7624
  // @@protoc_insertion_point(serialize_end:yb.master.ListTablesResponsePB)
7625
0
}
7626
7627
::google::protobuf::uint8* ListTablesResponsePB::InternalSerializeWithCachedSizesToArray(
7628
1.83k
    bool deterministic, ::google::protobuf::uint8* target) const {
7629
1.83k
  (void)deterministic; // Unused
7630
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListTablesResponsePB)
7631
1.83k
  ::google::protobuf::uint32 cached_has_bits = 0;
7632
1.83k
  (void) cached_has_bits;
7633
7634
1.83k
  cached_has_bits = _has_bits_[0];
7635
  // optional .yb.master.MasterErrorPB error = 1;
7636
1.83k
  if (cached_has_bits & 0x00000001u) {
7637
174
    target = ::google::protobuf::internal::WireFormatLite::
7638
174
      InternalWriteMessageToArray(
7639
174
        1, *this->error_, deterministic, target);
7640
174
  }
7641
7642
  // repeated .yb.master.ListTablesResponsePB.TableInfo tables = 2;
7643
1.83k
  for (unsigned int i = 0,
7644
29.9k
      n = static_cast<unsigned int>(this->tables_size()); i < n; i++) {
7645
28.1k
    target = ::google::protobuf::internal::WireFormatLite::
7646
28.1k
      InternalWriteMessageToArray(
7647
28.1k
        2, this->tables(static_cast<int>(i)), deterministic, target);
7648
28.1k
  }
7649
7650
1.83k
  if (_internal_metadata_.have_unknown_fields()) {
7651
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7652
0
        _internal_metadata_.unknown_fields(), target);
7653
0
  }
7654
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListTablesResponsePB)
7655
1.83k
  return target;
7656
1.83k
}
7657
7658
3.66k
size_t ListTablesResponsePB::ByteSizeLong() const {
7659
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListTablesResponsePB)
7660
3.66k
  size_t total_size = 0;
7661
7662
3.66k
  if (_internal_metadata_.have_unknown_fields()) {
7663
0
    total_size +=
7664
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7665
0
        _internal_metadata_.unknown_fields());
7666
0
  }
7667
  // repeated .yb.master.ListTablesResponsePB.TableInfo tables = 2;
7668
3.66k
  {
7669
3.66k
    unsigned int count = static_cast<unsigned int>(this->tables_size());
7670
3.66k
    total_size += 1UL * count;
7671
59.9k
    for (unsigned int i = 0; i < count; i++) {
7672
56.2k
      total_size +=
7673
56.2k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
7674
56.2k
          this->tables(static_cast<int>(i)));
7675
56.2k
    }
7676
3.66k
  }
7677
7678
  // optional .yb.master.MasterErrorPB error = 1;
7679
3.66k
  if (has_error()) {
7680
348
    total_size += 1 +
7681
348
      ::google::protobuf::internal::WireFormatLite::MessageSize(
7682
348
        *this->error_);
7683
348
  }
7684
7685
3.66k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7686
3.66k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7687
3.66k
  _cached_size_ = cached_size;
7688
3.66k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7689
3.66k
  return total_size;
7690
3.66k
}
7691
7692
0
void ListTablesResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
7693
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListTablesResponsePB)
7694
0
  GOOGLE_DCHECK_NE(&from, this);
7695
0
  const ListTablesResponsePB* source =
7696
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListTablesResponsePB>(
7697
0
          &from);
7698
0
  if (source == NULL) {
7699
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListTablesResponsePB)
7700
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7701
0
  } else {
7702
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListTablesResponsePB)
7703
0
    MergeFrom(*source);
7704
0
  }
7705
0
}
7706
7707
0
void ListTablesResponsePB::MergeFrom(const ListTablesResponsePB& from) {
7708
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListTablesResponsePB)
7709
0
  GOOGLE_DCHECK_NE(&from, this);
7710
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7711
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7712
0
  (void) cached_has_bits;
7713
7714
0
  tables_.MergeFrom(from.tables_);
7715
0
  if (from.has_error()) {
7716
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
7717
0
  }
7718
0
}
7719
7720
0
void ListTablesResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
7721
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListTablesResponsePB)
7722
0
  if (&from == this) return;
7723
0
  Clear();
7724
0
  MergeFrom(from);
7725
0
}
7726
7727
0
void ListTablesResponsePB::CopyFrom(const ListTablesResponsePB& from) {
7728
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListTablesResponsePB)
7729
0
  if (&from == this) return;
7730
0
  Clear();
7731
0
  MergeFrom(from);
7732
0
}
7733
7734
3.27k
bool ListTablesResponsePB::IsInitialized() const {
7735
3.27k
  if (!::google::protobuf::internal::AllAreInitialized(this->tables())) return false;
7736
3.27k
  if (has_error()) {
7737
175
    if (!this->error_->IsInitialized()) return false;
7738
3.27k
  }
7739
3.27k
  return true;
7740
3.27k
}
7741
7742
0
void ListTablesResponsePB::Swap(ListTablesResponsePB* other) {
7743
0
  if (other == this) return;
7744
0
  InternalSwap(other);
7745
0
}
7746
0
void ListTablesResponsePB::InternalSwap(ListTablesResponsePB* other) {
7747
0
  using std::swap;
7748
0
  tables_.InternalSwap(&other->tables_);
7749
0
  swap(error_, other->error_);
7750
0
  swap(_has_bits_[0], other->_has_bits_[0]);
7751
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7752
0
  swap(_cached_size_, other->_cached_size_);
7753
0
}
7754
7755
70
::google::protobuf::Metadata ListTablesResponsePB::GetMetadata() const {
7756
70
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
7757
70
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
7758
70
}
7759
7760
7761
// ===================================================================
7762
7763
15.8k
void GetTableSchemaRequestPB::InitAsDefaultInstance() {
7764
15.8k
  ::yb::master::_GetTableSchemaRequestPB_default_instance_._instance.get_mutable()->table_ = const_cast< ::yb::master::TableIdentifierPB*>(
7765
15.8k
      ::yb::master::TableIdentifierPB::internal_default_instance());
7766
15.8k
}
7767
0
void GetTableSchemaRequestPB::clear_table() {
7768
0
  if (table_ != NULL) table_->Clear();
7769
0
  clear_has_table();
7770
0
}
7771
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7772
const int GetTableSchemaRequestPB::kTableFieldNumber;
7773
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7774
7775
GetTableSchemaRequestPB::GetTableSchemaRequestPB()
7776
241k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7777
225k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7778
225k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetTableSchemaRequestPB();
7779
225k
  }
7780
241k
  SharedCtor();
7781
  // @@protoc_insertion_point(constructor:yb.master.GetTableSchemaRequestPB)
7782
241k
}
7783
GetTableSchemaRequestPB::GetTableSchemaRequestPB(const GetTableSchemaRequestPB& from)
7784
  : ::google::protobuf::Message(),
7785
      _internal_metadata_(NULL),
7786
      _has_bits_(from._has_bits_),
7787
0
      _cached_size_(0) {
7788
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7789
0
  if (from.has_table()) {
7790
0
    table_ = new ::yb::master::TableIdentifierPB(*from.table_);
7791
0
  } else {
7792
0
    table_ = NULL;
7793
0
  }
7794
  // @@protoc_insertion_point(copy_constructor:yb.master.GetTableSchemaRequestPB)
7795
0
}
7796
7797
241k
void GetTableSchemaRequestPB::SharedCtor() {
7798
241k
  _cached_size_ = 0;
7799
241k
  table_ = NULL;
7800
241k
}
7801
7802
225k
GetTableSchemaRequestPB::~GetTableSchemaRequestPB() {
7803
  // @@protoc_insertion_point(destructor:yb.master.GetTableSchemaRequestPB)
7804
225k
  SharedDtor();
7805
225k
}
7806
7807
225k
void GetTableSchemaRequestPB::SharedDtor() {
7808
225k
  if (this != internal_default_instance()) delete table_;
7809
225k
}
7810
7811
0
void GetTableSchemaRequestPB::SetCachedSize(int size) const {
7812
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7813
0
  _cached_size_ = size;
7814
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7815
0
}
7816
0
const ::google::protobuf::Descriptor* GetTableSchemaRequestPB::descriptor() {
7817
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
7818
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7819
0
}
7820
7821
0
const GetTableSchemaRequestPB& GetTableSchemaRequestPB::default_instance() {
7822
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetTableSchemaRequestPB();
7823
0
  return *internal_default_instance();
7824
0
}
7825
7826
0
GetTableSchemaRequestPB* GetTableSchemaRequestPB::New(::google::protobuf::Arena* arena) const {
7827
0
  GetTableSchemaRequestPB* n = new GetTableSchemaRequestPB;
7828
0
  if (arena != NULL) {
7829
0
    arena->Own(n);
7830
0
  }
7831
0
  return n;
7832
0
}
7833
7834
116k
void GetTableSchemaRequestPB::Clear() {
7835
// @@protoc_insertion_point(message_clear_start:yb.master.GetTableSchemaRequestPB)
7836
116k
  ::google::protobuf::uint32 cached_has_bits = 0;
7837
  // Prevent compiler warnings about cached_has_bits being unused
7838
116k
  (void) cached_has_bits;
7839
7840
116k
  cached_has_bits = _has_bits_[0];
7841
116k
  if (cached_has_bits & 0x00000001u) {
7842
0
    GOOGLE_DCHECK(table_ != NULL);
7843
0
    table_->Clear();
7844
0
  }
7845
116k
  _has_bits_.Clear();
7846
116k
  _internal_metadata_.Clear();
7847
116k
}
7848
7849
bool GetTableSchemaRequestPB::MergePartialFromCodedStream(
7850
117k
    ::google::protobuf::io::CodedInputStream* input) {
7851
116k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7852
117k
  ::google::protobuf::uint32 tag;
7853
  // @@protoc_insertion_point(parse_start:yb.master.GetTableSchemaRequestPB)
7854
233k
  for (;;) {
7855
233k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7856
233k
    tag = p.first;
7857
233k
    if (!p.second) goto handle_unusual;
7858
117k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7859
      // required .yb.master.TableIdentifierPB table = 1;
7860
116k
      case 1: {
7861
116k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7862
116k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7863
116k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
7864
116k
               input, mutable_table()));
7865
18.4E
        } else {
7866
18.4E
          goto handle_unusual;
7867
18.4E
        }
7868
116k
        break;
7869
116k
      }
7870
7871
0
      default: {
7872
116k
      handle_unusual:
7873
116k
        if (tag == 0) {
7874
116k
          goto success;
7875
116k
        }
7876
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
7877
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
7878
18.4E
        break;
7879
18.4E
      }
7880
117k
    }
7881
117k
  }
7882
116k
success:
7883
  // @@protoc_insertion_point(parse_success:yb.master.GetTableSchemaRequestPB)
7884
116k
  return true;
7885
0
failure:
7886
  // @@protoc_insertion_point(parse_failure:yb.master.GetTableSchemaRequestPB)
7887
0
  return false;
7888
117k
#undef DO_
7889
117k
}
7890
7891
void GetTableSchemaRequestPB::SerializeWithCachedSizes(
7892
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7893
  // @@protoc_insertion_point(serialize_start:yb.master.GetTableSchemaRequestPB)
7894
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7895
0
  (void) cached_has_bits;
7896
7897
0
  cached_has_bits = _has_bits_[0];
7898
  // required .yb.master.TableIdentifierPB table = 1;
7899
0
  if (cached_has_bits & 0x00000001u) {
7900
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7901
0
      1, *this->table_, output);
7902
0
  }
7903
7904
0
  if (_internal_metadata_.have_unknown_fields()) {
7905
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7906
0
        _internal_metadata_.unknown_fields(), output);
7907
0
  }
7908
  // @@protoc_insertion_point(serialize_end:yb.master.GetTableSchemaRequestPB)
7909
0
}
7910
7911
::google::protobuf::uint8* GetTableSchemaRequestPB::InternalSerializeWithCachedSizesToArray(
7912
108k
    bool deterministic, ::google::protobuf::uint8* target) const {
7913
108k
  (void)deterministic; // Unused
7914
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetTableSchemaRequestPB)
7915
108k
  ::google::protobuf::uint32 cached_has_bits = 0;
7916
108k
  (void) cached_has_bits;
7917
7918
108k
  cached_has_bits = _has_bits_[0];
7919
  // required .yb.master.TableIdentifierPB table = 1;
7920
108k
  if (cached_has_bits & 0x00000001u) {
7921
108k
    target = ::google::protobuf::internal::WireFormatLite::
7922
108k
      InternalWriteMessageToArray(
7923
108k
        1, *this->table_, deterministic, target);
7924
108k
  }
7925
7926
108k
  if (_internal_metadata_.have_unknown_fields()) {
7927
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7928
0
        _internal_metadata_.unknown_fields(), target);
7929
0
  }
7930
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetTableSchemaRequestPB)
7931
108k
  return target;
7932
108k
}
7933
7934
216k
size_t GetTableSchemaRequestPB::ByteSizeLong() const {
7935
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetTableSchemaRequestPB)
7936
216k
  size_t total_size = 0;
7937
7938
216k
  if (_internal_metadata_.have_unknown_fields()) {
7939
0
    total_size +=
7940
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7941
0
        _internal_metadata_.unknown_fields());
7942
0
  }
7943
  // required .yb.master.TableIdentifierPB table = 1;
7944
216k
  if (has_table()) {
7945
216k
    total_size += 1 +
7946
216k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
7947
216k
        *this->table_);
7948
216k
  }
7949
216k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7950
216k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7951
216k
  _cached_size_ = cached_size;
7952
216k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7953
216k
  return total_size;
7954
216k
}
7955
7956
0
void GetTableSchemaRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
7957
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetTableSchemaRequestPB)
7958
0
  GOOGLE_DCHECK_NE(&from, this);
7959
0
  const GetTableSchemaRequestPB* source =
7960
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetTableSchemaRequestPB>(
7961
0
          &from);
7962
0
  if (source == NULL) {
7963
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetTableSchemaRequestPB)
7964
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7965
0
  } else {
7966
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetTableSchemaRequestPB)
7967
0
    MergeFrom(*source);
7968
0
  }
7969
0
}
7970
7971
0
void GetTableSchemaRequestPB::MergeFrom(const GetTableSchemaRequestPB& from) {
7972
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetTableSchemaRequestPB)
7973
0
  GOOGLE_DCHECK_NE(&from, this);
7974
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7975
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7976
0
  (void) cached_has_bits;
7977
7978
0
  if (from.has_table()) {
7979
0
    mutable_table()->::yb::master::TableIdentifierPB::MergeFrom(from.table());
7980
0
  }
7981
0
}
7982
7983
0
void GetTableSchemaRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
7984
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetTableSchemaRequestPB)
7985
0
  if (&from == this) return;
7986
0
  Clear();
7987
0
  MergeFrom(from);
7988
0
}
7989
7990
0
void GetTableSchemaRequestPB::CopyFrom(const GetTableSchemaRequestPB& from) {
7991
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetTableSchemaRequestPB)
7992
0
  if (&from == this) return;
7993
0
  Clear();
7994
0
  MergeFrom(from);
7995
0
}
7996
7997
225k
bool GetTableSchemaRequestPB::IsInitialized() const {
7998
225k
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
7999
225k
  return true;
8000
225k
}
8001
8002
0
void GetTableSchemaRequestPB::Swap(GetTableSchemaRequestPB* other) {
8003
0
  if (other == this) return;
8004
0
  InternalSwap(other);
8005
0
}
8006
0
void GetTableSchemaRequestPB::InternalSwap(GetTableSchemaRequestPB* other) {
8007
0
  using std::swap;
8008
0
  swap(table_, other->table_);
8009
0
  swap(_has_bits_[0], other->_has_bits_[0]);
8010
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
8011
0
  swap(_cached_size_, other->_cached_size_);
8012
0
}
8013
8014
116k
::google::protobuf::Metadata GetTableSchemaRequestPB::GetMetadata() const {
8015
116k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
8016
116k
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
8017
116k
}
8018
8019
8020
// ===================================================================
8021
8022
15.8k
void GetTableSchemaResponsePB::InitAsDefaultInstance() {
8023
15.8k
  ::yb::master::_GetTableSchemaResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
8024
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
8025
15.8k
  ::yb::master::_GetTableSchemaResponsePB_default_instance_._instance.get_mutable()->schema_ = const_cast< ::yb::SchemaPB*>(
8026
15.8k
      ::yb::SchemaPB::internal_default_instance());
8027
15.8k
  ::yb::master::_GetTableSchemaResponsePB_default_instance_._instance.get_mutable()->partition_schema_ = const_cast< ::yb::PartitionSchemaPB*>(
8028
15.8k
      ::yb::PartitionSchemaPB::internal_default_instance());
8029
15.8k
  ::yb::master::_GetTableSchemaResponsePB_default_instance_._instance.get_mutable()->replication_info_ = const_cast< ::yb::master::ReplicationInfoPB*>(
8030
15.8k
      ::yb::master::ReplicationInfoPB::internal_default_instance());
8031
15.8k
  ::yb::master::_GetTableSchemaResponsePB_default_instance_._instance.get_mutable()->identifier_ = const_cast< ::yb::master::TableIdentifierPB*>(
8032
15.8k
      ::yb::master::TableIdentifierPB::internal_default_instance());
8033
15.8k
  ::yb::master::_GetTableSchemaResponsePB_default_instance_._instance.get_mutable()->index_info_ = const_cast< ::yb::IndexInfoPB*>(
8034
15.8k
      ::yb::IndexInfoPB::internal_default_instance());
8035
15.8k
}
8036
0
void GetTableSchemaResponsePB::clear_error() {
8037
0
  if (error_ != NULL) error_->Clear();
8038
0
  clear_has_error();
8039
0
}
8040
0
void GetTableSchemaResponsePB::clear_schema() {
8041
0
  if (schema_ != NULL) schema_->Clear();
8042
0
  clear_has_schema();
8043
0
}
8044
0
void GetTableSchemaResponsePB::clear_partition_schema() {
8045
0
  if (partition_schema_ != NULL) partition_schema_->Clear();
8046
0
  clear_has_partition_schema();
8047
0
}
8048
0
void GetTableSchemaResponsePB::clear_replication_info() {
8049
0
  if (replication_info_ != NULL) replication_info_->Clear();
8050
0
  clear_has_replication_info();
8051
0
}
8052
0
void GetTableSchemaResponsePB::clear_identifier() {
8053
0
  if (identifier_ != NULL) identifier_->Clear();
8054
0
  clear_has_identifier();
8055
0
}
8056
0
void GetTableSchemaResponsePB::clear_indexes() {
8057
0
  indexes_.Clear();
8058
0
}
8059
0
void GetTableSchemaResponsePB::clear_index_info() {
8060
0
  if (index_info_ != NULL) index_info_->Clear();
8061
0
  clear_has_index_info();
8062
0
}
8063
#if !defined(_MSC_VER) || _MSC_VER >= 1900
8064
const int GetTableSchemaResponsePB::kErrorFieldNumber;
8065
const int GetTableSchemaResponsePB::kSchemaFieldNumber;
8066
const int GetTableSchemaResponsePB::kVersionFieldNumber;
8067
const int GetTableSchemaResponsePB::kPartitionSchemaFieldNumber;
8068
const int GetTableSchemaResponsePB::kReplicationInfoFieldNumber;
8069
const int GetTableSchemaResponsePB::kCreateTableDoneFieldNumber;
8070
const int GetTableSchemaResponsePB::kTableTypeFieldNumber;
8071
const int GetTableSchemaResponsePB::kIdentifierFieldNumber;
8072
const int GetTableSchemaResponsePB::kIndexesFieldNumber;
8073
const int GetTableSchemaResponsePB::kOBSOLETEIndexedTableIdFieldNumber;
8074
const int GetTableSchemaResponsePB::kIndexInfoFieldNumber;
8075
const int GetTableSchemaResponsePB::kColocatedFieldNumber;
8076
const int GetTableSchemaResponsePB::kIsCompatibleWithPreviousVersionFieldNumber;
8077
const int GetTableSchemaResponsePB::kWalRetentionSecsFieldNumber;
8078
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
8079
8080
GetTableSchemaResponsePB::GetTableSchemaResponsePB()
8081
407k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8082
390k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
8083
390k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetTableSchemaResponsePB();
8084
390k
  }
8085
407k
  SharedCtor();
8086
  // @@protoc_insertion_point(constructor:yb.master.GetTableSchemaResponsePB)
8087
407k
}
8088
GetTableSchemaResponsePB::GetTableSchemaResponsePB(const GetTableSchemaResponsePB& from)
8089
  : ::google::protobuf::Message(),
8090
      _internal_metadata_(NULL),
8091
      _has_bits_(from._has_bits_),
8092
      _cached_size_(0),
8093
0
      indexes_(from.indexes_) {
8094
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8095
0
  obsolete_indexed_table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8096
0
  if (from.has_obsolete_indexed_table_id()) {
8097
0
    obsolete_indexed_table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_indexed_table_id_);
8098
0
  }
8099
0
  if (from.has_error()) {
8100
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
8101
0
  } else {
8102
0
    error_ = NULL;
8103
0
  }
8104
0
  if (from.has_schema()) {
8105
0
    schema_ = new ::yb::SchemaPB(*from.schema_);
8106
0
  } else {
8107
0
    schema_ = NULL;
8108
0
  }
8109
0
  if (from.has_replication_info()) {
8110
0
    replication_info_ = new ::yb::master::ReplicationInfoPB(*from.replication_info_);
8111
0
  } else {
8112
0
    replication_info_ = NULL;
8113
0
  }
8114
0
  if (from.has_partition_schema()) {
8115
0
    partition_schema_ = new ::yb::PartitionSchemaPB(*from.partition_schema_);
8116
0
  } else {
8117
0
    partition_schema_ = NULL;
8118
0
  }
8119
0
  if (from.has_identifier()) {
8120
0
    identifier_ = new ::yb::master::TableIdentifierPB(*from.identifier_);
8121
0
  } else {
8122
0
    identifier_ = NULL;
8123
0
  }
8124
0
  if (from.has_index_info()) {
8125
0
    index_info_ = new ::yb::IndexInfoPB(*from.index_info_);
8126
0
  } else {
8127
0
    index_info_ = NULL;
8128
0
  }
8129
0
  ::memcpy(&version_, &from.version_,
8130
0
    static_cast<size_t>(reinterpret_cast<char*>(&table_type_) -
8131
0
    reinterpret_cast<char*>(&version_)) + sizeof(table_type_));
8132
  // @@protoc_insertion_point(copy_constructor:yb.master.GetTableSchemaResponsePB)
8133
0
}
8134
8135
406k
void GetTableSchemaResponsePB::SharedCtor() {
8136
406k
  _cached_size_ = 0;
8137
406k
  obsolete_indexed_table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8138
406k
  ::memset(&error_, 0, static_cast<size_t>(
8139
406k
      reinterpret_cast<char*>(&wal_retention_secs_) -
8140
406k
      reinterpret_cast<char*>(&error_)) + sizeof(wal_retention_secs_));
8141
406k
  table_type_ = 2;
8142
406k
}
8143
8144
372k
GetTableSchemaResponsePB::~GetTableSchemaResponsePB() {
8145
  // @@protoc_insertion_point(destructor:yb.master.GetTableSchemaResponsePB)
8146
372k
  SharedDtor();
8147
372k
}
8148
8149
372k
void GetTableSchemaResponsePB::SharedDtor() {
8150
372k
  obsolete_indexed_table_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8151
372k
  if (this != internal_default_instance()) delete error_;
8152
372k
  if (this != internal_default_instance()) delete schema_;
8153
372k
  if (this != internal_default_instance()) delete replication_info_;
8154
372k
  if (this != internal_default_instance()) delete partition_schema_;
8155
372k
  if (this != internal_default_instance()) delete identifier_;
8156
372k
  if (this != internal_default_instance()) delete index_info_;
8157
372k
}
8158
8159
0
void GetTableSchemaResponsePB::SetCachedSize(int size) const {
8160
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8161
0
  _cached_size_ = size;
8162
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8163
0
}
8164
0
const ::google::protobuf::Descriptor* GetTableSchemaResponsePB::descriptor() {
8165
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
8166
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
8167
0
}
8168
8169
0
const GetTableSchemaResponsePB& GetTableSchemaResponsePB::default_instance() {
8170
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetTableSchemaResponsePB();
8171
0
  return *internal_default_instance();
8172
0
}
8173
8174
0
GetTableSchemaResponsePB* GetTableSchemaResponsePB::New(::google::protobuf::Arena* arena) const {
8175
0
  GetTableSchemaResponsePB* n = new GetTableSchemaResponsePB;
8176
0
  if (arena != NULL) {
8177
0
    arena->Own(n);
8178
0
  }
8179
0
  return n;
8180
0
}
8181
8182
172k
void GetTableSchemaResponsePB::Clear() {
8183
// @@protoc_insertion_point(message_clear_start:yb.master.GetTableSchemaResponsePB)
8184
172k
  ::google::protobuf::uint32 cached_has_bits = 0;
8185
  // Prevent compiler warnings about cached_has_bits being unused
8186
172k
  (void) cached_has_bits;
8187
8188
172k
  indexes_.Clear();
8189
172k
  cached_has_bits = _has_bits_[0];
8190
172k
  if (cached_has_bits & 127u) {
8191
2
    if (cached_has_bits & 0x00000001u) {
8192
0
      GOOGLE_DCHECK(!obsolete_indexed_table_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
8193
0
      (*obsolete_indexed_table_id_.UnsafeRawStringPointer())->clear();
8194
0
    }
8195
2
    if (cached_has_bits & 0x00000002u) {
8196
2
      GOOGLE_DCHECK(error_ != NULL);
8197
2
      error_->Clear();
8198
2
    }
8199
2
    if (cached_has_bits & 0x00000004u) {
8200
0
      GOOGLE_DCHECK(schema_ != NULL);
8201
0
      schema_->Clear();
8202
0
    }
8203
2
    if (cached_has_bits & 0x00000008u) {
8204
0
      GOOGLE_DCHECK(replication_info_ != NULL);
8205
0
      replication_info_->Clear();
8206
0
    }
8207
2
    if (cached_has_bits & 0x00000010u) {
8208
0
      GOOGLE_DCHECK(partition_schema_ != NULL);
8209
0
      partition_schema_->Clear();
8210
0
    }
8211
2
    if (cached_has_bits & 0x00000020u) {
8212
0
      GOOGLE_DCHECK(identifier_ != NULL);
8213
0
      identifier_->Clear();
8214
0
    }
8215
2
    if (cached_has_bits & 0x00000040u) {
8216
0
      GOOGLE_DCHECK(index_info_ != NULL);
8217
0
      index_info_->Clear();
8218
0
    }
8219
2
  }
8220
172k
  version_ = 0u;
8221
172k
  if (cached_has_bits & 7936u) {
8222
0
    ::memset(&create_table_done_, 0, static_cast<size_t>(
8223
0
        reinterpret_cast<char*>(&wal_retention_secs_) -
8224
0
        reinterpret_cast<char*>(&create_table_done_)) + sizeof(wal_retention_secs_));
8225
0
    table_type_ = 2;
8226
0
  }
8227
172k
  _has_bits_.Clear();
8228
172k
  _internal_metadata_.Clear();
8229
172k
}
8230
8231
bool GetTableSchemaResponsePB::MergePartialFromCodedStream(
8232
172k
    ::google::protobuf::io::CodedInputStream* input) {
8233
1.44M
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
8234
172k
  ::google::protobuf::uint32 tag;
8235
  // @@protoc_insertion_point(parse_start:yb.master.GetTableSchemaResponsePB)
8236
1.62M
  for (;;) {
8237
1.62M
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8238
1.62M
    tag = p.first;
8239
1.62M
    if (!p.second) goto handle_unusual;
8240
1.44M
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8241
      // optional .yb.master.MasterErrorPB error = 1;
8242
2.39k
      case 1: {
8243
2.39k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8244
2.39k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
8245
2.39k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8246
2.39k
               input, mutable_error()));
8247
0
        } else {
8248
0
          goto handle_unusual;
8249
0
        }
8250
2.39k
        break;
8251
2.39k
      }
8252
8253
      // optional .yb.SchemaPB schema = 2;
8254
170k
      case 2: {
8255
170k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8256
170k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
8257
170k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8258
170k
               input, mutable_schema()));
8259
18.4E
        } else {
8260
18.4E
          goto handle_unusual;
8261
18.4E
        }
8262
170k
        break;
8263
170k
      }
8264
8265
      // optional .yb.master.ReplicationInfoPB replication_info = 3;
8266
2
      case 3: {
8267
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8268
2
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
8269
2
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8270
2
               input, mutable_replication_info()));
8271
0
        } else {
8272
0
          goto handle_unusual;
8273
0
        }
8274
2
        break;
8275
2
      }
8276
8277
      // optional .yb.PartitionSchemaPB partition_schema = 5;
8278
170k
      case 5: {
8279
170k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8280
170k
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
8281
170k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8282
170k
               input, mutable_partition_schema()));
8283
13
        } else {
8284
13
          goto handle_unusual;
8285
13
        }
8286
170k
        break;
8287
170k
      }
8288
8289
      // optional bool create_table_done = 6;
8290
170k
      case 6: {
8291
170k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8292
170k
            static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
8293
170k
          set_has_create_table_done();
8294
170k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8295
170k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
8296
170k
                 input, &create_table_done_)));
8297
0
        } else {
8298
0
          goto handle_unusual;
8299
0
        }
8300
170k
        break;
8301
170k
      }
8302
8303
      // optional .yb.TableType table_type = 7;
8304
170k
      case 7: {
8305
170k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8306
170k
            static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
8307
170k
          int value;
8308
170k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8309
170k
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
8310
170k
                 input, &value)));
8311
170k
          if (::yb::TableType_IsValid(value)) {
8312
170k
            set_table_type(static_cast< ::yb::TableType >(value));
8313
97
          } else {
8314
97
            mutable_unknown_fields()->AddVarint(
8315
97
                7, static_cast< ::google::protobuf::uint64>(value));
8316
97
          }
8317
18.4E
        } else {
8318
18.4E
          goto handle_unusual;
8319
18.4E
        }
8320
170k
        break;
8321
170k
      }
8322
8323
      // optional .yb.master.TableIdentifierPB identifier = 8;
8324
170k
      case 8: {
8325
170k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8326
170k
            static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
8327
170k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8328
170k
               input, mutable_identifier()));
8329
18.4E
        } else {
8330
18.4E
          goto handle_unusual;
8331
18.4E
        }
8332
170k
        break;
8333
170k
      }
8334
8335
      // optional uint32 version = 9;
8336
170k
      case 9: {
8337
170k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8338
170k
            static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
8339
170k
          set_has_version();
8340
170k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8341
170k
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
8342
170k
                 input, &version_)));
8343
18.4E
        } else {
8344
18.4E
          goto handle_unusual;
8345
18.4E
        }
8346
170k
        break;
8347
170k
      }
8348
8349
      // repeated .yb.IndexInfoPB indexes = 10;
8350
6.25k
      case 10: {
8351
6.25k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8352
6.25k
            static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) {
8353
6.25k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_indexes()));
8354
0
        } else {
8355
0
          goto handle_unusual;
8356
0
        }
8357
6.25k
        break;
8358
6.25k
      }
8359
8360
      // optional bytes OBSOLETE_indexed_table_id = 11;
8361
38.3k
      case 11: {
8362
38.3k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8363
38.3k
            static_cast< ::google::protobuf::uint8>(90u /* 90 & 0xFF */)) {
8364
38.3k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
8365
38.3k
                input, this->mutable_obsolete_indexed_table_id()));
8366
18.4E
        } else {
8367
18.4E
          goto handle_unusual;
8368
18.4E
        }
8369
38.3k
        break;
8370
38.3k
      }
8371
8372
      // optional .yb.IndexInfoPB index_info = 12;
8373
38.3k
      case 12: {
8374
38.3k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8375
38.3k
            static_cast< ::google::protobuf::uint8>(98u /* 98 & 0xFF */)) {
8376
38.3k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8377
38.3k
               input, mutable_index_info()));
8378
18.4E
        } else {
8379
18.4E
          goto handle_unusual;
8380
18.4E
        }
8381
38.3k
        break;
8382
38.3k
      }
8383
8384
      // optional bool colocated = 13;
8385
170k
      case 13: {
8386
170k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8387
170k
            static_cast< ::google::protobuf::uint8>(104u /* 104 & 0xFF */)) {
8388
170k
          set_has_colocated();
8389
170k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8390
170k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
8391
170k
                 input, &colocated_)));
8392
18.4E
        } else {
8393
18.4E
          goto handle_unusual;
8394
18.4E
        }
8395
170k
        break;
8396
170k
      }
8397
8398
      // optional bool is_compatible_with_previous_version = 14 [default = false];
8399
170k
      case 14: {
8400
170k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8401
170k
            static_cast< ::google::protobuf::uint8>(112u /* 112 & 0xFF */)) {
8402
170k
          set_has_is_compatible_with_previous_version();
8403
170k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8404
170k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
8405
170k
                 input, &is_compatible_with_previous_version_)));
8406
18.4E
        } else {
8407
18.4E
          goto handle_unusual;
8408
18.4E
        }
8409
170k
        break;
8410
170k
      }
8411
8412
      // optional uint32 wal_retention_secs = 15;
8413
2.39k
      case 15: {
8414
2.39k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8415
2.39k
            static_cast< ::google::protobuf::uint8>(120u /* 120 & 0xFF */)) {
8416
2.39k
          set_has_wal_retention_secs();
8417
2.39k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8418
2.39k
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
8419
2.39k
                 input, &wal_retention_secs_)));
8420
0
        } else {
8421
0
          goto handle_unusual;
8422
0
        }
8423
2.39k
        break;
8424
172k
      }
8425
8426
0
      default: {
8427
172k
      handle_unusual:
8428
172k
        if (tag == 0) {
8429
172k
          goto success;
8430
172k
        }
8431
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
8432
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
8433
18.4E
        break;
8434
18.4E
      }
8435
1.44M
    }
8436
1.44M
  }
8437
172k
success:
8438
  // @@protoc_insertion_point(parse_success:yb.master.GetTableSchemaResponsePB)
8439
172k
  return true;
8440
0
failure:
8441
  // @@protoc_insertion_point(parse_failure:yb.master.GetTableSchemaResponsePB)
8442
0
  return false;
8443
172k
#undef DO_
8444
172k
}
8445
8446
void GetTableSchemaResponsePB::SerializeWithCachedSizes(
8447
0
    ::google::protobuf::io::CodedOutputStream* output) const {
8448
  // @@protoc_insertion_point(serialize_start:yb.master.GetTableSchemaResponsePB)
8449
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8450
0
  (void) cached_has_bits;
8451
8452
0
  cached_has_bits = _has_bits_[0];
8453
  // optional .yb.master.MasterErrorPB error = 1;
8454
0
  if (cached_has_bits & 0x00000002u) {
8455
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8456
0
      1, *this->error_, output);
8457
0
  }
8458
8459
  // optional .yb.SchemaPB schema = 2;
8460
0
  if (cached_has_bits & 0x00000004u) {
8461
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8462
0
      2, *this->schema_, output);
8463
0
  }
8464
8465
  // optional .yb.master.ReplicationInfoPB replication_info = 3;
8466
0
  if (cached_has_bits & 0x00000008u) {
8467
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8468
0
      3, *this->replication_info_, output);
8469
0
  }
8470
8471
  // optional .yb.PartitionSchemaPB partition_schema = 5;
8472
0
  if (cached_has_bits & 0x00000010u) {
8473
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8474
0
      5, *this->partition_schema_, output);
8475
0
  }
8476
8477
  // optional bool create_table_done = 6;
8478
0
  if (cached_has_bits & 0x00000100u) {
8479
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->create_table_done(), output);
8480
0
  }
8481
8482
  // optional .yb.TableType table_type = 7;
8483
0
  if (cached_has_bits & 0x00001000u) {
8484
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
8485
0
      7, this->table_type(), output);
8486
0
  }
8487
8488
  // optional .yb.master.TableIdentifierPB identifier = 8;
8489
0
  if (cached_has_bits & 0x00000020u) {
8490
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8491
0
      8, *this->identifier_, output);
8492
0
  }
8493
8494
  // optional uint32 version = 9;
8495
0
  if (cached_has_bits & 0x00000080u) {
8496
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(9, this->version(), output);
8497
0
  }
8498
8499
  // repeated .yb.IndexInfoPB indexes = 10;
8500
0
  for (unsigned int i = 0,
8501
0
      n = static_cast<unsigned int>(this->indexes_size()); i < n; i++) {
8502
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8503
0
      10, this->indexes(static_cast<int>(i)), output);
8504
0
  }
8505
8506
  // optional bytes OBSOLETE_indexed_table_id = 11;
8507
0
  if (cached_has_bits & 0x00000001u) {
8508
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
8509
0
      11, this->obsolete_indexed_table_id(), output);
8510
0
  }
8511
8512
  // optional .yb.IndexInfoPB index_info = 12;
8513
0
  if (cached_has_bits & 0x00000040u) {
8514
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8515
0
      12, *this->index_info_, output);
8516
0
  }
8517
8518
  // optional bool colocated = 13;
8519
0
  if (cached_has_bits & 0x00000200u) {
8520
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(13, this->colocated(), output);
8521
0
  }
8522
8523
  // optional bool is_compatible_with_previous_version = 14 [default = false];
8524
0
  if (cached_has_bits & 0x00000400u) {
8525
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(14, this->is_compatible_with_previous_version(), output);
8526
0
  }
8527
8528
  // optional uint32 wal_retention_secs = 15;
8529
0
  if (cached_has_bits & 0x00000800u) {
8530
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(15, this->wal_retention_secs(), output);
8531
0
  }
8532
8533
0
  if (_internal_metadata_.have_unknown_fields()) {
8534
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8535
0
        _internal_metadata_.unknown_fields(), output);
8536
0
  }
8537
  // @@protoc_insertion_point(serialize_end:yb.master.GetTableSchemaResponsePB)
8538
0
}
8539
8540
::google::protobuf::uint8* GetTableSchemaResponsePB::InternalSerializeWithCachedSizesToArray(
8541
181k
    bool deterministic, ::google::protobuf::uint8* target) const {
8542
181k
  (void)deterministic; // Unused
8543
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetTableSchemaResponsePB)
8544
181k
  ::google::protobuf::uint32 cached_has_bits = 0;
8545
181k
  (void) cached_has_bits;
8546
8547
181k
  cached_has_bits = _has_bits_[0];
8548
  // optional .yb.master.MasterErrorPB error = 1;
8549
181k
  if (cached_has_bits & 0x00000002u) {
8550
2.39k
    target = ::google::protobuf::internal::WireFormatLite::
8551
2.39k
      InternalWriteMessageToArray(
8552
2.39k
        1, *this->error_, deterministic, target);
8553
2.39k
  }
8554
8555
  // optional .yb.SchemaPB schema = 2;
8556
181k
  if (cached_has_bits & 0x00000004u) {
8557
179k
    target = ::google::protobuf::internal::WireFormatLite::
8558
179k
      InternalWriteMessageToArray(
8559
179k
        2, *this->schema_, deterministic, target);
8560
179k
  }
8561
8562
  // optional .yb.master.ReplicationInfoPB replication_info = 3;
8563
181k
  if (cached_has_bits & 0x00000008u) {
8564
2
    target = ::google::protobuf::internal::WireFormatLite::
8565
2
      InternalWriteMessageToArray(
8566
2
        3, *this->replication_info_, deterministic, target);
8567
2
  }
8568
8569
  // optional .yb.PartitionSchemaPB partition_schema = 5;
8570
181k
  if (cached_has_bits & 0x00000010u) {
8571
179k
    target = ::google::protobuf::internal::WireFormatLite::
8572
179k
      InternalWriteMessageToArray(
8573
179k
        5, *this->partition_schema_, deterministic, target);
8574
179k
  }
8575
8576
  // optional bool create_table_done = 6;
8577
181k
  if (cached_has_bits & 0x00000100u) {
8578
179k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->create_table_done(), target);
8579
179k
  }
8580
8581
  // optional .yb.TableType table_type = 7;
8582
181k
  if (cached_has_bits & 0x00001000u) {
8583
179k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
8584
179k
      7, this->table_type(), target);
8585
179k
  }
8586
8587
  // optional .yb.master.TableIdentifierPB identifier = 8;
8588
181k
  if (cached_has_bits & 0x00000020u) {
8589
179k
    target = ::google::protobuf::internal::WireFormatLite::
8590
179k
      InternalWriteMessageToArray(
8591
179k
        8, *this->identifier_, deterministic, target);
8592
179k
  }
8593
8594
  // optional uint32 version = 9;
8595
181k
  if (cached_has_bits & 0x00000080u) {
8596
179k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(9, this->version(), target);
8597
179k
  }
8598
8599
  // repeated .yb.IndexInfoPB indexes = 10;
8600
181k
  for (unsigned int i = 0,
8601
194k
      n = static_cast<unsigned int>(this->indexes_size()); i < n; i++) {
8602
13.0k
    target = ::google::protobuf::internal::WireFormatLite::
8603
13.0k
      InternalWriteMessageToArray(
8604
13.0k
        10, this->indexes(static_cast<int>(i)), deterministic, target);
8605
13.0k
  }
8606
8607
  // optional bytes OBSOLETE_indexed_table_id = 11;
8608
181k
  if (cached_has_bits & 0x00000001u) {
8609
44.8k
    target =
8610
44.8k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
8611
44.8k
        11, this->obsolete_indexed_table_id(), target);
8612
44.8k
  }
8613
8614
  // optional .yb.IndexInfoPB index_info = 12;
8615
181k
  if (cached_has_bits & 0x00000040u) {
8616
44.8k
    target = ::google::protobuf::internal::WireFormatLite::
8617
44.8k
      InternalWriteMessageToArray(
8618
44.8k
        12, *this->index_info_, deterministic, target);
8619
44.8k
  }
8620
8621
  // optional bool colocated = 13;
8622
181k
  if (cached_has_bits & 0x00000200u) {
8623
179k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(13, this->colocated(), target);
8624
179k
  }
8625
8626
  // optional bool is_compatible_with_previous_version = 14 [default = false];
8627
181k
  if (cached_has_bits & 0x00000400u) {
8628
179k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(14, this->is_compatible_with_previous_version(), target);
8629
179k
  }
8630
8631
  // optional uint32 wal_retention_secs = 15;
8632
181k
  if (cached_has_bits & 0x00000800u) {
8633
2.46k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(15, this->wal_retention_secs(), target);
8634
2.46k
  }
8635
8636
181k
  if (_internal_metadata_.have_unknown_fields()) {
8637
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8638
0
        _internal_metadata_.unknown_fields(), target);
8639
0
  }
8640
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetTableSchemaResponsePB)
8641
181k
  return target;
8642
181k
}
8643
8644
363k
size_t GetTableSchemaResponsePB::ByteSizeLong() const {
8645
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetTableSchemaResponsePB)
8646
363k
  size_t total_size = 0;
8647
8648
363k
  if (_internal_metadata_.have_unknown_fields()) {
8649
0
    total_size +=
8650
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8651
0
        _internal_metadata_.unknown_fields());
8652
0
  }
8653
  // repeated .yb.IndexInfoPB indexes = 10;
8654
363k
  {
8655
363k
    unsigned int count = static_cast<unsigned int>(this->indexes_size());
8656
363k
    total_size += 1UL * count;
8657
389k
    for (unsigned int i = 0; i < count; i++) {
8658
26.1k
      total_size +=
8659
26.1k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8660
26.1k
          this->indexes(static_cast<int>(i)));
8661
26.1k
    }
8662
363k
  }
8663
8664
363k
  if (_has_bits_[0 / 32] & 255u) {
8665
    // optional bytes OBSOLETE_indexed_table_id = 11;
8666
363k
    if (has_obsolete_indexed_table_id()) {
8667
89.7k
      total_size += 1 +
8668
89.7k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
8669
89.7k
          this->obsolete_indexed_table_id());
8670
89.7k
    }
8671
8672
    // optional .yb.master.MasterErrorPB error = 1;
8673
363k
    if (has_error()) {
8674
4.79k
      total_size += 1 +
8675
4.79k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8676
4.79k
          *this->error_);
8677
4.79k
    }
8678
8679
    // optional .yb.SchemaPB schema = 2;
8680
363k
    if (has_schema()) {
8681
358k
      total_size += 1 +
8682
358k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8683
358k
          *this->schema_);
8684
358k
    }
8685
8686
    // optional .yb.master.ReplicationInfoPB replication_info = 3;
8687
363k
    if (has_replication_info()) {
8688
4
      total_size += 1 +
8689
4
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8690
4
          *this->replication_info_);
8691
4
    }
8692
8693
    // optional .yb.PartitionSchemaPB partition_schema = 5;
8694
363k
    if (has_partition_schema()) {
8695
358k
      total_size += 1 +
8696
358k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8697
358k
          *this->partition_schema_);
8698
358k
    }
8699
8700
    // optional .yb.master.TableIdentifierPB identifier = 8;
8701
363k
    if (has_identifier()) {
8702
358k
      total_size += 1 +
8703
358k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8704
358k
          *this->identifier_);
8705
358k
    }
8706
8707
    // optional .yb.IndexInfoPB index_info = 12;
8708
363k
    if (has_index_info()) {
8709
89.7k
      total_size += 1 +
8710
89.7k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8711
89.7k
          *this->index_info_);
8712
89.7k
    }
8713
8714
    // optional uint32 version = 9;
8715
363k
    if (has_version()) {
8716
358k
      total_size += 1 +
8717
358k
        ::google::protobuf::internal::WireFormatLite::UInt32Size(
8718
358k
          this->version());
8719
358k
    }
8720
8721
363k
  }
8722
363k
  if (_has_bits_[8 / 32] & 7936u) {
8723
    // optional bool create_table_done = 6;
8724
358k
    if (has_create_table_done()) {
8725
358k
      total_size += 1 + 1;
8726
358k
    }
8727
8728
    // optional bool colocated = 13;
8729
358k
    if (has_colocated()) {
8730
358k
      total_size += 1 + 1;
8731
358k
    }
8732
8733
    // optional bool is_compatible_with_previous_version = 14 [default = false];
8734
358k
    if (has_is_compatible_with_previous_version()) {
8735
358k
      total_size += 1 + 1;
8736
358k
    }
8737
8738
    // optional uint32 wal_retention_secs = 15;
8739
358k
    if (has_wal_retention_secs()) {
8740
4.92k
      total_size += 1 +
8741
4.92k
        ::google::protobuf::internal::WireFormatLite::UInt32Size(
8742
4.92k
          this->wal_retention_secs());
8743
4.92k
    }
8744
8745
    // optional .yb.TableType table_type = 7;
8746
358k
    if (has_table_type()) {
8747
358k
      total_size += 1 +
8748
358k
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->table_type());
8749
358k
    }
8750
8751
358k
  }
8752
363k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8753
363k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8754
363k
  _cached_size_ = cached_size;
8755
363k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8756
363k
  return total_size;
8757
363k
}
8758
8759
0
void GetTableSchemaResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
8760
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetTableSchemaResponsePB)
8761
0
  GOOGLE_DCHECK_NE(&from, this);
8762
0
  const GetTableSchemaResponsePB* source =
8763
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetTableSchemaResponsePB>(
8764
0
          &from);
8765
0
  if (source == NULL) {
8766
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetTableSchemaResponsePB)
8767
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8768
0
  } else {
8769
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetTableSchemaResponsePB)
8770
0
    MergeFrom(*source);
8771
0
  }
8772
0
}
8773
8774
64.5k
void GetTableSchemaResponsePB::MergeFrom(const GetTableSchemaResponsePB& from) {
8775
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetTableSchemaResponsePB)
8776
64.5k
  GOOGLE_DCHECK_NE(&from, this);
8777
64.5k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8778
64.5k
  ::google::protobuf::uint32 cached_has_bits = 0;
8779
64.5k
  (void) cached_has_bits;
8780
8781
64.5k
  indexes_.MergeFrom(from.indexes_);
8782
64.5k
  cached_has_bits = from._has_bits_[0];
8783
64.5k
  if (cached_has_bits & 255u) {
8784
64.5k
    if (cached_has_bits & 0x00000001u) {
8785
22.6k
      set_has_obsolete_indexed_table_id();
8786
22.6k
      obsolete_indexed_table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_indexed_table_id_);
8787
22.6k
    }
8788
64.5k
    if (cached_has_bits & 0x00000002u) {
8789
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
8790
0
    }
8791
64.5k
    if (cached_has_bits & 0x00000004u) {
8792
64.5k
      mutable_schema()->::yb::SchemaPB::MergeFrom(from.schema());
8793
64.5k
    }
8794
64.5k
    if (cached_has_bits & 0x00000008u) {
8795
0
      mutable_replication_info()->::yb::master::ReplicationInfoPB::MergeFrom(from.replication_info());
8796
0
    }
8797
64.5k
    if (cached_has_bits & 0x00000010u) {
8798
64.5k
      mutable_partition_schema()->::yb::PartitionSchemaPB::MergeFrom(from.partition_schema());
8799
64.5k
    }
8800
64.5k
    if (cached_has_bits & 0x00000020u) {
8801
64.5k
      mutable_identifier()->::yb::master::TableIdentifierPB::MergeFrom(from.identifier());
8802
64.5k
    }
8803
64.5k
    if (cached_has_bits & 0x00000040u) {
8804
22.6k
      mutable_index_info()->::yb::IndexInfoPB::MergeFrom(from.index_info());
8805
22.6k
    }
8806
64.5k
    if (cached_has_bits & 0x00000080u) {
8807
64.5k
      version_ = from.version_;
8808
64.5k
    }
8809
64.5k
    _has_bits_[0] |= cached_has_bits;
8810
64.5k
  }
8811
64.5k
  if (cached_has_bits & 7936u) {
8812
64.5k
    if (cached_has_bits & 0x00000100u) {
8813
64.5k
      create_table_done_ = from.create_table_done_;
8814
64.5k
    }
8815
64.5k
    if (cached_has_bits & 0x00000200u) {
8816
64.5k
      colocated_ = from.colocated_;
8817
64.5k
    }
8818
64.5k
    if (cached_has_bits & 0x00000400u) {
8819
64.5k
      is_compatible_with_previous_version_ = from.is_compatible_with_previous_version_;
8820
64.5k
    }
8821
64.5k
    if (cached_has_bits & 0x00000800u) {
8822
2
      wal_retention_secs_ = from.wal_retention_secs_;
8823
2
    }
8824
64.5k
    if (cached_has_bits & 0x00001000u) {
8825
64.5k
      table_type_ = from.table_type_;
8826
64.5k
    }
8827
64.5k
    _has_bits_[0] |= cached_has_bits;
8828
64.5k
  }
8829
64.5k
}
8830
8831
0
void GetTableSchemaResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
8832
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetTableSchemaResponsePB)
8833
0
  if (&from == this) return;
8834
0
  Clear();
8835
0
  MergeFrom(from);
8836
0
}
8837
8838
64.5k
void GetTableSchemaResponsePB::CopyFrom(const GetTableSchemaResponsePB& from) {
8839
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetTableSchemaResponsePB)
8840
64.5k
  if (&from == this) return;
8841
64.5k
  Clear();
8842
64.5k
  MergeFrom(from);
8843
64.5k
}
8844
8845
354k
bool GetTableSchemaResponsePB::IsInitialized() const {
8846
354k
  if (!::google::protobuf::internal::AllAreInitialized(this->indexes())) return false;
8847
354k
  if (has_error()) {
8848
4.79k
    if (!this->error_->IsInitialized()) return false;
8849
354k
  }
8850
354k
  if (has_schema()) {
8851
349k
    if (!this->schema_->IsInitialized()) return false;
8852
354k
  }
8853
354k
  if (has_partition_schema()) {
8854
349k
    if (!this->partition_schema_->IsInitialized()) return false;
8855
354k
  }
8856
354k
  if (has_index_info()) {
8857
83.1k
    if (!this->index_info_->IsInitialized()) return false;
8858
354k
  }
8859
354k
  return true;
8860
354k
}
8861
8862
35.9k
void GetTableSchemaResponsePB::Swap(GetTableSchemaResponsePB* other) {
8863
35.9k
  if (other == this) return;
8864
35.9k
  InternalSwap(other);
8865
35.9k
}
8866
35.9k
void GetTableSchemaResponsePB::InternalSwap(GetTableSchemaResponsePB* other) {
8867
35.9k
  using std::swap;
8868
35.9k
  indexes_.InternalSwap(&other->indexes_);
8869
35.9k
  obsolete_indexed_table_id_.Swap(&other->obsolete_indexed_table_id_);
8870
35.9k
  swap(error_, other->error_);
8871
35.9k
  swap(schema_, other->schema_);
8872
35.9k
  swap(replication_info_, other->replication_info_);
8873
35.9k
  swap(partition_schema_, other->partition_schema_);
8874
35.9k
  swap(identifier_, other->identifier_);
8875
35.9k
  swap(index_info_, other->index_info_);
8876
35.9k
  swap(version_, other->version_);
8877
35.9k
  swap(create_table_done_, other->create_table_done_);
8878
35.9k
  swap(colocated_, other->colocated_);
8879
35.9k
  swap(is_compatible_with_previous_version_, other->is_compatible_with_previous_version_);
8880
35.9k
  swap(wal_retention_secs_, other->wal_retention_secs_);
8881
35.9k
  swap(table_type_, other->table_type_);
8882
35.9k
  swap(_has_bits_[0], other->_has_bits_[0]);
8883
35.9k
  _internal_metadata_.Swap(&other->_internal_metadata_);
8884
35.9k
  swap(_cached_size_, other->_cached_size_);
8885
35.9k
}
8886
8887
10
::google::protobuf::Metadata GetTableSchemaResponsePB::GetMetadata() const {
8888
10
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
8889
10
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
8890
10
}
8891
8892
8893
// ===================================================================
8894
8895
13.6k
void GetTablegroupSchemaRequestPB::InitAsDefaultInstance() {
8896
13.6k
  ::yb::master::_GetTablegroupSchemaRequestPB_default_instance_._instance.get_mutable()->parent_tablegroup_ = const_cast< ::yb::master::TablegroupIdentifierPB*>(
8897
13.6k
      ::yb::master::TablegroupIdentifierPB::internal_default_instance());
8898
13.6k
}
8899
#if !defined(_MSC_VER) || _MSC_VER >= 1900
8900
const int GetTablegroupSchemaRequestPB::kParentTablegroupFieldNumber;
8901
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
8902
8903
GetTablegroupSchemaRequestPB::GetTablegroupSchemaRequestPB()
8904
13.6k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8905
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
8906
0
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetTablegroupSchemaRequestPB();
8907
0
  }
8908
13.6k
  SharedCtor();
8909
  // @@protoc_insertion_point(constructor:yb.master.GetTablegroupSchemaRequestPB)
8910
13.6k
}
8911
GetTablegroupSchemaRequestPB::GetTablegroupSchemaRequestPB(const GetTablegroupSchemaRequestPB& from)
8912
  : ::google::protobuf::Message(),
8913
      _internal_metadata_(NULL),
8914
      _has_bits_(from._has_bits_),
8915
0
      _cached_size_(0) {
8916
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8917
0
  if (from.has_parent_tablegroup()) {
8918
0
    parent_tablegroup_ = new ::yb::master::TablegroupIdentifierPB(*from.parent_tablegroup_);
8919
0
  } else {
8920
0
    parent_tablegroup_ = NULL;
8921
0
  }
8922
  // @@protoc_insertion_point(copy_constructor:yb.master.GetTablegroupSchemaRequestPB)
8923
0
}
8924
8925
13.6k
void GetTablegroupSchemaRequestPB::SharedCtor() {
8926
13.6k
  _cached_size_ = 0;
8927
13.6k
  parent_tablegroup_ = NULL;
8928
13.6k
}
8929
8930
0
GetTablegroupSchemaRequestPB::~GetTablegroupSchemaRequestPB() {
8931
  // @@protoc_insertion_point(destructor:yb.master.GetTablegroupSchemaRequestPB)
8932
0
  SharedDtor();
8933
0
}
8934
8935
0
void GetTablegroupSchemaRequestPB::SharedDtor() {
8936
0
  if (this != internal_default_instance()) delete parent_tablegroup_;
8937
0
}
8938
8939
0
void GetTablegroupSchemaRequestPB::SetCachedSize(int size) const {
8940
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8941
0
  _cached_size_ = size;
8942
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8943
0
}
8944
0
const ::google::protobuf::Descriptor* GetTablegroupSchemaRequestPB::descriptor() {
8945
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
8946
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
8947
0
}
8948
8949
0
const GetTablegroupSchemaRequestPB& GetTablegroupSchemaRequestPB::default_instance() {
8950
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetTablegroupSchemaRequestPB();
8951
0
  return *internal_default_instance();
8952
0
}
8953
8954
0
GetTablegroupSchemaRequestPB* GetTablegroupSchemaRequestPB::New(::google::protobuf::Arena* arena) const {
8955
0
  GetTablegroupSchemaRequestPB* n = new GetTablegroupSchemaRequestPB;
8956
0
  if (arena != NULL) {
8957
0
    arena->Own(n);
8958
0
  }
8959
0
  return n;
8960
0
}
8961
8962
0
void GetTablegroupSchemaRequestPB::Clear() {
8963
// @@protoc_insertion_point(message_clear_start:yb.master.GetTablegroupSchemaRequestPB)
8964
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8965
  // Prevent compiler warnings about cached_has_bits being unused
8966
0
  (void) cached_has_bits;
8967
8968
0
  cached_has_bits = _has_bits_[0];
8969
0
  if (cached_has_bits & 0x00000001u) {
8970
0
    GOOGLE_DCHECK(parent_tablegroup_ != NULL);
8971
0
    parent_tablegroup_->Clear();
8972
0
  }
8973
0
  _has_bits_.Clear();
8974
0
  _internal_metadata_.Clear();
8975
0
}
8976
8977
bool GetTablegroupSchemaRequestPB::MergePartialFromCodedStream(
8978
0
    ::google::protobuf::io::CodedInputStream* input) {
8979
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
8980
0
  ::google::protobuf::uint32 tag;
8981
  // @@protoc_insertion_point(parse_start:yb.master.GetTablegroupSchemaRequestPB)
8982
0
  for (;;) {
8983
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8984
0
    tag = p.first;
8985
0
    if (!p.second) goto handle_unusual;
8986
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8987
      // required .yb.master.TablegroupIdentifierPB parent_tablegroup = 1;
8988
0
      case 1: {
8989
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8990
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
8991
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8992
0
               input, mutable_parent_tablegroup()));
8993
0
        } else {
8994
0
          goto handle_unusual;
8995
0
        }
8996
0
        break;
8997
0
      }
8998
8999
0
      default: {
9000
0
      handle_unusual:
9001
0
        if (tag == 0) {
9002
0
          goto success;
9003
0
        }
9004
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
9005
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
9006
0
        break;
9007
0
      }
9008
0
    }
9009
0
  }
9010
0
success:
9011
  // @@protoc_insertion_point(parse_success:yb.master.GetTablegroupSchemaRequestPB)
9012
0
  return true;
9013
0
failure:
9014
  // @@protoc_insertion_point(parse_failure:yb.master.GetTablegroupSchemaRequestPB)
9015
0
  return false;
9016
0
#undef DO_
9017
0
}
9018
9019
void GetTablegroupSchemaRequestPB::SerializeWithCachedSizes(
9020
0
    ::google::protobuf::io::CodedOutputStream* output) const {
9021
  // @@protoc_insertion_point(serialize_start:yb.master.GetTablegroupSchemaRequestPB)
9022
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9023
0
  (void) cached_has_bits;
9024
9025
0
  cached_has_bits = _has_bits_[0];
9026
  // required .yb.master.TablegroupIdentifierPB parent_tablegroup = 1;
9027
0
  if (cached_has_bits & 0x00000001u) {
9028
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9029
0
      1, *this->parent_tablegroup_, output);
9030
0
  }
9031
9032
0
  if (_internal_metadata_.have_unknown_fields()) {
9033
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9034
0
        _internal_metadata_.unknown_fields(), output);
9035
0
  }
9036
  // @@protoc_insertion_point(serialize_end:yb.master.GetTablegroupSchemaRequestPB)
9037
0
}
9038
9039
::google::protobuf::uint8* GetTablegroupSchemaRequestPB::InternalSerializeWithCachedSizesToArray(
9040
0
    bool deterministic, ::google::protobuf::uint8* target) const {
9041
0
  (void)deterministic; // Unused
9042
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetTablegroupSchemaRequestPB)
9043
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9044
0
  (void) cached_has_bits;
9045
9046
0
  cached_has_bits = _has_bits_[0];
9047
  // required .yb.master.TablegroupIdentifierPB parent_tablegroup = 1;
9048
0
  if (cached_has_bits & 0x00000001u) {
9049
0
    target = ::google::protobuf::internal::WireFormatLite::
9050
0
      InternalWriteMessageToArray(
9051
0
        1, *this->parent_tablegroup_, deterministic, target);
9052
0
  }
9053
9054
0
  if (_internal_metadata_.have_unknown_fields()) {
9055
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9056
0
        _internal_metadata_.unknown_fields(), target);
9057
0
  }
9058
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetTablegroupSchemaRequestPB)
9059
0
  return target;
9060
0
}
9061
9062
0
size_t GetTablegroupSchemaRequestPB::ByteSizeLong() const {
9063
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetTablegroupSchemaRequestPB)
9064
0
  size_t total_size = 0;
9065
9066
0
  if (_internal_metadata_.have_unknown_fields()) {
9067
0
    total_size +=
9068
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9069
0
        _internal_metadata_.unknown_fields());
9070
0
  }
9071
  // required .yb.master.TablegroupIdentifierPB parent_tablegroup = 1;
9072
0
  if (has_parent_tablegroup()) {
9073
0
    total_size += 1 +
9074
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
9075
0
        *this->parent_tablegroup_);
9076
0
  }
9077
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9078
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9079
0
  _cached_size_ = cached_size;
9080
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9081
0
  return total_size;
9082
0
}
9083
9084
0
void GetTablegroupSchemaRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
9085
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetTablegroupSchemaRequestPB)
9086
0
  GOOGLE_DCHECK_NE(&from, this);
9087
0
  const GetTablegroupSchemaRequestPB* source =
9088
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetTablegroupSchemaRequestPB>(
9089
0
          &from);
9090
0
  if (source == NULL) {
9091
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetTablegroupSchemaRequestPB)
9092
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9093
0
  } else {
9094
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetTablegroupSchemaRequestPB)
9095
0
    MergeFrom(*source);
9096
0
  }
9097
0
}
9098
9099
0
void GetTablegroupSchemaRequestPB::MergeFrom(const GetTablegroupSchemaRequestPB& from) {
9100
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetTablegroupSchemaRequestPB)
9101
0
  GOOGLE_DCHECK_NE(&from, this);
9102
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9103
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9104
0
  (void) cached_has_bits;
9105
9106
0
  if (from.has_parent_tablegroup()) {
9107
0
    mutable_parent_tablegroup()->::yb::master::TablegroupIdentifierPB::MergeFrom(from.parent_tablegroup());
9108
0
  }
9109
0
}
9110
9111
0
void GetTablegroupSchemaRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
9112
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetTablegroupSchemaRequestPB)
9113
0
  if (&from == this) return;
9114
0
  Clear();
9115
0
  MergeFrom(from);
9116
0
}
9117
9118
0
void GetTablegroupSchemaRequestPB::CopyFrom(const GetTablegroupSchemaRequestPB& from) {
9119
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetTablegroupSchemaRequestPB)
9120
0
  if (&from == this) return;
9121
0
  Clear();
9122
0
  MergeFrom(from);
9123
0
}
9124
9125
0
bool GetTablegroupSchemaRequestPB::IsInitialized() const {
9126
0
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
9127
0
  return true;
9128
0
}
9129
9130
0
void GetTablegroupSchemaRequestPB::Swap(GetTablegroupSchemaRequestPB* other) {
9131
0
  if (other == this) return;
9132
0
  InternalSwap(other);
9133
0
}
9134
0
void GetTablegroupSchemaRequestPB::InternalSwap(GetTablegroupSchemaRequestPB* other) {
9135
0
  using std::swap;
9136
0
  swap(parent_tablegroup_, other->parent_tablegroup_);
9137
0
  swap(_has_bits_[0], other->_has_bits_[0]);
9138
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
9139
0
  swap(_cached_size_, other->_cached_size_);
9140
0
}
9141
9142
0
::google::protobuf::Metadata GetTablegroupSchemaRequestPB::GetMetadata() const {
9143
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
9144
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
9145
0
}
9146
9147
9148
// ===================================================================
9149
9150
13.6k
void GetTablegroupSchemaResponsePB::InitAsDefaultInstance() {
9151
13.6k
  ::yb::master::_GetTablegroupSchemaResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
9152
13.6k
      ::yb::master::MasterErrorPB::internal_default_instance());
9153
13.6k
}
9154
0
void GetTablegroupSchemaResponsePB::clear_error() {
9155
0
  if (error_ != NULL) error_->Clear();
9156
0
  clear_has_error();
9157
0
}
9158
#if !defined(_MSC_VER) || _MSC_VER >= 1900
9159
const int GetTablegroupSchemaResponsePB::kErrorFieldNumber;
9160
const int GetTablegroupSchemaResponsePB::kGetTableSchemaResponsePbsFieldNumber;
9161
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
9162
9163
GetTablegroupSchemaResponsePB::GetTablegroupSchemaResponsePB()
9164
13.6k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9165
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
9166
0
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetTablegroupSchemaResponsePB();
9167
0
  }
9168
13.6k
  SharedCtor();
9169
  // @@protoc_insertion_point(constructor:yb.master.GetTablegroupSchemaResponsePB)
9170
13.6k
}
9171
GetTablegroupSchemaResponsePB::GetTablegroupSchemaResponsePB(const GetTablegroupSchemaResponsePB& from)
9172
  : ::google::protobuf::Message(),
9173
      _internal_metadata_(NULL),
9174
      _has_bits_(from._has_bits_),
9175
      _cached_size_(0),
9176
0
      get_table_schema_response_pbs_(from.get_table_schema_response_pbs_) {
9177
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9178
0
  if (from.has_error()) {
9179
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
9180
0
  } else {
9181
0
    error_ = NULL;
9182
0
  }
9183
  // @@protoc_insertion_point(copy_constructor:yb.master.GetTablegroupSchemaResponsePB)
9184
0
}
9185
9186
13.6k
void GetTablegroupSchemaResponsePB::SharedCtor() {
9187
13.6k
  _cached_size_ = 0;
9188
13.6k
  error_ = NULL;
9189
13.6k
}
9190
9191
0
GetTablegroupSchemaResponsePB::~GetTablegroupSchemaResponsePB() {
9192
  // @@protoc_insertion_point(destructor:yb.master.GetTablegroupSchemaResponsePB)
9193
0
  SharedDtor();
9194
0
}
9195
9196
0
void GetTablegroupSchemaResponsePB::SharedDtor() {
9197
0
  if (this != internal_default_instance()) delete error_;
9198
0
}
9199
9200
0
void GetTablegroupSchemaResponsePB::SetCachedSize(int size) const {
9201
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9202
0
  _cached_size_ = size;
9203
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9204
0
}
9205
0
const ::google::protobuf::Descriptor* GetTablegroupSchemaResponsePB::descriptor() {
9206
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
9207
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9208
0
}
9209
9210
0
const GetTablegroupSchemaResponsePB& GetTablegroupSchemaResponsePB::default_instance() {
9211
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetTablegroupSchemaResponsePB();
9212
0
  return *internal_default_instance();
9213
0
}
9214
9215
0
GetTablegroupSchemaResponsePB* GetTablegroupSchemaResponsePB::New(::google::protobuf::Arena* arena) const {
9216
0
  GetTablegroupSchemaResponsePB* n = new GetTablegroupSchemaResponsePB;
9217
0
  if (arena != NULL) {
9218
0
    arena->Own(n);
9219
0
  }
9220
0
  return n;
9221
0
}
9222
9223
0
void GetTablegroupSchemaResponsePB::Clear() {
9224
// @@protoc_insertion_point(message_clear_start:yb.master.GetTablegroupSchemaResponsePB)
9225
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9226
  // Prevent compiler warnings about cached_has_bits being unused
9227
0
  (void) cached_has_bits;
9228
9229
0
  get_table_schema_response_pbs_.Clear();
9230
0
  cached_has_bits = _has_bits_[0];
9231
0
  if (cached_has_bits & 0x00000001u) {
9232
0
    GOOGLE_DCHECK(error_ != NULL);
9233
0
    error_->Clear();
9234
0
  }
9235
0
  _has_bits_.Clear();
9236
0
  _internal_metadata_.Clear();
9237
0
}
9238
9239
bool GetTablegroupSchemaResponsePB::MergePartialFromCodedStream(
9240
0
    ::google::protobuf::io::CodedInputStream* input) {
9241
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
9242
0
  ::google::protobuf::uint32 tag;
9243
  // @@protoc_insertion_point(parse_start:yb.master.GetTablegroupSchemaResponsePB)
9244
0
  for (;;) {
9245
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9246
0
    tag = p.first;
9247
0
    if (!p.second) goto handle_unusual;
9248
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9249
      // optional .yb.master.MasterErrorPB error = 1;
9250
0
      case 1: {
9251
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9252
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
9253
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
9254
0
               input, mutable_error()));
9255
0
        } else {
9256
0
          goto handle_unusual;
9257
0
        }
9258
0
        break;
9259
0
      }
9260
9261
      // repeated .yb.master.GetTableSchemaResponsePB get_table_schema_response_pbs = 2;
9262
0
      case 2: {
9263
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9264
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
9265
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_get_table_schema_response_pbs()));
9266
0
        } else {
9267
0
          goto handle_unusual;
9268
0
        }
9269
0
        break;
9270
0
      }
9271
9272
0
      default: {
9273
0
      handle_unusual:
9274
0
        if (tag == 0) {
9275
0
          goto success;
9276
0
        }
9277
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
9278
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
9279
0
        break;
9280
0
      }
9281
0
    }
9282
0
  }
9283
0
success:
9284
  // @@protoc_insertion_point(parse_success:yb.master.GetTablegroupSchemaResponsePB)
9285
0
  return true;
9286
0
failure:
9287
  // @@protoc_insertion_point(parse_failure:yb.master.GetTablegroupSchemaResponsePB)
9288
0
  return false;
9289
0
#undef DO_
9290
0
}
9291
9292
void GetTablegroupSchemaResponsePB::SerializeWithCachedSizes(
9293
0
    ::google::protobuf::io::CodedOutputStream* output) const {
9294
  // @@protoc_insertion_point(serialize_start:yb.master.GetTablegroupSchemaResponsePB)
9295
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9296
0
  (void) cached_has_bits;
9297
9298
0
  cached_has_bits = _has_bits_[0];
9299
  // optional .yb.master.MasterErrorPB error = 1;
9300
0
  if (cached_has_bits & 0x00000001u) {
9301
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9302
0
      1, *this->error_, output);
9303
0
  }
9304
9305
  // repeated .yb.master.GetTableSchemaResponsePB get_table_schema_response_pbs = 2;
9306
0
  for (unsigned int i = 0,
9307
0
      n = static_cast<unsigned int>(this->get_table_schema_response_pbs_size()); i < n; i++) {
9308
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9309
0
      2, this->get_table_schema_response_pbs(static_cast<int>(i)), output);
9310
0
  }
9311
9312
0
  if (_internal_metadata_.have_unknown_fields()) {
9313
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9314
0
        _internal_metadata_.unknown_fields(), output);
9315
0
  }
9316
  // @@protoc_insertion_point(serialize_end:yb.master.GetTablegroupSchemaResponsePB)
9317
0
}
9318
9319
::google::protobuf::uint8* GetTablegroupSchemaResponsePB::InternalSerializeWithCachedSizesToArray(
9320
0
    bool deterministic, ::google::protobuf::uint8* target) const {
9321
0
  (void)deterministic; // Unused
9322
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetTablegroupSchemaResponsePB)
9323
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9324
0
  (void) cached_has_bits;
9325
9326
0
  cached_has_bits = _has_bits_[0];
9327
  // optional .yb.master.MasterErrorPB error = 1;
9328
0
  if (cached_has_bits & 0x00000001u) {
9329
0
    target = ::google::protobuf::internal::WireFormatLite::
9330
0
      InternalWriteMessageToArray(
9331
0
        1, *this->error_, deterministic, target);
9332
0
  }
9333
9334
  // repeated .yb.master.GetTableSchemaResponsePB get_table_schema_response_pbs = 2;
9335
0
  for (unsigned int i = 0,
9336
0
      n = static_cast<unsigned int>(this->get_table_schema_response_pbs_size()); i < n; i++) {
9337
0
    target = ::google::protobuf::internal::WireFormatLite::
9338
0
      InternalWriteMessageToArray(
9339
0
        2, this->get_table_schema_response_pbs(static_cast<int>(i)), deterministic, target);
9340
0
  }
9341
9342
0
  if (_internal_metadata_.have_unknown_fields()) {
9343
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9344
0
        _internal_metadata_.unknown_fields(), target);
9345
0
  }
9346
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetTablegroupSchemaResponsePB)
9347
0
  return target;
9348
0
}
9349
9350
0
size_t GetTablegroupSchemaResponsePB::ByteSizeLong() const {
9351
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetTablegroupSchemaResponsePB)
9352
0
  size_t total_size = 0;
9353
9354
0
  if (_internal_metadata_.have_unknown_fields()) {
9355
0
    total_size +=
9356
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9357
0
        _internal_metadata_.unknown_fields());
9358
0
  }
9359
  // repeated .yb.master.GetTableSchemaResponsePB get_table_schema_response_pbs = 2;
9360
0
  {
9361
0
    unsigned int count = static_cast<unsigned int>(this->get_table_schema_response_pbs_size());
9362
0
    total_size += 1UL * count;
9363
0
    for (unsigned int i = 0; i < count; i++) {
9364
0
      total_size +=
9365
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
9366
0
          this->get_table_schema_response_pbs(static_cast<int>(i)));
9367
0
    }
9368
0
  }
9369
9370
  // optional .yb.master.MasterErrorPB error = 1;
9371
0
  if (has_error()) {
9372
0
    total_size += 1 +
9373
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
9374
0
        *this->error_);
9375
0
  }
9376
9377
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9378
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9379
0
  _cached_size_ = cached_size;
9380
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9381
0
  return total_size;
9382
0
}
9383
9384
0
void GetTablegroupSchemaResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
9385
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetTablegroupSchemaResponsePB)
9386
0
  GOOGLE_DCHECK_NE(&from, this);
9387
0
  const GetTablegroupSchemaResponsePB* source =
9388
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetTablegroupSchemaResponsePB>(
9389
0
          &from);
9390
0
  if (source == NULL) {
9391
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetTablegroupSchemaResponsePB)
9392
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9393
0
  } else {
9394
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetTablegroupSchemaResponsePB)
9395
0
    MergeFrom(*source);
9396
0
  }
9397
0
}
9398
9399
0
void GetTablegroupSchemaResponsePB::MergeFrom(const GetTablegroupSchemaResponsePB& from) {
9400
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetTablegroupSchemaResponsePB)
9401
0
  GOOGLE_DCHECK_NE(&from, this);
9402
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9403
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9404
0
  (void) cached_has_bits;
9405
9406
0
  get_table_schema_response_pbs_.MergeFrom(from.get_table_schema_response_pbs_);
9407
0
  if (from.has_error()) {
9408
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
9409
0
  }
9410
0
}
9411
9412
0
void GetTablegroupSchemaResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
9413
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetTablegroupSchemaResponsePB)
9414
0
  if (&from == this) return;
9415
0
  Clear();
9416
0
  MergeFrom(from);
9417
0
}
9418
9419
0
void GetTablegroupSchemaResponsePB::CopyFrom(const GetTablegroupSchemaResponsePB& from) {
9420
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetTablegroupSchemaResponsePB)
9421
0
  if (&from == this) return;
9422
0
  Clear();
9423
0
  MergeFrom(from);
9424
0
}
9425
9426
0
bool GetTablegroupSchemaResponsePB::IsInitialized() const {
9427
0
  if (!::google::protobuf::internal::AllAreInitialized(this->get_table_schema_response_pbs())) return false;
9428
0
  if (has_error()) {
9429
0
    if (!this->error_->IsInitialized()) return false;
9430
0
  }
9431
0
  return true;
9432
0
}
9433
9434
0
void GetTablegroupSchemaResponsePB::Swap(GetTablegroupSchemaResponsePB* other) {
9435
0
  if (other == this) return;
9436
0
  InternalSwap(other);
9437
0
}
9438
0
void GetTablegroupSchemaResponsePB::InternalSwap(GetTablegroupSchemaResponsePB* other) {
9439
0
  using std::swap;
9440
0
  get_table_schema_response_pbs_.InternalSwap(&other->get_table_schema_response_pbs_);
9441
0
  swap(error_, other->error_);
9442
0
  swap(_has_bits_[0], other->_has_bits_[0]);
9443
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
9444
0
  swap(_cached_size_, other->_cached_size_);
9445
0
}
9446
9447
0
::google::protobuf::Metadata GetTablegroupSchemaResponsePB::GetMetadata() const {
9448
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
9449
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
9450
0
}
9451
9452
9453
// ===================================================================
9454
9455
15.8k
void GetColocatedTabletSchemaRequestPB::InitAsDefaultInstance() {
9456
15.8k
  ::yb::master::_GetColocatedTabletSchemaRequestPB_default_instance_._instance.get_mutable()->parent_colocated_table_ = const_cast< ::yb::master::TableIdentifierPB*>(
9457
15.8k
      ::yb::master::TableIdentifierPB::internal_default_instance());
9458
15.8k
}
9459
0
void GetColocatedTabletSchemaRequestPB::clear_parent_colocated_table() {
9460
0
  if (parent_colocated_table_ != NULL) parent_colocated_table_->Clear();
9461
0
  clear_has_parent_colocated_table();
9462
0
}
9463
#if !defined(_MSC_VER) || _MSC_VER >= 1900
9464
const int GetColocatedTabletSchemaRequestPB::kParentColocatedTableFieldNumber;
9465
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
9466
9467
GetColocatedTabletSchemaRequestPB::GetColocatedTabletSchemaRequestPB()
9468
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9469
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
9470
0
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetColocatedTabletSchemaRequestPB();
9471
0
  }
9472
15.8k
  SharedCtor();
9473
  // @@protoc_insertion_point(constructor:yb.master.GetColocatedTabletSchemaRequestPB)
9474
15.8k
}
9475
GetColocatedTabletSchemaRequestPB::GetColocatedTabletSchemaRequestPB(const GetColocatedTabletSchemaRequestPB& from)
9476
  : ::google::protobuf::Message(),
9477
      _internal_metadata_(NULL),
9478
      _has_bits_(from._has_bits_),
9479
0
      _cached_size_(0) {
9480
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9481
0
  if (from.has_parent_colocated_table()) {
9482
0
    parent_colocated_table_ = new ::yb::master::TableIdentifierPB(*from.parent_colocated_table_);
9483
0
  } else {
9484
0
    parent_colocated_table_ = NULL;
9485
0
  }
9486
  // @@protoc_insertion_point(copy_constructor:yb.master.GetColocatedTabletSchemaRequestPB)
9487
0
}
9488
9489
15.8k
void GetColocatedTabletSchemaRequestPB::SharedCtor() {
9490
15.8k
  _cached_size_ = 0;
9491
15.8k
  parent_colocated_table_ = NULL;
9492
15.8k
}
9493
9494
0
GetColocatedTabletSchemaRequestPB::~GetColocatedTabletSchemaRequestPB() {
9495
  // @@protoc_insertion_point(destructor:yb.master.GetColocatedTabletSchemaRequestPB)
9496
0
  SharedDtor();
9497
0
}
9498
9499
0
void GetColocatedTabletSchemaRequestPB::SharedDtor() {
9500
0
  if (this != internal_default_instance()) delete parent_colocated_table_;
9501
0
}
9502
9503
0
void GetColocatedTabletSchemaRequestPB::SetCachedSize(int size) const {
9504
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9505
0
  _cached_size_ = size;
9506
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9507
0
}
9508
0
const ::google::protobuf::Descriptor* GetColocatedTabletSchemaRequestPB::descriptor() {
9509
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
9510
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9511
0
}
9512
9513
0
const GetColocatedTabletSchemaRequestPB& GetColocatedTabletSchemaRequestPB::default_instance() {
9514
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetColocatedTabletSchemaRequestPB();
9515
0
  return *internal_default_instance();
9516
0
}
9517
9518
0
GetColocatedTabletSchemaRequestPB* GetColocatedTabletSchemaRequestPB::New(::google::protobuf::Arena* arena) const {
9519
0
  GetColocatedTabletSchemaRequestPB* n = new GetColocatedTabletSchemaRequestPB;
9520
0
  if (arena != NULL) {
9521
0
    arena->Own(n);
9522
0
  }
9523
0
  return n;
9524
0
}
9525
9526
0
void GetColocatedTabletSchemaRequestPB::Clear() {
9527
// @@protoc_insertion_point(message_clear_start:yb.master.GetColocatedTabletSchemaRequestPB)
9528
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9529
  // Prevent compiler warnings about cached_has_bits being unused
9530
0
  (void) cached_has_bits;
9531
9532
0
  cached_has_bits = _has_bits_[0];
9533
0
  if (cached_has_bits & 0x00000001u) {
9534
0
    GOOGLE_DCHECK(parent_colocated_table_ != NULL);
9535
0
    parent_colocated_table_->Clear();
9536
0
  }
9537
0
  _has_bits_.Clear();
9538
0
  _internal_metadata_.Clear();
9539
0
}
9540
9541
bool GetColocatedTabletSchemaRequestPB::MergePartialFromCodedStream(
9542
0
    ::google::protobuf::io::CodedInputStream* input) {
9543
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
9544
0
  ::google::protobuf::uint32 tag;
9545
  // @@protoc_insertion_point(parse_start:yb.master.GetColocatedTabletSchemaRequestPB)
9546
0
  for (;;) {
9547
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9548
0
    tag = p.first;
9549
0
    if (!p.second) goto handle_unusual;
9550
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9551
      // required .yb.master.TableIdentifierPB parent_colocated_table = 1;
9552
0
      case 1: {
9553
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9554
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
9555
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
9556
0
               input, mutable_parent_colocated_table()));
9557
0
        } else {
9558
0
          goto handle_unusual;
9559
0
        }
9560
0
        break;
9561
0
      }
9562
9563
0
      default: {
9564
0
      handle_unusual:
9565
0
        if (tag == 0) {
9566
0
          goto success;
9567
0
        }
9568
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
9569
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
9570
0
        break;
9571
0
      }
9572
0
    }
9573
0
  }
9574
0
success:
9575
  // @@protoc_insertion_point(parse_success:yb.master.GetColocatedTabletSchemaRequestPB)
9576
0
  return true;
9577
0
failure:
9578
  // @@protoc_insertion_point(parse_failure:yb.master.GetColocatedTabletSchemaRequestPB)
9579
0
  return false;
9580
0
#undef DO_
9581
0
}
9582
9583
void GetColocatedTabletSchemaRequestPB::SerializeWithCachedSizes(
9584
0
    ::google::protobuf::io::CodedOutputStream* output) const {
9585
  // @@protoc_insertion_point(serialize_start:yb.master.GetColocatedTabletSchemaRequestPB)
9586
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9587
0
  (void) cached_has_bits;
9588
9589
0
  cached_has_bits = _has_bits_[0];
9590
  // required .yb.master.TableIdentifierPB parent_colocated_table = 1;
9591
0
  if (cached_has_bits & 0x00000001u) {
9592
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9593
0
      1, *this->parent_colocated_table_, output);
9594
0
  }
9595
9596
0
  if (_internal_metadata_.have_unknown_fields()) {
9597
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9598
0
        _internal_metadata_.unknown_fields(), output);
9599
0
  }
9600
  // @@protoc_insertion_point(serialize_end:yb.master.GetColocatedTabletSchemaRequestPB)
9601
0
}
9602
9603
::google::protobuf::uint8* GetColocatedTabletSchemaRequestPB::InternalSerializeWithCachedSizesToArray(
9604
0
    bool deterministic, ::google::protobuf::uint8* target) const {
9605
0
  (void)deterministic; // Unused
9606
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetColocatedTabletSchemaRequestPB)
9607
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9608
0
  (void) cached_has_bits;
9609
9610
0
  cached_has_bits = _has_bits_[0];
9611
  // required .yb.master.TableIdentifierPB parent_colocated_table = 1;
9612
0
  if (cached_has_bits & 0x00000001u) {
9613
0
    target = ::google::protobuf::internal::WireFormatLite::
9614
0
      InternalWriteMessageToArray(
9615
0
        1, *this->parent_colocated_table_, deterministic, target);
9616
0
  }
9617
9618
0
  if (_internal_metadata_.have_unknown_fields()) {
9619
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9620
0
        _internal_metadata_.unknown_fields(), target);
9621
0
  }
9622
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetColocatedTabletSchemaRequestPB)
9623
0
  return target;
9624
0
}
9625
9626
0
size_t GetColocatedTabletSchemaRequestPB::ByteSizeLong() const {
9627
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetColocatedTabletSchemaRequestPB)
9628
0
  size_t total_size = 0;
9629
9630
0
  if (_internal_metadata_.have_unknown_fields()) {
9631
0
    total_size +=
9632
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9633
0
        _internal_metadata_.unknown_fields());
9634
0
  }
9635
  // required .yb.master.TableIdentifierPB parent_colocated_table = 1;
9636
0
  if (has_parent_colocated_table()) {
9637
0
    total_size += 1 +
9638
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
9639
0
        *this->parent_colocated_table_);
9640
0
  }
9641
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9642
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9643
0
  _cached_size_ = cached_size;
9644
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9645
0
  return total_size;
9646
0
}
9647
9648
0
void GetColocatedTabletSchemaRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
9649
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetColocatedTabletSchemaRequestPB)
9650
0
  GOOGLE_DCHECK_NE(&from, this);
9651
0
  const GetColocatedTabletSchemaRequestPB* source =
9652
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetColocatedTabletSchemaRequestPB>(
9653
0
          &from);
9654
0
  if (source == NULL) {
9655
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetColocatedTabletSchemaRequestPB)
9656
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9657
0
  } else {
9658
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetColocatedTabletSchemaRequestPB)
9659
0
    MergeFrom(*source);
9660
0
  }
9661
0
}
9662
9663
0
void GetColocatedTabletSchemaRequestPB::MergeFrom(const GetColocatedTabletSchemaRequestPB& from) {
9664
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetColocatedTabletSchemaRequestPB)
9665
0
  GOOGLE_DCHECK_NE(&from, this);
9666
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9667
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9668
0
  (void) cached_has_bits;
9669
9670
0
  if (from.has_parent_colocated_table()) {
9671
0
    mutable_parent_colocated_table()->::yb::master::TableIdentifierPB::MergeFrom(from.parent_colocated_table());
9672
0
  }
9673
0
}
9674
9675
0
void GetColocatedTabletSchemaRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
9676
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetColocatedTabletSchemaRequestPB)
9677
0
  if (&from == this) return;
9678
0
  Clear();
9679
0
  MergeFrom(from);
9680
0
}
9681
9682
0
void GetColocatedTabletSchemaRequestPB::CopyFrom(const GetColocatedTabletSchemaRequestPB& from) {
9683
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetColocatedTabletSchemaRequestPB)
9684
0
  if (&from == this) return;
9685
0
  Clear();
9686
0
  MergeFrom(from);
9687
0
}
9688
9689
0
bool GetColocatedTabletSchemaRequestPB::IsInitialized() const {
9690
0
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
9691
0
  return true;
9692
0
}
9693
9694
0
void GetColocatedTabletSchemaRequestPB::Swap(GetColocatedTabletSchemaRequestPB* other) {
9695
0
  if (other == this) return;
9696
0
  InternalSwap(other);
9697
0
}
9698
0
void GetColocatedTabletSchemaRequestPB::InternalSwap(GetColocatedTabletSchemaRequestPB* other) {
9699
0
  using std::swap;
9700
0
  swap(parent_colocated_table_, other->parent_colocated_table_);
9701
0
  swap(_has_bits_[0], other->_has_bits_[0]);
9702
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
9703
0
  swap(_cached_size_, other->_cached_size_);
9704
0
}
9705
9706
0
::google::protobuf::Metadata GetColocatedTabletSchemaRequestPB::GetMetadata() const {
9707
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
9708
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
9709
0
}
9710
9711
9712
// ===================================================================
9713
9714
15.8k
void GetColocatedTabletSchemaResponsePB::InitAsDefaultInstance() {
9715
15.8k
  ::yb::master::_GetColocatedTabletSchemaResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
9716
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
9717
15.8k
}
9718
0
void GetColocatedTabletSchemaResponsePB::clear_error() {
9719
0
  if (error_ != NULL) error_->Clear();
9720
0
  clear_has_error();
9721
0
}
9722
#if !defined(_MSC_VER) || _MSC_VER >= 1900
9723
const int GetColocatedTabletSchemaResponsePB::kErrorFieldNumber;
9724
const int GetColocatedTabletSchemaResponsePB::kGetTableSchemaResponsePbsFieldNumber;
9725
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
9726
9727
GetColocatedTabletSchemaResponsePB::GetColocatedTabletSchemaResponsePB()
9728
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9729
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
9730
0
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetColocatedTabletSchemaResponsePB();
9731
0
  }
9732
15.8k
  SharedCtor();
9733
  // @@protoc_insertion_point(constructor:yb.master.GetColocatedTabletSchemaResponsePB)
9734
15.8k
}
9735
GetColocatedTabletSchemaResponsePB::GetColocatedTabletSchemaResponsePB(const GetColocatedTabletSchemaResponsePB& from)
9736
  : ::google::protobuf::Message(),
9737
      _internal_metadata_(NULL),
9738
      _has_bits_(from._has_bits_),
9739
      _cached_size_(0),
9740
0
      get_table_schema_response_pbs_(from.get_table_schema_response_pbs_) {
9741
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9742
0
  if (from.has_error()) {
9743
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
9744
0
  } else {
9745
0
    error_ = NULL;
9746
0
  }
9747
  // @@protoc_insertion_point(copy_constructor:yb.master.GetColocatedTabletSchemaResponsePB)
9748
0
}
9749
9750
15.8k
void GetColocatedTabletSchemaResponsePB::SharedCtor() {
9751
15.8k
  _cached_size_ = 0;
9752
15.8k
  error_ = NULL;
9753
15.8k
}
9754
9755
0
GetColocatedTabletSchemaResponsePB::~GetColocatedTabletSchemaResponsePB() {
9756
  // @@protoc_insertion_point(destructor:yb.master.GetColocatedTabletSchemaResponsePB)
9757
0
  SharedDtor();
9758
0
}
9759
9760
0
void GetColocatedTabletSchemaResponsePB::SharedDtor() {
9761
0
  if (this != internal_default_instance()) delete error_;
9762
0
}
9763
9764
0
void GetColocatedTabletSchemaResponsePB::SetCachedSize(int size) const {
9765
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9766
0
  _cached_size_ = size;
9767
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9768
0
}
9769
0
const ::google::protobuf::Descriptor* GetColocatedTabletSchemaResponsePB::descriptor() {
9770
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
9771
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9772
0
}
9773
9774
0
const GetColocatedTabletSchemaResponsePB& GetColocatedTabletSchemaResponsePB::default_instance() {
9775
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetColocatedTabletSchemaResponsePB();
9776
0
  return *internal_default_instance();
9777
0
}
9778
9779
0
GetColocatedTabletSchemaResponsePB* GetColocatedTabletSchemaResponsePB::New(::google::protobuf::Arena* arena) const {
9780
0
  GetColocatedTabletSchemaResponsePB* n = new GetColocatedTabletSchemaResponsePB;
9781
0
  if (arena != NULL) {
9782
0
    arena->Own(n);
9783
0
  }
9784
0
  return n;
9785
0
}
9786
9787
0
void GetColocatedTabletSchemaResponsePB::Clear() {
9788
// @@protoc_insertion_point(message_clear_start:yb.master.GetColocatedTabletSchemaResponsePB)
9789
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9790
  // Prevent compiler warnings about cached_has_bits being unused
9791
0
  (void) cached_has_bits;
9792
9793
0
  get_table_schema_response_pbs_.Clear();
9794
0
  cached_has_bits = _has_bits_[0];
9795
0
  if (cached_has_bits & 0x00000001u) {
9796
0
    GOOGLE_DCHECK(error_ != NULL);
9797
0
    error_->Clear();
9798
0
  }
9799
0
  _has_bits_.Clear();
9800
0
  _internal_metadata_.Clear();
9801
0
}
9802
9803
bool GetColocatedTabletSchemaResponsePB::MergePartialFromCodedStream(
9804
0
    ::google::protobuf::io::CodedInputStream* input) {
9805
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
9806
0
  ::google::protobuf::uint32 tag;
9807
  // @@protoc_insertion_point(parse_start:yb.master.GetColocatedTabletSchemaResponsePB)
9808
0
  for (;;) {
9809
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9810
0
    tag = p.first;
9811
0
    if (!p.second) goto handle_unusual;
9812
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9813
      // optional .yb.master.MasterErrorPB error = 1;
9814
0
      case 1: {
9815
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9816
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
9817
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
9818
0
               input, mutable_error()));
9819
0
        } else {
9820
0
          goto handle_unusual;
9821
0
        }
9822
0
        break;
9823
0
      }
9824
9825
      // repeated .yb.master.GetTableSchemaResponsePB get_table_schema_response_pbs = 2;
9826
0
      case 2: {
9827
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9828
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
9829
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_get_table_schema_response_pbs()));
9830
0
        } else {
9831
0
          goto handle_unusual;
9832
0
        }
9833
0
        break;
9834
0
      }
9835
9836
0
      default: {
9837
0
      handle_unusual:
9838
0
        if (tag == 0) {
9839
0
          goto success;
9840
0
        }
9841
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
9842
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
9843
0
        break;
9844
0
      }
9845
0
    }
9846
0
  }
9847
0
success:
9848
  // @@protoc_insertion_point(parse_success:yb.master.GetColocatedTabletSchemaResponsePB)
9849
0
  return true;
9850
0
failure:
9851
  // @@protoc_insertion_point(parse_failure:yb.master.GetColocatedTabletSchemaResponsePB)
9852
0
  return false;
9853
0
#undef DO_
9854
0
}
9855
9856
void GetColocatedTabletSchemaResponsePB::SerializeWithCachedSizes(
9857
0
    ::google::protobuf::io::CodedOutputStream* output) const {
9858
  // @@protoc_insertion_point(serialize_start:yb.master.GetColocatedTabletSchemaResponsePB)
9859
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9860
0
  (void) cached_has_bits;
9861
9862
0
  cached_has_bits = _has_bits_[0];
9863
  // optional .yb.master.MasterErrorPB error = 1;
9864
0
  if (cached_has_bits & 0x00000001u) {
9865
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9866
0
      1, *this->error_, output);
9867
0
  }
9868
9869
  // repeated .yb.master.GetTableSchemaResponsePB get_table_schema_response_pbs = 2;
9870
0
  for (unsigned int i = 0,
9871
0
      n = static_cast<unsigned int>(this->get_table_schema_response_pbs_size()); i < n; i++) {
9872
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9873
0
      2, this->get_table_schema_response_pbs(static_cast<int>(i)), output);
9874
0
  }
9875
9876
0
  if (_internal_metadata_.have_unknown_fields()) {
9877
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9878
0
        _internal_metadata_.unknown_fields(), output);
9879
0
  }
9880
  // @@protoc_insertion_point(serialize_end:yb.master.GetColocatedTabletSchemaResponsePB)
9881
0
}
9882
9883
::google::protobuf::uint8* GetColocatedTabletSchemaResponsePB::InternalSerializeWithCachedSizesToArray(
9884
0
    bool deterministic, ::google::protobuf::uint8* target) const {
9885
0
  (void)deterministic; // Unused
9886
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetColocatedTabletSchemaResponsePB)
9887
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9888
0
  (void) cached_has_bits;
9889
9890
0
  cached_has_bits = _has_bits_[0];
9891
  // optional .yb.master.MasterErrorPB error = 1;
9892
0
  if (cached_has_bits & 0x00000001u) {
9893
0
    target = ::google::protobuf::internal::WireFormatLite::
9894
0
      InternalWriteMessageToArray(
9895
0
        1, *this->error_, deterministic, target);
9896
0
  }
9897
9898
  // repeated .yb.master.GetTableSchemaResponsePB get_table_schema_response_pbs = 2;
9899
0
  for (unsigned int i = 0,
9900
0
      n = static_cast<unsigned int>(this->get_table_schema_response_pbs_size()); i < n; i++) {
9901
0
    target = ::google::protobuf::internal::WireFormatLite::
9902
0
      InternalWriteMessageToArray(
9903
0
        2, this->get_table_schema_response_pbs(static_cast<int>(i)), deterministic, target);
9904
0
  }
9905
9906
0
  if (_internal_metadata_.have_unknown_fields()) {
9907
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9908
0
        _internal_metadata_.unknown_fields(), target);
9909
0
  }
9910
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetColocatedTabletSchemaResponsePB)
9911
0
  return target;
9912
0
}
9913
9914
0
size_t GetColocatedTabletSchemaResponsePB::ByteSizeLong() const {
9915
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetColocatedTabletSchemaResponsePB)
9916
0
  size_t total_size = 0;
9917
9918
0
  if (_internal_metadata_.have_unknown_fields()) {
9919
0
    total_size +=
9920
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9921
0
        _internal_metadata_.unknown_fields());
9922
0
  }
9923
  // repeated .yb.master.GetTableSchemaResponsePB get_table_schema_response_pbs = 2;
9924
0
  {
9925
0
    unsigned int count = static_cast<unsigned int>(this->get_table_schema_response_pbs_size());
9926
0
    total_size += 1UL * count;
9927
0
    for (unsigned int i = 0; i < count; i++) {
9928
0
      total_size +=
9929
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
9930
0
          this->get_table_schema_response_pbs(static_cast<int>(i)));
9931
0
    }
9932
0
  }
9933
9934
  // optional .yb.master.MasterErrorPB error = 1;
9935
0
  if (has_error()) {
9936
0
    total_size += 1 +
9937
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
9938
0
        *this->error_);
9939
0
  }
9940
9941
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9942
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9943
0
  _cached_size_ = cached_size;
9944
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9945
0
  return total_size;
9946
0
}
9947
9948
0
void GetColocatedTabletSchemaResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
9949
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetColocatedTabletSchemaResponsePB)
9950
0
  GOOGLE_DCHECK_NE(&from, this);
9951
0
  const GetColocatedTabletSchemaResponsePB* source =
9952
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetColocatedTabletSchemaResponsePB>(
9953
0
          &from);
9954
0
  if (source == NULL) {
9955
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetColocatedTabletSchemaResponsePB)
9956
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9957
0
  } else {
9958
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetColocatedTabletSchemaResponsePB)
9959
0
    MergeFrom(*source);
9960
0
  }
9961
0
}
9962
9963
0
void GetColocatedTabletSchemaResponsePB::MergeFrom(const GetColocatedTabletSchemaResponsePB& from) {
9964
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetColocatedTabletSchemaResponsePB)
9965
0
  GOOGLE_DCHECK_NE(&from, this);
9966
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9967
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9968
0
  (void) cached_has_bits;
9969
9970
0
  get_table_schema_response_pbs_.MergeFrom(from.get_table_schema_response_pbs_);
9971
0
  if (from.has_error()) {
9972
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
9973
0
  }
9974
0
}
9975
9976
0
void GetColocatedTabletSchemaResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
9977
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetColocatedTabletSchemaResponsePB)
9978
0
  if (&from == this) return;
9979
0
  Clear();
9980
0
  MergeFrom(from);
9981
0
}
9982
9983
0
void GetColocatedTabletSchemaResponsePB::CopyFrom(const GetColocatedTabletSchemaResponsePB& from) {
9984
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetColocatedTabletSchemaResponsePB)
9985
0
  if (&from == this) return;
9986
0
  Clear();
9987
0
  MergeFrom(from);
9988
0
}
9989
9990
0
bool GetColocatedTabletSchemaResponsePB::IsInitialized() const {
9991
0
  if (!::google::protobuf::internal::AllAreInitialized(this->get_table_schema_response_pbs())) return false;
9992
0
  if (has_error()) {
9993
0
    if (!this->error_->IsInitialized()) return false;
9994
0
  }
9995
0
  return true;
9996
0
}
9997
9998
0
void GetColocatedTabletSchemaResponsePB::Swap(GetColocatedTabletSchemaResponsePB* other) {
9999
0
  if (other == this) return;
10000
0
  InternalSwap(other);
10001
0
}
10002
0
void GetColocatedTabletSchemaResponsePB::InternalSwap(GetColocatedTabletSchemaResponsePB* other) {
10003
0
  using std::swap;
10004
0
  get_table_schema_response_pbs_.InternalSwap(&other->get_table_schema_response_pbs_);
10005
0
  swap(error_, other->error_);
10006
0
  swap(_has_bits_[0], other->_has_bits_[0]);
10007
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
10008
0
  swap(_cached_size_, other->_cached_size_);
10009
0
}
10010
10011
0
::google::protobuf::Metadata GetColocatedTabletSchemaResponsePB::GetMetadata() const {
10012
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
10013
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
10014
0
}
10015
10016
10017
// ===================================================================
10018
10019
15.8k
void TruncateTableRequestPB::InitAsDefaultInstance() {
10020
15.8k
}
10021
#if !defined(_MSC_VER) || _MSC_VER >= 1900
10022
const int TruncateTableRequestPB::kTableIdsFieldNumber;
10023
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
10024
10025
TruncateTableRequestPB::TruncateTableRequestPB()
10026
39.6k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
10027
23.7k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
10028
23.7k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsTruncateTableRequestPB();
10029
23.7k
  }
10030
39.6k
  SharedCtor();
10031
  // @@protoc_insertion_point(constructor:yb.master.TruncateTableRequestPB)
10032
39.6k
}
10033
TruncateTableRequestPB::TruncateTableRequestPB(const TruncateTableRequestPB& from)
10034
  : ::google::protobuf::Message(),
10035
      _internal_metadata_(NULL),
10036
      _has_bits_(from._has_bits_),
10037
      _cached_size_(0),
10038
0
      table_ids_(from.table_ids_) {
10039
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10040
  // @@protoc_insertion_point(copy_constructor:yb.master.TruncateTableRequestPB)
10041
0
}
10042
10043
39.6k
void TruncateTableRequestPB::SharedCtor() {
10044
39.6k
  _cached_size_ = 0;
10045
39.6k
}
10046
10047
23.7k
TruncateTableRequestPB::~TruncateTableRequestPB() {
10048
  // @@protoc_insertion_point(destructor:yb.master.TruncateTableRequestPB)
10049
23.7k
  SharedDtor();
10050
23.7k
}
10051
10052
23.7k
void TruncateTableRequestPB::SharedDtor() {
10053
23.7k
}
10054
10055
0
void TruncateTableRequestPB::SetCachedSize(int size) const {
10056
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10057
0
  _cached_size_ = size;
10058
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10059
0
}
10060
0
const ::google::protobuf::Descriptor* TruncateTableRequestPB::descriptor() {
10061
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
10062
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
10063
0
}
10064
10065
0
const TruncateTableRequestPB& TruncateTableRequestPB::default_instance() {
10066
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsTruncateTableRequestPB();
10067
0
  return *internal_default_instance();
10068
0
}
10069
10070
0
TruncateTableRequestPB* TruncateTableRequestPB::New(::google::protobuf::Arena* arena) const {
10071
0
  TruncateTableRequestPB* n = new TruncateTableRequestPB;
10072
0
  if (arena != NULL) {
10073
0
    arena->Own(n);
10074
0
  }
10075
0
  return n;
10076
0
}
10077
10078
11.8k
void TruncateTableRequestPB::Clear() {
10079
// @@protoc_insertion_point(message_clear_start:yb.master.TruncateTableRequestPB)
10080
11.8k
  ::google::protobuf::uint32 cached_has_bits = 0;
10081
  // Prevent compiler warnings about cached_has_bits being unused
10082
11.8k
  (void) cached_has_bits;
10083
10084
11.8k
  table_ids_.Clear();
10085
11.8k
  _has_bits_.Clear();
10086
11.8k
  _internal_metadata_.Clear();
10087
11.8k
}
10088
10089
bool TruncateTableRequestPB::MergePartialFromCodedStream(
10090
11.8k
    ::google::protobuf::io::CodedInputStream* input) {
10091
3.05k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
10092
11.8k
  ::google::protobuf::uint32 tag;
10093
  // @@protoc_insertion_point(parse_start:yb.master.TruncateTableRequestPB)
10094
14.9k
  for (;;) {
10095
14.9k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10096
14.9k
    tag = p.first;
10097
14.9k
    if (!p.second) goto handle_unusual;
10098
3.05k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10099
      // repeated bytes table_ids = 1;
10100
3.05k
      case 1: {
10101
3.05k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10102
3.05k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
10103
3.05k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
10104
3.05k
                input, this->add_table_ids()));
10105
0
        } else {
10106
0
          goto handle_unusual;
10107
0
        }
10108
3.05k
        break;
10109
11.8k
      }
10110
10111
0
      default: {
10112
11.8k
      handle_unusual:
10113
11.8k
        if (tag == 0) {
10114
11.8k
          goto success;
10115
11.8k
        }
10116
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
10117
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
10118
0
        break;
10119
0
      }
10120
3.05k
    }
10121
3.05k
  }
10122
11.8k
success:
10123
  // @@protoc_insertion_point(parse_success:yb.master.TruncateTableRequestPB)
10124
11.8k
  return true;
10125
0
failure:
10126
  // @@protoc_insertion_point(parse_failure:yb.master.TruncateTableRequestPB)
10127
0
  return false;
10128
11.8k
#undef DO_
10129
11.8k
}
10130
10131
void TruncateTableRequestPB::SerializeWithCachedSizes(
10132
0
    ::google::protobuf::io::CodedOutputStream* output) const {
10133
  // @@protoc_insertion_point(serialize_start:yb.master.TruncateTableRequestPB)
10134
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10135
0
  (void) cached_has_bits;
10136
10137
  // repeated bytes table_ids = 1;
10138
0
  for (int i = 0, n = this->table_ids_size(); i < n; i++) {
10139
0
    ::google::protobuf::internal::WireFormatLite::WriteBytes(
10140
0
      1, this->table_ids(i), output);
10141
0
  }
10142
10143
0
  if (_internal_metadata_.have_unknown_fields()) {
10144
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10145
0
        _internal_metadata_.unknown_fields(), output);
10146
0
  }
10147
  // @@protoc_insertion_point(serialize_end:yb.master.TruncateTableRequestPB)
10148
0
}
10149
10150
::google::protobuf::uint8* TruncateTableRequestPB::InternalSerializeWithCachedSizesToArray(
10151
11.8k
    bool deterministic, ::google::protobuf::uint8* target) const {
10152
11.8k
  (void)deterministic; // Unused
10153
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.TruncateTableRequestPB)
10154
11.8k
  ::google::protobuf::uint32 cached_has_bits = 0;
10155
11.8k
  (void) cached_has_bits;
10156
10157
  // repeated bytes table_ids = 1;
10158
14.9k
  for (int i = 0, n = this->table_ids_size(); i < n; i++) {
10159
3.05k
    target = ::google::protobuf::internal::WireFormatLite::
10160
3.05k
      WriteBytesToArray(1, this->table_ids(i), target);
10161
3.05k
  }
10162
10163
11.8k
  if (_internal_metadata_.have_unknown_fields()) {
10164
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
10165
0
        _internal_metadata_.unknown_fields(), target);
10166
0
  }
10167
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.TruncateTableRequestPB)
10168
11.8k
  return target;
10169
11.8k
}
10170
10171
23.7k
size_t TruncateTableRequestPB::ByteSizeLong() const {
10172
// @@protoc_insertion_point(message_byte_size_start:yb.master.TruncateTableRequestPB)
10173
23.7k
  size_t total_size = 0;
10174
10175
23.7k
  if (_internal_metadata_.have_unknown_fields()) {
10176
0
    total_size +=
10177
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
10178
0
        _internal_metadata_.unknown_fields());
10179
0
  }
10180
  // repeated bytes table_ids = 1;
10181
23.7k
  total_size += 1 *
10182
23.7k
      ::google::protobuf::internal::FromIntSize(this->table_ids_size());
10183
29.8k
  for (int i = 0, n = this->table_ids_size(); i < n; i++) {
10184
6.10k
    total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
10185
6.10k
      this->table_ids(i));
10186
6.10k
  }
10187
10188
23.7k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
10189
23.7k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10190
23.7k
  _cached_size_ = cached_size;
10191
23.7k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10192
23.7k
  return total_size;
10193
23.7k
}
10194
10195
0
void TruncateTableRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
10196
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.TruncateTableRequestPB)
10197
0
  GOOGLE_DCHECK_NE(&from, this);
10198
0
  const TruncateTableRequestPB* source =
10199
0
      ::google::protobuf::internal::DynamicCastToGenerated<const TruncateTableRequestPB>(
10200
0
          &from);
10201
0
  if (source == NULL) {
10202
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.TruncateTableRequestPB)
10203
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
10204
0
  } else {
10205
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.TruncateTableRequestPB)
10206
0
    MergeFrom(*source);
10207
0
  }
10208
0
}
10209
10210
0
void TruncateTableRequestPB::MergeFrom(const TruncateTableRequestPB& from) {
10211
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.TruncateTableRequestPB)
10212
0
  GOOGLE_DCHECK_NE(&from, this);
10213
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10214
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10215
0
  (void) cached_has_bits;
10216
10217
0
  table_ids_.MergeFrom(from.table_ids_);
10218
0
}
10219
10220
0
void TruncateTableRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
10221
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.TruncateTableRequestPB)
10222
0
  if (&from == this) return;
10223
0
  Clear();
10224
0
  MergeFrom(from);
10225
0
}
10226
10227
0
void TruncateTableRequestPB::CopyFrom(const TruncateTableRequestPB& from) {
10228
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.TruncateTableRequestPB)
10229
0
  if (&from == this) return;
10230
0
  Clear();
10231
0
  MergeFrom(from);
10232
0
}
10233
10234
23.7k
bool TruncateTableRequestPB::IsInitialized() const {
10235
23.7k
  return true;
10236
23.7k
}
10237
10238
0
void TruncateTableRequestPB::Swap(TruncateTableRequestPB* other) {
10239
0
  if (other == this) return;
10240
0
  InternalSwap(other);
10241
0
}
10242
0
void TruncateTableRequestPB::InternalSwap(TruncateTableRequestPB* other) {
10243
0
  using std::swap;
10244
0
  table_ids_.InternalSwap(&other->table_ids_);
10245
0
  swap(_has_bits_[0], other->_has_bits_[0]);
10246
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
10247
0
  swap(_cached_size_, other->_cached_size_);
10248
0
}
10249
10250
35.6k
::google::protobuf::Metadata TruncateTableRequestPB::GetMetadata() const {
10251
35.6k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
10252
35.6k
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
10253
35.6k
}
10254
10255
10256
// ===================================================================
10257
10258
15.8k
void TruncateTableResponsePB::InitAsDefaultInstance() {
10259
15.8k
  ::yb::master::_TruncateTableResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
10260
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
10261
15.8k
}
10262
0
void TruncateTableResponsePB::clear_error() {
10263
0
  if (error_ != NULL) error_->Clear();
10264
0
  clear_has_error();
10265
0
}
10266
#if !defined(_MSC_VER) || _MSC_VER >= 1900
10267
const int TruncateTableResponsePB::kErrorFieldNumber;
10268
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
10269
10270
TruncateTableResponsePB::TruncateTableResponsePB()
10271
39.6k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
10272
23.7k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
10273
23.7k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsTruncateTableResponsePB();
10274
23.7k
  }
10275
39.6k
  SharedCtor();
10276
  // @@protoc_insertion_point(constructor:yb.master.TruncateTableResponsePB)
10277
39.6k
}
10278
TruncateTableResponsePB::TruncateTableResponsePB(const TruncateTableResponsePB& from)
10279
  : ::google::protobuf::Message(),
10280
      _internal_metadata_(NULL),
10281
      _has_bits_(from._has_bits_),
10282
0
      _cached_size_(0) {
10283
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10284
0
  if (from.has_error()) {
10285
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
10286
0
  } else {
10287
0
    error_ = NULL;
10288
0
  }
10289
  // @@protoc_insertion_point(copy_constructor:yb.master.TruncateTableResponsePB)
10290
0
}
10291
10292
39.6k
void TruncateTableResponsePB::SharedCtor() {
10293
39.6k
  _cached_size_ = 0;
10294
39.6k
  error_ = NULL;
10295
39.6k
}
10296
10297
23.7k
TruncateTableResponsePB::~TruncateTableResponsePB() {
10298
  // @@protoc_insertion_point(destructor:yb.master.TruncateTableResponsePB)
10299
23.7k
  SharedDtor();
10300
23.7k
}
10301
10302
23.7k
void TruncateTableResponsePB::SharedDtor() {
10303
23.7k
  if (this != internal_default_instance()) delete error_;
10304
23.7k
}
10305
10306
0
void TruncateTableResponsePB::SetCachedSize(int size) const {
10307
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10308
0
  _cached_size_ = size;
10309
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10310
0
}
10311
0
const ::google::protobuf::Descriptor* TruncateTableResponsePB::descriptor() {
10312
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
10313
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
10314
0
}
10315
10316
0
const TruncateTableResponsePB& TruncateTableResponsePB::default_instance() {
10317
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsTruncateTableResponsePB();
10318
0
  return *internal_default_instance();
10319
0
}
10320
10321
0
TruncateTableResponsePB* TruncateTableResponsePB::New(::google::protobuf::Arena* arena) const {
10322
0
  TruncateTableResponsePB* n = new TruncateTableResponsePB;
10323
0
  if (arena != NULL) {
10324
0
    arena->Own(n);
10325
0
  }
10326
0
  return n;
10327
0
}
10328
10329
11.8k
void TruncateTableResponsePB::Clear() {
10330
// @@protoc_insertion_point(message_clear_start:yb.master.TruncateTableResponsePB)
10331
11.8k
  ::google::protobuf::uint32 cached_has_bits = 0;
10332
  // Prevent compiler warnings about cached_has_bits being unused
10333
11.8k
  (void) cached_has_bits;
10334
10335
11.8k
  cached_has_bits = _has_bits_[0];
10336
11.8k
  if (cached_has_bits & 0x00000001u) {
10337
0
    GOOGLE_DCHECK(error_ != NULL);
10338
0
    error_->Clear();
10339
0
  }
10340
11.8k
  _has_bits_.Clear();
10341
11.8k
  _internal_metadata_.Clear();
10342
11.8k
}
10343
10344
bool TruncateTableResponsePB::MergePartialFromCodedStream(
10345
11.8k
    ::google::protobuf::io::CodedInputStream* input) {
10346
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
10347
11.8k
  ::google::protobuf::uint32 tag;
10348
  // @@protoc_insertion_point(parse_start:yb.master.TruncateTableResponsePB)
10349
11.8k
  for (;;) {
10350
11.8k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10351
11.8k
    tag = p.first;
10352
11.8k
    if (!p.second) goto handle_unusual;
10353
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10354
      // optional .yb.master.MasterErrorPB error = 1;
10355
0
      case 1: {
10356
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10357
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
10358
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
10359
0
               input, mutable_error()));
10360
0
        } else {
10361
0
          goto handle_unusual;
10362
0
        }
10363
0
        break;
10364
11.8k
      }
10365
10366
0
      default: {
10367
11.8k
      handle_unusual:
10368
11.8k
        if (tag == 0) {
10369
11.8k
          goto success;
10370
11.8k
        }
10371
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
10372
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
10373
0
        break;
10374
0
      }
10375
0
    }
10376
0
  }
10377
11.8k
success:
10378
  // @@protoc_insertion_point(parse_success:yb.master.TruncateTableResponsePB)
10379
11.8k
  return true;
10380
0
failure:
10381
  // @@protoc_insertion_point(parse_failure:yb.master.TruncateTableResponsePB)
10382
0
  return false;
10383
11.8k
#undef DO_
10384
11.8k
}
10385
10386
void TruncateTableResponsePB::SerializeWithCachedSizes(
10387
0
    ::google::protobuf::io::CodedOutputStream* output) const {
10388
  // @@protoc_insertion_point(serialize_start:yb.master.TruncateTableResponsePB)
10389
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10390
0
  (void) cached_has_bits;
10391
10392
0
  cached_has_bits = _has_bits_[0];
10393
  // optional .yb.master.MasterErrorPB error = 1;
10394
0
  if (cached_has_bits & 0x00000001u) {
10395
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
10396
0
      1, *this->error_, output);
10397
0
  }
10398
10399
0
  if (_internal_metadata_.have_unknown_fields()) {
10400
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10401
0
        _internal_metadata_.unknown_fields(), output);
10402
0
  }
10403
  // @@protoc_insertion_point(serialize_end:yb.master.TruncateTableResponsePB)
10404
0
}
10405
10406
::google::protobuf::uint8* TruncateTableResponsePB::InternalSerializeWithCachedSizesToArray(
10407
11.8k
    bool deterministic, ::google::protobuf::uint8* target) const {
10408
11.8k
  (void)deterministic; // Unused
10409
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.TruncateTableResponsePB)
10410
11.8k
  ::google::protobuf::uint32 cached_has_bits = 0;
10411
11.8k
  (void) cached_has_bits;
10412
10413
11.8k
  cached_has_bits = _has_bits_[0];
10414
  // optional .yb.master.MasterErrorPB error = 1;
10415
11.8k
  if (cached_has_bits & 0x00000001u) {
10416
0
    target = ::google::protobuf::internal::WireFormatLite::
10417
0
      InternalWriteMessageToArray(
10418
0
        1, *this->error_, deterministic, target);
10419
0
  }
10420
10421
11.8k
  if (_internal_metadata_.have_unknown_fields()) {
10422
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
10423
0
        _internal_metadata_.unknown_fields(), target);
10424
0
  }
10425
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.TruncateTableResponsePB)
10426
11.8k
  return target;
10427
11.8k
}
10428
10429
23.7k
size_t TruncateTableResponsePB::ByteSizeLong() const {
10430
// @@protoc_insertion_point(message_byte_size_start:yb.master.TruncateTableResponsePB)
10431
23.7k
  size_t total_size = 0;
10432
10433
23.7k
  if (_internal_metadata_.have_unknown_fields()) {
10434
0
    total_size +=
10435
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
10436
0
        _internal_metadata_.unknown_fields());
10437
0
  }
10438
  // optional .yb.master.MasterErrorPB error = 1;
10439
23.7k
  if (has_error()) {
10440
0
    total_size += 1 +
10441
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
10442
0
        *this->error_);
10443
0
  }
10444
10445
23.7k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
10446
23.7k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10447
23.7k
  _cached_size_ = cached_size;
10448
23.7k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10449
23.7k
  return total_size;
10450
23.7k
}
10451
10452
0
void TruncateTableResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
10453
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.TruncateTableResponsePB)
10454
0
  GOOGLE_DCHECK_NE(&from, this);
10455
0
  const TruncateTableResponsePB* source =
10456
0
      ::google::protobuf::internal::DynamicCastToGenerated<const TruncateTableResponsePB>(
10457
0
          &from);
10458
0
  if (source == NULL) {
10459
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.TruncateTableResponsePB)
10460
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
10461
0
  } else {
10462
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.TruncateTableResponsePB)
10463
0
    MergeFrom(*source);
10464
0
  }
10465
0
}
10466
10467
0
void TruncateTableResponsePB::MergeFrom(const TruncateTableResponsePB& from) {
10468
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.TruncateTableResponsePB)
10469
0
  GOOGLE_DCHECK_NE(&from, this);
10470
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10471
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10472
0
  (void) cached_has_bits;
10473
10474
0
  if (from.has_error()) {
10475
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
10476
0
  }
10477
0
}
10478
10479
0
void TruncateTableResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
10480
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.TruncateTableResponsePB)
10481
0
  if (&from == this) return;
10482
0
  Clear();
10483
0
  MergeFrom(from);
10484
0
}
10485
10486
0
void TruncateTableResponsePB::CopyFrom(const TruncateTableResponsePB& from) {
10487
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.TruncateTableResponsePB)
10488
0
  if (&from == this) return;
10489
0
  Clear();
10490
0
  MergeFrom(from);
10491
0
}
10492
10493
23.7k
bool TruncateTableResponsePB::IsInitialized() const {
10494
23.7k
  if (has_error()) {
10495
0
    if (!this->error_->IsInitialized()) return false;
10496
23.7k
  }
10497
23.7k
  return true;
10498
23.7k
}
10499
10500
0
void TruncateTableResponsePB::Swap(TruncateTableResponsePB* other) {
10501
0
  if (other == this) return;
10502
0
  InternalSwap(other);
10503
0
}
10504
0
void TruncateTableResponsePB::InternalSwap(TruncateTableResponsePB* other) {
10505
0
  using std::swap;
10506
0
  swap(error_, other->error_);
10507
0
  swap(_has_bits_[0], other->_has_bits_[0]);
10508
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
10509
0
  swap(_cached_size_, other->_cached_size_);
10510
0
}
10511
10512
0
::google::protobuf::Metadata TruncateTableResponsePB::GetMetadata() const {
10513
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
10514
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
10515
0
}
10516
10517
10518
// ===================================================================
10519
10520
15.8k
void IsTruncateTableDoneRequestPB::InitAsDefaultInstance() {
10521
15.8k
}
10522
#if !defined(_MSC_VER) || _MSC_VER >= 1900
10523
const int IsTruncateTableDoneRequestPB::kTableIdFieldNumber;
10524
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
10525
10526
IsTruncateTableDoneRequestPB::IsTruncateTableDoneRequestPB()
10527
33.6k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
10528
17.7k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
10529
17.7k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsTruncateTableDoneRequestPB();
10530
17.7k
  }
10531
33.6k
  SharedCtor();
10532
  // @@protoc_insertion_point(constructor:yb.master.IsTruncateTableDoneRequestPB)
10533
33.6k
}
10534
IsTruncateTableDoneRequestPB::IsTruncateTableDoneRequestPB(const IsTruncateTableDoneRequestPB& from)
10535
  : ::google::protobuf::Message(),
10536
      _internal_metadata_(NULL),
10537
      _has_bits_(from._has_bits_),
10538
0
      _cached_size_(0) {
10539
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10540
0
  table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10541
0
  if (from.has_table_id()) {
10542
0
    table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_id_);
10543
0
  }
10544
  // @@protoc_insertion_point(copy_constructor:yb.master.IsTruncateTableDoneRequestPB)
10545
0
}
10546
10547
33.6k
void IsTruncateTableDoneRequestPB::SharedCtor() {
10548
33.6k
  _cached_size_ = 0;
10549
33.6k
  table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10550
33.6k
}
10551
10552
17.7k
IsTruncateTableDoneRequestPB::~IsTruncateTableDoneRequestPB() {
10553
  // @@protoc_insertion_point(destructor:yb.master.IsTruncateTableDoneRequestPB)
10554
17.7k
  SharedDtor();
10555
17.7k
}
10556
10557
17.7k
void IsTruncateTableDoneRequestPB::SharedDtor() {
10558
17.7k
  table_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10559
17.7k
}
10560
10561
0
void IsTruncateTableDoneRequestPB::SetCachedSize(int size) const {
10562
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10563
0
  _cached_size_ = size;
10564
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10565
0
}
10566
0
const ::google::protobuf::Descriptor* IsTruncateTableDoneRequestPB::descriptor() {
10567
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
10568
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
10569
0
}
10570
10571
0
const IsTruncateTableDoneRequestPB& IsTruncateTableDoneRequestPB::default_instance() {
10572
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsTruncateTableDoneRequestPB();
10573
0
  return *internal_default_instance();
10574
0
}
10575
10576
0
IsTruncateTableDoneRequestPB* IsTruncateTableDoneRequestPB::New(::google::protobuf::Arena* arena) const {
10577
0
  IsTruncateTableDoneRequestPB* n = new IsTruncateTableDoneRequestPB;
10578
0
  if (arena != NULL) {
10579
0
    arena->Own(n);
10580
0
  }
10581
0
  return n;
10582
0
}
10583
10584
8.89k
void IsTruncateTableDoneRequestPB::Clear() {
10585
// @@protoc_insertion_point(message_clear_start:yb.master.IsTruncateTableDoneRequestPB)
10586
8.89k
  ::google::protobuf::uint32 cached_has_bits = 0;
10587
  // Prevent compiler warnings about cached_has_bits being unused
10588
8.89k
  (void) cached_has_bits;
10589
10590
8.89k
  cached_has_bits = _has_bits_[0];
10591
8.89k
  if (cached_has_bits & 0x00000001u) {
10592
0
    GOOGLE_DCHECK(!table_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
10593
0
    (*table_id_.UnsafeRawStringPointer())->clear();
10594
0
  }
10595
8.89k
  _has_bits_.Clear();
10596
8.89k
  _internal_metadata_.Clear();
10597
8.89k
}
10598
10599
bool IsTruncateTableDoneRequestPB::MergePartialFromCodedStream(
10600
8.89k
    ::google::protobuf::io::CodedInputStream* input) {
10601
8.89k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
10602
8.89k
  ::google::protobuf::uint32 tag;
10603
  // @@protoc_insertion_point(parse_start:yb.master.IsTruncateTableDoneRequestPB)
10604
17.7k
  for (;;) {
10605
17.7k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10606
17.7k
    tag = p.first;
10607
17.7k
    if (!p.second) goto handle_unusual;
10608
8.89k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10609
      // optional bytes table_id = 1;
10610
8.89k
      case 1: {
10611
8.89k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10612
8.89k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
10613
8.89k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
10614
8.89k
                input, this->mutable_table_id()));
10615
0
        } else {
10616
0
          goto handle_unusual;
10617
0
        }
10618
8.89k
        break;
10619
8.89k
      }
10620
10621
0
      default: {
10622
8.89k
      handle_unusual:
10623
8.89k
        if (tag == 0) {
10624
8.89k
          goto success;
10625
8.89k
        }
10626
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
10627
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
10628
0
        break;
10629
0
      }
10630
8.89k
    }
10631
8.89k
  }
10632
8.89k
success:
10633
  // @@protoc_insertion_point(parse_success:yb.master.IsTruncateTableDoneRequestPB)
10634
8.89k
  return true;
10635
0
failure:
10636
  // @@protoc_insertion_point(parse_failure:yb.master.IsTruncateTableDoneRequestPB)
10637
0
  return false;
10638
8.89k
#undef DO_
10639
8.89k
}
10640
10641
void IsTruncateTableDoneRequestPB::SerializeWithCachedSizes(
10642
0
    ::google::protobuf::io::CodedOutputStream* output) const {
10643
  // @@protoc_insertion_point(serialize_start:yb.master.IsTruncateTableDoneRequestPB)
10644
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10645
0
  (void) cached_has_bits;
10646
10647
0
  cached_has_bits = _has_bits_[0];
10648
  // optional bytes table_id = 1;
10649
0
  if (cached_has_bits & 0x00000001u) {
10650
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
10651
0
      1, this->table_id(), output);
10652
0
  }
10653
10654
0
  if (_internal_metadata_.have_unknown_fields()) {
10655
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10656
0
        _internal_metadata_.unknown_fields(), output);
10657
0
  }
10658
  // @@protoc_insertion_point(serialize_end:yb.master.IsTruncateTableDoneRequestPB)
10659
0
}
10660
10661
::google::protobuf::uint8* IsTruncateTableDoneRequestPB::InternalSerializeWithCachedSizesToArray(
10662
8.89k
    bool deterministic, ::google::protobuf::uint8* target) const {
10663
8.89k
  (void)deterministic; // Unused
10664
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.IsTruncateTableDoneRequestPB)
10665
8.89k
  ::google::protobuf::uint32 cached_has_bits = 0;
10666
8.89k
  (void) cached_has_bits;
10667
10668
8.89k
  cached_has_bits = _has_bits_[0];
10669
  // optional bytes table_id = 1;
10670
8.89k
  if (cached_has_bits & 0x00000001u) {
10671
8.89k
    target =
10672
8.89k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
10673
8.89k
        1, this->table_id(), target);
10674
8.89k
  }
10675
10676
8.89k
  if (_internal_metadata_.have_unknown_fields()) {
10677
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
10678
0
        _internal_metadata_.unknown_fields(), target);
10679
0
  }
10680
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.IsTruncateTableDoneRequestPB)
10681
8.89k
  return target;
10682
8.89k
}
10683
10684
17.7k
size_t IsTruncateTableDoneRequestPB::ByteSizeLong() const {
10685
// @@protoc_insertion_point(message_byte_size_start:yb.master.IsTruncateTableDoneRequestPB)
10686
17.7k
  size_t total_size = 0;
10687
10688
17.7k
  if (_internal_metadata_.have_unknown_fields()) {
10689
0
    total_size +=
10690
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
10691
0
        _internal_metadata_.unknown_fields());
10692
0
  }
10693
  // optional bytes table_id = 1;
10694
17.7k
  if (has_table_id()) {
10695
17.7k
    total_size += 1 +
10696
17.7k
      ::google::protobuf::internal::WireFormatLite::BytesSize(
10697
17.7k
        this->table_id());
10698
17.7k
  }
10699
10700
17.7k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
10701
17.7k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10702
17.7k
  _cached_size_ = cached_size;
10703
17.7k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10704
17.7k
  return total_size;
10705
17.7k
}
10706
10707
0
void IsTruncateTableDoneRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
10708
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.IsTruncateTableDoneRequestPB)
10709
0
  GOOGLE_DCHECK_NE(&from, this);
10710
0
  const IsTruncateTableDoneRequestPB* source =
10711
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsTruncateTableDoneRequestPB>(
10712
0
          &from);
10713
0
  if (source == NULL) {
10714
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.IsTruncateTableDoneRequestPB)
10715
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
10716
0
  } else {
10717
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.IsTruncateTableDoneRequestPB)
10718
0
    MergeFrom(*source);
10719
0
  }
10720
0
}
10721
10722
0
void IsTruncateTableDoneRequestPB::MergeFrom(const IsTruncateTableDoneRequestPB& from) {
10723
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.IsTruncateTableDoneRequestPB)
10724
0
  GOOGLE_DCHECK_NE(&from, this);
10725
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10726
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10727
0
  (void) cached_has_bits;
10728
10729
0
  if (from.has_table_id()) {
10730
0
    set_has_table_id();
10731
0
    table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_id_);
10732
0
  }
10733
0
}
10734
10735
0
void IsTruncateTableDoneRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
10736
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.IsTruncateTableDoneRequestPB)
10737
0
  if (&from == this) return;
10738
0
  Clear();
10739
0
  MergeFrom(from);
10740
0
}
10741
10742
0
void IsTruncateTableDoneRequestPB::CopyFrom(const IsTruncateTableDoneRequestPB& from) {
10743
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.IsTruncateTableDoneRequestPB)
10744
0
  if (&from == this) return;
10745
0
  Clear();
10746
0
  MergeFrom(from);
10747
0
}
10748
10749
17.7k
bool IsTruncateTableDoneRequestPB::IsInitialized() const {
10750
17.7k
  return true;
10751
17.7k
}
10752
10753
0
void IsTruncateTableDoneRequestPB::Swap(IsTruncateTableDoneRequestPB* other) {
10754
0
  if (other == this) return;
10755
0
  InternalSwap(other);
10756
0
}
10757
0
void IsTruncateTableDoneRequestPB::InternalSwap(IsTruncateTableDoneRequestPB* other) {
10758
0
  using std::swap;
10759
0
  table_id_.Swap(&other->table_id_);
10760
0
  swap(_has_bits_[0], other->_has_bits_[0]);
10761
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
10762
0
  swap(_cached_size_, other->_cached_size_);
10763
0
}
10764
10765
8.89k
::google::protobuf::Metadata IsTruncateTableDoneRequestPB::GetMetadata() const {
10766
8.89k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
10767
8.89k
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
10768
8.89k
}
10769
10770
10771
// ===================================================================
10772
10773
15.8k
void IsTruncateTableDoneResponsePB::InitAsDefaultInstance() {
10774
15.8k
  ::yb::master::_IsTruncateTableDoneResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
10775
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
10776
15.8k
}
10777
0
void IsTruncateTableDoneResponsePB::clear_error() {
10778
0
  if (error_ != NULL) error_->Clear();
10779
0
  clear_has_error();
10780
0
}
10781
#if !defined(_MSC_VER) || _MSC_VER >= 1900
10782
const int IsTruncateTableDoneResponsePB::kErrorFieldNumber;
10783
const int IsTruncateTableDoneResponsePB::kDoneFieldNumber;
10784
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
10785
10786
IsTruncateTableDoneResponsePB::IsTruncateTableDoneResponsePB()
10787
33.6k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
10788
17.7k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
10789
17.7k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsTruncateTableDoneResponsePB();
10790
17.7k
  }
10791
33.6k
  SharedCtor();
10792
  // @@protoc_insertion_point(constructor:yb.master.IsTruncateTableDoneResponsePB)
10793
33.6k
}
10794
IsTruncateTableDoneResponsePB::IsTruncateTableDoneResponsePB(const IsTruncateTableDoneResponsePB& from)
10795
  : ::google::protobuf::Message(),
10796
      _internal_metadata_(NULL),
10797
      _has_bits_(from._has_bits_),
10798
0
      _cached_size_(0) {
10799
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10800
0
  if (from.has_error()) {
10801
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
10802
0
  } else {
10803
0
    error_ = NULL;
10804
0
  }
10805
0
  done_ = from.done_;
10806
  // @@protoc_insertion_point(copy_constructor:yb.master.IsTruncateTableDoneResponsePB)
10807
0
}
10808
10809
33.6k
void IsTruncateTableDoneResponsePB::SharedCtor() {
10810
33.6k
  _cached_size_ = 0;
10811
33.6k
  ::memset(&error_, 0, static_cast<size_t>(
10812
33.6k
      reinterpret_cast<char*>(&done_) -
10813
33.6k
      reinterpret_cast<char*>(&error_)) + sizeof(done_));
10814
33.6k
}
10815
10816
17.7k
IsTruncateTableDoneResponsePB::~IsTruncateTableDoneResponsePB() {
10817
  // @@protoc_insertion_point(destructor:yb.master.IsTruncateTableDoneResponsePB)
10818
17.7k
  SharedDtor();
10819
17.7k
}
10820
10821
17.7k
void IsTruncateTableDoneResponsePB::SharedDtor() {
10822
17.7k
  if (this != internal_default_instance()) delete error_;
10823
17.7k
}
10824
10825
0
void IsTruncateTableDoneResponsePB::SetCachedSize(int size) const {
10826
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10827
0
  _cached_size_ = size;
10828
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10829
0
}
10830
0
const ::google::protobuf::Descriptor* IsTruncateTableDoneResponsePB::descriptor() {
10831
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
10832
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
10833
0
}
10834
10835
0
const IsTruncateTableDoneResponsePB& IsTruncateTableDoneResponsePB::default_instance() {
10836
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsTruncateTableDoneResponsePB();
10837
0
  return *internal_default_instance();
10838
0
}
10839
10840
0
IsTruncateTableDoneResponsePB* IsTruncateTableDoneResponsePB::New(::google::protobuf::Arena* arena) const {
10841
0
  IsTruncateTableDoneResponsePB* n = new IsTruncateTableDoneResponsePB;
10842
0
  if (arena != NULL) {
10843
0
    arena->Own(n);
10844
0
  }
10845
0
  return n;
10846
0
}
10847
10848
8.89k
void IsTruncateTableDoneResponsePB::Clear() {
10849
// @@protoc_insertion_point(message_clear_start:yb.master.IsTruncateTableDoneResponsePB)
10850
8.89k
  ::google::protobuf::uint32 cached_has_bits = 0;
10851
  // Prevent compiler warnings about cached_has_bits being unused
10852
8.89k
  (void) cached_has_bits;
10853
10854
8.89k
  cached_has_bits = _has_bits_[0];
10855
8.89k
  if (cached_has_bits & 0x00000001u) {
10856
0
    GOOGLE_DCHECK(error_ != NULL);
10857
0
    error_->Clear();
10858
0
  }
10859
8.89k
  done_ = false;
10860
8.89k
  _has_bits_.Clear();
10861
8.89k
  _internal_metadata_.Clear();
10862
8.89k
}
10863
10864
bool IsTruncateTableDoneResponsePB::MergePartialFromCodedStream(
10865
8.89k
    ::google::protobuf::io::CodedInputStream* input) {
10866
8.89k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
10867
8.89k
  ::google::protobuf::uint32 tag;
10868
  // @@protoc_insertion_point(parse_start:yb.master.IsTruncateTableDoneResponsePB)
10869
17.7k
  for (;;) {
10870
17.7k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10871
17.7k
    tag = p.first;
10872
17.7k
    if (!p.second) goto handle_unusual;
10873
8.89k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10874
      // optional .yb.master.MasterErrorPB error = 1;
10875
0
      case 1: {
10876
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10877
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
10878
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
10879
0
               input, mutable_error()));
10880
0
        } else {
10881
0
          goto handle_unusual;
10882
0
        }
10883
0
        break;
10884
0
      }
10885
10886
      // optional bool done = 2;
10887
8.89k
      case 2: {
10888
8.89k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10889
8.89k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
10890
8.89k
          set_has_done();
10891
8.89k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
10892
8.89k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
10893
8.89k
                 input, &done_)));
10894
0
        } else {
10895
0
          goto handle_unusual;
10896
0
        }
10897
8.89k
        break;
10898
8.89k
      }
10899
10900
0
      default: {
10901
8.89k
      handle_unusual:
10902
8.89k
        if (tag == 0) {
10903
8.89k
          goto success;
10904
8.89k
        }
10905
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
10906
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
10907
0
        break;
10908
0
      }
10909
8.89k
    }
10910
8.89k
  }
10911
8.89k
success:
10912
  // @@protoc_insertion_point(parse_success:yb.master.IsTruncateTableDoneResponsePB)
10913
8.89k
  return true;
10914
0
failure:
10915
  // @@protoc_insertion_point(parse_failure:yb.master.IsTruncateTableDoneResponsePB)
10916
0
  return false;
10917
8.89k
#undef DO_
10918
8.89k
}
10919
10920
void IsTruncateTableDoneResponsePB::SerializeWithCachedSizes(
10921
0
    ::google::protobuf::io::CodedOutputStream* output) const {
10922
  // @@protoc_insertion_point(serialize_start:yb.master.IsTruncateTableDoneResponsePB)
10923
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10924
0
  (void) cached_has_bits;
10925
10926
0
  cached_has_bits = _has_bits_[0];
10927
  // optional .yb.master.MasterErrorPB error = 1;
10928
0
  if (cached_has_bits & 0x00000001u) {
10929
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
10930
0
      1, *this->error_, output);
10931
0
  }
10932
10933
  // optional bool done = 2;
10934
0
  if (cached_has_bits & 0x00000002u) {
10935
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->done(), output);
10936
0
  }
10937
10938
0
  if (_internal_metadata_.have_unknown_fields()) {
10939
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10940
0
        _internal_metadata_.unknown_fields(), output);
10941
0
  }
10942
  // @@protoc_insertion_point(serialize_end:yb.master.IsTruncateTableDoneResponsePB)
10943
0
}
10944
10945
::google::protobuf::uint8* IsTruncateTableDoneResponsePB::InternalSerializeWithCachedSizesToArray(
10946
8.89k
    bool deterministic, ::google::protobuf::uint8* target) const {
10947
8.89k
  (void)deterministic; // Unused
10948
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.IsTruncateTableDoneResponsePB)
10949
8.89k
  ::google::protobuf::uint32 cached_has_bits = 0;
10950
8.89k
  (void) cached_has_bits;
10951
10952
8.89k
  cached_has_bits = _has_bits_[0];
10953
  // optional .yb.master.MasterErrorPB error = 1;
10954
8.89k
  if (cached_has_bits & 0x00000001u) {
10955
0
    target = ::google::protobuf::internal::WireFormatLite::
10956
0
      InternalWriteMessageToArray(
10957
0
        1, *this->error_, deterministic, target);
10958
0
  }
10959
10960
  // optional bool done = 2;
10961
8.89k
  if (cached_has_bits & 0x00000002u) {
10962
8.89k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->done(), target);
10963
8.89k
  }
10964
10965
8.89k
  if (_internal_metadata_.have_unknown_fields()) {
10966
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
10967
0
        _internal_metadata_.unknown_fields(), target);
10968
0
  }
10969
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.IsTruncateTableDoneResponsePB)
10970
8.89k
  return target;
10971
8.89k
}
10972
10973
17.7k
size_t IsTruncateTableDoneResponsePB::ByteSizeLong() const {
10974
// @@protoc_insertion_point(message_byte_size_start:yb.master.IsTruncateTableDoneResponsePB)
10975
17.7k
  size_t total_size = 0;
10976
10977
17.7k
  if (_internal_metadata_.have_unknown_fields()) {
10978
0
    total_size +=
10979
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
10980
0
        _internal_metadata_.unknown_fields());
10981
0
  }
10982
17.7k
  if (_has_bits_[0 / 32] & 3u) {
10983
    // optional .yb.master.MasterErrorPB error = 1;
10984
17.7k
    if (has_error()) {
10985
0
      total_size += 1 +
10986
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
10987
0
          *this->error_);
10988
0
    }
10989
10990
    // optional bool done = 2;
10991
17.7k
    if (has_done()) {
10992
17.7k
      total_size += 1 + 1;
10993
17.7k
    }
10994
10995
17.7k
  }
10996
17.7k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
10997
17.7k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10998
17.7k
  _cached_size_ = cached_size;
10999
17.7k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11000
17.7k
  return total_size;
11001
17.7k
}
11002
11003
0
void IsTruncateTableDoneResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
11004
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.IsTruncateTableDoneResponsePB)
11005
0
  GOOGLE_DCHECK_NE(&from, this);
11006
0
  const IsTruncateTableDoneResponsePB* source =
11007
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsTruncateTableDoneResponsePB>(
11008
0
          &from);
11009
0
  if (source == NULL) {
11010
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.IsTruncateTableDoneResponsePB)
11011
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
11012
0
  } else {
11013
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.IsTruncateTableDoneResponsePB)
11014
0
    MergeFrom(*source);
11015
0
  }
11016
0
}
11017
11018
0
void IsTruncateTableDoneResponsePB::MergeFrom(const IsTruncateTableDoneResponsePB& from) {
11019
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.IsTruncateTableDoneResponsePB)
11020
0
  GOOGLE_DCHECK_NE(&from, this);
11021
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11022
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11023
0
  (void) cached_has_bits;
11024
11025
0
  cached_has_bits = from._has_bits_[0];
11026
0
  if (cached_has_bits & 3u) {
11027
0
    if (cached_has_bits & 0x00000001u) {
11028
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
11029
0
    }
11030
0
    if (cached_has_bits & 0x00000002u) {
11031
0
      done_ = from.done_;
11032
0
    }
11033
0
    _has_bits_[0] |= cached_has_bits;
11034
0
  }
11035
0
}
11036
11037
0
void IsTruncateTableDoneResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
11038
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.IsTruncateTableDoneResponsePB)
11039
0
  if (&from == this) return;
11040
0
  Clear();
11041
0
  MergeFrom(from);
11042
0
}
11043
11044
0
void IsTruncateTableDoneResponsePB::CopyFrom(const IsTruncateTableDoneResponsePB& from) {
11045
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.IsTruncateTableDoneResponsePB)
11046
0
  if (&from == this) return;
11047
0
  Clear();
11048
0
  MergeFrom(from);
11049
0
}
11050
11051
17.7k
bool IsTruncateTableDoneResponsePB::IsInitialized() const {
11052
17.7k
  if (has_error()) {
11053
0
    if (!this->error_->IsInitialized()) return false;
11054
17.7k
  }
11055
17.7k
  return true;
11056
17.7k
}
11057
11058
0
void IsTruncateTableDoneResponsePB::Swap(IsTruncateTableDoneResponsePB* other) {
11059
0
  if (other == this) return;
11060
0
  InternalSwap(other);
11061
0
}
11062
0
void IsTruncateTableDoneResponsePB::InternalSwap(IsTruncateTableDoneResponsePB* other) {
11063
0
  using std::swap;
11064
0
  swap(error_, other->error_);
11065
0
  swap(done_, other->done_);
11066
0
  swap(_has_bits_[0], other->_has_bits_[0]);
11067
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
11068
0
  swap(_cached_size_, other->_cached_size_);
11069
0
}
11070
11071
0
::google::protobuf::Metadata IsTruncateTableDoneResponsePB::GetMetadata() const {
11072
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
11073
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
11074
0
}
11075
11076
11077
// ===================================================================
11078
11079
15.8k
void BackfillIndexRequestPB::InitAsDefaultInstance() {
11080
15.8k
  ::yb::master::_BackfillIndexRequestPB_default_instance_._instance.get_mutable()->index_identifier_ = const_cast< ::yb::master::TableIdentifierPB*>(
11081
15.8k
      ::yb::master::TableIdentifierPB::internal_default_instance());
11082
15.8k
}
11083
0
void BackfillIndexRequestPB::clear_index_identifier() {
11084
0
  if (index_identifier_ != NULL) index_identifier_->Clear();
11085
0
  clear_has_index_identifier();
11086
0
}
11087
#if !defined(_MSC_VER) || _MSC_VER >= 1900
11088
const int BackfillIndexRequestPB::kIndexIdentifierFieldNumber;
11089
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
11090
11091
BackfillIndexRequestPB::BackfillIndexRequestPB()
11092
16.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
11093
178
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
11094
178
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsBackfillIndexRequestPB();
11095
178
  }
11096
16.0k
  SharedCtor();
11097
  // @@protoc_insertion_point(constructor:yb.master.BackfillIndexRequestPB)
11098
16.0k
}
11099
BackfillIndexRequestPB::BackfillIndexRequestPB(const BackfillIndexRequestPB& from)
11100
  : ::google::protobuf::Message(),
11101
      _internal_metadata_(NULL),
11102
      _has_bits_(from._has_bits_),
11103
0
      _cached_size_(0) {
11104
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11105
0
  if (from.has_index_identifier()) {
11106
0
    index_identifier_ = new ::yb::master::TableIdentifierPB(*from.index_identifier_);
11107
0
  } else {
11108
0
    index_identifier_ = NULL;
11109
0
  }
11110
  // @@protoc_insertion_point(copy_constructor:yb.master.BackfillIndexRequestPB)
11111
0
}
11112
11113
16.0k
void BackfillIndexRequestPB::SharedCtor() {
11114
16.0k
  _cached_size_ = 0;
11115
16.0k
  index_identifier_ = NULL;
11116
16.0k
}
11117
11118
178
BackfillIndexRequestPB::~BackfillIndexRequestPB() {
11119
  // @@protoc_insertion_point(destructor:yb.master.BackfillIndexRequestPB)
11120
178
  SharedDtor();
11121
178
}
11122
11123
178
void BackfillIndexRequestPB::SharedDtor() {
11124
178
  if (this != internal_default_instance()) delete index_identifier_;
11125
178
}
11126
11127
0
void BackfillIndexRequestPB::SetCachedSize(int size) const {
11128
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11129
0
  _cached_size_ = size;
11130
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11131
0
}
11132
0
const ::google::protobuf::Descriptor* BackfillIndexRequestPB::descriptor() {
11133
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
11134
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
11135
0
}
11136
11137
0
const BackfillIndexRequestPB& BackfillIndexRequestPB::default_instance() {
11138
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsBackfillIndexRequestPB();
11139
0
  return *internal_default_instance();
11140
0
}
11141
11142
0
BackfillIndexRequestPB* BackfillIndexRequestPB::New(::google::protobuf::Arena* arena) const {
11143
0
  BackfillIndexRequestPB* n = new BackfillIndexRequestPB;
11144
0
  if (arena != NULL) {
11145
0
    arena->Own(n);
11146
0
  }
11147
0
  return n;
11148
0
}
11149
11150
89
void BackfillIndexRequestPB::Clear() {
11151
// @@protoc_insertion_point(message_clear_start:yb.master.BackfillIndexRequestPB)
11152
89
  ::google::protobuf::uint32 cached_has_bits = 0;
11153
  // Prevent compiler warnings about cached_has_bits being unused
11154
89
  (void) cached_has_bits;
11155
11156
89
  cached_has_bits = _has_bits_[0];
11157
89
  if (cached_has_bits & 0x00000001u) {
11158
0
    GOOGLE_DCHECK(index_identifier_ != NULL);
11159
0
    index_identifier_->Clear();
11160
0
  }
11161
89
  _has_bits_.Clear();
11162
89
  _internal_metadata_.Clear();
11163
89
}
11164
11165
bool BackfillIndexRequestPB::MergePartialFromCodedStream(
11166
89
    ::google::protobuf::io::CodedInputStream* input) {
11167
89
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
11168
89
  ::google::protobuf::uint32 tag;
11169
  // @@protoc_insertion_point(parse_start:yb.master.BackfillIndexRequestPB)
11170
178
  for (;;) {
11171
178
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
11172
178
    tag = p.first;
11173
178
    if (!p.second) goto handle_unusual;
11174
89
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
11175
      // optional .yb.master.TableIdentifierPB index_identifier = 1;
11176
89
      case 1: {
11177
89
        if (static_cast< ::google::protobuf::uint8>(tag) ==
11178
89
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
11179
89
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
11180
89
               input, mutable_index_identifier()));
11181
0
        } else {
11182
0
          goto handle_unusual;
11183
0
        }
11184
89
        break;
11185
89
      }
11186
11187
0
      default: {
11188
89
      handle_unusual:
11189
89
        if (tag == 0) {
11190
89
          goto success;
11191
89
        }
11192
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
11193
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
11194
0
        break;
11195
0
      }
11196
89
    }
11197
89
  }
11198
89
success:
11199
  // @@protoc_insertion_point(parse_success:yb.master.BackfillIndexRequestPB)
11200
89
  return true;
11201
0
failure:
11202
  // @@protoc_insertion_point(parse_failure:yb.master.BackfillIndexRequestPB)
11203
0
  return false;
11204
89
#undef DO_
11205
89
}
11206
11207
void BackfillIndexRequestPB::SerializeWithCachedSizes(
11208
0
    ::google::protobuf::io::CodedOutputStream* output) const {
11209
  // @@protoc_insertion_point(serialize_start:yb.master.BackfillIndexRequestPB)
11210
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11211
0
  (void) cached_has_bits;
11212
11213
0
  cached_has_bits = _has_bits_[0];
11214
  // optional .yb.master.TableIdentifierPB index_identifier = 1;
11215
0
  if (cached_has_bits & 0x00000001u) {
11216
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
11217
0
      1, *this->index_identifier_, output);
11218
0
  }
11219
11220
0
  if (_internal_metadata_.have_unknown_fields()) {
11221
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
11222
0
        _internal_metadata_.unknown_fields(), output);
11223
0
  }
11224
  // @@protoc_insertion_point(serialize_end:yb.master.BackfillIndexRequestPB)
11225
0
}
11226
11227
::google::protobuf::uint8* BackfillIndexRequestPB::InternalSerializeWithCachedSizesToArray(
11228
89
    bool deterministic, ::google::protobuf::uint8* target) const {
11229
89
  (void)deterministic; // Unused
11230
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.BackfillIndexRequestPB)
11231
89
  ::google::protobuf::uint32 cached_has_bits = 0;
11232
89
  (void) cached_has_bits;
11233
11234
89
  cached_has_bits = _has_bits_[0];
11235
  // optional .yb.master.TableIdentifierPB index_identifier = 1;
11236
89
  if (cached_has_bits & 0x00000001u) {
11237
89
    target = ::google::protobuf::internal::WireFormatLite::
11238
89
      InternalWriteMessageToArray(
11239
89
        1, *this->index_identifier_, deterministic, target);
11240
89
  }
11241
11242
89
  if (_internal_metadata_.have_unknown_fields()) {
11243
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
11244
0
        _internal_metadata_.unknown_fields(), target);
11245
0
  }
11246
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.BackfillIndexRequestPB)
11247
89
  return target;
11248
89
}
11249
11250
178
size_t BackfillIndexRequestPB::ByteSizeLong() const {
11251
// @@protoc_insertion_point(message_byte_size_start:yb.master.BackfillIndexRequestPB)
11252
178
  size_t total_size = 0;
11253
11254
178
  if (_internal_metadata_.have_unknown_fields()) {
11255
0
    total_size +=
11256
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
11257
0
        _internal_metadata_.unknown_fields());
11258
0
  }
11259
  // optional .yb.master.TableIdentifierPB index_identifier = 1;
11260
178
  if (has_index_identifier()) {
11261
178
    total_size += 1 +
11262
178
      ::google::protobuf::internal::WireFormatLite::MessageSize(
11263
178
        *this->index_identifier_);
11264
178
  }
11265
11266
178
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
11267
178
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11268
178
  _cached_size_ = cached_size;
11269
178
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11270
178
  return total_size;
11271
178
}
11272
11273
0
void BackfillIndexRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
11274
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.BackfillIndexRequestPB)
11275
0
  GOOGLE_DCHECK_NE(&from, this);
11276
0
  const BackfillIndexRequestPB* source =
11277
0
      ::google::protobuf::internal::DynamicCastToGenerated<const BackfillIndexRequestPB>(
11278
0
          &from);
11279
0
  if (source == NULL) {
11280
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.BackfillIndexRequestPB)
11281
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
11282
0
  } else {
11283
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.BackfillIndexRequestPB)
11284
0
    MergeFrom(*source);
11285
0
  }
11286
0
}
11287
11288
0
void BackfillIndexRequestPB::MergeFrom(const BackfillIndexRequestPB& from) {
11289
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.BackfillIndexRequestPB)
11290
0
  GOOGLE_DCHECK_NE(&from, this);
11291
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11292
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11293
0
  (void) cached_has_bits;
11294
11295
0
  if (from.has_index_identifier()) {
11296
0
    mutable_index_identifier()->::yb::master::TableIdentifierPB::MergeFrom(from.index_identifier());
11297
0
  }
11298
0
}
11299
11300
0
void BackfillIndexRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
11301
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.BackfillIndexRequestPB)
11302
0
  if (&from == this) return;
11303
0
  Clear();
11304
0
  MergeFrom(from);
11305
0
}
11306
11307
0
void BackfillIndexRequestPB::CopyFrom(const BackfillIndexRequestPB& from) {
11308
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.BackfillIndexRequestPB)
11309
0
  if (&from == this) return;
11310
0
  Clear();
11311
0
  MergeFrom(from);
11312
0
}
11313
11314
178
bool BackfillIndexRequestPB::IsInitialized() const {
11315
178
  return true;
11316
178
}
11317
11318
0
void BackfillIndexRequestPB::Swap(BackfillIndexRequestPB* other) {
11319
0
  if (other == this) return;
11320
0
  InternalSwap(other);
11321
0
}
11322
0
void BackfillIndexRequestPB::InternalSwap(BackfillIndexRequestPB* other) {
11323
0
  using std::swap;
11324
0
  swap(index_identifier_, other->index_identifier_);
11325
0
  swap(_has_bits_[0], other->_has_bits_[0]);
11326
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
11327
0
  swap(_cached_size_, other->_cached_size_);
11328
0
}
11329
11330
89
::google::protobuf::Metadata BackfillIndexRequestPB::GetMetadata() const {
11331
89
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
11332
89
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
11333
89
}
11334
11335
11336
// ===================================================================
11337
11338
15.8k
void BackfillIndexResponsePB::InitAsDefaultInstance() {
11339
15.8k
  ::yb::master::_BackfillIndexResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
11340
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
11341
15.8k
  ::yb::master::_BackfillIndexResponsePB_default_instance_._instance.get_mutable()->table_identifier_ = const_cast< ::yb::master::TableIdentifierPB*>(
11342
15.8k
      ::yb::master::TableIdentifierPB::internal_default_instance());
11343
15.8k
}
11344
0
void BackfillIndexResponsePB::clear_error() {
11345
0
  if (error_ != NULL) error_->Clear();
11346
0
  clear_has_error();
11347
0
}
11348
0
void BackfillIndexResponsePB::clear_table_identifier() {
11349
0
  if (table_identifier_ != NULL) table_identifier_->Clear();
11350
0
  clear_has_table_identifier();
11351
0
}
11352
#if !defined(_MSC_VER) || _MSC_VER >= 1900
11353
const int BackfillIndexResponsePB::kErrorFieldNumber;
11354
const int BackfillIndexResponsePB::kTableIdentifierFieldNumber;
11355
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
11356
11357
BackfillIndexResponsePB::BackfillIndexResponsePB()
11358
16.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
11359
178
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
11360
178
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsBackfillIndexResponsePB();
11361
178
  }
11362
16.0k
  SharedCtor();
11363
  // @@protoc_insertion_point(constructor:yb.master.BackfillIndexResponsePB)
11364
16.0k
}
11365
BackfillIndexResponsePB::BackfillIndexResponsePB(const BackfillIndexResponsePB& from)
11366
  : ::google::protobuf::Message(),
11367
      _internal_metadata_(NULL),
11368
      _has_bits_(from._has_bits_),
11369
0
      _cached_size_(0) {
11370
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11371
0
  if (from.has_error()) {
11372
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
11373
0
  } else {
11374
0
    error_ = NULL;
11375
0
  }
11376
0
  if (from.has_table_identifier()) {
11377
0
    table_identifier_ = new ::yb::master::TableIdentifierPB(*from.table_identifier_);
11378
0
  } else {
11379
0
    table_identifier_ = NULL;
11380
0
  }
11381
  // @@protoc_insertion_point(copy_constructor:yb.master.BackfillIndexResponsePB)
11382
0
}
11383
11384
16.0k
void BackfillIndexResponsePB::SharedCtor() {
11385
16.0k
  _cached_size_ = 0;
11386
16.0k
  ::memset(&error_, 0, static_cast<size_t>(
11387
16.0k
      reinterpret_cast<char*>(&table_identifier_) -
11388
16.0k
      reinterpret_cast<char*>(&error_)) + sizeof(table_identifier_));
11389
16.0k
}
11390
11391
178
BackfillIndexResponsePB::~BackfillIndexResponsePB() {
11392
  // @@protoc_insertion_point(destructor:yb.master.BackfillIndexResponsePB)
11393
178
  SharedDtor();
11394
178
}
11395
11396
178
void BackfillIndexResponsePB::SharedDtor() {
11397
178
  if (this != internal_default_instance()) delete error_;
11398
178
  if (this != internal_default_instance()) delete table_identifier_;
11399
178
}
11400
11401
0
void BackfillIndexResponsePB::SetCachedSize(int size) const {
11402
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11403
0
  _cached_size_ = size;
11404
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11405
0
}
11406
0
const ::google::protobuf::Descriptor* BackfillIndexResponsePB::descriptor() {
11407
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
11408
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
11409
0
}
11410
11411
0
const BackfillIndexResponsePB& BackfillIndexResponsePB::default_instance() {
11412
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsBackfillIndexResponsePB();
11413
0
  return *internal_default_instance();
11414
0
}
11415
11416
0
BackfillIndexResponsePB* BackfillIndexResponsePB::New(::google::protobuf::Arena* arena) const {
11417
0
  BackfillIndexResponsePB* n = new BackfillIndexResponsePB;
11418
0
  if (arena != NULL) {
11419
0
    arena->Own(n);
11420
0
  }
11421
0
  return n;
11422
0
}
11423
11424
89
void BackfillIndexResponsePB::Clear() {
11425
// @@protoc_insertion_point(message_clear_start:yb.master.BackfillIndexResponsePB)
11426
89
  ::google::protobuf::uint32 cached_has_bits = 0;
11427
  // Prevent compiler warnings about cached_has_bits being unused
11428
89
  (void) cached_has_bits;
11429
11430
89
  cached_has_bits = _has_bits_[0];
11431
89
  if (cached_has_bits & 3u) {
11432
0
    if (cached_has_bits & 0x00000001u) {
11433
0
      GOOGLE_DCHECK(error_ != NULL);
11434
0
      error_->Clear();
11435
0
    }
11436
0
    if (cached_has_bits & 0x00000002u) {
11437
0
      GOOGLE_DCHECK(table_identifier_ != NULL);
11438
0
      table_identifier_->Clear();
11439
0
    }
11440
0
  }
11441
89
  _has_bits_.Clear();
11442
89
  _internal_metadata_.Clear();
11443
89
}
11444
11445
bool BackfillIndexResponsePB::MergePartialFromCodedStream(
11446
89
    ::google::protobuf::io::CodedInputStream* input) {
11447
89
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
11448
89
  ::google::protobuf::uint32 tag;
11449
  // @@protoc_insertion_point(parse_start:yb.master.BackfillIndexResponsePB)
11450
178
  for (;;) {
11451
178
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
11452
178
    tag = p.first;
11453
178
    if (!p.second) goto handle_unusual;
11454
89
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
11455
      // optional .yb.master.MasterErrorPB error = 1;
11456
0
      case 1: {
11457
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
11458
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
11459
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
11460
0
               input, mutable_error()));
11461
0
        } else {
11462
0
          goto handle_unusual;
11463
0
        }
11464
0
        break;
11465
0
      }
11466
11467
      // optional .yb.master.TableIdentifierPB table_identifier = 2;
11468
89
      case 2: {
11469
89
        if (static_cast< ::google::protobuf::uint8>(tag) ==
11470
89
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
11471
89
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
11472
89
               input, mutable_table_identifier()));
11473
0
        } else {
11474
0
          goto handle_unusual;
11475
0
        }
11476
89
        break;
11477
89
      }
11478
11479
0
      default: {
11480
89
      handle_unusual:
11481
89
        if (tag == 0) {
11482
89
          goto success;
11483
89
        }
11484
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
11485
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
11486
0
        break;
11487
0
      }
11488
89
    }
11489
89
  }
11490
89
success:
11491
  // @@protoc_insertion_point(parse_success:yb.master.BackfillIndexResponsePB)
11492
89
  return true;
11493
0
failure:
11494
  // @@protoc_insertion_point(parse_failure:yb.master.BackfillIndexResponsePB)
11495
0
  return false;
11496
89
#undef DO_
11497
89
}
11498
11499
void BackfillIndexResponsePB::SerializeWithCachedSizes(
11500
0
    ::google::protobuf::io::CodedOutputStream* output) const {
11501
  // @@protoc_insertion_point(serialize_start:yb.master.BackfillIndexResponsePB)
11502
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11503
0
  (void) cached_has_bits;
11504
11505
0
  cached_has_bits = _has_bits_[0];
11506
  // optional .yb.master.MasterErrorPB error = 1;
11507
0
  if (cached_has_bits & 0x00000001u) {
11508
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
11509
0
      1, *this->error_, output);
11510
0
  }
11511
11512
  // optional .yb.master.TableIdentifierPB table_identifier = 2;
11513
0
  if (cached_has_bits & 0x00000002u) {
11514
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
11515
0
      2, *this->table_identifier_, output);
11516
0
  }
11517
11518
0
  if (_internal_metadata_.have_unknown_fields()) {
11519
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
11520
0
        _internal_metadata_.unknown_fields(), output);
11521
0
  }
11522
  // @@protoc_insertion_point(serialize_end:yb.master.BackfillIndexResponsePB)
11523
0
}
11524
11525
::google::protobuf::uint8* BackfillIndexResponsePB::InternalSerializeWithCachedSizesToArray(
11526
89
    bool deterministic, ::google::protobuf::uint8* target) const {
11527
89
  (void)deterministic; // Unused
11528
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.BackfillIndexResponsePB)
11529
89
  ::google::protobuf::uint32 cached_has_bits = 0;
11530
89
  (void) cached_has_bits;
11531
11532
89
  cached_has_bits = _has_bits_[0];
11533
  // optional .yb.master.MasterErrorPB error = 1;
11534
89
  if (cached_has_bits & 0x00000001u) {
11535
0
    target = ::google::protobuf::internal::WireFormatLite::
11536
0
      InternalWriteMessageToArray(
11537
0
        1, *this->error_, deterministic, target);
11538
0
  }
11539
11540
  // optional .yb.master.TableIdentifierPB table_identifier = 2;
11541
89
  if (cached_has_bits & 0x00000002u) {
11542
89
    target = ::google::protobuf::internal::WireFormatLite::
11543
89
      InternalWriteMessageToArray(
11544
89
        2, *this->table_identifier_, deterministic, target);
11545
89
  }
11546
11547
89
  if (_internal_metadata_.have_unknown_fields()) {
11548
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
11549
0
        _internal_metadata_.unknown_fields(), target);
11550
0
  }
11551
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.BackfillIndexResponsePB)
11552
89
  return target;
11553
89
}
11554
11555
178
size_t BackfillIndexResponsePB::ByteSizeLong() const {
11556
// @@protoc_insertion_point(message_byte_size_start:yb.master.BackfillIndexResponsePB)
11557
178
  size_t total_size = 0;
11558
11559
178
  if (_internal_metadata_.have_unknown_fields()) {
11560
0
    total_size +=
11561
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
11562
0
        _internal_metadata_.unknown_fields());
11563
0
  }
11564
178
  if (_has_bits_[0 / 32] & 3u) {
11565
    // optional .yb.master.MasterErrorPB error = 1;
11566
178
    if (has_error()) {
11567
0
      total_size += 1 +
11568
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
11569
0
          *this->error_);
11570
0
    }
11571
11572
    // optional .yb.master.TableIdentifierPB table_identifier = 2;
11573
178
    if (has_table_identifier()) {
11574
178
      total_size += 1 +
11575
178
        ::google::protobuf::internal::WireFormatLite::MessageSize(
11576
178
          *this->table_identifier_);
11577
178
    }
11578
11579
178
  }
11580
178
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
11581
178
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11582
178
  _cached_size_ = cached_size;
11583
178
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11584
178
  return total_size;
11585
178
}
11586
11587
0
void BackfillIndexResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
11588
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.BackfillIndexResponsePB)
11589
0
  GOOGLE_DCHECK_NE(&from, this);
11590
0
  const BackfillIndexResponsePB* source =
11591
0
      ::google::protobuf::internal::DynamicCastToGenerated<const BackfillIndexResponsePB>(
11592
0
          &from);
11593
0
  if (source == NULL) {
11594
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.BackfillIndexResponsePB)
11595
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
11596
0
  } else {
11597
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.BackfillIndexResponsePB)
11598
0
    MergeFrom(*source);
11599
0
  }
11600
0
}
11601
11602
0
void BackfillIndexResponsePB::MergeFrom(const BackfillIndexResponsePB& from) {
11603
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.BackfillIndexResponsePB)
11604
0
  GOOGLE_DCHECK_NE(&from, this);
11605
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11606
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11607
0
  (void) cached_has_bits;
11608
11609
0
  cached_has_bits = from._has_bits_[0];
11610
0
  if (cached_has_bits & 3u) {
11611
0
    if (cached_has_bits & 0x00000001u) {
11612
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
11613
0
    }
11614
0
    if (cached_has_bits & 0x00000002u) {
11615
0
      mutable_table_identifier()->::yb::master::TableIdentifierPB::MergeFrom(from.table_identifier());
11616
0
    }
11617
0
  }
11618
0
}
11619
11620
0
void BackfillIndexResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
11621
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.BackfillIndexResponsePB)
11622
0
  if (&from == this) return;
11623
0
  Clear();
11624
0
  MergeFrom(from);
11625
0
}
11626
11627
0
void BackfillIndexResponsePB::CopyFrom(const BackfillIndexResponsePB& from) {
11628
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.BackfillIndexResponsePB)
11629
0
  if (&from == this) return;
11630
0
  Clear();
11631
0
  MergeFrom(from);
11632
0
}
11633
11634
178
bool BackfillIndexResponsePB::IsInitialized() const {
11635
178
  if (has_error()) {
11636
0
    if (!this->error_->IsInitialized()) return false;
11637
178
  }
11638
178
  return true;
11639
178
}
11640
11641
0
void BackfillIndexResponsePB::Swap(BackfillIndexResponsePB* other) {
11642
0
  if (other == this) return;
11643
0
  InternalSwap(other);
11644
0
}
11645
0
void BackfillIndexResponsePB::InternalSwap(BackfillIndexResponsePB* other) {
11646
0
  using std::swap;
11647
0
  swap(error_, other->error_);
11648
0
  swap(table_identifier_, other->table_identifier_);
11649
0
  swap(_has_bits_[0], other->_has_bits_[0]);
11650
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
11651
0
  swap(_cached_size_, other->_cached_size_);
11652
0
}
11653
11654
0
::google::protobuf::Metadata BackfillIndexResponsePB::GetMetadata() const {
11655
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
11656
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
11657
0
}
11658
11659
11660
// ===================================================================
11661
11662
15.8k
void LaunchBackfillIndexForTableRequestPB::InitAsDefaultInstance() {
11663
15.8k
  ::yb::master::_LaunchBackfillIndexForTableRequestPB_default_instance_._instance.get_mutable()->table_identifier_ = const_cast< ::yb::master::TableIdentifierPB*>(
11664
15.8k
      ::yb::master::TableIdentifierPB::internal_default_instance());
11665
15.8k
}
11666
0
void LaunchBackfillIndexForTableRequestPB::clear_table_identifier() {
11667
0
  if (table_identifier_ != NULL) table_identifier_->Clear();
11668
0
  clear_has_table_identifier();
11669
0
}
11670
#if !defined(_MSC_VER) || _MSC_VER >= 1900
11671
const int LaunchBackfillIndexForTableRequestPB::kTableIdentifierFieldNumber;
11672
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
11673
11674
LaunchBackfillIndexForTableRequestPB::LaunchBackfillIndexForTableRequestPB()
11675
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
11676
2
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
11677
2
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsLaunchBackfillIndexForTableRequestPB();
11678
2
  }
11679
15.8k
  SharedCtor();
11680
  // @@protoc_insertion_point(constructor:yb.master.LaunchBackfillIndexForTableRequestPB)
11681
15.8k
}
11682
LaunchBackfillIndexForTableRequestPB::LaunchBackfillIndexForTableRequestPB(const LaunchBackfillIndexForTableRequestPB& from)
11683
  : ::google::protobuf::Message(),
11684
      _internal_metadata_(NULL),
11685
      _has_bits_(from._has_bits_),
11686
0
      _cached_size_(0) {
11687
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11688
0
  if (from.has_table_identifier()) {
11689
0
    table_identifier_ = new ::yb::master::TableIdentifierPB(*from.table_identifier_);
11690
0
  } else {
11691
0
    table_identifier_ = NULL;
11692
0
  }
11693
  // @@protoc_insertion_point(copy_constructor:yb.master.LaunchBackfillIndexForTableRequestPB)
11694
0
}
11695
11696
15.8k
void LaunchBackfillIndexForTableRequestPB::SharedCtor() {
11697
15.8k
  _cached_size_ = 0;
11698
15.8k
  table_identifier_ = NULL;
11699
15.8k
}
11700
11701
2
LaunchBackfillIndexForTableRequestPB::~LaunchBackfillIndexForTableRequestPB() {
11702
  // @@protoc_insertion_point(destructor:yb.master.LaunchBackfillIndexForTableRequestPB)
11703
2
  SharedDtor();
11704
2
}
11705
11706
2
void LaunchBackfillIndexForTableRequestPB::SharedDtor() {
11707
2
  if (this != internal_default_instance()) delete table_identifier_;
11708
2
}
11709
11710
0
void LaunchBackfillIndexForTableRequestPB::SetCachedSize(int size) const {
11711
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11712
0
  _cached_size_ = size;
11713
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11714
0
}
11715
0
const ::google::protobuf::Descriptor* LaunchBackfillIndexForTableRequestPB::descriptor() {
11716
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
11717
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
11718
0
}
11719
11720
0
const LaunchBackfillIndexForTableRequestPB& LaunchBackfillIndexForTableRequestPB::default_instance() {
11721
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsLaunchBackfillIndexForTableRequestPB();
11722
0
  return *internal_default_instance();
11723
0
}
11724
11725
0
LaunchBackfillIndexForTableRequestPB* LaunchBackfillIndexForTableRequestPB::New(::google::protobuf::Arena* arena) const {
11726
0
  LaunchBackfillIndexForTableRequestPB* n = new LaunchBackfillIndexForTableRequestPB;
11727
0
  if (arena != NULL) {
11728
0
    arena->Own(n);
11729
0
  }
11730
0
  return n;
11731
0
}
11732
11733
1
void LaunchBackfillIndexForTableRequestPB::Clear() {
11734
// @@protoc_insertion_point(message_clear_start:yb.master.LaunchBackfillIndexForTableRequestPB)
11735
1
  ::google::protobuf::uint32 cached_has_bits = 0;
11736
  // Prevent compiler warnings about cached_has_bits being unused
11737
1
  (void) cached_has_bits;
11738
11739
1
  cached_has_bits = _has_bits_[0];
11740
1
  if (cached_has_bits & 0x00000001u) {
11741
0
    GOOGLE_DCHECK(table_identifier_ != NULL);
11742
0
    table_identifier_->Clear();
11743
0
  }
11744
1
  _has_bits_.Clear();
11745
1
  _internal_metadata_.Clear();
11746
1
}
11747
11748
bool LaunchBackfillIndexForTableRequestPB::MergePartialFromCodedStream(
11749
1
    ::google::protobuf::io::CodedInputStream* input) {
11750
1
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
11751
1
  ::google::protobuf::uint32 tag;
11752
  // @@protoc_insertion_point(parse_start:yb.master.LaunchBackfillIndexForTableRequestPB)
11753
2
  for (;;) {
11754
2
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
11755
2
    tag = p.first;
11756
2
    if (!p.second) goto handle_unusual;
11757
1
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
11758
      // optional .yb.master.TableIdentifierPB table_identifier = 1;
11759
1
      case 1: {
11760
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
11761
1
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
11762
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
11763
1
               input, mutable_table_identifier()));
11764
0
        } else {
11765
0
          goto handle_unusual;
11766
0
        }
11767
1
        break;
11768
1
      }
11769
11770
0
      default: {
11771
1
      handle_unusual:
11772
1
        if (tag == 0) {
11773
1
          goto success;
11774
1
        }
11775
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
11776
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
11777
0
        break;
11778
0
      }
11779
1
    }
11780
1
  }
11781
1
success:
11782
  // @@protoc_insertion_point(parse_success:yb.master.LaunchBackfillIndexForTableRequestPB)
11783
1
  return true;
11784
0
failure:
11785
  // @@protoc_insertion_point(parse_failure:yb.master.LaunchBackfillIndexForTableRequestPB)
11786
0
  return false;
11787
1
#undef DO_
11788
1
}
11789
11790
void LaunchBackfillIndexForTableRequestPB::SerializeWithCachedSizes(
11791
0
    ::google::protobuf::io::CodedOutputStream* output) const {
11792
  // @@protoc_insertion_point(serialize_start:yb.master.LaunchBackfillIndexForTableRequestPB)
11793
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11794
0
  (void) cached_has_bits;
11795
11796
0
  cached_has_bits = _has_bits_[0];
11797
  // optional .yb.master.TableIdentifierPB table_identifier = 1;
11798
0
  if (cached_has_bits & 0x00000001u) {
11799
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
11800
0
      1, *this->table_identifier_, output);
11801
0
  }
11802
11803
0
  if (_internal_metadata_.have_unknown_fields()) {
11804
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
11805
0
        _internal_metadata_.unknown_fields(), output);
11806
0
  }
11807
  // @@protoc_insertion_point(serialize_end:yb.master.LaunchBackfillIndexForTableRequestPB)
11808
0
}
11809
11810
::google::protobuf::uint8* LaunchBackfillIndexForTableRequestPB::InternalSerializeWithCachedSizesToArray(
11811
1
    bool deterministic, ::google::protobuf::uint8* target) const {
11812
1
  (void)deterministic; // Unused
11813
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.LaunchBackfillIndexForTableRequestPB)
11814
1
  ::google::protobuf::uint32 cached_has_bits = 0;
11815
1
  (void) cached_has_bits;
11816
11817
1
  cached_has_bits = _has_bits_[0];
11818
  // optional .yb.master.TableIdentifierPB table_identifier = 1;
11819
1
  if (cached_has_bits & 0x00000001u) {
11820
1
    target = ::google::protobuf::internal::WireFormatLite::
11821
1
      InternalWriteMessageToArray(
11822
1
        1, *this->table_identifier_, deterministic, target);
11823
1
  }
11824
11825
1
  if (_internal_metadata_.have_unknown_fields()) {
11826
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
11827
0
        _internal_metadata_.unknown_fields(), target);
11828
0
  }
11829
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.LaunchBackfillIndexForTableRequestPB)
11830
1
  return target;
11831
1
}
11832
11833
2
size_t LaunchBackfillIndexForTableRequestPB::ByteSizeLong() const {
11834
// @@protoc_insertion_point(message_byte_size_start:yb.master.LaunchBackfillIndexForTableRequestPB)
11835
2
  size_t total_size = 0;
11836
11837
2
  if (_internal_metadata_.have_unknown_fields()) {
11838
0
    total_size +=
11839
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
11840
0
        _internal_metadata_.unknown_fields());
11841
0
  }
11842
  // optional .yb.master.TableIdentifierPB table_identifier = 1;
11843
2
  if (has_table_identifier()) {
11844
2
    total_size += 1 +
11845
2
      ::google::protobuf::internal::WireFormatLite::MessageSize(
11846
2
        *this->table_identifier_);
11847
2
  }
11848
11849
2
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
11850
2
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11851
2
  _cached_size_ = cached_size;
11852
2
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11853
2
  return total_size;
11854
2
}
11855
11856
0
void LaunchBackfillIndexForTableRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
11857
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.LaunchBackfillIndexForTableRequestPB)
11858
0
  GOOGLE_DCHECK_NE(&from, this);
11859
0
  const LaunchBackfillIndexForTableRequestPB* source =
11860
0
      ::google::protobuf::internal::DynamicCastToGenerated<const LaunchBackfillIndexForTableRequestPB>(
11861
0
          &from);
11862
0
  if (source == NULL) {
11863
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.LaunchBackfillIndexForTableRequestPB)
11864
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
11865
0
  } else {
11866
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.LaunchBackfillIndexForTableRequestPB)
11867
0
    MergeFrom(*source);
11868
0
  }
11869
0
}
11870
11871
0
void LaunchBackfillIndexForTableRequestPB::MergeFrom(const LaunchBackfillIndexForTableRequestPB& from) {
11872
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.LaunchBackfillIndexForTableRequestPB)
11873
0
  GOOGLE_DCHECK_NE(&from, this);
11874
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11875
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11876
0
  (void) cached_has_bits;
11877
11878
0
  if (from.has_table_identifier()) {
11879
0
    mutable_table_identifier()->::yb::master::TableIdentifierPB::MergeFrom(from.table_identifier());
11880
0
  }
11881
0
}
11882
11883
0
void LaunchBackfillIndexForTableRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
11884
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.LaunchBackfillIndexForTableRequestPB)
11885
0
  if (&from == this) return;
11886
0
  Clear();
11887
0
  MergeFrom(from);
11888
0
}
11889
11890
0
void LaunchBackfillIndexForTableRequestPB::CopyFrom(const LaunchBackfillIndexForTableRequestPB& from) {
11891
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.LaunchBackfillIndexForTableRequestPB)
11892
0
  if (&from == this) return;
11893
0
  Clear();
11894
0
  MergeFrom(from);
11895
0
}
11896
11897
2
bool LaunchBackfillIndexForTableRequestPB::IsInitialized() const {
11898
2
  return true;
11899
2
}
11900
11901
0
void LaunchBackfillIndexForTableRequestPB::Swap(LaunchBackfillIndexForTableRequestPB* other) {
11902
0
  if (other == this) return;
11903
0
  InternalSwap(other);
11904
0
}
11905
0
void LaunchBackfillIndexForTableRequestPB::InternalSwap(LaunchBackfillIndexForTableRequestPB* other) {
11906
0
  using std::swap;
11907
0
  swap(table_identifier_, other->table_identifier_);
11908
0
  swap(_has_bits_[0], other->_has_bits_[0]);
11909
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
11910
0
  swap(_cached_size_, other->_cached_size_);
11911
0
}
11912
11913
1
::google::protobuf::Metadata LaunchBackfillIndexForTableRequestPB::GetMetadata() const {
11914
1
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
11915
1
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
11916
1
}
11917
11918
11919
// ===================================================================
11920
11921
15.8k
void LaunchBackfillIndexForTableResponsePB::InitAsDefaultInstance() {
11922
15.8k
  ::yb::master::_LaunchBackfillIndexForTableResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
11923
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
11924
15.8k
}
11925
0
void LaunchBackfillIndexForTableResponsePB::clear_error() {
11926
0
  if (error_ != NULL) error_->Clear();
11927
0
  clear_has_error();
11928
0
}
11929
#if !defined(_MSC_VER) || _MSC_VER >= 1900
11930
const int LaunchBackfillIndexForTableResponsePB::kErrorFieldNumber;
11931
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
11932
11933
LaunchBackfillIndexForTableResponsePB::LaunchBackfillIndexForTableResponsePB()
11934
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
11935
6
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
11936
6
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsLaunchBackfillIndexForTableResponsePB();
11937
6
  }
11938
15.8k
  SharedCtor();
11939
  // @@protoc_insertion_point(constructor:yb.master.LaunchBackfillIndexForTableResponsePB)
11940
15.8k
}
11941
LaunchBackfillIndexForTableResponsePB::LaunchBackfillIndexForTableResponsePB(const LaunchBackfillIndexForTableResponsePB& from)
11942
  : ::google::protobuf::Message(),
11943
      _internal_metadata_(NULL),
11944
      _has_bits_(from._has_bits_),
11945
0
      _cached_size_(0) {
11946
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11947
0
  if (from.has_error()) {
11948
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
11949
0
  } else {
11950
0
    error_ = NULL;
11951
0
  }
11952
  // @@protoc_insertion_point(copy_constructor:yb.master.LaunchBackfillIndexForTableResponsePB)
11953
0
}
11954
11955
15.8k
void LaunchBackfillIndexForTableResponsePB::SharedCtor() {
11956
15.8k
  _cached_size_ = 0;
11957
15.8k
  error_ = NULL;
11958
15.8k
}
11959
11960
6
LaunchBackfillIndexForTableResponsePB::~LaunchBackfillIndexForTableResponsePB() {
11961
  // @@protoc_insertion_point(destructor:yb.master.LaunchBackfillIndexForTableResponsePB)
11962
6
  SharedDtor();
11963
6
}
11964
11965
6
void LaunchBackfillIndexForTableResponsePB::SharedDtor() {
11966
6
  if (this != internal_default_instance()) delete error_;
11967
6
}
11968
11969
0
void LaunchBackfillIndexForTableResponsePB::SetCachedSize(int size) const {
11970
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11971
0
  _cached_size_ = size;
11972
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11973
0
}
11974
0
const ::google::protobuf::Descriptor* LaunchBackfillIndexForTableResponsePB::descriptor() {
11975
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
11976
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
11977
0
}
11978
11979
0
const LaunchBackfillIndexForTableResponsePB& LaunchBackfillIndexForTableResponsePB::default_instance() {
11980
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsLaunchBackfillIndexForTableResponsePB();
11981
0
  return *internal_default_instance();
11982
0
}
11983
11984
0
LaunchBackfillIndexForTableResponsePB* LaunchBackfillIndexForTableResponsePB::New(::google::protobuf::Arena* arena) const {
11985
0
  LaunchBackfillIndexForTableResponsePB* n = new LaunchBackfillIndexForTableResponsePB;
11986
0
  if (arena != NULL) {
11987
0
    arena->Own(n);
11988
0
  }
11989
0
  return n;
11990
0
}
11991
11992
1
void LaunchBackfillIndexForTableResponsePB::Clear() {
11993
// @@protoc_insertion_point(message_clear_start:yb.master.LaunchBackfillIndexForTableResponsePB)
11994
1
  ::google::protobuf::uint32 cached_has_bits = 0;
11995
  // Prevent compiler warnings about cached_has_bits being unused
11996
1
  (void) cached_has_bits;
11997
11998
1
  cached_has_bits = _has_bits_[0];
11999
1
  if (cached_has_bits & 0x00000001u) {
12000
0
    GOOGLE_DCHECK(error_ != NULL);
12001
0
    error_->Clear();
12002
0
  }
12003
1
  _has_bits_.Clear();
12004
1
  _internal_metadata_.Clear();
12005
1
}
12006
12007
bool LaunchBackfillIndexForTableResponsePB::MergePartialFromCodedStream(
12008
1
    ::google::protobuf::io::CodedInputStream* input) {
12009
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
12010
1
  ::google::protobuf::uint32 tag;
12011
  // @@protoc_insertion_point(parse_start:yb.master.LaunchBackfillIndexForTableResponsePB)
12012
1
  for (;;) {
12013
1
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
12014
1
    tag = p.first;
12015
1
    if (!p.second) goto handle_unusual;
12016
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
12017
      // optional .yb.master.MasterErrorPB error = 1;
12018
0
      case 1: {
12019
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12020
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
12021
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
12022
0
               input, mutable_error()));
12023
0
        } else {
12024
0
          goto handle_unusual;
12025
0
        }
12026
0
        break;
12027
1
      }
12028
12029
0
      default: {
12030
1
      handle_unusual:
12031
1
        if (tag == 0) {
12032
1
          goto success;
12033
1
        }
12034
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
12035
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
12036
0
        break;
12037
0
      }
12038
0
    }
12039
0
  }
12040
1
success:
12041
  // @@protoc_insertion_point(parse_success:yb.master.LaunchBackfillIndexForTableResponsePB)
12042
1
  return true;
12043
0
failure:
12044
  // @@protoc_insertion_point(parse_failure:yb.master.LaunchBackfillIndexForTableResponsePB)
12045
0
  return false;
12046
1
#undef DO_
12047
1
}
12048
12049
void LaunchBackfillIndexForTableResponsePB::SerializeWithCachedSizes(
12050
0
    ::google::protobuf::io::CodedOutputStream* output) const {
12051
  // @@protoc_insertion_point(serialize_start:yb.master.LaunchBackfillIndexForTableResponsePB)
12052
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12053
0
  (void) cached_has_bits;
12054
12055
0
  cached_has_bits = _has_bits_[0];
12056
  // optional .yb.master.MasterErrorPB error = 1;
12057
0
  if (cached_has_bits & 0x00000001u) {
12058
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
12059
0
      1, *this->error_, output);
12060
0
  }
12061
12062
0
  if (_internal_metadata_.have_unknown_fields()) {
12063
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
12064
0
        _internal_metadata_.unknown_fields(), output);
12065
0
  }
12066
  // @@protoc_insertion_point(serialize_end:yb.master.LaunchBackfillIndexForTableResponsePB)
12067
0
}
12068
12069
::google::protobuf::uint8* LaunchBackfillIndexForTableResponsePB::InternalSerializeWithCachedSizesToArray(
12070
1
    bool deterministic, ::google::protobuf::uint8* target) const {
12071
1
  (void)deterministic; // Unused
12072
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.LaunchBackfillIndexForTableResponsePB)
12073
1
  ::google::protobuf::uint32 cached_has_bits = 0;
12074
1
  (void) cached_has_bits;
12075
12076
1
  cached_has_bits = _has_bits_[0];
12077
  // optional .yb.master.MasterErrorPB error = 1;
12078
1
  if (cached_has_bits & 0x00000001u) {
12079
0
    target = ::google::protobuf::internal::WireFormatLite::
12080
0
      InternalWriteMessageToArray(
12081
0
        1, *this->error_, deterministic, target);
12082
0
  }
12083
12084
1
  if (_internal_metadata_.have_unknown_fields()) {
12085
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
12086
0
        _internal_metadata_.unknown_fields(), target);
12087
0
  }
12088
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.LaunchBackfillIndexForTableResponsePB)
12089
1
  return target;
12090
1
}
12091
12092
2
size_t LaunchBackfillIndexForTableResponsePB::ByteSizeLong() const {
12093
// @@protoc_insertion_point(message_byte_size_start:yb.master.LaunchBackfillIndexForTableResponsePB)
12094
2
  size_t total_size = 0;
12095
12096
2
  if (_internal_metadata_.have_unknown_fields()) {
12097
0
    total_size +=
12098
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
12099
0
        _internal_metadata_.unknown_fields());
12100
0
  }
12101
  // optional .yb.master.MasterErrorPB error = 1;
12102
2
  if (has_error()) {
12103
0
    total_size += 1 +
12104
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
12105
0
        *this->error_);
12106
0
  }
12107
12108
2
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
12109
2
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12110
2
  _cached_size_ = cached_size;
12111
2
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12112
2
  return total_size;
12113
2
}
12114
12115
0
void LaunchBackfillIndexForTableResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
12116
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.LaunchBackfillIndexForTableResponsePB)
12117
0
  GOOGLE_DCHECK_NE(&from, this);
12118
0
  const LaunchBackfillIndexForTableResponsePB* source =
12119
0
      ::google::protobuf::internal::DynamicCastToGenerated<const LaunchBackfillIndexForTableResponsePB>(
12120
0
          &from);
12121
0
  if (source == NULL) {
12122
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.LaunchBackfillIndexForTableResponsePB)
12123
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
12124
0
  } else {
12125
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.LaunchBackfillIndexForTableResponsePB)
12126
0
    MergeFrom(*source);
12127
0
  }
12128
0
}
12129
12130
0
void LaunchBackfillIndexForTableResponsePB::MergeFrom(const LaunchBackfillIndexForTableResponsePB& from) {
12131
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.LaunchBackfillIndexForTableResponsePB)
12132
0
  GOOGLE_DCHECK_NE(&from, this);
12133
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12134
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12135
0
  (void) cached_has_bits;
12136
12137
0
  if (from.has_error()) {
12138
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
12139
0
  }
12140
0
}
12141
12142
0
void LaunchBackfillIndexForTableResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
12143
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.LaunchBackfillIndexForTableResponsePB)
12144
0
  if (&from == this) return;
12145
0
  Clear();
12146
0
  MergeFrom(from);
12147
0
}
12148
12149
0
void LaunchBackfillIndexForTableResponsePB::CopyFrom(const LaunchBackfillIndexForTableResponsePB& from) {
12150
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.LaunchBackfillIndexForTableResponsePB)
12151
0
  if (&from == this) return;
12152
0
  Clear();
12153
0
  MergeFrom(from);
12154
0
}
12155
12156
2
bool LaunchBackfillIndexForTableResponsePB::IsInitialized() const {
12157
2
  if (has_error()) {
12158
0
    if (!this->error_->IsInitialized()) return false;
12159
2
  }
12160
2
  return true;
12161
2
}
12162
12163
0
void LaunchBackfillIndexForTableResponsePB::Swap(LaunchBackfillIndexForTableResponsePB* other) {
12164
0
  if (other == this) return;
12165
0
  InternalSwap(other);
12166
0
}
12167
4
void LaunchBackfillIndexForTableResponsePB::InternalSwap(LaunchBackfillIndexForTableResponsePB* other) {
12168
4
  using std::swap;
12169
4
  swap(error_, other->error_);
12170
4
  swap(_has_bits_[0], other->_has_bits_[0]);
12171
4
  _internal_metadata_.Swap(&other->_internal_metadata_);
12172
4
  swap(_cached_size_, other->_cached_size_);
12173
4
}
12174
12175
0
::google::protobuf::Metadata LaunchBackfillIndexForTableResponsePB::GetMetadata() const {
12176
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
12177
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
12178
0
}
12179
12180
12181
// ===================================================================
12182
12183
15.8k
void GetBackfillJobsRequestPB::InitAsDefaultInstance() {
12184
15.8k
  ::yb::master::_GetBackfillJobsRequestPB_default_instance_._instance.get_mutable()->table_identifier_ = const_cast< ::yb::master::TableIdentifierPB*>(
12185
15.8k
      ::yb::master::TableIdentifierPB::internal_default_instance());
12186
15.8k
}
12187
0
void GetBackfillJobsRequestPB::clear_table_identifier() {
12188
0
  if (table_identifier_ != NULL) table_identifier_->Clear();
12189
0
  clear_has_table_identifier();
12190
0
}
12191
#if !defined(_MSC_VER) || _MSC_VER >= 1900
12192
const int GetBackfillJobsRequestPB::kTableIdentifierFieldNumber;
12193
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
12194
12195
GetBackfillJobsRequestPB::GetBackfillJobsRequestPB()
12196
17.2k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
12197
1.39k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
12198
1.39k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetBackfillJobsRequestPB();
12199
1.39k
  }
12200
17.2k
  SharedCtor();
12201
  // @@protoc_insertion_point(constructor:yb.master.GetBackfillJobsRequestPB)
12202
17.2k
}
12203
GetBackfillJobsRequestPB::GetBackfillJobsRequestPB(const GetBackfillJobsRequestPB& from)
12204
  : ::google::protobuf::Message(),
12205
      _internal_metadata_(NULL),
12206
      _has_bits_(from._has_bits_),
12207
0
      _cached_size_(0) {
12208
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12209
0
  if (from.has_table_identifier()) {
12210
0
    table_identifier_ = new ::yb::master::TableIdentifierPB(*from.table_identifier_);
12211
0
  } else {
12212
0
    table_identifier_ = NULL;
12213
0
  }
12214
  // @@protoc_insertion_point(copy_constructor:yb.master.GetBackfillJobsRequestPB)
12215
0
}
12216
12217
17.2k
void GetBackfillJobsRequestPB::SharedCtor() {
12218
17.2k
  _cached_size_ = 0;
12219
17.2k
  table_identifier_ = NULL;
12220
17.2k
}
12221
12222
1.39k
GetBackfillJobsRequestPB::~GetBackfillJobsRequestPB() {
12223
  // @@protoc_insertion_point(destructor:yb.master.GetBackfillJobsRequestPB)
12224
1.39k
  SharedDtor();
12225
1.39k
}
12226
12227
1.39k
void GetBackfillJobsRequestPB::SharedDtor() {
12228
1.39k
  if (this != internal_default_instance()) delete table_identifier_;
12229
1.39k
}
12230
12231
0
void GetBackfillJobsRequestPB::SetCachedSize(int size) const {
12232
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12233
0
  _cached_size_ = size;
12234
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12235
0
}
12236
0
const ::google::protobuf::Descriptor* GetBackfillJobsRequestPB::descriptor() {
12237
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
12238
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
12239
0
}
12240
12241
0
const GetBackfillJobsRequestPB& GetBackfillJobsRequestPB::default_instance() {
12242
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetBackfillJobsRequestPB();
12243
0
  return *internal_default_instance();
12244
0
}
12245
12246
0
GetBackfillJobsRequestPB* GetBackfillJobsRequestPB::New(::google::protobuf::Arena* arena) const {
12247
0
  GetBackfillJobsRequestPB* n = new GetBackfillJobsRequestPB;
12248
0
  if (arena != NULL) {
12249
0
    arena->Own(n);
12250
0
  }
12251
0
  return n;
12252
0
}
12253
12254
695
void GetBackfillJobsRequestPB::Clear() {
12255
// @@protoc_insertion_point(message_clear_start:yb.master.GetBackfillJobsRequestPB)
12256
695
  ::google::protobuf::uint32 cached_has_bits = 0;
12257
  // Prevent compiler warnings about cached_has_bits being unused
12258
695
  (void) cached_has_bits;
12259
12260
695
  cached_has_bits = _has_bits_[0];
12261
695
  if (cached_has_bits & 0x00000001u) {
12262
0
    GOOGLE_DCHECK(table_identifier_ != NULL);
12263
0
    table_identifier_->Clear();
12264
0
  }
12265
695
  _has_bits_.Clear();
12266
695
  _internal_metadata_.Clear();
12267
695
}
12268
12269
bool GetBackfillJobsRequestPB::MergePartialFromCodedStream(
12270
695
    ::google::protobuf::io::CodedInputStream* input) {
12271
695
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
12272
695
  ::google::protobuf::uint32 tag;
12273
  // @@protoc_insertion_point(parse_start:yb.master.GetBackfillJobsRequestPB)
12274
1.39k
  for (;;) {
12275
1.39k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
12276
1.39k
    tag = p.first;
12277
1.39k
    if (!p.second) goto handle_unusual;
12278
695
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
12279
      // optional .yb.master.TableIdentifierPB table_identifier = 1;
12280
695
      case 1: {
12281
695
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12282
695
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
12283
695
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
12284
695
               input, mutable_table_identifier()));
12285
0
        } else {
12286
0
          goto handle_unusual;
12287
0
        }
12288
695
        break;
12289
695
      }
12290
12291
0
      default: {
12292
695
      handle_unusual:
12293
695
        if (tag == 0) {
12294
695
          goto success;
12295
695
        }
12296
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
12297
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
12298
0
        break;
12299
0
      }
12300
695
    }
12301
695
  }
12302
695
success:
12303
  // @@protoc_insertion_point(parse_success:yb.master.GetBackfillJobsRequestPB)
12304
695
  return true;
12305
0
failure:
12306
  // @@protoc_insertion_point(parse_failure:yb.master.GetBackfillJobsRequestPB)
12307
0
  return false;
12308
695
#undef DO_
12309
695
}
12310
12311
void GetBackfillJobsRequestPB::SerializeWithCachedSizes(
12312
0
    ::google::protobuf::io::CodedOutputStream* output) const {
12313
  // @@protoc_insertion_point(serialize_start:yb.master.GetBackfillJobsRequestPB)
12314
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12315
0
  (void) cached_has_bits;
12316
12317
0
  cached_has_bits = _has_bits_[0];
12318
  // optional .yb.master.TableIdentifierPB table_identifier = 1;
12319
0
  if (cached_has_bits & 0x00000001u) {
12320
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
12321
0
      1, *this->table_identifier_, output);
12322
0
  }
12323
12324
0
  if (_internal_metadata_.have_unknown_fields()) {
12325
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
12326
0
        _internal_metadata_.unknown_fields(), output);
12327
0
  }
12328
  // @@protoc_insertion_point(serialize_end:yb.master.GetBackfillJobsRequestPB)
12329
0
}
12330
12331
::google::protobuf::uint8* GetBackfillJobsRequestPB::InternalSerializeWithCachedSizesToArray(
12332
695
    bool deterministic, ::google::protobuf::uint8* target) const {
12333
695
  (void)deterministic; // Unused
12334
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetBackfillJobsRequestPB)
12335
695
  ::google::protobuf::uint32 cached_has_bits = 0;
12336
695
  (void) cached_has_bits;
12337
12338
695
  cached_has_bits = _has_bits_[0];
12339
  // optional .yb.master.TableIdentifierPB table_identifier = 1;
12340
695
  if (cached_has_bits & 0x00000001u) {
12341
695
    target = ::google::protobuf::internal::WireFormatLite::
12342
695
      InternalWriteMessageToArray(
12343
695
        1, *this->table_identifier_, deterministic, target);
12344
695
  }
12345
12346
695
  if (_internal_metadata_.have_unknown_fields()) {
12347
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
12348
0
        _internal_metadata_.unknown_fields(), target);
12349
0
  }
12350
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetBackfillJobsRequestPB)
12351
695
  return target;
12352
695
}
12353
12354
1.39k
size_t GetBackfillJobsRequestPB::ByteSizeLong() const {
12355
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetBackfillJobsRequestPB)
12356
1.39k
  size_t total_size = 0;
12357
12358
1.39k
  if (_internal_metadata_.have_unknown_fields()) {
12359
0
    total_size +=
12360
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
12361
0
        _internal_metadata_.unknown_fields());
12362
0
  }
12363
  // optional .yb.master.TableIdentifierPB table_identifier = 1;
12364
1.39k
  if (has_table_identifier()) {
12365
1.39k
    total_size += 1 +
12366
1.39k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
12367
1.39k
        *this->table_identifier_);
12368
1.39k
  }
12369
12370
1.39k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
12371
1.39k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12372
1.39k
  _cached_size_ = cached_size;
12373
1.39k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12374
1.39k
  return total_size;
12375
1.39k
}
12376
12377
0
void GetBackfillJobsRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
12378
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetBackfillJobsRequestPB)
12379
0
  GOOGLE_DCHECK_NE(&from, this);
12380
0
  const GetBackfillJobsRequestPB* source =
12381
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetBackfillJobsRequestPB>(
12382
0
          &from);
12383
0
  if (source == NULL) {
12384
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetBackfillJobsRequestPB)
12385
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
12386
0
  } else {
12387
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetBackfillJobsRequestPB)
12388
0
    MergeFrom(*source);
12389
0
  }
12390
0
}
12391
12392
0
void GetBackfillJobsRequestPB::MergeFrom(const GetBackfillJobsRequestPB& from) {
12393
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetBackfillJobsRequestPB)
12394
0
  GOOGLE_DCHECK_NE(&from, this);
12395
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12396
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12397
0
  (void) cached_has_bits;
12398
12399
0
  if (from.has_table_identifier()) {
12400
0
    mutable_table_identifier()->::yb::master::TableIdentifierPB::MergeFrom(from.table_identifier());
12401
0
  }
12402
0
}
12403
12404
0
void GetBackfillJobsRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
12405
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetBackfillJobsRequestPB)
12406
0
  if (&from == this) return;
12407
0
  Clear();
12408
0
  MergeFrom(from);
12409
0
}
12410
12411
0
void GetBackfillJobsRequestPB::CopyFrom(const GetBackfillJobsRequestPB& from) {
12412
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetBackfillJobsRequestPB)
12413
0
  if (&from == this) return;
12414
0
  Clear();
12415
0
  MergeFrom(from);
12416
0
}
12417
12418
1.39k
bool GetBackfillJobsRequestPB::IsInitialized() const {
12419
1.39k
  return true;
12420
1.39k
}
12421
12422
0
void GetBackfillJobsRequestPB::Swap(GetBackfillJobsRequestPB* other) {
12423
0
  if (other == this) return;
12424
0
  InternalSwap(other);
12425
0
}
12426
0
void GetBackfillJobsRequestPB::InternalSwap(GetBackfillJobsRequestPB* other) {
12427
0
  using std::swap;
12428
0
  swap(table_identifier_, other->table_identifier_);
12429
0
  swap(_has_bits_[0], other->_has_bits_[0]);
12430
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
12431
0
  swap(_cached_size_, other->_cached_size_);
12432
0
}
12433
12434
695
::google::protobuf::Metadata GetBackfillJobsRequestPB::GetMetadata() const {
12435
695
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
12436
695
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
12437
695
}
12438
12439
12440
// ===================================================================
12441
12442
15.8k
void GetBackfillJobsResponsePB::InitAsDefaultInstance() {
12443
15.8k
  ::yb::master::_GetBackfillJobsResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
12444
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
12445
15.8k
}
12446
0
void GetBackfillJobsResponsePB::clear_backfill_jobs() {
12447
0
  backfill_jobs_.Clear();
12448
0
}
12449
0
void GetBackfillJobsResponsePB::clear_error() {
12450
0
  if (error_ != NULL) error_->Clear();
12451
0
  clear_has_error();
12452
0
}
12453
#if !defined(_MSC_VER) || _MSC_VER >= 1900
12454
const int GetBackfillJobsResponsePB::kBackfillJobsFieldNumber;
12455
const int GetBackfillJobsResponsePB::kErrorFieldNumber;
12456
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
12457
12458
GetBackfillJobsResponsePB::GetBackfillJobsResponsePB()
12459
17.2k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
12460
1.39k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
12461
1.39k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetBackfillJobsResponsePB();
12462
1.39k
  }
12463
17.2k
  SharedCtor();
12464
  // @@protoc_insertion_point(constructor:yb.master.GetBackfillJobsResponsePB)
12465
17.2k
}
12466
GetBackfillJobsResponsePB::GetBackfillJobsResponsePB(const GetBackfillJobsResponsePB& from)
12467
  : ::google::protobuf::Message(),
12468
      _internal_metadata_(NULL),
12469
      _has_bits_(from._has_bits_),
12470
      _cached_size_(0),
12471
0
      backfill_jobs_(from.backfill_jobs_) {
12472
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12473
0
  if (from.has_error()) {
12474
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
12475
0
  } else {
12476
0
    error_ = NULL;
12477
0
  }
12478
  // @@protoc_insertion_point(copy_constructor:yb.master.GetBackfillJobsResponsePB)
12479
0
}
12480
12481
17.2k
void GetBackfillJobsResponsePB::SharedCtor() {
12482
17.2k
  _cached_size_ = 0;
12483
17.2k
  error_ = NULL;
12484
17.2k
}
12485
12486
1.39k
GetBackfillJobsResponsePB::~GetBackfillJobsResponsePB() {
12487
  // @@protoc_insertion_point(destructor:yb.master.GetBackfillJobsResponsePB)
12488
1.39k
  SharedDtor();
12489
1.39k
}
12490
12491
1.39k
void GetBackfillJobsResponsePB::SharedDtor() {
12492
1.39k
  if (this != internal_default_instance()) delete error_;
12493
1.39k
}
12494
12495
0
void GetBackfillJobsResponsePB::SetCachedSize(int size) const {
12496
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12497
0
  _cached_size_ = size;
12498
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12499
0
}
12500
0
const ::google::protobuf::Descriptor* GetBackfillJobsResponsePB::descriptor() {
12501
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
12502
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
12503
0
}
12504
12505
0
const GetBackfillJobsResponsePB& GetBackfillJobsResponsePB::default_instance() {
12506
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetBackfillJobsResponsePB();
12507
0
  return *internal_default_instance();
12508
0
}
12509
12510
0
GetBackfillJobsResponsePB* GetBackfillJobsResponsePB::New(::google::protobuf::Arena* arena) const {
12511
0
  GetBackfillJobsResponsePB* n = new GetBackfillJobsResponsePB;
12512
0
  if (arena != NULL) {
12513
0
    arena->Own(n);
12514
0
  }
12515
0
  return n;
12516
0
}
12517
12518
695
void GetBackfillJobsResponsePB::Clear() {
12519
// @@protoc_insertion_point(message_clear_start:yb.master.GetBackfillJobsResponsePB)
12520
695
  ::google::protobuf::uint32 cached_has_bits = 0;
12521
  // Prevent compiler warnings about cached_has_bits being unused
12522
695
  (void) cached_has_bits;
12523
12524
695
  backfill_jobs_.Clear();
12525
695
  cached_has_bits = _has_bits_[0];
12526
695
  if (cached_has_bits & 0x00000001u) {
12527
0
    GOOGLE_DCHECK(error_ != NULL);
12528
0
    error_->Clear();
12529
0
  }
12530
695
  _has_bits_.Clear();
12531
695
  _internal_metadata_.Clear();
12532
695
}
12533
12534
bool GetBackfillJobsResponsePB::MergePartialFromCodedStream(
12535
695
    ::google::protobuf::io::CodedInputStream* input) {
12536
469
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
12537
695
  ::google::protobuf::uint32 tag;
12538
  // @@protoc_insertion_point(parse_start:yb.master.GetBackfillJobsResponsePB)
12539
1.16k
  for (;;) {
12540
1.16k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
12541
1.16k
    tag = p.first;
12542
1.16k
    if (!p.second) goto handle_unusual;
12543
469
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
12544
      // repeated .yb.master.BackfillJobPB backfill_jobs = 1;
12545
469
      case 1: {
12546
469
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12547
469
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
12548
469
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_backfill_jobs()));
12549
0
        } else {
12550
0
          goto handle_unusual;
12551
0
        }
12552
469
        break;
12553
469
      }
12554
12555
      // optional .yb.master.MasterErrorPB error = 2;
12556
0
      case 2: {
12557
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12558
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
12559
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
12560
0
               input, mutable_error()));
12561
0
        } else {
12562
0
          goto handle_unusual;
12563
0
        }
12564
0
        break;
12565
695
      }
12566
12567
0
      default: {
12568
695
      handle_unusual:
12569
695
        if (tag == 0) {
12570
695
          goto success;
12571
695
        }
12572
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
12573
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
12574
0
        break;
12575
0
      }
12576
469
    }
12577
469
  }
12578
695
success:
12579
  // @@protoc_insertion_point(parse_success:yb.master.GetBackfillJobsResponsePB)
12580
695
  return true;
12581
0
failure:
12582
  // @@protoc_insertion_point(parse_failure:yb.master.GetBackfillJobsResponsePB)
12583
0
  return false;
12584
695
#undef DO_
12585
695
}
12586
12587
void GetBackfillJobsResponsePB::SerializeWithCachedSizes(
12588
0
    ::google::protobuf::io::CodedOutputStream* output) const {
12589
  // @@protoc_insertion_point(serialize_start:yb.master.GetBackfillJobsResponsePB)
12590
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12591
0
  (void) cached_has_bits;
12592
12593
  // repeated .yb.master.BackfillJobPB backfill_jobs = 1;
12594
0
  for (unsigned int i = 0,
12595
0
      n = static_cast<unsigned int>(this->backfill_jobs_size()); i < n; i++) {
12596
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
12597
0
      1, this->backfill_jobs(static_cast<int>(i)), output);
12598
0
  }
12599
12600
0
  cached_has_bits = _has_bits_[0];
12601
  // optional .yb.master.MasterErrorPB error = 2;
12602
0
  if (cached_has_bits & 0x00000001u) {
12603
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
12604
0
      2, *this->error_, output);
12605
0
  }
12606
12607
0
  if (_internal_metadata_.have_unknown_fields()) {
12608
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
12609
0
        _internal_metadata_.unknown_fields(), output);
12610
0
  }
12611
  // @@protoc_insertion_point(serialize_end:yb.master.GetBackfillJobsResponsePB)
12612
0
}
12613
12614
::google::protobuf::uint8* GetBackfillJobsResponsePB::InternalSerializeWithCachedSizesToArray(
12615
695
    bool deterministic, ::google::protobuf::uint8* target) const {
12616
695
  (void)deterministic; // Unused
12617
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetBackfillJobsResponsePB)
12618
695
  ::google::protobuf::uint32 cached_has_bits = 0;
12619
695
  (void) cached_has_bits;
12620
12621
  // repeated .yb.master.BackfillJobPB backfill_jobs = 1;
12622
695
  for (unsigned int i = 0,
12623
1.16k
      n = static_cast<unsigned int>(this->backfill_jobs_size()); i < n; i++) {
12624
469
    target = ::google::protobuf::internal::WireFormatLite::
12625
469
      InternalWriteMessageToArray(
12626
469
        1, this->backfill_jobs(static_cast<int>(i)), deterministic, target);
12627
469
  }
12628
12629
695
  cached_has_bits = _has_bits_[0];
12630
  // optional .yb.master.MasterErrorPB error = 2;
12631
695
  if (cached_has_bits & 0x00000001u) {
12632
0
    target = ::google::protobuf::internal::WireFormatLite::
12633
0
      InternalWriteMessageToArray(
12634
0
        2, *this->error_, deterministic, target);
12635
0
  }
12636
12637
695
  if (_internal_metadata_.have_unknown_fields()) {
12638
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
12639
0
        _internal_metadata_.unknown_fields(), target);
12640
0
  }
12641
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetBackfillJobsResponsePB)
12642
695
  return target;
12643
695
}
12644
12645
1.39k
size_t GetBackfillJobsResponsePB::ByteSizeLong() const {
12646
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetBackfillJobsResponsePB)
12647
1.39k
  size_t total_size = 0;
12648
12649
1.39k
  if (_internal_metadata_.have_unknown_fields()) {
12650
0
    total_size +=
12651
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
12652
0
        _internal_metadata_.unknown_fields());
12653
0
  }
12654
  // repeated .yb.master.BackfillJobPB backfill_jobs = 1;
12655
1.39k
  {
12656
1.39k
    unsigned int count = static_cast<unsigned int>(this->backfill_jobs_size());
12657
1.39k
    total_size += 1UL * count;
12658
2.32k
    for (unsigned int i = 0; i < count; i++) {
12659
938
      total_size +=
12660
938
        ::google::protobuf::internal::WireFormatLite::MessageSize(
12661
938
          this->backfill_jobs(static_cast<int>(i)));
12662
938
    }
12663
1.39k
  }
12664
12665
  // optional .yb.master.MasterErrorPB error = 2;
12666
1.39k
  if (has_error()) {
12667
0
    total_size += 1 +
12668
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
12669
0
        *this->error_);
12670
0
  }
12671
12672
1.39k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
12673
1.39k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12674
1.39k
  _cached_size_ = cached_size;
12675
1.39k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12676
1.39k
  return total_size;
12677
1.39k
}
12678
12679
0
void GetBackfillJobsResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
12680
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetBackfillJobsResponsePB)
12681
0
  GOOGLE_DCHECK_NE(&from, this);
12682
0
  const GetBackfillJobsResponsePB* source =
12683
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetBackfillJobsResponsePB>(
12684
0
          &from);
12685
0
  if (source == NULL) {
12686
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetBackfillJobsResponsePB)
12687
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
12688
0
  } else {
12689
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetBackfillJobsResponsePB)
12690
0
    MergeFrom(*source);
12691
0
  }
12692
0
}
12693
12694
0
void GetBackfillJobsResponsePB::MergeFrom(const GetBackfillJobsResponsePB& from) {
12695
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetBackfillJobsResponsePB)
12696
0
  GOOGLE_DCHECK_NE(&from, this);
12697
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12698
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12699
0
  (void) cached_has_bits;
12700
12701
0
  backfill_jobs_.MergeFrom(from.backfill_jobs_);
12702
0
  if (from.has_error()) {
12703
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
12704
0
  }
12705
0
}
12706
12707
0
void GetBackfillJobsResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
12708
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetBackfillJobsResponsePB)
12709
0
  if (&from == this) return;
12710
0
  Clear();
12711
0
  MergeFrom(from);
12712
0
}
12713
12714
0
void GetBackfillJobsResponsePB::CopyFrom(const GetBackfillJobsResponsePB& from) {
12715
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetBackfillJobsResponsePB)
12716
0
  if (&from == this) return;
12717
0
  Clear();
12718
0
  MergeFrom(from);
12719
0
}
12720
12721
1.39k
bool GetBackfillJobsResponsePB::IsInitialized() const {
12722
1.39k
  if (!::google::protobuf::internal::AllAreInitialized(this->backfill_jobs())) return false;
12723
1.39k
  if (has_error()) {
12724
0
    if (!this->error_->IsInitialized()) return false;
12725
1.39k
  }
12726
1.39k
  return true;
12727
1.39k
}
12728
12729
0
void GetBackfillJobsResponsePB::Swap(GetBackfillJobsResponsePB* other) {
12730
0
  if (other == this) return;
12731
0
  InternalSwap(other);
12732
0
}
12733
0
void GetBackfillJobsResponsePB::InternalSwap(GetBackfillJobsResponsePB* other) {
12734
0
  using std::swap;
12735
0
  backfill_jobs_.InternalSwap(&other->backfill_jobs_);
12736
0
  swap(error_, other->error_);
12737
0
  swap(_has_bits_[0], other->_has_bits_[0]);
12738
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
12739
0
  swap(_cached_size_, other->_cached_size_);
12740
0
}
12741
12742
0
::google::protobuf::Metadata GetBackfillJobsResponsePB::GetMetadata() const {
12743
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
12744
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
12745
0
}
12746
12747
12748
// ===================================================================
12749
12750
15.8k
void DeleteTableRequestPB::InitAsDefaultInstance() {
12751
15.8k
  ::yb::master::_DeleteTableRequestPB_default_instance_._instance.get_mutable()->table_ = const_cast< ::yb::master::TableIdentifierPB*>(
12752
15.8k
      ::yb::master::TableIdentifierPB::internal_default_instance());
12753
15.8k
}
12754
0
void DeleteTableRequestPB::clear_table() {
12755
0
  if (table_ != NULL) table_->Clear();
12756
0
  clear_has_table();
12757
0
}
12758
#if !defined(_MSC_VER) || _MSC_VER >= 1900
12759
const int DeleteTableRequestPB::kTableFieldNumber;
12760
const int DeleteTableRequestPB::kIsIndexTableFieldNumber;
12761
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
12762
12763
DeleteTableRequestPB::DeleteTableRequestPB()
12764
20.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
12765
5.10k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
12766
5.10k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsDeleteTableRequestPB();
12767
5.10k
  }
12768
20.9k
  SharedCtor();
12769
  // @@protoc_insertion_point(constructor:yb.master.DeleteTableRequestPB)
12770
20.9k
}
12771
DeleteTableRequestPB::DeleteTableRequestPB(const DeleteTableRequestPB& from)
12772
  : ::google::protobuf::Message(),
12773
      _internal_metadata_(NULL),
12774
      _has_bits_(from._has_bits_),
12775
23
      _cached_size_(0) {
12776
23
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12777
23
  if (from.has_table()) {
12778
23
    table_ = new ::yb::master::TableIdentifierPB(*from.table_);
12779
0
  } else {
12780
0
    table_ = NULL;
12781
0
  }
12782
23
  is_index_table_ = from.is_index_table_;
12783
  // @@protoc_insertion_point(copy_constructor:yb.master.DeleteTableRequestPB)
12784
23
}
12785
12786
20.9k
void DeleteTableRequestPB::SharedCtor() {
12787
20.9k
  _cached_size_ = 0;
12788
20.9k
  ::memset(&table_, 0, static_cast<size_t>(
12789
20.9k
      reinterpret_cast<char*>(&is_index_table_) -
12790
20.9k
      reinterpret_cast<char*>(&table_)) + sizeof(is_index_table_));
12791
20.9k
}
12792
12793
5.10k
DeleteTableRequestPB::~DeleteTableRequestPB() {
12794
  // @@protoc_insertion_point(destructor:yb.master.DeleteTableRequestPB)
12795
5.10k
  SharedDtor();
12796
5.10k
}
12797
12798
5.10k
void DeleteTableRequestPB::SharedDtor() {
12799
5.10k
  if (this != internal_default_instance()) delete table_;
12800
5.10k
}
12801
12802
0
void DeleteTableRequestPB::SetCachedSize(int size) const {
12803
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12804
0
  _cached_size_ = size;
12805
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12806
0
}
12807
0
const ::google::protobuf::Descriptor* DeleteTableRequestPB::descriptor() {
12808
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
12809
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
12810
0
}
12811
12812
0
const DeleteTableRequestPB& DeleteTableRequestPB::default_instance() {
12813
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsDeleteTableRequestPB();
12814
0
  return *internal_default_instance();
12815
0
}
12816
12817
0
DeleteTableRequestPB* DeleteTableRequestPB::New(::google::protobuf::Arena* arena) const {
12818
0
  DeleteTableRequestPB* n = new DeleteTableRequestPB;
12819
0
  if (arena != NULL) {
12820
0
    arena->Own(n);
12821
0
  }
12822
0
  return n;
12823
0
}
12824
12825
2.46k
void DeleteTableRequestPB::Clear() {
12826
// @@protoc_insertion_point(message_clear_start:yb.master.DeleteTableRequestPB)
12827
2.46k
  ::google::protobuf::uint32 cached_has_bits = 0;
12828
  // Prevent compiler warnings about cached_has_bits being unused
12829
2.46k
  (void) cached_has_bits;
12830
12831
2.46k
  cached_has_bits = _has_bits_[0];
12832
2.46k
  if (cached_has_bits & 0x00000001u) {
12833
0
    GOOGLE_DCHECK(table_ != NULL);
12834
0
    table_->Clear();
12835
0
  }
12836
2.46k
  is_index_table_ = false;
12837
2.46k
  _has_bits_.Clear();
12838
2.46k
  _internal_metadata_.Clear();
12839
2.46k
}
12840
12841
bool DeleteTableRequestPB::MergePartialFromCodedStream(
12842
2.46k
    ::google::protobuf::io::CodedInputStream* input) {
12843
4.91k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
12844
2.46k
  ::google::protobuf::uint32 tag;
12845
  // @@protoc_insertion_point(parse_start:yb.master.DeleteTableRequestPB)
12846
7.37k
  for (;;) {
12847
7.37k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
12848
7.37k
    tag = p.first;
12849
7.37k
    if (!p.second) goto handle_unusual;
12850
4.91k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
12851
      // required .yb.master.TableIdentifierPB table = 1;
12852
2.46k
      case 1: {
12853
2.46k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12854
2.46k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
12855
2.46k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
12856
2.46k
               input, mutable_table()));
12857
0
        } else {
12858
0
          goto handle_unusual;
12859
0
        }
12860
2.46k
        break;
12861
2.46k
      }
12862
12863
      // optional bool is_index_table = 2 [default = false];
12864
2.44k
      case 2: {
12865
2.44k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12866
2.44k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
12867
2.44k
          set_has_is_index_table();
12868
2.44k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
12869
2.44k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
12870
2.44k
                 input, &is_index_table_)));
12871
0
        } else {
12872
0
          goto handle_unusual;
12873
0
        }
12874
2.44k
        break;
12875
2.46k
      }
12876
12877
0
      default: {
12878
2.46k
      handle_unusual:
12879
2.46k
        if (tag == 0) {
12880
2.46k
          goto success;
12881
2.46k
        }
12882
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
12883
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
12884
0
        break;
12885
0
      }
12886
4.91k
    }
12887
4.91k
  }
12888
2.46k
success:
12889
  // @@protoc_insertion_point(parse_success:yb.master.DeleteTableRequestPB)
12890
2.46k
  return true;
12891
0
failure:
12892
  // @@protoc_insertion_point(parse_failure:yb.master.DeleteTableRequestPB)
12893
0
  return false;
12894
2.46k
#undef DO_
12895
2.46k
}
12896
12897
void DeleteTableRequestPB::SerializeWithCachedSizes(
12898
0
    ::google::protobuf::io::CodedOutputStream* output) const {
12899
  // @@protoc_insertion_point(serialize_start:yb.master.DeleteTableRequestPB)
12900
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12901
0
  (void) cached_has_bits;
12902
12903
0
  cached_has_bits = _has_bits_[0];
12904
  // required .yb.master.TableIdentifierPB table = 1;
12905
0
  if (cached_has_bits & 0x00000001u) {
12906
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
12907
0
      1, *this->table_, output);
12908
0
  }
12909
12910
  // optional bool is_index_table = 2 [default = false];
12911
0
  if (cached_has_bits & 0x00000002u) {
12912
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->is_index_table(), output);
12913
0
  }
12914
12915
0
  if (_internal_metadata_.have_unknown_fields()) {
12916
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
12917
0
        _internal_metadata_.unknown_fields(), output);
12918
0
  }
12919
  // @@protoc_insertion_point(serialize_end:yb.master.DeleteTableRequestPB)
12920
0
}
12921
12922
::google::protobuf::uint8* DeleteTableRequestPB::InternalSerializeWithCachedSizesToArray(
12923
2.45k
    bool deterministic, ::google::protobuf::uint8* target) const {
12924
2.45k
  (void)deterministic; // Unused
12925
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.DeleteTableRequestPB)
12926
2.45k
  ::google::protobuf::uint32 cached_has_bits = 0;
12927
2.45k
  (void) cached_has_bits;
12928
12929
2.45k
  cached_has_bits = _has_bits_[0];
12930
  // required .yb.master.TableIdentifierPB table = 1;
12931
2.45k
  if (cached_has_bits & 0x00000001u) {
12932
2.45k
    target = ::google::protobuf::internal::WireFormatLite::
12933
2.45k
      InternalWriteMessageToArray(
12934
2.45k
        1, *this->table_, deterministic, target);
12935
2.45k
  }
12936
12937
  // optional bool is_index_table = 2 [default = false];
12938
2.45k
  if (cached_has_bits & 0x00000002u) {
12939
2.44k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->is_index_table(), target);
12940
2.44k
  }
12941
12942
2.45k
  if (_internal_metadata_.have_unknown_fields()) {
12943
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
12944
0
        _internal_metadata_.unknown_fields(), target);
12945
0
  }
12946
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.DeleteTableRequestPB)
12947
2.45k
  return target;
12948
2.45k
}
12949
12950
4.91k
size_t DeleteTableRequestPB::ByteSizeLong() const {
12951
// @@protoc_insertion_point(message_byte_size_start:yb.master.DeleteTableRequestPB)
12952
4.91k
  size_t total_size = 0;
12953
12954
4.91k
  if (_internal_metadata_.have_unknown_fields()) {
12955
0
    total_size +=
12956
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
12957
0
        _internal_metadata_.unknown_fields());
12958
0
  }
12959
  // required .yb.master.TableIdentifierPB table = 1;
12960
4.91k
  if (has_table()) {
12961
4.91k
    total_size += 1 +
12962
4.91k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
12963
4.91k
        *this->table_);
12964
4.91k
  }
12965
  // optional bool is_index_table = 2 [default = false];
12966
4.91k
  if (has_is_index_table()) {
12967
4.89k
    total_size += 1 + 1;
12968
4.89k
  }
12969
12970
4.91k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
12971
4.91k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12972
4.91k
  _cached_size_ = cached_size;
12973
4.91k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12974
4.91k
  return total_size;
12975
4.91k
}
12976
12977
0
void DeleteTableRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
12978
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.DeleteTableRequestPB)
12979
0
  GOOGLE_DCHECK_NE(&from, this);
12980
0
  const DeleteTableRequestPB* source =
12981
0
      ::google::protobuf::internal::DynamicCastToGenerated<const DeleteTableRequestPB>(
12982
0
          &from);
12983
0
  if (source == NULL) {
12984
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.DeleteTableRequestPB)
12985
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
12986
0
  } else {
12987
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.DeleteTableRequestPB)
12988
0
    MergeFrom(*source);
12989
0
  }
12990
0
}
12991
12992
0
void DeleteTableRequestPB::MergeFrom(const DeleteTableRequestPB& from) {
12993
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.DeleteTableRequestPB)
12994
0
  GOOGLE_DCHECK_NE(&from, this);
12995
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12996
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12997
0
  (void) cached_has_bits;
12998
12999
0
  cached_has_bits = from._has_bits_[0];
13000
0
  if (cached_has_bits & 3u) {
13001
0
    if (cached_has_bits & 0x00000001u) {
13002
0
      mutable_table()->::yb::master::TableIdentifierPB::MergeFrom(from.table());
13003
0
    }
13004
0
    if (cached_has_bits & 0x00000002u) {
13005
0
      is_index_table_ = from.is_index_table_;
13006
0
    }
13007
0
    _has_bits_[0] |= cached_has_bits;
13008
0
  }
13009
0
}
13010
13011
0
void DeleteTableRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
13012
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.DeleteTableRequestPB)
13013
0
  if (&from == this) return;
13014
0
  Clear();
13015
0
  MergeFrom(from);
13016
0
}
13017
13018
0
void DeleteTableRequestPB::CopyFrom(const DeleteTableRequestPB& from) {
13019
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.DeleteTableRequestPB)
13020
0
  if (&from == this) return;
13021
0
  Clear();
13022
0
  MergeFrom(from);
13023
0
}
13024
13025
4.92k
bool DeleteTableRequestPB::IsInitialized() const {
13026
4.92k
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
13027
4.92k
  return true;
13028
4.92k
}
13029
13030
0
void DeleteTableRequestPB::Swap(DeleteTableRequestPB* other) {
13031
0
  if (other == this) return;
13032
0
  InternalSwap(other);
13033
0
}
13034
23
void DeleteTableRequestPB::InternalSwap(DeleteTableRequestPB* other) {
13035
23
  using std::swap;
13036
23
  swap(table_, other->table_);
13037
23
  swap(is_index_table_, other->is_index_table_);
13038
23
  swap(_has_bits_[0], other->_has_bits_[0]);
13039
23
  _internal_metadata_.Swap(&other->_internal_metadata_);
13040
23
  swap(_cached_size_, other->_cached_size_);
13041
23
}
13042
13043
7.44k
::google::protobuf::Metadata DeleteTableRequestPB::GetMetadata() const {
13044
7.44k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
13045
7.44k
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
13046
7.44k
}
13047
13048
13049
// ===================================================================
13050
13051
15.8k
void DeleteTableResponsePB::InitAsDefaultInstance() {
13052
15.8k
  ::yb::master::_DeleteTableResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
13053
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
13054
15.8k
  ::yb::master::_DeleteTableResponsePB_default_instance_._instance.get_mutable()->indexed_table_ = const_cast< ::yb::master::TableIdentifierPB*>(
13055
15.8k
      ::yb::master::TableIdentifierPB::internal_default_instance());
13056
15.8k
}
13057
0
void DeleteTableResponsePB::clear_error() {
13058
0
  if (error_ != NULL) error_->Clear();
13059
0
  clear_has_error();
13060
0
}
13061
0
void DeleteTableResponsePB::clear_indexed_table() {
13062
0
  if (indexed_table_ != NULL) indexed_table_->Clear();
13063
0
  clear_has_indexed_table();
13064
0
}
13065
#if !defined(_MSC_VER) || _MSC_VER >= 1900
13066
const int DeleteTableResponsePB::kErrorFieldNumber;
13067
const int DeleteTableResponsePB::kTableIdFieldNumber;
13068
const int DeleteTableResponsePB::kDeletedTableIdsFieldNumber;
13069
const int DeleteTableResponsePB::kIndexedTableFieldNumber;
13070
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
13071
13072
DeleteTableResponsePB::DeleteTableResponsePB()
13073
20.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
13074
5.07k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
13075
5.07k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsDeleteTableResponsePB();
13076
5.07k
  }
13077
20.9k
  SharedCtor();
13078
  // @@protoc_insertion_point(constructor:yb.master.DeleteTableResponsePB)
13079
20.9k
}
13080
DeleteTableResponsePB::DeleteTableResponsePB(const DeleteTableResponsePB& from)
13081
  : ::google::protobuf::Message(),
13082
      _internal_metadata_(NULL),
13083
      _has_bits_(from._has_bits_),
13084
      _cached_size_(0),
13085
0
      deleted_table_ids_(from.deleted_table_ids_) {
13086
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
13087
0
  table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13088
0
  if (from.has_table_id()) {
13089
0
    table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_id_);
13090
0
  }
13091
0
  if (from.has_error()) {
13092
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
13093
0
  } else {
13094
0
    error_ = NULL;
13095
0
  }
13096
0
  if (from.has_indexed_table()) {
13097
0
    indexed_table_ = new ::yb::master::TableIdentifierPB(*from.indexed_table_);
13098
0
  } else {
13099
0
    indexed_table_ = NULL;
13100
0
  }
13101
  // @@protoc_insertion_point(copy_constructor:yb.master.DeleteTableResponsePB)
13102
0
}
13103
13104
20.9k
void DeleteTableResponsePB::SharedCtor() {
13105
20.9k
  _cached_size_ = 0;
13106
20.9k
  table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13107
20.9k
  ::memset(&error_, 0, static_cast<size_t>(
13108
20.9k
      reinterpret_cast<char*>(&indexed_table_) -
13109
20.9k
      reinterpret_cast<char*>(&error_)) + sizeof(indexed_table_));
13110
20.9k
}
13111
13112
5.06k
DeleteTableResponsePB::~DeleteTableResponsePB() {
13113
  // @@protoc_insertion_point(destructor:yb.master.DeleteTableResponsePB)
13114
5.06k
  SharedDtor();
13115
5.06k
}
13116
13117
5.06k
void DeleteTableResponsePB::SharedDtor() {
13118
5.06k
  table_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13119
5.06k
  if (this != internal_default_instance()) delete error_;
13120
5.06k
  if (this != internal_default_instance()) delete indexed_table_;
13121
5.06k
}
13122
13123
0
void DeleteTableResponsePB::SetCachedSize(int size) const {
13124
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13125
0
  _cached_size_ = size;
13126
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
13127
0
}
13128
0
const ::google::protobuf::Descriptor* DeleteTableResponsePB::descriptor() {
13129
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
13130
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
13131
0
}
13132
13133
0
const DeleteTableResponsePB& DeleteTableResponsePB::default_instance() {
13134
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsDeleteTableResponsePB();
13135
0
  return *internal_default_instance();
13136
0
}
13137
13138
0
DeleteTableResponsePB* DeleteTableResponsePB::New(::google::protobuf::Arena* arena) const {
13139
0
  DeleteTableResponsePB* n = new DeleteTableResponsePB;
13140
0
  if (arena != NULL) {
13141
0
    arena->Own(n);
13142
0
  }
13143
0
  return n;
13144
0
}
13145
13146
2.44k
void DeleteTableResponsePB::Clear() {
13147
// @@protoc_insertion_point(message_clear_start:yb.master.DeleteTableResponsePB)
13148
2.44k
  ::google::protobuf::uint32 cached_has_bits = 0;
13149
  // Prevent compiler warnings about cached_has_bits being unused
13150
2.44k
  (void) cached_has_bits;
13151
13152
2.44k
  deleted_table_ids_.Clear();
13153
2.44k
  cached_has_bits = _has_bits_[0];
13154
2.44k
  if (cached_has_bits & 7u) {
13155
0
    if (cached_has_bits & 0x00000001u) {
13156
0
      GOOGLE_DCHECK(!table_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
13157
0
      (*table_id_.UnsafeRawStringPointer())->clear();
13158
0
    }
13159
0
    if (cached_has_bits & 0x00000002u) {
13160
0
      GOOGLE_DCHECK(error_ != NULL);
13161
0
      error_->Clear();
13162
0
    }
13163
0
    if (cached_has_bits & 0x00000004u) {
13164
0
      GOOGLE_DCHECK(indexed_table_ != NULL);
13165
0
      indexed_table_->Clear();
13166
0
    }
13167
0
  }
13168
2.44k
  _has_bits_.Clear();
13169
2.44k
  _internal_metadata_.Clear();
13170
2.44k
}
13171
13172
bool DeleteTableResponsePB::MergePartialFromCodedStream(
13173
2.44k
    ::google::protobuf::io::CodedInputStream* input) {
13174
3.15k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
13175
2.44k
  ::google::protobuf::uint32 tag;
13176
  // @@protoc_insertion_point(parse_start:yb.master.DeleteTableResponsePB)
13177
5.59k
  for (;;) {
13178
5.59k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
13179
5.59k
    tag = p.first;
13180
5.59k
    if (!p.second) goto handle_unusual;
13181
3.15k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
13182
      // optional .yb.master.MasterErrorPB error = 1;
13183
19
      case 1: {
13184
19
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13185
19
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
13186
19
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
13187
19
               input, mutable_error()));
13188
0
        } else {
13189
0
          goto handle_unusual;
13190
0
        }
13191
19
        break;
13192
19
      }
13193
13194
      // optional bytes table_id = 2;
13195
264
      case 2: {
13196
264
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13197
264
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
13198
264
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
13199
264
                input, this->mutable_table_id()));
13200
0
        } else {
13201
0
          goto handle_unusual;
13202
0
        }
13203
264
        break;
13204
264
      }
13205
13206
      // optional .yb.master.TableIdentifierPB indexed_table = 3;
13207
263
      case 3: {
13208
263
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13209
263
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
13210
263
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
13211
263
               input, mutable_indexed_table()));
13212
0
        } else {
13213
0
          goto handle_unusual;
13214
0
        }
13215
263
        break;
13216
263
      }
13217
13218
      // repeated bytes deleted_table_ids = 4;
13219
2.61k
      case 4: {
13220
2.61k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13221
2.61k
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
13222
2.61k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
13223
2.61k
                input, this->add_deleted_table_ids()));
13224
0
        } else {
13225
0
          goto handle_unusual;
13226
0
        }
13227
2.61k
        break;
13228
2.44k
      }
13229
13230
0
      default: {
13231
2.44k
      handle_unusual:
13232
2.44k
        if (tag == 0) {
13233
2.44k
          goto success;
13234
2.44k
        }
13235
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
13236
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
13237
0
        break;
13238
0
      }
13239
3.15k
    }
13240
3.15k
  }
13241
2.44k
success:
13242
  // @@protoc_insertion_point(parse_success:yb.master.DeleteTableResponsePB)
13243
2.44k
  return true;
13244
0
failure:
13245
  // @@protoc_insertion_point(parse_failure:yb.master.DeleteTableResponsePB)
13246
0
  return false;
13247
2.44k
#undef DO_
13248
2.44k
}
13249
13250
void DeleteTableResponsePB::SerializeWithCachedSizes(
13251
0
    ::google::protobuf::io::CodedOutputStream* output) const {
13252
  // @@protoc_insertion_point(serialize_start:yb.master.DeleteTableResponsePB)
13253
0
  ::google::protobuf::uint32 cached_has_bits = 0;
13254
0
  (void) cached_has_bits;
13255
13256
0
  cached_has_bits = _has_bits_[0];
13257
  // optional .yb.master.MasterErrorPB error = 1;
13258
0
  if (cached_has_bits & 0x00000002u) {
13259
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
13260
0
      1, *this->error_, output);
13261
0
  }
13262
13263
  // optional bytes table_id = 2;
13264
0
  if (cached_has_bits & 0x00000001u) {
13265
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
13266
0
      2, this->table_id(), output);
13267
0
  }
13268
13269
  // optional .yb.master.TableIdentifierPB indexed_table = 3;
13270
0
  if (cached_has_bits & 0x00000004u) {
13271
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
13272
0
      3, *this->indexed_table_, output);
13273
0
  }
13274
13275
  // repeated bytes deleted_table_ids = 4;
13276
0
  for (int i = 0, n = this->deleted_table_ids_size(); i < n; i++) {
13277
0
    ::google::protobuf::internal::WireFormatLite::WriteBytes(
13278
0
      4, this->deleted_table_ids(i), output);
13279
0
  }
13280
13281
0
  if (_internal_metadata_.have_unknown_fields()) {
13282
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
13283
0
        _internal_metadata_.unknown_fields(), output);
13284
0
  }
13285
  // @@protoc_insertion_point(serialize_end:yb.master.DeleteTableResponsePB)
13286
0
}
13287
13288
::google::protobuf::uint8* DeleteTableResponsePB::InternalSerializeWithCachedSizesToArray(
13289
2.44k
    bool deterministic, ::google::protobuf::uint8* target) const {
13290
2.44k
  (void)deterministic; // Unused
13291
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.DeleteTableResponsePB)
13292
2.44k
  ::google::protobuf::uint32 cached_has_bits = 0;
13293
2.44k
  (void) cached_has_bits;
13294
13295
2.44k
  cached_has_bits = _has_bits_[0];
13296
  // optional .yb.master.MasterErrorPB error = 1;
13297
2.44k
  if (cached_has_bits & 0x00000002u) {
13298
19
    target = ::google::protobuf::internal::WireFormatLite::
13299
19
      InternalWriteMessageToArray(
13300
19
        1, *this->error_, deterministic, target);
13301
19
  }
13302
13303
  // optional bytes table_id = 2;
13304
2.44k
  if (cached_has_bits & 0x00000001u) {
13305
264
    target =
13306
264
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
13307
264
        2, this->table_id(), target);
13308
264
  }
13309
13310
  // optional .yb.master.TableIdentifierPB indexed_table = 3;
13311
2.44k
  if (cached_has_bits & 0x00000004u) {
13312
263
    target = ::google::protobuf::internal::WireFormatLite::
13313
263
      InternalWriteMessageToArray(
13314
263
        3, *this->indexed_table_, deterministic, target);
13315
263
  }
13316
13317
  // repeated bytes deleted_table_ids = 4;
13318
5.06k
  for (int i = 0, n = this->deleted_table_ids_size(); i < n; i++) {
13319
2.61k
    target = ::google::protobuf::internal::WireFormatLite::
13320
2.61k
      WriteBytesToArray(4, this->deleted_table_ids(i), target);
13321
2.61k
  }
13322
13323
2.44k
  if (_internal_metadata_.have_unknown_fields()) {
13324
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
13325
0
        _internal_metadata_.unknown_fields(), target);
13326
0
  }
13327
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.DeleteTableResponsePB)
13328
2.44k
  return target;
13329
2.44k
}
13330
13331
4.89k
size_t DeleteTableResponsePB::ByteSizeLong() const {
13332
// @@protoc_insertion_point(message_byte_size_start:yb.master.DeleteTableResponsePB)
13333
4.89k
  size_t total_size = 0;
13334
13335
4.89k
  if (_internal_metadata_.have_unknown_fields()) {
13336
0
    total_size +=
13337
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
13338
0
        _internal_metadata_.unknown_fields());
13339
0
  }
13340
  // repeated bytes deleted_table_ids = 4;
13341
4.89k
  total_size += 1 *
13342
4.89k
      ::google::protobuf::internal::FromIntSize(this->deleted_table_ids_size());
13343
10.1k
  for (int i = 0, n = this->deleted_table_ids_size(); i < n; i++) {
13344
5.23k
    total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
13345
5.23k
      this->deleted_table_ids(i));
13346
5.23k
  }
13347
13348
4.89k
  if (_has_bits_[0 / 32] & 7u) {
13349
    // optional bytes table_id = 2;
13350
564
    if (has_table_id()) {
13351
528
      total_size += 1 +
13352
528
        ::google::protobuf::internal::WireFormatLite::BytesSize(
13353
528
          this->table_id());
13354
528
    }
13355
13356
    // optional .yb.master.MasterErrorPB error = 1;
13357
564
    if (has_error()) {
13358
38
      total_size += 1 +
13359
38
        ::google::protobuf::internal::WireFormatLite::MessageSize(
13360
38
          *this->error_);
13361
38
    }
13362
13363
    // optional .yb.master.TableIdentifierPB indexed_table = 3;
13364
564
    if (has_indexed_table()) {
13365
526
      total_size += 1 +
13366
526
        ::google::protobuf::internal::WireFormatLite::MessageSize(
13367
526
          *this->indexed_table_);
13368
526
    }
13369
13370
564
  }
13371
4.89k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
13372
4.89k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13373
4.89k
  _cached_size_ = cached_size;
13374
4.89k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
13375
4.89k
  return total_size;
13376
4.89k
}
13377
13378
0
void DeleteTableResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
13379
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.DeleteTableResponsePB)
13380
0
  GOOGLE_DCHECK_NE(&from, this);
13381
0
  const DeleteTableResponsePB* source =
13382
0
      ::google::protobuf::internal::DynamicCastToGenerated<const DeleteTableResponsePB>(
13383
0
          &from);
13384
0
  if (source == NULL) {
13385
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.DeleteTableResponsePB)
13386
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
13387
0
  } else {
13388
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.DeleteTableResponsePB)
13389
0
    MergeFrom(*source);
13390
0
  }
13391
0
}
13392
13393
0
void DeleteTableResponsePB::MergeFrom(const DeleteTableResponsePB& from) {
13394
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.DeleteTableResponsePB)
13395
0
  GOOGLE_DCHECK_NE(&from, this);
13396
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
13397
0
  ::google::protobuf::uint32 cached_has_bits = 0;
13398
0
  (void) cached_has_bits;
13399
13400
0
  deleted_table_ids_.MergeFrom(from.deleted_table_ids_);
13401
0
  cached_has_bits = from._has_bits_[0];
13402
0
  if (cached_has_bits & 7u) {
13403
0
    if (cached_has_bits & 0x00000001u) {
13404
0
      set_has_table_id();
13405
0
      table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_id_);
13406
0
    }
13407
0
    if (cached_has_bits & 0x00000002u) {
13408
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
13409
0
    }
13410
0
    if (cached_has_bits & 0x00000004u) {
13411
0
      mutable_indexed_table()->::yb::master::TableIdentifierPB::MergeFrom(from.indexed_table());
13412
0
    }
13413
0
  }
13414
0
}
13415
13416
0
void DeleteTableResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
13417
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.DeleteTableResponsePB)
13418
0
  if (&from == this) return;
13419
0
  Clear();
13420
0
  MergeFrom(from);
13421
0
}
13422
13423
0
void DeleteTableResponsePB::CopyFrom(const DeleteTableResponsePB& from) {
13424
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.DeleteTableResponsePB)
13425
0
  if (&from == this) return;
13426
0
  Clear();
13427
0
  MergeFrom(from);
13428
0
}
13429
13430
4.89k
bool DeleteTableResponsePB::IsInitialized() const {
13431
4.89k
  if (has_error()) {
13432
38
    if (!this->error_->IsInitialized()) return false;
13433
4.89k
  }
13434
4.89k
  return true;
13435
4.89k
}
13436
13437
0
void DeleteTableResponsePB::Swap(DeleteTableResponsePB* other) {
13438
0
  if (other == this) return;
13439
0
  InternalSwap(other);
13440
0
}
13441
0
void DeleteTableResponsePB::InternalSwap(DeleteTableResponsePB* other) {
13442
0
  using std::swap;
13443
0
  deleted_table_ids_.InternalSwap(&other->deleted_table_ids_);
13444
0
  table_id_.Swap(&other->table_id_);
13445
0
  swap(error_, other->error_);
13446
0
  swap(indexed_table_, other->indexed_table_);
13447
0
  swap(_has_bits_[0], other->_has_bits_[0]);
13448
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
13449
0
  swap(_cached_size_, other->_cached_size_);
13450
0
}
13451
13452
22
::google::protobuf::Metadata DeleteTableResponsePB::GetMetadata() const {
13453
22
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
13454
22
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
13455
22
}
13456
13457
13458
// ===================================================================
13459
13460
15.8k
void IsDeleteTableDoneRequestPB::InitAsDefaultInstance() {
13461
15.8k
}
13462
#if !defined(_MSC_VER) || _MSC_VER >= 1900
13463
const int IsDeleteTableDoneRequestPB::kTableIdFieldNumber;
13464
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
13465
13466
IsDeleteTableDoneRequestPB::IsDeleteTableDoneRequestPB()
13467
27.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
13468
11.1k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
13469
11.1k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsDeleteTableDoneRequestPB();
13470
11.1k
  }
13471
27.0k
  SharedCtor();
13472
  // @@protoc_insertion_point(constructor:yb.master.IsDeleteTableDoneRequestPB)
13473
27.0k
}
13474
IsDeleteTableDoneRequestPB::IsDeleteTableDoneRequestPB(const IsDeleteTableDoneRequestPB& from)
13475
  : ::google::protobuf::Message(),
13476
      _internal_metadata_(NULL),
13477
      _has_bits_(from._has_bits_),
13478
0
      _cached_size_(0) {
13479
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
13480
0
  table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13481
0
  if (from.has_table_id()) {
13482
0
    table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_id_);
13483
0
  }
13484
  // @@protoc_insertion_point(copy_constructor:yb.master.IsDeleteTableDoneRequestPB)
13485
0
}
13486
13487
27.0k
void IsDeleteTableDoneRequestPB::SharedCtor() {
13488
27.0k
  _cached_size_ = 0;
13489
27.0k
  table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13490
27.0k
}
13491
13492
11.1k
IsDeleteTableDoneRequestPB::~IsDeleteTableDoneRequestPB() {
13493
  // @@protoc_insertion_point(destructor:yb.master.IsDeleteTableDoneRequestPB)
13494
11.1k
  SharedDtor();
13495
11.1k
}
13496
13497
11.1k
void IsDeleteTableDoneRequestPB::SharedDtor() {
13498
11.1k
  table_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13499
11.1k
}
13500
13501
0
void IsDeleteTableDoneRequestPB::SetCachedSize(int size) const {
13502
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13503
0
  _cached_size_ = size;
13504
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
13505
0
}
13506
0
const ::google::protobuf::Descriptor* IsDeleteTableDoneRequestPB::descriptor() {
13507
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
13508
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
13509
0
}
13510
13511
0
const IsDeleteTableDoneRequestPB& IsDeleteTableDoneRequestPB::default_instance() {
13512
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsDeleteTableDoneRequestPB();
13513
0
  return *internal_default_instance();
13514
0
}
13515
13516
0
IsDeleteTableDoneRequestPB* IsDeleteTableDoneRequestPB::New(::google::protobuf::Arena* arena) const {
13517
0
  IsDeleteTableDoneRequestPB* n = new IsDeleteTableDoneRequestPB;
13518
0
  if (arena != NULL) {
13519
0
    arena->Own(n);
13520
0
  }
13521
0
  return n;
13522
0
}
13523
13524
5.58k
void IsDeleteTableDoneRequestPB::Clear() {
13525
// @@protoc_insertion_point(message_clear_start:yb.master.IsDeleteTableDoneRequestPB)
13526
5.58k
  ::google::protobuf::uint32 cached_has_bits = 0;
13527
  // Prevent compiler warnings about cached_has_bits being unused
13528
5.58k
  (void) cached_has_bits;
13529
13530
5.58k
  cached_has_bits = _has_bits_[0];
13531
5.58k
  if (cached_has_bits & 0x00000001u) {
13532
0
    GOOGLE_DCHECK(!table_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
13533
0
    (*table_id_.UnsafeRawStringPointer())->clear();
13534
0
  }
13535
5.58k
  _has_bits_.Clear();
13536
5.58k
  _internal_metadata_.Clear();
13537
5.58k
}
13538
13539
bool IsDeleteTableDoneRequestPB::MergePartialFromCodedStream(
13540
5.58k
    ::google::protobuf::io::CodedInputStream* input) {
13541
5.58k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
13542
5.58k
  ::google::protobuf::uint32 tag;
13543
  // @@protoc_insertion_point(parse_start:yb.master.IsDeleteTableDoneRequestPB)
13544
11.1k
  for (;;) {
13545
11.1k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
13546
11.1k
    tag = p.first;
13547
11.1k
    if (!p.second) goto handle_unusual;
13548
5.58k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
13549
      // required bytes table_id = 1;
13550
5.58k
      case 1: {
13551
5.58k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13552
5.58k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
13553
5.58k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
13554
5.58k
                input, this->mutable_table_id()));
13555
0
        } else {
13556
0
          goto handle_unusual;
13557
0
        }
13558
5.58k
        break;
13559
5.58k
      }
13560
13561
0
      default: {
13562
5.58k
      handle_unusual:
13563
5.58k
        if (tag == 0) {
13564
5.58k
          goto success;
13565
5.58k
        }
13566
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
13567
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
13568
0
        break;
13569
0
      }
13570
5.58k
    }
13571
5.58k
  }
13572
5.58k
success:
13573
  // @@protoc_insertion_point(parse_success:yb.master.IsDeleteTableDoneRequestPB)
13574
5.58k
  return true;
13575
0
failure:
13576
  // @@protoc_insertion_point(parse_failure:yb.master.IsDeleteTableDoneRequestPB)
13577
0
  return false;
13578
5.58k
#undef DO_
13579
5.58k
}
13580
13581
void IsDeleteTableDoneRequestPB::SerializeWithCachedSizes(
13582
0
    ::google::protobuf::io::CodedOutputStream* output) const {
13583
  // @@protoc_insertion_point(serialize_start:yb.master.IsDeleteTableDoneRequestPB)
13584
0
  ::google::protobuf::uint32 cached_has_bits = 0;
13585
0
  (void) cached_has_bits;
13586
13587
0
  cached_has_bits = _has_bits_[0];
13588
  // required bytes table_id = 1;
13589
0
  if (cached_has_bits & 0x00000001u) {
13590
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
13591
0
      1, this->table_id(), output);
13592
0
  }
13593
13594
0
  if (_internal_metadata_.have_unknown_fields()) {
13595
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
13596
0
        _internal_metadata_.unknown_fields(), output);
13597
0
  }
13598
  // @@protoc_insertion_point(serialize_end:yb.master.IsDeleteTableDoneRequestPB)
13599
0
}
13600
13601
::google::protobuf::uint8* IsDeleteTableDoneRequestPB::InternalSerializeWithCachedSizesToArray(
13602
5.58k
    bool deterministic, ::google::protobuf::uint8* target) const {
13603
5.58k
  (void)deterministic; // Unused
13604
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.IsDeleteTableDoneRequestPB)
13605
5.58k
  ::google::protobuf::uint32 cached_has_bits = 0;
13606
5.58k
  (void) cached_has_bits;
13607
13608
5.58k
  cached_has_bits = _has_bits_[0];
13609
  // required bytes table_id = 1;
13610
5.58k
  if (cached_has_bits & 0x00000001u) {
13611
5.58k
    target =
13612
5.58k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
13613
5.58k
        1, this->table_id(), target);
13614
5.58k
  }
13615
13616
5.58k
  if (_internal_metadata_.have_unknown_fields()) {
13617
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
13618
0
        _internal_metadata_.unknown_fields(), target);
13619
0
  }
13620
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.IsDeleteTableDoneRequestPB)
13621
5.58k
  return target;
13622
5.58k
}
13623
13624
11.1k
size_t IsDeleteTableDoneRequestPB::ByteSizeLong() const {
13625
// @@protoc_insertion_point(message_byte_size_start:yb.master.IsDeleteTableDoneRequestPB)
13626
11.1k
  size_t total_size = 0;
13627
13628
11.1k
  if (_internal_metadata_.have_unknown_fields()) {
13629
0
    total_size +=
13630
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
13631
0
        _internal_metadata_.unknown_fields());
13632
0
  }
13633
  // required bytes table_id = 1;
13634
11.1k
  if (has_table_id()) {
13635
11.1k
    total_size += 1 +
13636
11.1k
      ::google::protobuf::internal::WireFormatLite::BytesSize(
13637
11.1k
        this->table_id());
13638
11.1k
  }
13639
11.1k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
13640
11.1k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13641
11.1k
  _cached_size_ = cached_size;
13642
11.1k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
13643
11.1k
  return total_size;
13644
11.1k
}
13645
13646
0
void IsDeleteTableDoneRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
13647
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.IsDeleteTableDoneRequestPB)
13648
0
  GOOGLE_DCHECK_NE(&from, this);
13649
0
  const IsDeleteTableDoneRequestPB* source =
13650
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsDeleteTableDoneRequestPB>(
13651
0
          &from);
13652
0
  if (source == NULL) {
13653
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.IsDeleteTableDoneRequestPB)
13654
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
13655
0
  } else {
13656
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.IsDeleteTableDoneRequestPB)
13657
0
    MergeFrom(*source);
13658
0
  }
13659
0
}
13660
13661
0
void IsDeleteTableDoneRequestPB::MergeFrom(const IsDeleteTableDoneRequestPB& from) {
13662
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.IsDeleteTableDoneRequestPB)
13663
0
  GOOGLE_DCHECK_NE(&from, this);
13664
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
13665
0
  ::google::protobuf::uint32 cached_has_bits = 0;
13666
0
  (void) cached_has_bits;
13667
13668
0
  if (from.has_table_id()) {
13669
0
    set_has_table_id();
13670
0
    table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_id_);
13671
0
  }
13672
0
}
13673
13674
0
void IsDeleteTableDoneRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
13675
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.IsDeleteTableDoneRequestPB)
13676
0
  if (&from == this) return;
13677
0
  Clear();
13678
0
  MergeFrom(from);
13679
0
}
13680
13681
0
void IsDeleteTableDoneRequestPB::CopyFrom(const IsDeleteTableDoneRequestPB& from) {
13682
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.IsDeleteTableDoneRequestPB)
13683
0
  if (&from == this) return;
13684
0
  Clear();
13685
0
  MergeFrom(from);
13686
0
}
13687
13688
11.1k
bool IsDeleteTableDoneRequestPB::IsInitialized() const {
13689
11.1k
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
13690
11.1k
  return true;
13691
11.1k
}
13692
13693
0
void IsDeleteTableDoneRequestPB::Swap(IsDeleteTableDoneRequestPB* other) {
13694
0
  if (other == this) return;
13695
0
  InternalSwap(other);
13696
0
}
13697
0
void IsDeleteTableDoneRequestPB::InternalSwap(IsDeleteTableDoneRequestPB* other) {
13698
0
  using std::swap;
13699
0
  table_id_.Swap(&other->table_id_);
13700
0
  swap(_has_bits_[0], other->_has_bits_[0]);
13701
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
13702
0
  swap(_cached_size_, other->_cached_size_);
13703
0
}
13704
13705
5.58k
::google::protobuf::Metadata IsDeleteTableDoneRequestPB::GetMetadata() const {
13706
5.58k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
13707
5.58k
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
13708
5.58k
}
13709
13710
13711
// ===================================================================
13712
13713
15.8k
void IsDeleteTableDoneResponsePB::InitAsDefaultInstance() {
13714
15.8k
  ::yb::master::_IsDeleteTableDoneResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
13715
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
13716
15.8k
}
13717
0
void IsDeleteTableDoneResponsePB::clear_error() {
13718
0
  if (error_ != NULL) error_->Clear();
13719
0
  clear_has_error();
13720
0
}
13721
#if !defined(_MSC_VER) || _MSC_VER >= 1900
13722
const int IsDeleteTableDoneResponsePB::kErrorFieldNumber;
13723
const int IsDeleteTableDoneResponsePB::kDoneFieldNumber;
13724
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
13725
13726
IsDeleteTableDoneResponsePB::IsDeleteTableDoneResponsePB()
13727
27.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
13728
11.1k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
13729
11.1k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsDeleteTableDoneResponsePB();
13730
11.1k
  }
13731
27.0k
  SharedCtor();
13732
  // @@protoc_insertion_point(constructor:yb.master.IsDeleteTableDoneResponsePB)
13733
27.0k
}
13734
IsDeleteTableDoneResponsePB::IsDeleteTableDoneResponsePB(const IsDeleteTableDoneResponsePB& from)
13735
  : ::google::protobuf::Message(),
13736
      _internal_metadata_(NULL),
13737
      _has_bits_(from._has_bits_),
13738
0
      _cached_size_(0) {
13739
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
13740
0
  if (from.has_error()) {
13741
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
13742
0
  } else {
13743
0
    error_ = NULL;
13744
0
  }
13745
0
  done_ = from.done_;
13746
  // @@protoc_insertion_point(copy_constructor:yb.master.IsDeleteTableDoneResponsePB)
13747
0
}
13748
13749
27.0k
void IsDeleteTableDoneResponsePB::SharedCtor() {
13750
27.0k
  _cached_size_ = 0;
13751
27.0k
  ::memset(&error_, 0, static_cast<size_t>(
13752
27.0k
      reinterpret_cast<char*>(&done_) -
13753
27.0k
      reinterpret_cast<char*>(&error_)) + sizeof(done_));
13754
27.0k
}
13755
13756
11.1k
IsDeleteTableDoneResponsePB::~IsDeleteTableDoneResponsePB() {
13757
  // @@protoc_insertion_point(destructor:yb.master.IsDeleteTableDoneResponsePB)
13758
11.1k
  SharedDtor();
13759
11.1k
}
13760
13761
11.1k
void IsDeleteTableDoneResponsePB::SharedDtor() {
13762
11.1k
  if (this != internal_default_instance()) delete error_;
13763
11.1k
}
13764
13765
0
void IsDeleteTableDoneResponsePB::SetCachedSize(int size) const {
13766
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13767
0
  _cached_size_ = size;
13768
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
13769
0
}
13770
0
const ::google::protobuf::Descriptor* IsDeleteTableDoneResponsePB::descriptor() {
13771
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
13772
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
13773
0
}
13774
13775
0
const IsDeleteTableDoneResponsePB& IsDeleteTableDoneResponsePB::default_instance() {
13776
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsDeleteTableDoneResponsePB();
13777
0
  return *internal_default_instance();
13778
0
}
13779
13780
0
IsDeleteTableDoneResponsePB* IsDeleteTableDoneResponsePB::New(::google::protobuf::Arena* arena) const {
13781
0
  IsDeleteTableDoneResponsePB* n = new IsDeleteTableDoneResponsePB;
13782
0
  if (arena != NULL) {
13783
0
    arena->Own(n);
13784
0
  }
13785
0
  return n;
13786
0
}
13787
13788
5.58k
void IsDeleteTableDoneResponsePB::Clear() {
13789
// @@protoc_insertion_point(message_clear_start:yb.master.IsDeleteTableDoneResponsePB)
13790
5.58k
  ::google::protobuf::uint32 cached_has_bits = 0;
13791
  // Prevent compiler warnings about cached_has_bits being unused
13792
5.58k
  (void) cached_has_bits;
13793
13794
5.58k
  cached_has_bits = _has_bits_[0];
13795
5.58k
  if (cached_has_bits & 0x00000001u) {
13796
0
    GOOGLE_DCHECK(error_ != NULL);
13797
0
    error_->Clear();
13798
0
  }
13799
5.58k
  done_ = false;
13800
5.58k
  _has_bits_.Clear();
13801
5.58k
  _internal_metadata_.Clear();
13802
5.58k
}
13803
13804
bool IsDeleteTableDoneResponsePB::MergePartialFromCodedStream(
13805
5.58k
    ::google::protobuf::io::CodedInputStream* input) {
13806
5.58k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
13807
5.58k
  ::google::protobuf::uint32 tag;
13808
  // @@protoc_insertion_point(parse_start:yb.master.IsDeleteTableDoneResponsePB)
13809
11.1k
  for (;;) {
13810
11.1k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
13811
11.1k
    tag = p.first;
13812
11.1k
    if (!p.second) goto handle_unusual;
13813
5.58k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
13814
      // optional .yb.master.MasterErrorPB error = 1;
13815
104
      case 1: {
13816
104
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13817
104
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
13818
104
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
13819
104
               input, mutable_error()));
13820
0
        } else {
13821
0
          goto handle_unusual;
13822
0
        }
13823
104
        break;
13824
104
      }
13825
13826
      // optional bool done = 2;
13827
5.48k
      case 2: {
13828
5.48k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13829
5.48k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
13830
5.48k
          set_has_done();
13831
5.48k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
13832
5.48k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
13833
5.48k
                 input, &done_)));
13834
0
        } else {
13835
0
          goto handle_unusual;
13836
0
        }
13837
5.48k
        break;
13838
5.58k
      }
13839
13840
0
      default: {
13841
5.58k
      handle_unusual:
13842
5.58k
        if (tag == 0) {
13843
5.58k
          goto success;
13844
5.58k
        }
13845
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
13846
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
13847
0
        break;
13848
0
      }
13849
5.58k
    }
13850
5.58k
  }
13851
5.58k
success:
13852
  // @@protoc_insertion_point(parse_success:yb.master.IsDeleteTableDoneResponsePB)
13853
5.58k
  return true;
13854
0
failure:
13855
  // @@protoc_insertion_point(parse_failure:yb.master.IsDeleteTableDoneResponsePB)
13856
0
  return false;
13857
5.58k
#undef DO_
13858
5.58k
}
13859
13860
void IsDeleteTableDoneResponsePB::SerializeWithCachedSizes(
13861
0
    ::google::protobuf::io::CodedOutputStream* output) const {
13862
  // @@protoc_insertion_point(serialize_start:yb.master.IsDeleteTableDoneResponsePB)
13863
0
  ::google::protobuf::uint32 cached_has_bits = 0;
13864
0
  (void) cached_has_bits;
13865
13866
0
  cached_has_bits = _has_bits_[0];
13867
  // optional .yb.master.MasterErrorPB error = 1;
13868
0
  if (cached_has_bits & 0x00000001u) {
13869
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
13870
0
      1, *this->error_, output);
13871
0
  }
13872
13873
  // optional bool done = 2;
13874
0
  if (cached_has_bits & 0x00000002u) {
13875
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->done(), output);
13876
0
  }
13877
13878
0
  if (_internal_metadata_.have_unknown_fields()) {
13879
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
13880
0
        _internal_metadata_.unknown_fields(), output);
13881
0
  }
13882
  // @@protoc_insertion_point(serialize_end:yb.master.IsDeleteTableDoneResponsePB)
13883
0
}
13884
13885
::google::protobuf::uint8* IsDeleteTableDoneResponsePB::InternalSerializeWithCachedSizesToArray(
13886
5.58k
    bool deterministic, ::google::protobuf::uint8* target) const {
13887
5.58k
  (void)deterministic; // Unused
13888
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.IsDeleteTableDoneResponsePB)
13889
5.58k
  ::google::protobuf::uint32 cached_has_bits = 0;
13890
5.58k
  (void) cached_has_bits;
13891
13892
5.58k
  cached_has_bits = _has_bits_[0];
13893
  // optional .yb.master.MasterErrorPB error = 1;
13894
5.58k
  if (cached_has_bits & 0x00000001u) {
13895
104
    target = ::google::protobuf::internal::WireFormatLite::
13896
104
      InternalWriteMessageToArray(
13897
104
        1, *this->error_, deterministic, target);
13898
104
  }
13899
13900
  // optional bool done = 2;
13901
5.58k
  if (cached_has_bits & 0x00000002u) {
13902
5.48k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->done(), target);
13903
5.48k
  }
13904
13905
5.58k
  if (_internal_metadata_.have_unknown_fields()) {
13906
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
13907
0
        _internal_metadata_.unknown_fields(), target);
13908
0
  }
13909
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.IsDeleteTableDoneResponsePB)
13910
5.58k
  return target;
13911
5.58k
}
13912
13913
11.1k
size_t IsDeleteTableDoneResponsePB::ByteSizeLong() const {
13914
// @@protoc_insertion_point(message_byte_size_start:yb.master.IsDeleteTableDoneResponsePB)
13915
11.1k
  size_t total_size = 0;
13916
13917
11.1k
  if (_internal_metadata_.have_unknown_fields()) {
13918
0
    total_size +=
13919
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
13920
0
        _internal_metadata_.unknown_fields());
13921
0
  }
13922
11.1k
  if (_has_bits_[0 / 32] & 3u) {
13923
    // optional .yb.master.MasterErrorPB error = 1;
13924
11.1k
    if (has_error()) {
13925
208
      total_size += 1 +
13926
208
        ::google::protobuf::internal::WireFormatLite::MessageSize(
13927
208
          *this->error_);
13928
208
    }
13929
13930
    // optional bool done = 2;
13931
11.1k
    if (has_done()) {
13932
10.9k
      total_size += 1 + 1;
13933
10.9k
    }
13934
13935
11.1k
  }
13936
11.1k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
13937
11.1k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13938
11.1k
  _cached_size_ = cached_size;
13939
11.1k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
13940
11.1k
  return total_size;
13941
11.1k
}
13942
13943
0
void IsDeleteTableDoneResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
13944
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.IsDeleteTableDoneResponsePB)
13945
0
  GOOGLE_DCHECK_NE(&from, this);
13946
0
  const IsDeleteTableDoneResponsePB* source =
13947
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsDeleteTableDoneResponsePB>(
13948
0
          &from);
13949
0
  if (source == NULL) {
13950
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.IsDeleteTableDoneResponsePB)
13951
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
13952
0
  } else {
13953
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.IsDeleteTableDoneResponsePB)
13954
0
    MergeFrom(*source);
13955
0
  }
13956
0
}
13957
13958
0
void IsDeleteTableDoneResponsePB::MergeFrom(const IsDeleteTableDoneResponsePB& from) {
13959
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.IsDeleteTableDoneResponsePB)
13960
0
  GOOGLE_DCHECK_NE(&from, this);
13961
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
13962
0
  ::google::protobuf::uint32 cached_has_bits = 0;
13963
0
  (void) cached_has_bits;
13964
13965
0
  cached_has_bits = from._has_bits_[0];
13966
0
  if (cached_has_bits & 3u) {
13967
0
    if (cached_has_bits & 0x00000001u) {
13968
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
13969
0
    }
13970
0
    if (cached_has_bits & 0x00000002u) {
13971
0
      done_ = from.done_;
13972
0
    }
13973
0
    _has_bits_[0] |= cached_has_bits;
13974
0
  }
13975
0
}
13976
13977
0
void IsDeleteTableDoneResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
13978
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.IsDeleteTableDoneResponsePB)
13979
0
  if (&from == this) return;
13980
0
  Clear();
13981
0
  MergeFrom(from);
13982
0
}
13983
13984
0
void IsDeleteTableDoneResponsePB::CopyFrom(const IsDeleteTableDoneResponsePB& from) {
13985
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.IsDeleteTableDoneResponsePB)
13986
0
  if (&from == this) return;
13987
0
  Clear();
13988
0
  MergeFrom(from);
13989
0
}
13990
13991
11.1k
bool IsDeleteTableDoneResponsePB::IsInitialized() const {
13992
11.1k
  if (has_error()) {
13993
208
    if (!this->error_->IsInitialized()) return false;
13994
11.1k
  }
13995
11.1k
  return true;
13996
11.1k
}
13997
13998
0
void IsDeleteTableDoneResponsePB::Swap(IsDeleteTableDoneResponsePB* other) {
13999
0
  if (other == this) return;
14000
0
  InternalSwap(other);
14001
0
}
14002
0
void IsDeleteTableDoneResponsePB::InternalSwap(IsDeleteTableDoneResponsePB* other) {
14003
0
  using std::swap;
14004
0
  swap(error_, other->error_);
14005
0
  swap(done_, other->done_);
14006
0
  swap(_has_bits_[0], other->_has_bits_[0]);
14007
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
14008
0
  swap(_cached_size_, other->_cached_size_);
14009
0
}
14010
14011
0
::google::protobuf::Metadata IsDeleteTableDoneResponsePB::GetMetadata() const {
14012
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
14013
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
14014
0
}
14015
14016
14017
// ===================================================================
14018
14019
15.8k
void AlterTableRequestPB_AddColumn::InitAsDefaultInstance() {
14020
15.8k
  ::yb::master::_AlterTableRequestPB_AddColumn_default_instance_._instance.get_mutable()->schema_ = const_cast< ::yb::ColumnSchemaPB*>(
14021
15.8k
      ::yb::ColumnSchemaPB::internal_default_instance());
14022
15.8k
}
14023
0
void AlterTableRequestPB_AddColumn::clear_schema() {
14024
0
  if (schema_ != NULL) schema_->Clear();
14025
0
  clear_has_schema();
14026
0
}
14027
#if !defined(_MSC_VER) || _MSC_VER >= 1900
14028
const int AlterTableRequestPB_AddColumn::kSchemaFieldNumber;
14029
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
14030
14031
AlterTableRequestPB_AddColumn::AlterTableRequestPB_AddColumn()
14032
16.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
14033
347
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
14034
347
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterTableRequestPB_AddColumn();
14035
347
  }
14036
16.1k
  SharedCtor();
14037
  // @@protoc_insertion_point(constructor:yb.master.AlterTableRequestPB.AddColumn)
14038
16.1k
}
14039
AlterTableRequestPB_AddColumn::AlterTableRequestPB_AddColumn(const AlterTableRequestPB_AddColumn& from)
14040
  : ::google::protobuf::Message(),
14041
      _internal_metadata_(NULL),
14042
      _has_bits_(from._has_bits_),
14043
0
      _cached_size_(0) {
14044
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
14045
0
  if (from.has_schema()) {
14046
0
    schema_ = new ::yb::ColumnSchemaPB(*from.schema_);
14047
0
  } else {
14048
0
    schema_ = NULL;
14049
0
  }
14050
  // @@protoc_insertion_point(copy_constructor:yb.master.AlterTableRequestPB.AddColumn)
14051
0
}
14052
14053
16.1k
void AlterTableRequestPB_AddColumn::SharedCtor() {
14054
16.1k
  _cached_size_ = 0;
14055
16.1k
  schema_ = NULL;
14056
16.1k
}
14057
14058
347
AlterTableRequestPB_AddColumn::~AlterTableRequestPB_AddColumn() {
14059
  // @@protoc_insertion_point(destructor:yb.master.AlterTableRequestPB.AddColumn)
14060
347
  SharedDtor();
14061
347
}
14062
14063
347
void AlterTableRequestPB_AddColumn::SharedDtor() {
14064
347
  if (this != internal_default_instance()) delete schema_;
14065
347
}
14066
14067
0
void AlterTableRequestPB_AddColumn::SetCachedSize(int size) const {
14068
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14069
0
  _cached_size_ = size;
14070
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
14071
0
}
14072
0
const ::google::protobuf::Descriptor* AlterTableRequestPB_AddColumn::descriptor() {
14073
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
14074
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
14075
0
}
14076
14077
0
const AlterTableRequestPB_AddColumn& AlterTableRequestPB_AddColumn::default_instance() {
14078
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterTableRequestPB_AddColumn();
14079
0
  return *internal_default_instance();
14080
0
}
14081
14082
0
AlterTableRequestPB_AddColumn* AlterTableRequestPB_AddColumn::New(::google::protobuf::Arena* arena) const {
14083
0
  AlterTableRequestPB_AddColumn* n = new AlterTableRequestPB_AddColumn;
14084
0
  if (arena != NULL) {
14085
0
    arena->Own(n);
14086
0
  }
14087
0
  return n;
14088
0
}
14089
14090
0
void AlterTableRequestPB_AddColumn::Clear() {
14091
// @@protoc_insertion_point(message_clear_start:yb.master.AlterTableRequestPB.AddColumn)
14092
0
  ::google::protobuf::uint32 cached_has_bits = 0;
14093
  // Prevent compiler warnings about cached_has_bits being unused
14094
0
  (void) cached_has_bits;
14095
14096
0
  cached_has_bits = _has_bits_[0];
14097
0
  if (cached_has_bits & 0x00000001u) {
14098
0
    GOOGLE_DCHECK(schema_ != NULL);
14099
0
    schema_->Clear();
14100
0
  }
14101
0
  _has_bits_.Clear();
14102
0
  _internal_metadata_.Clear();
14103
0
}
14104
14105
bool AlterTableRequestPB_AddColumn::MergePartialFromCodedStream(
14106
174
    ::google::protobuf::io::CodedInputStream* input) {
14107
174
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
14108
174
  ::google::protobuf::uint32 tag;
14109
  // @@protoc_insertion_point(parse_start:yb.master.AlterTableRequestPB.AddColumn)
14110
348
  for (;;) {
14111
348
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
14112
348
    tag = p.first;
14113
348
    if (!p.second) goto handle_unusual;
14114
174
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
14115
      // required .yb.ColumnSchemaPB schema = 1;
14116
174
      case 1: {
14117
174
        if (static_cast< ::google::protobuf::uint8>(tag) ==
14118
174
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
14119
174
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
14120
174
               input, mutable_schema()));
14121
0
        } else {
14122
0
          goto handle_unusual;
14123
0
        }
14124
174
        break;
14125
174
      }
14126
14127
0
      default: {
14128
174
      handle_unusual:
14129
174
        if (tag == 0) {
14130
174
          goto success;
14131
174
        }
14132
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
14133
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
14134
0
        break;
14135
0
      }
14136
174
    }
14137
174
  }
14138
174
success:
14139
  // @@protoc_insertion_point(parse_success:yb.master.AlterTableRequestPB.AddColumn)
14140
174
  return true;
14141
0
failure:
14142
  // @@protoc_insertion_point(parse_failure:yb.master.AlterTableRequestPB.AddColumn)
14143
0
  return false;
14144
174
#undef DO_
14145
174
}
14146
14147
void AlterTableRequestPB_AddColumn::SerializeWithCachedSizes(
14148
0
    ::google::protobuf::io::CodedOutputStream* output) const {
14149
  // @@protoc_insertion_point(serialize_start:yb.master.AlterTableRequestPB.AddColumn)
14150
0
  ::google::protobuf::uint32 cached_has_bits = 0;
14151
0
  (void) cached_has_bits;
14152
14153
0
  cached_has_bits = _has_bits_[0];
14154
  // required .yb.ColumnSchemaPB schema = 1;
14155
0
  if (cached_has_bits & 0x00000001u) {
14156
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
14157
0
      1, *this->schema_, output);
14158
0
  }
14159
14160
0
  if (_internal_metadata_.have_unknown_fields()) {
14161
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
14162
0
        _internal_metadata_.unknown_fields(), output);
14163
0
  }
14164
  // @@protoc_insertion_point(serialize_end:yb.master.AlterTableRequestPB.AddColumn)
14165
0
}
14166
14167
::google::protobuf::uint8* AlterTableRequestPB_AddColumn::InternalSerializeWithCachedSizesToArray(
14168
174
    bool deterministic, ::google::protobuf::uint8* target) const {
14169
174
  (void)deterministic; // Unused
14170
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.AlterTableRequestPB.AddColumn)
14171
174
  ::google::protobuf::uint32 cached_has_bits = 0;
14172
174
  (void) cached_has_bits;
14173
14174
174
  cached_has_bits = _has_bits_[0];
14175
  // required .yb.ColumnSchemaPB schema = 1;
14176
174
  if (cached_has_bits & 0x00000001u) {
14177
174
    target = ::google::protobuf::internal::WireFormatLite::
14178
174
      InternalWriteMessageToArray(
14179
174
        1, *this->schema_, deterministic, target);
14180
174
  }
14181
14182
174
  if (_internal_metadata_.have_unknown_fields()) {
14183
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
14184
0
        _internal_metadata_.unknown_fields(), target);
14185
0
  }
14186
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.AlterTableRequestPB.AddColumn)
14187
174
  return target;
14188
174
}
14189
14190
348
size_t AlterTableRequestPB_AddColumn::ByteSizeLong() const {
14191
// @@protoc_insertion_point(message_byte_size_start:yb.master.AlterTableRequestPB.AddColumn)
14192
348
  size_t total_size = 0;
14193
14194
348
  if (_internal_metadata_.have_unknown_fields()) {
14195
0
    total_size +=
14196
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
14197
0
        _internal_metadata_.unknown_fields());
14198
0
  }
14199
  // required .yb.ColumnSchemaPB schema = 1;
14200
348
  if (has_schema()) {
14201
348
    total_size += 1 +
14202
348
      ::google::protobuf::internal::WireFormatLite::MessageSize(
14203
348
        *this->schema_);
14204
348
  }
14205
348
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
14206
348
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14207
348
  _cached_size_ = cached_size;
14208
348
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
14209
348
  return total_size;
14210
348
}
14211
14212
0
void AlterTableRequestPB_AddColumn::MergeFrom(const ::google::protobuf::Message& from) {
14213
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.AlterTableRequestPB.AddColumn)
14214
0
  GOOGLE_DCHECK_NE(&from, this);
14215
0
  const AlterTableRequestPB_AddColumn* source =
14216
0
      ::google::protobuf::internal::DynamicCastToGenerated<const AlterTableRequestPB_AddColumn>(
14217
0
          &from);
14218
0
  if (source == NULL) {
14219
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.AlterTableRequestPB.AddColumn)
14220
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
14221
0
  } else {
14222
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.AlterTableRequestPB.AddColumn)
14223
0
    MergeFrom(*source);
14224
0
  }
14225
0
}
14226
14227
0
void AlterTableRequestPB_AddColumn::MergeFrom(const AlterTableRequestPB_AddColumn& from) {
14228
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.AlterTableRequestPB.AddColumn)
14229
0
  GOOGLE_DCHECK_NE(&from, this);
14230
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
14231
0
  ::google::protobuf::uint32 cached_has_bits = 0;
14232
0
  (void) cached_has_bits;
14233
14234
0
  if (from.has_schema()) {
14235
0
    mutable_schema()->::yb::ColumnSchemaPB::MergeFrom(from.schema());
14236
0
  }
14237
0
}
14238
14239
0
void AlterTableRequestPB_AddColumn::CopyFrom(const ::google::protobuf::Message& from) {
14240
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.AlterTableRequestPB.AddColumn)
14241
0
  if (&from == this) return;
14242
0
  Clear();
14243
0
  MergeFrom(from);
14244
0
}
14245
14246
0
void AlterTableRequestPB_AddColumn::CopyFrom(const AlterTableRequestPB_AddColumn& from) {
14247
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.AlterTableRequestPB.AddColumn)
14248
0
  if (&from == this) return;
14249
0
  Clear();
14250
0
  MergeFrom(from);
14251
0
}
14252
14253
348
bool AlterTableRequestPB_AddColumn::IsInitialized() const {
14254
348
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
14255
348
  if (has_schema()) {
14256
348
    if (!this->schema_->IsInitialized()) return false;
14257
348
  }
14258
348
  return true;
14259
348
}
14260
14261
0
void AlterTableRequestPB_AddColumn::Swap(AlterTableRequestPB_AddColumn* other) {
14262
0
  if (other == this) return;
14263
0
  InternalSwap(other);
14264
0
}
14265
0
void AlterTableRequestPB_AddColumn::InternalSwap(AlterTableRequestPB_AddColumn* other) {
14266
0
  using std::swap;
14267
0
  swap(schema_, other->schema_);
14268
0
  swap(_has_bits_[0], other->_has_bits_[0]);
14269
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
14270
0
  swap(_cached_size_, other->_cached_size_);
14271
0
}
14272
14273
520
::google::protobuf::Metadata AlterTableRequestPB_AddColumn::GetMetadata() const {
14274
520
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
14275
520
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
14276
520
}
14277
14278
14279
// ===================================================================
14280
14281
15.8k
void AlterTableRequestPB_DropColumn::InitAsDefaultInstance() {
14282
15.8k
}
14283
#if !defined(_MSC_VER) || _MSC_VER >= 1900
14284
const int AlterTableRequestPB_DropColumn::kNameFieldNumber;
14285
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
14286
14287
AlterTableRequestPB_DropColumn::AlterTableRequestPB_DropColumn()
14288
16.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
14289
192
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
14290
192
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterTableRequestPB_DropColumn();
14291
192
  }
14292
16.0k
  SharedCtor();
14293
  // @@protoc_insertion_point(constructor:yb.master.AlterTableRequestPB.DropColumn)
14294
16.0k
}
14295
AlterTableRequestPB_DropColumn::AlterTableRequestPB_DropColumn(const AlterTableRequestPB_DropColumn& from)
14296
  : ::google::protobuf::Message(),
14297
      _internal_metadata_(NULL),
14298
      _has_bits_(from._has_bits_),
14299
0
      _cached_size_(0) {
14300
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
14301
0
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14302
0
  if (from.has_name()) {
14303
0
    name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
14304
0
  }
14305
  // @@protoc_insertion_point(copy_constructor:yb.master.AlterTableRequestPB.DropColumn)
14306
0
}
14307
14308
16.0k
void AlterTableRequestPB_DropColumn::SharedCtor() {
14309
16.0k
  _cached_size_ = 0;
14310
16.0k
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14311
16.0k
}
14312
14313
192
AlterTableRequestPB_DropColumn::~AlterTableRequestPB_DropColumn() {
14314
  // @@protoc_insertion_point(destructor:yb.master.AlterTableRequestPB.DropColumn)
14315
192
  SharedDtor();
14316
192
}
14317
14318
192
void AlterTableRequestPB_DropColumn::SharedDtor() {
14319
192
  name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14320
192
}
14321
14322
0
void AlterTableRequestPB_DropColumn::SetCachedSize(int size) const {
14323
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14324
0
  _cached_size_ = size;
14325
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
14326
0
}
14327
0
const ::google::protobuf::Descriptor* AlterTableRequestPB_DropColumn::descriptor() {
14328
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
14329
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
14330
0
}
14331
14332
0
const AlterTableRequestPB_DropColumn& AlterTableRequestPB_DropColumn::default_instance() {
14333
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterTableRequestPB_DropColumn();
14334
0
  return *internal_default_instance();
14335
0
}
14336
14337
0
AlterTableRequestPB_DropColumn* AlterTableRequestPB_DropColumn::New(::google::protobuf::Arena* arena) const {
14338
0
  AlterTableRequestPB_DropColumn* n = new AlterTableRequestPB_DropColumn;
14339
0
  if (arena != NULL) {
14340
0
    arena->Own(n);
14341
0
  }
14342
0
  return n;
14343
0
}
14344
14345
0
void AlterTableRequestPB_DropColumn::Clear() {
14346
// @@protoc_insertion_point(message_clear_start:yb.master.AlterTableRequestPB.DropColumn)
14347
0
  ::google::protobuf::uint32 cached_has_bits = 0;
14348
  // Prevent compiler warnings about cached_has_bits being unused
14349
0
  (void) cached_has_bits;
14350
14351
0
  cached_has_bits = _has_bits_[0];
14352
0
  if (cached_has_bits & 0x00000001u) {
14353
0
    GOOGLE_DCHECK(!name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
14354
0
    (*name_.UnsafeRawStringPointer())->clear();
14355
0
  }
14356
0
  _has_bits_.Clear();
14357
0
  _internal_metadata_.Clear();
14358
0
}
14359
14360
bool AlterTableRequestPB_DropColumn::MergePartialFromCodedStream(
14361
96
    ::google::protobuf::io::CodedInputStream* input) {
14362
96
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
14363
96
  ::google::protobuf::uint32 tag;
14364
  // @@protoc_insertion_point(parse_start:yb.master.AlterTableRequestPB.DropColumn)
14365
192
  for (;;) {
14366
192
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
14367
192
    tag = p.first;
14368
192
    if (!p.second) goto handle_unusual;
14369
96
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
14370
      // required string name = 1;
14371
96
      case 1: {
14372
96
        if (static_cast< ::google::protobuf::uint8>(tag) ==
14373
96
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
14374
96
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
14375
96
                input, this->mutable_name()));
14376
96
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14377
96
            this->name().data(), static_cast<int>(this->name().length()),
14378
96
            ::google::protobuf::internal::WireFormat::PARSE,
14379
96
            "yb.master.AlterTableRequestPB.DropColumn.name");
14380
0
        } else {
14381
0
          goto handle_unusual;
14382
0
        }
14383
96
        break;
14384
96
      }
14385
14386
0
      default: {
14387
96
      handle_unusual:
14388
96
        if (tag == 0) {
14389
96
          goto success;
14390
96
        }
14391
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
14392
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
14393
0
        break;
14394
0
      }
14395
96
    }
14396
96
  }
14397
96
success:
14398
  // @@protoc_insertion_point(parse_success:yb.master.AlterTableRequestPB.DropColumn)
14399
96
  return true;
14400
0
failure:
14401
  // @@protoc_insertion_point(parse_failure:yb.master.AlterTableRequestPB.DropColumn)
14402
0
  return false;
14403
96
#undef DO_
14404
96
}
14405
14406
void AlterTableRequestPB_DropColumn::SerializeWithCachedSizes(
14407
0
    ::google::protobuf::io::CodedOutputStream* output) const {
14408
  // @@protoc_insertion_point(serialize_start:yb.master.AlterTableRequestPB.DropColumn)
14409
0
  ::google::protobuf::uint32 cached_has_bits = 0;
14410
0
  (void) cached_has_bits;
14411
14412
0
  cached_has_bits = _has_bits_[0];
14413
  // required string name = 1;
14414
0
  if (cached_has_bits & 0x00000001u) {
14415
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14416
0
      this->name().data(), static_cast<int>(this->name().length()),
14417
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
14418
0
      "yb.master.AlterTableRequestPB.DropColumn.name");
14419
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
14420
0
      1, this->name(), output);
14421
0
  }
14422
14423
0
  if (_internal_metadata_.have_unknown_fields()) {
14424
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
14425
0
        _internal_metadata_.unknown_fields(), output);
14426
0
  }
14427
  // @@protoc_insertion_point(serialize_end:yb.master.AlterTableRequestPB.DropColumn)
14428
0
}
14429
14430
::google::protobuf::uint8* AlterTableRequestPB_DropColumn::InternalSerializeWithCachedSizesToArray(
14431
96
    bool deterministic, ::google::protobuf::uint8* target) const {
14432
96
  (void)deterministic; // Unused
14433
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.AlterTableRequestPB.DropColumn)
14434
96
  ::google::protobuf::uint32 cached_has_bits = 0;
14435
96
  (void) cached_has_bits;
14436
14437
96
  cached_has_bits = _has_bits_[0];
14438
  // required string name = 1;
14439
96
  if (cached_has_bits & 0x00000001u) {
14440
96
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14441
96
      this->name().data(), static_cast<int>(this->name().length()),
14442
96
      ::google::protobuf::internal::WireFormat::SERIALIZE,
14443
96
      "yb.master.AlterTableRequestPB.DropColumn.name");
14444
96
    target =
14445
96
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
14446
96
        1, this->name(), target);
14447
96
  }
14448
14449
96
  if (_internal_metadata_.have_unknown_fields()) {
14450
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
14451
0
        _internal_metadata_.unknown_fields(), target);
14452
0
  }
14453
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.AlterTableRequestPB.DropColumn)
14454
96
  return target;
14455
96
}
14456
14457
192
size_t AlterTableRequestPB_DropColumn::ByteSizeLong() const {
14458
// @@protoc_insertion_point(message_byte_size_start:yb.master.AlterTableRequestPB.DropColumn)
14459
192
  size_t total_size = 0;
14460
14461
192
  if (_internal_metadata_.have_unknown_fields()) {
14462
0
    total_size +=
14463
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
14464
0
        _internal_metadata_.unknown_fields());
14465
0
  }
14466
  // required string name = 1;
14467
192
  if (has_name()) {
14468
192
    total_size += 1 +
14469
192
      ::google::protobuf::internal::WireFormatLite::StringSize(
14470
192
        this->name());
14471
192
  }
14472
192
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
14473
192
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14474
192
  _cached_size_ = cached_size;
14475
192
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
14476
192
  return total_size;
14477
192
}
14478
14479
0
void AlterTableRequestPB_DropColumn::MergeFrom(const ::google::protobuf::Message& from) {
14480
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.AlterTableRequestPB.DropColumn)
14481
0
  GOOGLE_DCHECK_NE(&from, this);
14482
0
  const AlterTableRequestPB_DropColumn* source =
14483
0
      ::google::protobuf::internal::DynamicCastToGenerated<const AlterTableRequestPB_DropColumn>(
14484
0
          &from);
14485
0
  if (source == NULL) {
14486
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.AlterTableRequestPB.DropColumn)
14487
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
14488
0
  } else {
14489
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.AlterTableRequestPB.DropColumn)
14490
0
    MergeFrom(*source);
14491
0
  }
14492
0
}
14493
14494
0
void AlterTableRequestPB_DropColumn::MergeFrom(const AlterTableRequestPB_DropColumn& from) {
14495
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.AlterTableRequestPB.DropColumn)
14496
0
  GOOGLE_DCHECK_NE(&from, this);
14497
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
14498
0
  ::google::protobuf::uint32 cached_has_bits = 0;
14499
0
  (void) cached_has_bits;
14500
14501
0
  if (from.has_name()) {
14502
0
    set_has_name();
14503
0
    name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
14504
0
  }
14505
0
}
14506
14507
0
void AlterTableRequestPB_DropColumn::CopyFrom(const ::google::protobuf::Message& from) {
14508
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.AlterTableRequestPB.DropColumn)
14509
0
  if (&from == this) return;
14510
0
  Clear();
14511
0
  MergeFrom(from);
14512
0
}
14513
14514
0
void AlterTableRequestPB_DropColumn::CopyFrom(const AlterTableRequestPB_DropColumn& from) {
14515
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.AlterTableRequestPB.DropColumn)
14516
0
  if (&from == this) return;
14517
0
  Clear();
14518
0
  MergeFrom(from);
14519
0
}
14520
14521
192
bool AlterTableRequestPB_DropColumn::IsInitialized() const {
14522
192
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
14523
192
  return true;
14524
192
}
14525
14526
0
void AlterTableRequestPB_DropColumn::Swap(AlterTableRequestPB_DropColumn* other) {
14527
0
  if (other == this) return;
14528
0
  InternalSwap(other);
14529
0
}
14530
0
void AlterTableRequestPB_DropColumn::InternalSwap(AlterTableRequestPB_DropColumn* other) {
14531
0
  using std::swap;
14532
0
  name_.Swap(&other->name_);
14533
0
  swap(_has_bits_[0], other->_has_bits_[0]);
14534
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
14535
0
  swap(_cached_size_, other->_cached_size_);
14536
0
}
14537
14538
288
::google::protobuf::Metadata AlterTableRequestPB_DropColumn::GetMetadata() const {
14539
288
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
14540
288
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
14541
288
}
14542
14543
14544
// ===================================================================
14545
14546
15.8k
void AlterTableRequestPB_RenameColumn::InitAsDefaultInstance() {
14547
15.8k
}
14548
#if !defined(_MSC_VER) || _MSC_VER >= 1900
14549
const int AlterTableRequestPB_RenameColumn::kOldNameFieldNumber;
14550
const int AlterTableRequestPB_RenameColumn::kNewNameFieldNumber;
14551
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
14552
14553
AlterTableRequestPB_RenameColumn::AlterTableRequestPB_RenameColumn()
14554
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
14555
30
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
14556
30
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterTableRequestPB_RenameColumn();
14557
30
  }
14558
15.8k
  SharedCtor();
14559
  // @@protoc_insertion_point(constructor:yb.master.AlterTableRequestPB.RenameColumn)
14560
15.8k
}
14561
AlterTableRequestPB_RenameColumn::AlterTableRequestPB_RenameColumn(const AlterTableRequestPB_RenameColumn& from)
14562
  : ::google::protobuf::Message(),
14563
      _internal_metadata_(NULL),
14564
      _has_bits_(from._has_bits_),
14565
0
      _cached_size_(0) {
14566
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
14567
0
  old_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14568
0
  if (from.has_old_name()) {
14569
0
    old_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.old_name_);
14570
0
  }
14571
0
  new_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14572
0
  if (from.has_new_name()) {
14573
0
    new_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.new_name_);
14574
0
  }
14575
  // @@protoc_insertion_point(copy_constructor:yb.master.AlterTableRequestPB.RenameColumn)
14576
0
}
14577
14578
15.8k
void AlterTableRequestPB_RenameColumn::SharedCtor() {
14579
15.8k
  _cached_size_ = 0;
14580
15.8k
  old_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14581
15.8k
  new_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14582
15.8k
}
14583
14584
30
AlterTableRequestPB_RenameColumn::~AlterTableRequestPB_RenameColumn() {
14585
  // @@protoc_insertion_point(destructor:yb.master.AlterTableRequestPB.RenameColumn)
14586
30
  SharedDtor();
14587
30
}
14588
14589
30
void AlterTableRequestPB_RenameColumn::SharedDtor() {
14590
30
  old_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14591
30
  new_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14592
30
}
14593
14594
0
void AlterTableRequestPB_RenameColumn::SetCachedSize(int size) const {
14595
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14596
0
  _cached_size_ = size;
14597
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
14598
0
}
14599
0
const ::google::protobuf::Descriptor* AlterTableRequestPB_RenameColumn::descriptor() {
14600
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
14601
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
14602
0
}
14603
14604
0
const AlterTableRequestPB_RenameColumn& AlterTableRequestPB_RenameColumn::default_instance() {
14605
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterTableRequestPB_RenameColumn();
14606
0
  return *internal_default_instance();
14607
0
}
14608
14609
0
AlterTableRequestPB_RenameColumn* AlterTableRequestPB_RenameColumn::New(::google::protobuf::Arena* arena) const {
14610
0
  AlterTableRequestPB_RenameColumn* n = new AlterTableRequestPB_RenameColumn;
14611
0
  if (arena != NULL) {
14612
0
    arena->Own(n);
14613
0
  }
14614
0
  return n;
14615
0
}
14616
14617
0
void AlterTableRequestPB_RenameColumn::Clear() {
14618
// @@protoc_insertion_point(message_clear_start:yb.master.AlterTableRequestPB.RenameColumn)
14619
0
  ::google::protobuf::uint32 cached_has_bits = 0;
14620
  // Prevent compiler warnings about cached_has_bits being unused
14621
0
  (void) cached_has_bits;
14622
14623
0
  cached_has_bits = _has_bits_[0];
14624
0
  if (cached_has_bits & 3u) {
14625
0
    if (cached_has_bits & 0x00000001u) {
14626
0
      GOOGLE_DCHECK(!old_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
14627
0
      (*old_name_.UnsafeRawStringPointer())->clear();
14628
0
    }
14629
0
    if (cached_has_bits & 0x00000002u) {
14630
0
      GOOGLE_DCHECK(!new_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
14631
0
      (*new_name_.UnsafeRawStringPointer())->clear();
14632
0
    }
14633
0
  }
14634
0
  _has_bits_.Clear();
14635
0
  _internal_metadata_.Clear();
14636
0
}
14637
14638
bool AlterTableRequestPB_RenameColumn::MergePartialFromCodedStream(
14639
15
    ::google::protobuf::io::CodedInputStream* input) {
14640
30
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
14641
15
  ::google::protobuf::uint32 tag;
14642
  // @@protoc_insertion_point(parse_start:yb.master.AlterTableRequestPB.RenameColumn)
14643
45
  for (;;) {
14644
45
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
14645
45
    tag = p.first;
14646
45
    if (!p.second) goto handle_unusual;
14647
30
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
14648
      // required string old_name = 1;
14649
15
      case 1: {
14650
15
        if (static_cast< ::google::protobuf::uint8>(tag) ==
14651
15
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
14652
15
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
14653
15
                input, this->mutable_old_name()));
14654
15
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14655
15
            this->old_name().data(), static_cast<int>(this->old_name().length()),
14656
15
            ::google::protobuf::internal::WireFormat::PARSE,
14657
15
            "yb.master.AlterTableRequestPB.RenameColumn.old_name");
14658
0
        } else {
14659
0
          goto handle_unusual;
14660
0
        }
14661
15
        break;
14662
15
      }
14663
14664
      // required string new_name = 2;
14665
15
      case 2: {
14666
15
        if (static_cast< ::google::protobuf::uint8>(tag) ==
14667
15
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
14668
15
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
14669
15
                input, this->mutable_new_name()));
14670
15
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14671
15
            this->new_name().data(), static_cast<int>(this->new_name().length()),
14672
15
            ::google::protobuf::internal::WireFormat::PARSE,
14673
15
            "yb.master.AlterTableRequestPB.RenameColumn.new_name");
14674
0
        } else {
14675
0
          goto handle_unusual;
14676
0
        }
14677
15
        break;
14678
15
      }
14679
14680
0
      default: {
14681
15
      handle_unusual:
14682
15
        if (tag == 0) {
14683
15
          goto success;
14684
15
        }
14685
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
14686
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
14687
0
        break;
14688
0
      }
14689
30
    }
14690
30
  }
14691
15
success:
14692
  // @@protoc_insertion_point(parse_success:yb.master.AlterTableRequestPB.RenameColumn)
14693
15
  return true;
14694
0
failure:
14695
  // @@protoc_insertion_point(parse_failure:yb.master.AlterTableRequestPB.RenameColumn)
14696
0
  return false;
14697
15
#undef DO_
14698
15
}
14699
14700
void AlterTableRequestPB_RenameColumn::SerializeWithCachedSizes(
14701
0
    ::google::protobuf::io::CodedOutputStream* output) const {
14702
  // @@protoc_insertion_point(serialize_start:yb.master.AlterTableRequestPB.RenameColumn)
14703
0
  ::google::protobuf::uint32 cached_has_bits = 0;
14704
0
  (void) cached_has_bits;
14705
14706
0
  cached_has_bits = _has_bits_[0];
14707
  // required string old_name = 1;
14708
0
  if (cached_has_bits & 0x00000001u) {
14709
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14710
0
      this->old_name().data(), static_cast<int>(this->old_name().length()),
14711
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
14712
0
      "yb.master.AlterTableRequestPB.RenameColumn.old_name");
14713
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
14714
0
      1, this->old_name(), output);
14715
0
  }
14716
14717
  // required string new_name = 2;
14718
0
  if (cached_has_bits & 0x00000002u) {
14719
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14720
0
      this->new_name().data(), static_cast<int>(this->new_name().length()),
14721
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
14722
0
      "yb.master.AlterTableRequestPB.RenameColumn.new_name");
14723
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
14724
0
      2, this->new_name(), output);
14725
0
  }
14726
14727
0
  if (_internal_metadata_.have_unknown_fields()) {
14728
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
14729
0
        _internal_metadata_.unknown_fields(), output);
14730
0
  }
14731
  // @@protoc_insertion_point(serialize_end:yb.master.AlterTableRequestPB.RenameColumn)
14732
0
}
14733
14734
::google::protobuf::uint8* AlterTableRequestPB_RenameColumn::InternalSerializeWithCachedSizesToArray(
14735
15
    bool deterministic, ::google::protobuf::uint8* target) const {
14736
15
  (void)deterministic; // Unused
14737
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.AlterTableRequestPB.RenameColumn)
14738
15
  ::google::protobuf::uint32 cached_has_bits = 0;
14739
15
  (void) cached_has_bits;
14740
14741
15
  cached_has_bits = _has_bits_[0];
14742
  // required string old_name = 1;
14743
15
  if (cached_has_bits & 0x00000001u) {
14744
15
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14745
15
      this->old_name().data(), static_cast<int>(this->old_name().length()),
14746
15
      ::google::protobuf::internal::WireFormat::SERIALIZE,
14747
15
      "yb.master.AlterTableRequestPB.RenameColumn.old_name");
14748
15
    target =
14749
15
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
14750
15
        1, this->old_name(), target);
14751
15
  }
14752
14753
  // required string new_name = 2;
14754
15
  if (cached_has_bits & 0x00000002u) {
14755
15
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14756
15
      this->new_name().data(), static_cast<int>(this->new_name().length()),
14757
15
      ::google::protobuf::internal::WireFormat::SERIALIZE,
14758
15
      "yb.master.AlterTableRequestPB.RenameColumn.new_name");
14759
15
    target =
14760
15
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
14761
15
        2, this->new_name(), target);
14762
15
  }
14763
14764
15
  if (_internal_metadata_.have_unknown_fields()) {
14765
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
14766
0
        _internal_metadata_.unknown_fields(), target);
14767
0
  }
14768
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.AlterTableRequestPB.RenameColumn)
14769
15
  return target;
14770
15
}
14771
14772
0
size_t AlterTableRequestPB_RenameColumn::RequiredFieldsByteSizeFallback() const {
14773
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:yb.master.AlterTableRequestPB.RenameColumn)
14774
0
  size_t total_size = 0;
14775
14776
0
  if (has_old_name()) {
14777
    // required string old_name = 1;
14778
0
    total_size += 1 +
14779
0
      ::google::protobuf::internal::WireFormatLite::StringSize(
14780
0
        this->old_name());
14781
0
  }
14782
14783
0
  if (has_new_name()) {
14784
    // required string new_name = 2;
14785
0
    total_size += 1 +
14786
0
      ::google::protobuf::internal::WireFormatLite::StringSize(
14787
0
        this->new_name());
14788
0
  }
14789
14790
0
  return total_size;
14791
0
}
14792
30
size_t AlterTableRequestPB_RenameColumn::ByteSizeLong() const {
14793
// @@protoc_insertion_point(message_byte_size_start:yb.master.AlterTableRequestPB.RenameColumn)
14794
30
  size_t total_size = 0;
14795
14796
30
  if (_internal_metadata_.have_unknown_fields()) {
14797
0
    total_size +=
14798
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
14799
0
        _internal_metadata_.unknown_fields());
14800
0
  }
14801
30
  if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) {  // All required fields are present.
14802
    // required string old_name = 1;
14803
30
    total_size += 1 +
14804
30
      ::google::protobuf::internal::WireFormatLite::StringSize(
14805
30
        this->old_name());
14806
14807
    // required string new_name = 2;
14808
30
    total_size += 1 +
14809
30
      ::google::protobuf::internal::WireFormatLite::StringSize(
14810
30
        this->new_name());
14811
14812
0
  } else {
14813
0
    total_size += RequiredFieldsByteSizeFallback();
14814
0
  }
14815
30
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
14816
30
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14817
30
  _cached_size_ = cached_size;
14818
30
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
14819
30
  return total_size;
14820
30
}
14821
14822
0
void AlterTableRequestPB_RenameColumn::MergeFrom(const ::google::protobuf::Message& from) {
14823
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.AlterTableRequestPB.RenameColumn)
14824
0
  GOOGLE_DCHECK_NE(&from, this);
14825
0
  const AlterTableRequestPB_RenameColumn* source =
14826
0
      ::google::protobuf::internal::DynamicCastToGenerated<const AlterTableRequestPB_RenameColumn>(
14827
0
          &from);
14828
0
  if (source == NULL) {
14829
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.AlterTableRequestPB.RenameColumn)
14830
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
14831
0
  } else {
14832
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.AlterTableRequestPB.RenameColumn)
14833
0
    MergeFrom(*source);
14834
0
  }
14835
0
}
14836
14837
0
void AlterTableRequestPB_RenameColumn::MergeFrom(const AlterTableRequestPB_RenameColumn& from) {
14838
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.AlterTableRequestPB.RenameColumn)
14839
0
  GOOGLE_DCHECK_NE(&from, this);
14840
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
14841
0
  ::google::protobuf::uint32 cached_has_bits = 0;
14842
0
  (void) cached_has_bits;
14843
14844
0
  cached_has_bits = from._has_bits_[0];
14845
0
  if (cached_has_bits & 3u) {
14846
0
    if (cached_has_bits & 0x00000001u) {
14847
0
      set_has_old_name();
14848
0
      old_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.old_name_);
14849
0
    }
14850
0
    if (cached_has_bits & 0x00000002u) {
14851
0
      set_has_new_name();
14852
0
      new_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.new_name_);
14853
0
    }
14854
0
  }
14855
0
}
14856
14857
0
void AlterTableRequestPB_RenameColumn::CopyFrom(const ::google::protobuf::Message& from) {
14858
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.AlterTableRequestPB.RenameColumn)
14859
0
  if (&from == this) return;
14860
0
  Clear();
14861
0
  MergeFrom(from);
14862
0
}
14863
14864
0
void AlterTableRequestPB_RenameColumn::CopyFrom(const AlterTableRequestPB_RenameColumn& from) {
14865
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.AlterTableRequestPB.RenameColumn)
14866
0
  if (&from == this) return;
14867
0
  Clear();
14868
0
  MergeFrom(from);
14869
0
}
14870
14871
30
bool AlterTableRequestPB_RenameColumn::IsInitialized() const {
14872
30
  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
14873
30
  return true;
14874
30
}
14875
14876
0
void AlterTableRequestPB_RenameColumn::Swap(AlterTableRequestPB_RenameColumn* other) {
14877
0
  if (other == this) return;
14878
0
  InternalSwap(other);
14879
0
}
14880
0
void AlterTableRequestPB_RenameColumn::InternalSwap(AlterTableRequestPB_RenameColumn* other) {
14881
0
  using std::swap;
14882
0
  old_name_.Swap(&other->old_name_);
14883
0
  new_name_.Swap(&other->new_name_);
14884
0
  swap(_has_bits_[0], other->_has_bits_[0]);
14885
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
14886
0
  swap(_cached_size_, other->_cached_size_);
14887
0
}
14888
14889
45
::google::protobuf::Metadata AlterTableRequestPB_RenameColumn::GetMetadata() const {
14890
45
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
14891
45
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
14892
45
}
14893
14894
14895
// ===================================================================
14896
14897
15.8k
void AlterTableRequestPB_Step::InitAsDefaultInstance() {
14898
15.8k
  ::yb::master::_AlterTableRequestPB_Step_default_instance_._instance.get_mutable()->add_column_ = const_cast< ::yb::master::AlterTableRequestPB_AddColumn*>(
14899
15.8k
      ::yb::master::AlterTableRequestPB_AddColumn::internal_default_instance());
14900
15.8k
  ::yb::master::_AlterTableRequestPB_Step_default_instance_._instance.get_mutable()->drop_column_ = const_cast< ::yb::master::AlterTableRequestPB_DropColumn*>(
14901
15.8k
      ::yb::master::AlterTableRequestPB_DropColumn::internal_default_instance());
14902
15.8k
  ::yb::master::_AlterTableRequestPB_Step_default_instance_._instance.get_mutable()->rename_column_ = const_cast< ::yb::master::AlterTableRequestPB_RenameColumn*>(
14903
15.8k
      ::yb::master::AlterTableRequestPB_RenameColumn::internal_default_instance());
14904
15.8k
}
14905
#if !defined(_MSC_VER) || _MSC_VER >= 1900
14906
const int AlterTableRequestPB_Step::kTypeFieldNumber;
14907
const int AlterTableRequestPB_Step::kAddColumnFieldNumber;
14908
const int AlterTableRequestPB_Step::kDropColumnFieldNumber;
14909
const int AlterTableRequestPB_Step::kRenameColumnFieldNumber;
14910
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
14911
14912
AlterTableRequestPB_Step::AlterTableRequestPB_Step()
14913
16.4k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
14914
569
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
14915
569
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterTableRequestPB_Step();
14916
569
  }
14917
16.4k
  SharedCtor();
14918
  // @@protoc_insertion_point(constructor:yb.master.AlterTableRequestPB.Step)
14919
16.4k
}
14920
AlterTableRequestPB_Step::AlterTableRequestPB_Step(const AlterTableRequestPB_Step& from)
14921
  : ::google::protobuf::Message(),
14922
      _internal_metadata_(NULL),
14923
      _has_bits_(from._has_bits_),
14924
0
      _cached_size_(0) {
14925
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
14926
0
  if (from.has_add_column()) {
14927
0
    add_column_ = new ::yb::master::AlterTableRequestPB_AddColumn(*from.add_column_);
14928
0
  } else {
14929
0
    add_column_ = NULL;
14930
0
  }
14931
0
  if (from.has_drop_column()) {
14932
0
    drop_column_ = new ::yb::master::AlterTableRequestPB_DropColumn(*from.drop_column_);
14933
0
  } else {
14934
0
    drop_column_ = NULL;
14935
0
  }
14936
0
  if (from.has_rename_column()) {
14937
0
    rename_column_ = new ::yb::master::AlterTableRequestPB_RenameColumn(*from.rename_column_);
14938
0
  } else {
14939
0
    rename_column_ = NULL;
14940
0
  }
14941
0
  type_ = from.type_;
14942
  // @@protoc_insertion_point(copy_constructor:yb.master.AlterTableRequestPB.Step)
14943
0
}
14944
14945
16.4k
void AlterTableRequestPB_Step::SharedCtor() {
14946
16.4k
  _cached_size_ = 0;
14947
16.4k
  ::memset(&add_column_, 0, static_cast<size_t>(
14948
16.4k
      reinterpret_cast<char*>(&type_) -
14949
16.4k
      reinterpret_cast<char*>(&add_column_)) + sizeof(type_));
14950
16.4k
}
14951
14952
569
AlterTableRequestPB_Step::~AlterTableRequestPB_Step() {
14953
  // @@protoc_insertion_point(destructor:yb.master.AlterTableRequestPB.Step)
14954
569
  SharedDtor();
14955
569
}
14956
14957
569
void AlterTableRequestPB_Step::SharedDtor() {
14958
569
  if (this != internal_default_instance()) delete add_column_;
14959
569
  if (this != internal_default_instance()) delete drop_column_;
14960
569
  if (this != internal_default_instance()) delete rename_column_;
14961
569
}
14962
14963
0
void AlterTableRequestPB_Step::SetCachedSize(int size) const {
14964
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14965
0
  _cached_size_ = size;
14966
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
14967
0
}
14968
0
const ::google::protobuf::Descriptor* AlterTableRequestPB_Step::descriptor() {
14969
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
14970
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
14971
0
}
14972
14973
0
const AlterTableRequestPB_Step& AlterTableRequestPB_Step::default_instance() {
14974
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterTableRequestPB_Step();
14975
0
  return *internal_default_instance();
14976
0
}
14977
14978
0
AlterTableRequestPB_Step* AlterTableRequestPB_Step::New(::google::protobuf::Arena* arena) const {
14979
0
  AlterTableRequestPB_Step* n = new AlterTableRequestPB_Step;
14980
0
  if (arena != NULL) {
14981
0
    arena->Own(n);
14982
0
  }
14983
0
  return n;
14984
0
}
14985
14986
0
void AlterTableRequestPB_Step::Clear() {
14987
// @@protoc_insertion_point(message_clear_start:yb.master.AlterTableRequestPB.Step)
14988
0
  ::google::protobuf::uint32 cached_has_bits = 0;
14989
  // Prevent compiler warnings about cached_has_bits being unused
14990
0
  (void) cached_has_bits;
14991
14992
0
  cached_has_bits = _has_bits_[0];
14993
0
  if (cached_has_bits & 7u) {
14994
0
    if (cached_has_bits & 0x00000001u) {
14995
0
      GOOGLE_DCHECK(add_column_ != NULL);
14996
0
      add_column_->Clear();
14997
0
    }
14998
0
    if (cached_has_bits & 0x00000002u) {
14999
0
      GOOGLE_DCHECK(drop_column_ != NULL);
15000
0
      drop_column_->Clear();
15001
0
    }
15002
0
    if (cached_has_bits & 0x00000004u) {
15003
0
      GOOGLE_DCHECK(rename_column_ != NULL);
15004
0
      rename_column_->Clear();
15005
0
    }
15006
0
  }
15007
0
  type_ = 0;
15008
0
  _has_bits_.Clear();
15009
0
  _internal_metadata_.Clear();
15010
0
}
15011
15012
bool AlterTableRequestPB_Step::MergePartialFromCodedStream(
15013
285
    ::google::protobuf::io::CodedInputStream* input) {
15014
570
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
15015
285
  ::google::protobuf::uint32 tag;
15016
  // @@protoc_insertion_point(parse_start:yb.master.AlterTableRequestPB.Step)
15017
855
  for (;;) {
15018
855
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
15019
855
    tag = p.first;
15020
855
    if (!p.second) goto handle_unusual;
15021
570
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
15022
      // optional .yb.master.AlterTableRequestPB.StepType type = 1 [default = UNKNOWN];
15023
285
      case 1: {
15024
285
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15025
285
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
15026
285
          int value;
15027
285
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15028
285
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
15029
285
                 input, &value)));
15030
285
          if (::yb::master::AlterTableRequestPB_StepType_IsValid(value)) {
15031
285
            set_type(static_cast< ::yb::master::AlterTableRequestPB_StepType >(value));
15032
0
          } else {
15033
0
            mutable_unknown_fields()->AddVarint(
15034
0
                1, static_cast< ::google::protobuf::uint64>(value));
15035
0
          }
15036
0
        } else {
15037
0
          goto handle_unusual;
15038
0
        }
15039
285
        break;
15040
285
      }
15041
15042
      // optional .yb.master.AlterTableRequestPB.AddColumn add_column = 2;
15043
174
      case 2: {
15044
174
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15045
174
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
15046
174
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
15047
174
               input, mutable_add_column()));
15048
0
        } else {
15049
0
          goto handle_unusual;
15050
0
        }
15051
174
        break;
15052
174
      }
15053
15054
      // optional .yb.master.AlterTableRequestPB.DropColumn drop_column = 3;
15055
96
      case 3: {
15056
96
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15057
96
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
15058
96
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
15059
96
               input, mutable_drop_column()));
15060
0
        } else {
15061
0
          goto handle_unusual;
15062
0
        }
15063
96
        break;
15064
96
      }
15065
15066
      // optional .yb.master.AlterTableRequestPB.RenameColumn rename_column = 4;
15067
15
      case 4: {
15068
15
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15069
15
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
15070
15
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
15071
15
               input, mutable_rename_column()));
15072
0
        } else {
15073
0
          goto handle_unusual;
15074
0
        }
15075
15
        break;
15076
285
      }
15077
15078
0
      default: {
15079
285
      handle_unusual:
15080
285
        if (tag == 0) {
15081
285
          goto success;
15082
285
        }
15083
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
15084
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
15085
0
        break;
15086
0
      }
15087
570
    }
15088
570
  }
15089
285
success:
15090
  // @@protoc_insertion_point(parse_success:yb.master.AlterTableRequestPB.Step)
15091
285
  return true;
15092
0
failure:
15093
  // @@protoc_insertion_point(parse_failure:yb.master.AlterTableRequestPB.Step)
15094
0
  return false;
15095
285
#undef DO_
15096
285
}
15097
15098
void AlterTableRequestPB_Step::SerializeWithCachedSizes(
15099
0
    ::google::protobuf::io::CodedOutputStream* output) const {
15100
  // @@protoc_insertion_point(serialize_start:yb.master.AlterTableRequestPB.Step)
15101
0
  ::google::protobuf::uint32 cached_has_bits = 0;
15102
0
  (void) cached_has_bits;
15103
15104
0
  cached_has_bits = _has_bits_[0];
15105
  // optional .yb.master.AlterTableRequestPB.StepType type = 1 [default = UNKNOWN];
15106
0
  if (cached_has_bits & 0x00000008u) {
15107
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
15108
0
      1, this->type(), output);
15109
0
  }
15110
15111
  // optional .yb.master.AlterTableRequestPB.AddColumn add_column = 2;
15112
0
  if (cached_has_bits & 0x00000001u) {
15113
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
15114
0
      2, *this->add_column_, output);
15115
0
  }
15116
15117
  // optional .yb.master.AlterTableRequestPB.DropColumn drop_column = 3;
15118
0
  if (cached_has_bits & 0x00000002u) {
15119
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
15120
0
      3, *this->drop_column_, output);
15121
0
  }
15122
15123
  // optional .yb.master.AlterTableRequestPB.RenameColumn rename_column = 4;
15124
0
  if (cached_has_bits & 0x00000004u) {
15125
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
15126
0
      4, *this->rename_column_, output);
15127
0
  }
15128
15129
0
  if (_internal_metadata_.have_unknown_fields()) {
15130
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
15131
0
        _internal_metadata_.unknown_fields(), output);
15132
0
  }
15133
  // @@protoc_insertion_point(serialize_end:yb.master.AlterTableRequestPB.Step)
15134
0
}
15135
15136
::google::protobuf::uint8* AlterTableRequestPB_Step::InternalSerializeWithCachedSizesToArray(
15137
285
    bool deterministic, ::google::protobuf::uint8* target) const {
15138
285
  (void)deterministic; // Unused
15139
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.AlterTableRequestPB.Step)
15140
285
  ::google::protobuf::uint32 cached_has_bits = 0;
15141
285
  (void) cached_has_bits;
15142
15143
285
  cached_has_bits = _has_bits_[0];
15144
  // optional .yb.master.AlterTableRequestPB.StepType type = 1 [default = UNKNOWN];
15145
285
  if (cached_has_bits & 0x00000008u) {
15146
285
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
15147
285
      1, this->type(), target);
15148
285
  }
15149
15150
  // optional .yb.master.AlterTableRequestPB.AddColumn add_column = 2;
15151
285
  if (cached_has_bits & 0x00000001u) {
15152
174
    target = ::google::protobuf::internal::WireFormatLite::
15153
174
      InternalWriteMessageToArray(
15154
174
        2, *this->add_column_, deterministic, target);
15155
174
  }
15156
15157
  // optional .yb.master.AlterTableRequestPB.DropColumn drop_column = 3;
15158
285
  if (cached_has_bits & 0x00000002u) {
15159
96
    target = ::google::protobuf::internal::WireFormatLite::
15160
96
      InternalWriteMessageToArray(
15161
96
        3, *this->drop_column_, deterministic, target);
15162
96
  }
15163
15164
  // optional .yb.master.AlterTableRequestPB.RenameColumn rename_column = 4;
15165
285
  if (cached_has_bits & 0x00000004u) {
15166
15
    target = ::google::protobuf::internal::WireFormatLite::
15167
15
      InternalWriteMessageToArray(
15168
15
        4, *this->rename_column_, deterministic, target);
15169
15
  }
15170
15171
285
  if (_internal_metadata_.have_unknown_fields()) {
15172
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
15173
0
        _internal_metadata_.unknown_fields(), target);
15174
0
  }
15175
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.AlterTableRequestPB.Step)
15176
285
  return target;
15177
285
}
15178
15179
570
size_t AlterTableRequestPB_Step::ByteSizeLong() const {
15180
// @@protoc_insertion_point(message_byte_size_start:yb.master.AlterTableRequestPB.Step)
15181
570
  size_t total_size = 0;
15182
15183
570
  if (_internal_metadata_.have_unknown_fields()) {
15184
0
    total_size +=
15185
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
15186
0
        _internal_metadata_.unknown_fields());
15187
0
  }
15188
570
  if (_has_bits_[0 / 32] & 15u) {
15189
    // optional .yb.master.AlterTableRequestPB.AddColumn add_column = 2;
15190
570
    if (has_add_column()) {
15191
348
      total_size += 1 +
15192
348
        ::google::protobuf::internal::WireFormatLite::MessageSize(
15193
348
          *this->add_column_);
15194
348
    }
15195
15196
    // optional .yb.master.AlterTableRequestPB.DropColumn drop_column = 3;
15197
570
    if (has_drop_column()) {
15198
192
      total_size += 1 +
15199
192
        ::google::protobuf::internal::WireFormatLite::MessageSize(
15200
192
          *this->drop_column_);
15201
192
    }
15202
15203
    // optional .yb.master.AlterTableRequestPB.RenameColumn rename_column = 4;
15204
570
    if (has_rename_column()) {
15205
30
      total_size += 1 +
15206
30
        ::google::protobuf::internal::WireFormatLite::MessageSize(
15207
30
          *this->rename_column_);
15208
30
    }
15209
15210
    // optional .yb.master.AlterTableRequestPB.StepType type = 1 [default = UNKNOWN];
15211
570
    if (has_type()) {
15212
570
      total_size += 1 +
15213
570
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->type());
15214
570
    }
15215
15216
570
  }
15217
570
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
15218
570
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
15219
570
  _cached_size_ = cached_size;
15220
570
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
15221
570
  return total_size;
15222
570
}
15223
15224
0
void AlterTableRequestPB_Step::MergeFrom(const ::google::protobuf::Message& from) {
15225
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.AlterTableRequestPB.Step)
15226
0
  GOOGLE_DCHECK_NE(&from, this);
15227
0
  const AlterTableRequestPB_Step* source =
15228
0
      ::google::protobuf::internal::DynamicCastToGenerated<const AlterTableRequestPB_Step>(
15229
0
          &from);
15230
0
  if (source == NULL) {
15231
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.AlterTableRequestPB.Step)
15232
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
15233
0
  } else {
15234
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.AlterTableRequestPB.Step)
15235
0
    MergeFrom(*source);
15236
0
  }
15237
0
}
15238
15239
0
void AlterTableRequestPB_Step::MergeFrom(const AlterTableRequestPB_Step& from) {
15240
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.AlterTableRequestPB.Step)
15241
0
  GOOGLE_DCHECK_NE(&from, this);
15242
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
15243
0
  ::google::protobuf::uint32 cached_has_bits = 0;
15244
0
  (void) cached_has_bits;
15245
15246
0
  cached_has_bits = from._has_bits_[0];
15247
0
  if (cached_has_bits & 15u) {
15248
0
    if (cached_has_bits & 0x00000001u) {
15249
0
      mutable_add_column()->::yb::master::AlterTableRequestPB_AddColumn::MergeFrom(from.add_column());
15250
0
    }
15251
0
    if (cached_has_bits & 0x00000002u) {
15252
0
      mutable_drop_column()->::yb::master::AlterTableRequestPB_DropColumn::MergeFrom(from.drop_column());
15253
0
    }
15254
0
    if (cached_has_bits & 0x00000004u) {
15255
0
      mutable_rename_column()->::yb::master::AlterTableRequestPB_RenameColumn::MergeFrom(from.rename_column());
15256
0
    }
15257
0
    if (cached_has_bits & 0x00000008u) {
15258
0
      type_ = from.type_;
15259
0
    }
15260
0
    _has_bits_[0] |= cached_has_bits;
15261
0
  }
15262
0
}
15263
15264
0
void AlterTableRequestPB_Step::CopyFrom(const ::google::protobuf::Message& from) {
15265
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.AlterTableRequestPB.Step)
15266
0
  if (&from == this) return;
15267
0
  Clear();
15268
0
  MergeFrom(from);
15269
0
}
15270
15271
0
void AlterTableRequestPB_Step::CopyFrom(const AlterTableRequestPB_Step& from) {
15272
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.AlterTableRequestPB.Step)
15273
0
  if (&from == this) return;
15274
0
  Clear();
15275
0
  MergeFrom(from);
15276
0
}
15277
15278
570
bool AlterTableRequestPB_Step::IsInitialized() const {
15279
570
  if (has_add_column()) {
15280
348
    if (!this->add_column_->IsInitialized()) return false;
15281
570
  }
15282
570
  if (has_drop_column()) {
15283
192
    if (!this->drop_column_->IsInitialized()) return false;
15284
570
  }
15285
570
  if (has_rename_column()) {
15286
30
    if (!this->rename_column_->IsInitialized()) return false;
15287
570
  }
15288
570
  return true;
15289
570
}
15290
15291
0
void AlterTableRequestPB_Step::Swap(AlterTableRequestPB_Step* other) {
15292
0
  if (other == this) return;
15293
0
  InternalSwap(other);
15294
0
}
15295
0
void AlterTableRequestPB_Step::InternalSwap(AlterTableRequestPB_Step* other) {
15296
0
  using std::swap;
15297
0
  swap(add_column_, other->add_column_);
15298
0
  swap(drop_column_, other->drop_column_);
15299
0
  swap(rename_column_, other->rename_column_);
15300
0
  swap(type_, other->type_);
15301
0
  swap(_has_bits_[0], other->_has_bits_[0]);
15302
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
15303
0
  swap(_cached_size_, other->_cached_size_);
15304
0
}
15305
15306
853
::google::protobuf::Metadata AlterTableRequestPB_Step::GetMetadata() const {
15307
853
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
15308
853
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
15309
853
}
15310
15311
15312
// ===================================================================
15313
15314
15.8k
void AlterTableRequestPB::InitAsDefaultInstance() {
15315
15.8k
  ::yb::master::_AlterTableRequestPB_default_instance_._instance.get_mutable()->table_ = const_cast< ::yb::master::TableIdentifierPB*>(
15316
15.8k
      ::yb::master::TableIdentifierPB::internal_default_instance());
15317
15.8k
  ::yb::master::_AlterTableRequestPB_default_instance_._instance.get_mutable()->new_namespace_ = const_cast< ::yb::master::NamespaceIdentifierPB*>(
15318
15.8k
      ::yb::master::NamespaceIdentifierPB::internal_default_instance());
15319
15.8k
  ::yb::master::_AlterTableRequestPB_default_instance_._instance.get_mutable()->alter_properties_ = const_cast< ::yb::TablePropertiesPB*>(
15320
15.8k
      ::yb::TablePropertiesPB::internal_default_instance());
15321
15.8k
  ::yb::master::_AlterTableRequestPB_default_instance_._instance.get_mutable()->replication_info_ = const_cast< ::yb::master::ReplicationInfoPB*>(
15322
15.8k
      ::yb::master::ReplicationInfoPB::internal_default_instance());
15323
15.8k
  ::yb::master::_AlterTableRequestPB_default_instance_._instance.get_mutable()->transaction_ = const_cast< ::yb::TransactionMetadataPB*>(
15324
15.8k
      ::yb::TransactionMetadataPB::internal_default_instance());
15325
15.8k
}
15326
0
void AlterTableRequestPB::clear_table() {
15327
0
  if (table_ != NULL) table_->Clear();
15328
0
  clear_has_table();
15329
0
}
15330
0
void AlterTableRequestPB::clear_new_namespace() {
15331
0
  if (new_namespace_ != NULL) new_namespace_->Clear();
15332
0
  clear_has_new_namespace();
15333
0
}
15334
0
void AlterTableRequestPB::clear_alter_properties() {
15335
0
  if (alter_properties_ != NULL) alter_properties_->Clear();
15336
0
  clear_has_alter_properties();
15337
0
}
15338
0
void AlterTableRequestPB::clear_replication_info() {
15339
0
  if (replication_info_ != NULL) replication_info_->Clear();
15340
0
  clear_has_replication_info();
15341
0
}
15342
0
void AlterTableRequestPB::clear_transaction() {
15343
0
  if (transaction_ != NULL) transaction_->Clear();
15344
0
  clear_has_transaction();
15345
0
}
15346
#if !defined(_MSC_VER) || _MSC_VER >= 1900
15347
const int AlterTableRequestPB::kTableFieldNumber;
15348
const int AlterTableRequestPB::kAlterSchemaStepsFieldNumber;
15349
const int AlterTableRequestPB::kNewTableNameFieldNumber;
15350
const int AlterTableRequestPB::kNewNamespaceFieldNumber;
15351
const int AlterTableRequestPB::kAlterPropertiesFieldNumber;
15352
const int AlterTableRequestPB::kWalRetentionSecsFieldNumber;
15353
const int AlterTableRequestPB::kForceSendAlterRequestFieldNumber;
15354
const int AlterTableRequestPB::kReplicationInfoFieldNumber;
15355
const int AlterTableRequestPB::kTransactionFieldNumber;
15356
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
15357
15358
AlterTableRequestPB::AlterTableRequestPB()
15359
19.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
15360
3.19k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
15361
3.19k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterTableRequestPB();
15362
3.19k
  }
15363
19.0k
  SharedCtor();
15364
  // @@protoc_insertion_point(constructor:yb.master.AlterTableRequestPB)
15365
19.0k
}
15366
AlterTableRequestPB::AlterTableRequestPB(const AlterTableRequestPB& from)
15367
  : ::google::protobuf::Message(),
15368
      _internal_metadata_(NULL),
15369
      _has_bits_(from._has_bits_),
15370
      _cached_size_(0),
15371
0
      alter_schema_steps_(from.alter_schema_steps_) {
15372
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
15373
0
  new_table_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15374
0
  if (from.has_new_table_name()) {
15375
0
    new_table_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.new_table_name_);
15376
0
  }
15377
0
  if (from.has_table()) {
15378
0
    table_ = new ::yb::master::TableIdentifierPB(*from.table_);
15379
0
  } else {
15380
0
    table_ = NULL;
15381
0
  }
15382
0
  if (from.has_new_namespace()) {
15383
0
    new_namespace_ = new ::yb::master::NamespaceIdentifierPB(*from.new_namespace_);
15384
0
  } else {
15385
0
    new_namespace_ = NULL;
15386
0
  }
15387
0
  if (from.has_alter_properties()) {
15388
0
    alter_properties_ = new ::yb::TablePropertiesPB(*from.alter_properties_);
15389
0
  } else {
15390
0
    alter_properties_ = NULL;
15391
0
  }
15392
0
  if (from.has_replication_info()) {
15393
0
    replication_info_ = new ::yb::master::ReplicationInfoPB(*from.replication_info_);
15394
0
  } else {
15395
0
    replication_info_ = NULL;
15396
0
  }
15397
0
  if (from.has_transaction()) {
15398
0
    transaction_ = new ::yb::TransactionMetadataPB(*from.transaction_);
15399
0
  } else {
15400
0
    transaction_ = NULL;
15401
0
  }
15402
0
  ::memcpy(&wal_retention_secs_, &from.wal_retention_secs_,
15403
0
    static_cast<size_t>(reinterpret_cast<char*>(&force_send_alter_request_) -
15404
0
    reinterpret_cast<char*>(&wal_retention_secs_)) + sizeof(force_send_alter_request_));
15405
  // @@protoc_insertion_point(copy_constructor:yb.master.AlterTableRequestPB)
15406
0
}
15407
15408
19.0k
void AlterTableRequestPB::SharedCtor() {
15409
19.0k
  _cached_size_ = 0;
15410
19.0k
  new_table_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15411
19.0k
  ::memset(&table_, 0, static_cast<size_t>(
15412
19.0k
      reinterpret_cast<char*>(&force_send_alter_request_) -
15413
19.0k
      reinterpret_cast<char*>(&table_)) + sizeof(force_send_alter_request_));
15414
19.0k
}
15415
15416
3.19k
AlterTableRequestPB::~AlterTableRequestPB() {
15417
  // @@protoc_insertion_point(destructor:yb.master.AlterTableRequestPB)
15418
3.19k
  SharedDtor();
15419
3.19k
}
15420
15421
3.19k
void AlterTableRequestPB::SharedDtor() {
15422
3.19k
  new_table_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15423
3.19k
  if (this != internal_default_instance()) delete table_;
15424
3.19k
  if (this != internal_default_instance()) delete new_namespace_;
15425
3.19k
  if (this != internal_default_instance()) delete alter_properties_;
15426
3.19k
  if (this != internal_default_instance()) delete replication_info_;
15427
3.19k
  if (this != internal_default_instance()) delete transaction_;
15428
3.19k
}
15429
15430
0
void AlterTableRequestPB::SetCachedSize(int size) const {
15431
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
15432
0
  _cached_size_ = size;
15433
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
15434
0
}
15435
0
const ::google::protobuf::Descriptor* AlterTableRequestPB::descriptor() {
15436
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
15437
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
15438
0
}
15439
15440
0
const AlterTableRequestPB& AlterTableRequestPB::default_instance() {
15441
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterTableRequestPB();
15442
0
  return *internal_default_instance();
15443
0
}
15444
15445
0
AlterTableRequestPB* AlterTableRequestPB::New(::google::protobuf::Arena* arena) const {
15446
0
  AlterTableRequestPB* n = new AlterTableRequestPB;
15447
0
  if (arena != NULL) {
15448
0
    arena->Own(n);
15449
0
  }
15450
0
  return n;
15451
0
}
15452
15453
649
void AlterTableRequestPB::Clear() {
15454
// @@protoc_insertion_point(message_clear_start:yb.master.AlterTableRequestPB)
15455
649
  ::google::protobuf::uint32 cached_has_bits = 0;
15456
  // Prevent compiler warnings about cached_has_bits being unused
15457
649
  (void) cached_has_bits;
15458
15459
649
  alter_schema_steps_.Clear();
15460
649
  cached_has_bits = _has_bits_[0];
15461
649
  if (cached_has_bits & 63u) {
15462
0
    if (cached_has_bits & 0x00000001u) {
15463
0
      GOOGLE_DCHECK(!new_table_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
15464
0
      (*new_table_name_.UnsafeRawStringPointer())->clear();
15465
0
    }
15466
0
    if (cached_has_bits & 0x00000002u) {
15467
0
      GOOGLE_DCHECK(table_ != NULL);
15468
0
      table_->Clear();
15469
0
    }
15470
0
    if (cached_has_bits & 0x00000004u) {
15471
0
      GOOGLE_DCHECK(new_namespace_ != NULL);
15472
0
      new_namespace_->Clear();
15473
0
    }
15474
0
    if (cached_has_bits & 0x00000008u) {
15475
0
      GOOGLE_DCHECK(alter_properties_ != NULL);
15476
0
      alter_properties_->Clear();
15477
0
    }
15478
0
    if (cached_has_bits & 0x00000010u) {
15479
0
      GOOGLE_DCHECK(replication_info_ != NULL);
15480
0
      replication_info_->Clear();
15481
0
    }
15482
0
    if (cached_has_bits & 0x00000020u) {
15483
0
      GOOGLE_DCHECK(transaction_ != NULL);
15484
0
      transaction_->Clear();
15485
0
    }
15486
0
  }
15487
649
  if (cached_has_bits & 192u) {
15488
0
    ::memset(&wal_retention_secs_, 0, static_cast<size_t>(
15489
0
        reinterpret_cast<char*>(&force_send_alter_request_) -
15490
0
        reinterpret_cast<char*>(&wal_retention_secs_)) + sizeof(force_send_alter_request_));
15491
0
  }
15492
649
  _has_bits_.Clear();
15493
649
  _internal_metadata_.Clear();
15494
649
}
15495
15496
bool AlterTableRequestPB::MergePartialFromCodedStream(
15497
327
    ::google::protobuf::io::CodedInputStream* input) {
15498
867
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
15499
327
  ::google::protobuf::uint32 tag;
15500
  // @@protoc_insertion_point(parse_start:yb.master.AlterTableRequestPB)
15501
1.19k
  for (;;) {
15502
1.19k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
15503
1.19k
    tag = p.first;
15504
1.19k
    if (!p.second) goto handle_unusual;
15505
867
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
15506
      // required .yb.master.TableIdentifierPB table = 1;
15507
327
      case 1: {
15508
327
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15509
327
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
15510
327
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
15511
327
               input, mutable_table()));
15512
0
        } else {
15513
0
          goto handle_unusual;
15514
0
        }
15515
327
        break;
15516
327
      }
15517
15518
      // repeated .yb.master.AlterTableRequestPB.Step alter_schema_steps = 2;
15519
285
      case 2: {
15520
285
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15521
285
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
15522
285
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_alter_schema_steps()));
15523
0
        } else {
15524
0
          goto handle_unusual;
15525
0
        }
15526
285
        break;
15527
285
      }
15528
15529
      // optional string new_table_name = 3;
15530
42
      case 3: {
15531
42
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15532
42
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
15533
42
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
15534
42
                input, this->mutable_new_table_name()));
15535
42
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
15536
42
            this->new_table_name().data(), static_cast<int>(this->new_table_name().length()),
15537
42
            ::google::protobuf::internal::WireFormat::PARSE,
15538
42
            "yb.master.AlterTableRequestPB.new_table_name");
15539
0
        } else {
15540
0
          goto handle_unusual;
15541
0
        }
15542
42
        break;
15543
42
      }
15544
15545
      // optional .yb.master.NamespaceIdentifierPB new_namespace = 4;
15546
46
      case 4: {
15547
46
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15548
46
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
15549
46
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
15550
46
               input, mutable_new_namespace()));
15551
0
        } else {
15552
0
          goto handle_unusual;
15553
0
        }
15554
46
        break;
15555
46
      }
15556
15557
      // optional .yb.TablePropertiesPB alter_properties = 5;
15558
7
      case 5: {
15559
7
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15560
7
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
15561
7
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
15562
7
               input, mutable_alter_properties()));
15563
0
        } else {
15564
0
          goto handle_unusual;
15565
0
        }
15566
7
        break;
15567
7
      }
15568
15569
      // optional uint32 wal_retention_secs = 6;
15570
0
      case 6: {
15571
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15572
0
            static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
15573
0
          set_has_wal_retention_secs();
15574
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15575
0
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
15576
0
                 input, &wal_retention_secs_)));
15577
0
        } else {
15578
0
          goto handle_unusual;
15579
0
        }
15580
0
        break;
15581
0
      }
15582
15583
      // optional bool force_send_alter_request = 7 [default = false];
15584
0
      case 7: {
15585
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15586
0
            static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
15587
0
          set_has_force_send_alter_request();
15588
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15589
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
15590
0
                 input, &force_send_alter_request_)));
15591
0
        } else {
15592
0
          goto handle_unusual;
15593
0
        }
15594
0
        break;
15595
0
      }
15596
15597
      // optional .yb.master.ReplicationInfoPB replication_info = 8;
15598
4
      case 8: {
15599
4
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15600
4
            static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
15601
4
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
15602
4
               input, mutable_replication_info()));
15603
0
        } else {
15604
0
          goto handle_unusual;
15605
0
        }
15606
4
        break;
15607
4
      }
15608
15609
      // optional .yb.TransactionMetadataPB transaction = 9;
15610
156
      case 9: {
15611
156
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15612
156
            static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) {
15613
156
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
15614
156
               input, mutable_transaction()));
15615
0
        } else {
15616
0
          goto handle_unusual;
15617
0
        }
15618
156
        break;
15619
327
      }
15620
15621
0
      default: {
15622
327
      handle_unusual:
15623
327
        if (tag == 0) {
15624
327
          goto success;
15625
327
        }
15626
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
15627
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
15628
0
        break;
15629
0
      }
15630
867
    }
15631
867
  }
15632
327
success:
15633
  // @@protoc_insertion_point(parse_success:yb.master.AlterTableRequestPB)
15634
327
  return true;
15635
0
failure:
15636
  // @@protoc_insertion_point(parse_failure:yb.master.AlterTableRequestPB)
15637
0
  return false;
15638
327
#undef DO_
15639
327
}
15640
15641
void AlterTableRequestPB::SerializeWithCachedSizes(
15642
0
    ::google::protobuf::io::CodedOutputStream* output) const {
15643
  // @@protoc_insertion_point(serialize_start:yb.master.AlterTableRequestPB)
15644
0
  ::google::protobuf::uint32 cached_has_bits = 0;
15645
0
  (void) cached_has_bits;
15646
15647
0
  cached_has_bits = _has_bits_[0];
15648
  // required .yb.master.TableIdentifierPB table = 1;
15649
0
  if (cached_has_bits & 0x00000002u) {
15650
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
15651
0
      1, *this->table_, output);
15652
0
  }
15653
15654
  // repeated .yb.master.AlterTableRequestPB.Step alter_schema_steps = 2;
15655
0
  for (unsigned int i = 0,
15656
0
      n = static_cast<unsigned int>(this->alter_schema_steps_size()); i < n; i++) {
15657
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
15658
0
      2, this->alter_schema_steps(static_cast<int>(i)), output);
15659
0
  }
15660
15661
  // optional string new_table_name = 3;
15662
0
  if (cached_has_bits & 0x00000001u) {
15663
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
15664
0
      this->new_table_name().data(), static_cast<int>(this->new_table_name().length()),
15665
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
15666
0
      "yb.master.AlterTableRequestPB.new_table_name");
15667
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
15668
0
      3, this->new_table_name(), output);
15669
0
  }
15670
15671
  // optional .yb.master.NamespaceIdentifierPB new_namespace = 4;
15672
0
  if (cached_has_bits & 0x00000004u) {
15673
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
15674
0
      4, *this->new_namespace_, output);
15675
0
  }
15676
15677
  // optional .yb.TablePropertiesPB alter_properties = 5;
15678
0
  if (cached_has_bits & 0x00000008u) {
15679
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
15680
0
      5, *this->alter_properties_, output);
15681
0
  }
15682
15683
  // optional uint32 wal_retention_secs = 6;
15684
0
  if (cached_has_bits & 0x00000040u) {
15685
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->wal_retention_secs(), output);
15686
0
  }
15687
15688
  // optional bool force_send_alter_request = 7 [default = false];
15689
0
  if (cached_has_bits & 0x00000080u) {
15690
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->force_send_alter_request(), output);
15691
0
  }
15692
15693
  // optional .yb.master.ReplicationInfoPB replication_info = 8;
15694
0
  if (cached_has_bits & 0x00000010u) {
15695
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
15696
0
      8, *this->replication_info_, output);
15697
0
  }
15698
15699
  // optional .yb.TransactionMetadataPB transaction = 9;
15700
0
  if (cached_has_bits & 0x00000020u) {
15701
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
15702
0
      9, *this->transaction_, output);
15703
0
  }
15704
15705
0
  if (_internal_metadata_.have_unknown_fields()) {
15706
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
15707
0
        _internal_metadata_.unknown_fields(), output);
15708
0
  }
15709
  // @@protoc_insertion_point(serialize_end:yb.master.AlterTableRequestPB)
15710
0
}
15711
15712
::google::protobuf::uint8* AlterTableRequestPB::InternalSerializeWithCachedSizesToArray(
15713
327
    bool deterministic, ::google::protobuf::uint8* target) const {
15714
327
  (void)deterministic; // Unused
15715
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.AlterTableRequestPB)
15716
327
  ::google::protobuf::uint32 cached_has_bits = 0;
15717
327
  (void) cached_has_bits;
15718
15719
327
  cached_has_bits = _has_bits_[0];
15720
  // required .yb.master.TableIdentifierPB table = 1;
15721
327
  if (cached_has_bits & 0x00000002u) {
15722
327
    target = ::google::protobuf::internal::WireFormatLite::
15723
327
      InternalWriteMessageToArray(
15724
327
        1, *this->table_, deterministic, target);
15725
327
  }
15726
15727
  // repeated .yb.master.AlterTableRequestPB.Step alter_schema_steps = 2;
15728
327
  for (unsigned int i = 0,
15729
612
      n = static_cast<unsigned int>(this->alter_schema_steps_size()); i < n; i++) {
15730
285
    target = ::google::protobuf::internal::WireFormatLite::
15731
285
      InternalWriteMessageToArray(
15732
285
        2, this->alter_schema_steps(static_cast<int>(i)), deterministic, target);
15733
285
  }
15734
15735
  // optional string new_table_name = 3;
15736
327
  if (cached_has_bits & 0x00000001u) {
15737
42
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
15738
42
      this->new_table_name().data(), static_cast<int>(this->new_table_name().length()),
15739
42
      ::google::protobuf::internal::WireFormat::SERIALIZE,
15740
42
      "yb.master.AlterTableRequestPB.new_table_name");
15741
42
    target =
15742
42
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
15743
42
        3, this->new_table_name(), target);
15744
42
  }
15745
15746
  // optional .yb.master.NamespaceIdentifierPB new_namespace = 4;
15747
327
  if (cached_has_bits & 0x00000004u) {
15748
46
    target = ::google::protobuf::internal::WireFormatLite::
15749
46
      InternalWriteMessageToArray(
15750
46
        4, *this->new_namespace_, deterministic, target);
15751
46
  }
15752
15753
  // optional .yb.TablePropertiesPB alter_properties = 5;
15754
327
  if (cached_has_bits & 0x00000008u) {
15755
7
    target = ::google::protobuf::internal::WireFormatLite::
15756
7
      InternalWriteMessageToArray(
15757
7
        5, *this->alter_properties_, deterministic, target);
15758
7
  }
15759
15760
  // optional uint32 wal_retention_secs = 6;
15761
327
  if (cached_has_bits & 0x00000040u) {
15762
0
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->wal_retention_secs(), target);
15763
0
  }
15764
15765
  // optional bool force_send_alter_request = 7 [default = false];
15766
327
  if (cached_has_bits & 0x00000080u) {
15767
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->force_send_alter_request(), target);
15768
0
  }
15769
15770
  // optional .yb.master.ReplicationInfoPB replication_info = 8;
15771
327
  if (cached_has_bits & 0x00000010u) {
15772
4
    target = ::google::protobuf::internal::WireFormatLite::
15773
4
      InternalWriteMessageToArray(
15774
4
        8, *this->replication_info_, deterministic, target);
15775
4
  }
15776
15777
  // optional .yb.TransactionMetadataPB transaction = 9;
15778
327
  if (cached_has_bits & 0x00000020u) {
15779
156
    target = ::google::protobuf::internal::WireFormatLite::
15780
156
      InternalWriteMessageToArray(
15781
156
        9, *this->transaction_, deterministic, target);
15782
156
  }
15783
15784
327
  if (_internal_metadata_.have_unknown_fields()) {
15785
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
15786
0
        _internal_metadata_.unknown_fields(), target);
15787
0
  }
15788
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.AlterTableRequestPB)
15789
327
  return target;
15790
327
}
15791
15792
654
size_t AlterTableRequestPB::ByteSizeLong() const {
15793
// @@protoc_insertion_point(message_byte_size_start:yb.master.AlterTableRequestPB)
15794
654
  size_t total_size = 0;
15795
15796
654
  if (_internal_metadata_.have_unknown_fields()) {
15797
0
    total_size +=
15798
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
15799
0
        _internal_metadata_.unknown_fields());
15800
0
  }
15801
  // required .yb.master.TableIdentifierPB table = 1;
15802
654
  if (has_table()) {
15803
654
    total_size += 1 +
15804
654
      ::google::protobuf::internal::WireFormatLite::MessageSize(
15805
654
        *this->table_);
15806
654
  }
15807
  // repeated .yb.master.AlterTableRequestPB.Step alter_schema_steps = 2;
15808
654
  {
15809
654
    unsigned int count = static_cast<unsigned int>(this->alter_schema_steps_size());
15810
654
    total_size += 1UL * count;
15811
1.22k
    for (unsigned int i = 0; i < count; i++) {
15812
570
      total_size +=
15813
570
        ::google::protobuf::internal::WireFormatLite::MessageSize(
15814
570
          this->alter_schema_steps(static_cast<int>(i)));
15815
570
    }
15816
654
  }
15817
15818
  // optional string new_table_name = 3;
15819
654
  if (has_new_table_name()) {
15820
84
    total_size += 1 +
15821
84
      ::google::protobuf::internal::WireFormatLite::StringSize(
15822
84
        this->new_table_name());
15823
84
  }
15824
15825
654
  if (_has_bits_[0 / 32] & 252u) {
15826
    // optional .yb.master.NamespaceIdentifierPB new_namespace = 4;
15827
342
    if (has_new_namespace()) {
15828
92
      total_size += 1 +
15829
92
        ::google::protobuf::internal::WireFormatLite::MessageSize(
15830
92
          *this->new_namespace_);
15831
92
    }
15832
15833
    // optional .yb.TablePropertiesPB alter_properties = 5;
15834
342
    if (has_alter_properties()) {
15835
14
      total_size += 1 +
15836
14
        ::google::protobuf::internal::WireFormatLite::MessageSize(
15837
14
          *this->alter_properties_);
15838
14
    }
15839
15840
    // optional .yb.master.ReplicationInfoPB replication_info = 8;
15841
342
    if (has_replication_info()) {
15842
8
      total_size += 1 +
15843
8
        ::google::protobuf::internal::WireFormatLite::MessageSize(
15844
8
          *this->replication_info_);
15845
8
    }
15846
15847
    // optional .yb.TransactionMetadataPB transaction = 9;
15848
342
    if (has_transaction()) {
15849
312
      total_size += 1 +
15850
312
        ::google::protobuf::internal::WireFormatLite::MessageSize(
15851
312
          *this->transaction_);
15852
312
    }
15853
15854
    // optional uint32 wal_retention_secs = 6;
15855
342
    if (has_wal_retention_secs()) {
15856
0
      total_size += 1 +
15857
0
        ::google::protobuf::internal::WireFormatLite::UInt32Size(
15858
0
          this->wal_retention_secs());
15859
0
    }
15860
15861
    // optional bool force_send_alter_request = 7 [default = false];
15862
342
    if (has_force_send_alter_request()) {
15863
0
      total_size += 1 + 1;
15864
0
    }
15865
15866
342
  }
15867
654
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
15868
654
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
15869
654
  _cached_size_ = cached_size;
15870
654
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
15871
654
  return total_size;
15872
654
}
15873
15874
0
void AlterTableRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
15875
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.AlterTableRequestPB)
15876
0
  GOOGLE_DCHECK_NE(&from, this);
15877
0
  const AlterTableRequestPB* source =
15878
0
      ::google::protobuf::internal::DynamicCastToGenerated<const AlterTableRequestPB>(
15879
0
          &from);
15880
0
  if (source == NULL) {
15881
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.AlterTableRequestPB)
15882
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
15883
0
  } else {
15884
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.AlterTableRequestPB)
15885
0
    MergeFrom(*source);
15886
0
  }
15887
0
}
15888
15889
0
void AlterTableRequestPB::MergeFrom(const AlterTableRequestPB& from) {
15890
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.AlterTableRequestPB)
15891
0
  GOOGLE_DCHECK_NE(&from, this);
15892
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
15893
0
  ::google::protobuf::uint32 cached_has_bits = 0;
15894
0
  (void) cached_has_bits;
15895
15896
0
  alter_schema_steps_.MergeFrom(from.alter_schema_steps_);
15897
0
  cached_has_bits = from._has_bits_[0];
15898
0
  if (cached_has_bits & 255u) {
15899
0
    if (cached_has_bits & 0x00000001u) {
15900
0
      set_has_new_table_name();
15901
0
      new_table_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.new_table_name_);
15902
0
    }
15903
0
    if (cached_has_bits & 0x00000002u) {
15904
0
      mutable_table()->::yb::master::TableIdentifierPB::MergeFrom(from.table());
15905
0
    }
15906
0
    if (cached_has_bits & 0x00000004u) {
15907
0
      mutable_new_namespace()->::yb::master::NamespaceIdentifierPB::MergeFrom(from.new_namespace());
15908
0
    }
15909
0
    if (cached_has_bits & 0x00000008u) {
15910
0
      mutable_alter_properties()->::yb::TablePropertiesPB::MergeFrom(from.alter_properties());
15911
0
    }
15912
0
    if (cached_has_bits & 0x00000010u) {
15913
0
      mutable_replication_info()->::yb::master::ReplicationInfoPB::MergeFrom(from.replication_info());
15914
0
    }
15915
0
    if (cached_has_bits & 0x00000020u) {
15916
0
      mutable_transaction()->::yb::TransactionMetadataPB::MergeFrom(from.transaction());
15917
0
    }
15918
0
    if (cached_has_bits & 0x00000040u) {
15919
0
      wal_retention_secs_ = from.wal_retention_secs_;
15920
0
    }
15921
0
    if (cached_has_bits & 0x00000080u) {
15922
0
      force_send_alter_request_ = from.force_send_alter_request_;
15923
0
    }
15924
0
    _has_bits_[0] |= cached_has_bits;
15925
0
  }
15926
0
}
15927
15928
0
void AlterTableRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
15929
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.AlterTableRequestPB)
15930
0
  if (&from == this) return;
15931
0
  Clear();
15932
0
  MergeFrom(from);
15933
0
}
15934
15935
0
void AlterTableRequestPB::CopyFrom(const AlterTableRequestPB& from) {
15936
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.AlterTableRequestPB)
15937
0
  if (&from == this) return;
15938
0
  Clear();
15939
0
  MergeFrom(from);
15940
0
}
15941
15942
654
bool AlterTableRequestPB::IsInitialized() const {
15943
654
  if ((_has_bits_[0] & 0x00000002) != 0x00000002) return false;
15944
654
  if (!::google::protobuf::internal::AllAreInitialized(this->alter_schema_steps())) return false;
15945
654
  return true;
15946
654
}
15947
15948
0
void AlterTableRequestPB::Swap(AlterTableRequestPB* other) {
15949
0
  if (other == this) return;
15950
0
  InternalSwap(other);
15951
0
}
15952
0
void AlterTableRequestPB::InternalSwap(AlterTableRequestPB* other) {
15953
0
  using std::swap;
15954
0
  alter_schema_steps_.InternalSwap(&other->alter_schema_steps_);
15955
0
  new_table_name_.Swap(&other->new_table_name_);
15956
0
  swap(table_, other->table_);
15957
0
  swap(new_namespace_, other->new_namespace_);
15958
0
  swap(alter_properties_, other->alter_properties_);
15959
0
  swap(replication_info_, other->replication_info_);
15960
0
  swap(transaction_, other->transaction_);
15961
0
  swap(wal_retention_secs_, other->wal_retention_secs_);
15962
0
  swap(force_send_alter_request_, other->force_send_alter_request_);
15963
0
  swap(_has_bits_[0], other->_has_bits_[0]);
15964
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
15965
0
  swap(_cached_size_, other->_cached_size_);
15966
0
}
15967
15968
6.06k
::google::protobuf::Metadata AlterTableRequestPB::GetMetadata() const {
15969
6.06k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
15970
6.06k
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
15971
6.06k
}
15972
15973
15974
// ===================================================================
15975
15976
15.8k
void AlterTableResponsePB::InitAsDefaultInstance() {
15977
15.8k
  ::yb::master::_AlterTableResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
15978
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
15979
15.8k
}
15980
0
void AlterTableResponsePB::clear_error() {
15981
0
  if (error_ != NULL) error_->Clear();
15982
0
  clear_has_error();
15983
0
}
15984
#if !defined(_MSC_VER) || _MSC_VER >= 1900
15985
const int AlterTableResponsePB::kErrorFieldNumber;
15986
const int AlterTableResponsePB::kSchemaVersionFieldNumber;
15987
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
15988
15989
AlterTableResponsePB::AlterTableResponsePB()
15990
19.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
15991
3.19k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
15992
3.19k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterTableResponsePB();
15993
3.19k
  }
15994
19.0k
  SharedCtor();
15995
  // @@protoc_insertion_point(constructor:yb.master.AlterTableResponsePB)
15996
19.0k
}
15997
AlterTableResponsePB::AlterTableResponsePB(const AlterTableResponsePB& from)
15998
  : ::google::protobuf::Message(),
15999
      _internal_metadata_(NULL),
16000
      _has_bits_(from._has_bits_),
16001
0
      _cached_size_(0) {
16002
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
16003
0
  if (from.has_error()) {
16004
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
16005
0
  } else {
16006
0
    error_ = NULL;
16007
0
  }
16008
0
  schema_version_ = from.schema_version_;
16009
  // @@protoc_insertion_point(copy_constructor:yb.master.AlterTableResponsePB)
16010
0
}
16011
16012
19.0k
void AlterTableResponsePB::SharedCtor() {
16013
19.0k
  _cached_size_ = 0;
16014
19.0k
  ::memset(&error_, 0, static_cast<size_t>(
16015
19.0k
      reinterpret_cast<char*>(&schema_version_) -
16016
19.0k
      reinterpret_cast<char*>(&error_)) + sizeof(schema_version_));
16017
19.0k
}
16018
16019
3.19k
AlterTableResponsePB::~AlterTableResponsePB() {
16020
  // @@protoc_insertion_point(destructor:yb.master.AlterTableResponsePB)
16021
3.19k
  SharedDtor();
16022
3.19k
}
16023
16024
3.19k
void AlterTableResponsePB::SharedDtor() {
16025
3.19k
  if (this != internal_default_instance()) delete error_;
16026
3.19k
}
16027
16028
0
void AlterTableResponsePB::SetCachedSize(int size) const {
16029
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
16030
0
  _cached_size_ = size;
16031
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
16032
0
}
16033
0
const ::google::protobuf::Descriptor* AlterTableResponsePB::descriptor() {
16034
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
16035
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
16036
0
}
16037
16038
0
const AlterTableResponsePB& AlterTableResponsePB::default_instance() {
16039
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterTableResponsePB();
16040
0
  return *internal_default_instance();
16041
0
}
16042
16043
0
AlterTableResponsePB* AlterTableResponsePB::New(::google::protobuf::Arena* arena) const {
16044
0
  AlterTableResponsePB* n = new AlterTableResponsePB;
16045
0
  if (arena != NULL) {
16046
0
    arena->Own(n);
16047
0
  }
16048
0
  return n;
16049
0
}
16050
16051
327
void AlterTableResponsePB::Clear() {
16052
// @@protoc_insertion_point(message_clear_start:yb.master.AlterTableResponsePB)
16053
327
  ::google::protobuf::uint32 cached_has_bits = 0;
16054
  // Prevent compiler warnings about cached_has_bits being unused
16055
327
  (void) cached_has_bits;
16056
16057
327
  cached_has_bits = _has_bits_[0];
16058
327
  if (cached_has_bits & 0x00000001u) {
16059
1
    GOOGLE_DCHECK(error_ != NULL);
16060
1
    error_->Clear();
16061
1
  }
16062
327
  schema_version_ = 0u;
16063
327
  _has_bits_.Clear();
16064
327
  _internal_metadata_.Clear();
16065
327
}
16066
16067
bool AlterTableResponsePB::MergePartialFromCodedStream(
16068
327
    ::google::protobuf::io::CodedInputStream* input) {
16069
5
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
16070
327
  ::google::protobuf::uint32 tag;
16071
  // @@protoc_insertion_point(parse_start:yb.master.AlterTableResponsePB)
16072
332
  for (;;) {
16073
332
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
16074
332
    tag = p.first;
16075
332
    if (!p.second) goto handle_unusual;
16076
5
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
16077
      // optional .yb.master.MasterErrorPB error = 1;
16078
5
      case 1: {
16079
5
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16080
5
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
16081
5
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
16082
5
               input, mutable_error()));
16083
0
        } else {
16084
0
          goto handle_unusual;
16085
0
        }
16086
5
        break;
16087
5
      }
16088
16089
      // optional uint32 schema_version = 2;
16090
0
      case 2: {
16091
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16092
0
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
16093
0
          set_has_schema_version();
16094
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16095
0
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
16096
0
                 input, &schema_version_)));
16097
0
        } else {
16098
0
          goto handle_unusual;
16099
0
        }
16100
0
        break;
16101
327
      }
16102
16103
0
      default: {
16104
327
      handle_unusual:
16105
327
        if (tag == 0) {
16106
327
          goto success;
16107
327
        }
16108
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
16109
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
16110
0
        break;
16111
0
      }
16112
5
    }
16113
5
  }
16114
327
success:
16115
  // @@protoc_insertion_point(parse_success:yb.master.AlterTableResponsePB)
16116
327
  return true;
16117
0
failure:
16118
  // @@protoc_insertion_point(parse_failure:yb.master.AlterTableResponsePB)
16119
0
  return false;
16120
327
#undef DO_
16121
327
}
16122
16123
void AlterTableResponsePB::SerializeWithCachedSizes(
16124
0
    ::google::protobuf::io::CodedOutputStream* output) const {
16125
  // @@protoc_insertion_point(serialize_start:yb.master.AlterTableResponsePB)
16126
0
  ::google::protobuf::uint32 cached_has_bits = 0;
16127
0
  (void) cached_has_bits;
16128
16129
0
  cached_has_bits = _has_bits_[0];
16130
  // optional .yb.master.MasterErrorPB error = 1;
16131
0
  if (cached_has_bits & 0x00000001u) {
16132
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
16133
0
      1, *this->error_, output);
16134
0
  }
16135
16136
  // optional uint32 schema_version = 2;
16137
0
  if (cached_has_bits & 0x00000002u) {
16138
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->schema_version(), output);
16139
0
  }
16140
16141
0
  if (_internal_metadata_.have_unknown_fields()) {
16142
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
16143
0
        _internal_metadata_.unknown_fields(), output);
16144
0
  }
16145
  // @@protoc_insertion_point(serialize_end:yb.master.AlterTableResponsePB)
16146
0
}
16147
16148
::google::protobuf::uint8* AlterTableResponsePB::InternalSerializeWithCachedSizesToArray(
16149
327
    bool deterministic, ::google::protobuf::uint8* target) const {
16150
327
  (void)deterministic; // Unused
16151
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.AlterTableResponsePB)
16152
327
  ::google::protobuf::uint32 cached_has_bits = 0;
16153
327
  (void) cached_has_bits;
16154
16155
327
  cached_has_bits = _has_bits_[0];
16156
  // optional .yb.master.MasterErrorPB error = 1;
16157
327
  if (cached_has_bits & 0x00000001u) {
16158
5
    target = ::google::protobuf::internal::WireFormatLite::
16159
5
      InternalWriteMessageToArray(
16160
5
        1, *this->error_, deterministic, target);
16161
5
  }
16162
16163
  // optional uint32 schema_version = 2;
16164
327
  if (cached_has_bits & 0x00000002u) {
16165
0
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->schema_version(), target);
16166
0
  }
16167
16168
327
  if (_internal_metadata_.have_unknown_fields()) {
16169
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
16170
0
        _internal_metadata_.unknown_fields(), target);
16171
0
  }
16172
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.AlterTableResponsePB)
16173
327
  return target;
16174
327
}
16175
16176
654
size_t AlterTableResponsePB::ByteSizeLong() const {
16177
// @@protoc_insertion_point(message_byte_size_start:yb.master.AlterTableResponsePB)
16178
654
  size_t total_size = 0;
16179
16180
654
  if (_internal_metadata_.have_unknown_fields()) {
16181
0
    total_size +=
16182
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
16183
0
        _internal_metadata_.unknown_fields());
16184
0
  }
16185
654
  if (_has_bits_[0 / 32] & 3u) {
16186
    // optional .yb.master.MasterErrorPB error = 1;
16187
10
    if (has_error()) {
16188
10
      total_size += 1 +
16189
10
        ::google::protobuf::internal::WireFormatLite::MessageSize(
16190
10
          *this->error_);
16191
10
    }
16192
16193
    // optional uint32 schema_version = 2;
16194
10
    if (has_schema_version()) {
16195
0
      total_size += 1 +
16196
0
        ::google::protobuf::internal::WireFormatLite::UInt32Size(
16197
0
          this->schema_version());
16198
0
    }
16199
16200
10
  }
16201
654
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
16202
654
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
16203
654
  _cached_size_ = cached_size;
16204
654
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
16205
654
  return total_size;
16206
654
}
16207
16208
0
void AlterTableResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
16209
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.AlterTableResponsePB)
16210
0
  GOOGLE_DCHECK_NE(&from, this);
16211
0
  const AlterTableResponsePB* source =
16212
0
      ::google::protobuf::internal::DynamicCastToGenerated<const AlterTableResponsePB>(
16213
0
          &from);
16214
0
  if (source == NULL) {
16215
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.AlterTableResponsePB)
16216
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
16217
0
  } else {
16218
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.AlterTableResponsePB)
16219
0
    MergeFrom(*source);
16220
0
  }
16221
0
}
16222
16223
0
void AlterTableResponsePB::MergeFrom(const AlterTableResponsePB& from) {
16224
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.AlterTableResponsePB)
16225
0
  GOOGLE_DCHECK_NE(&from, this);
16226
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
16227
0
  ::google::protobuf::uint32 cached_has_bits = 0;
16228
0
  (void) cached_has_bits;
16229
16230
0
  cached_has_bits = from._has_bits_[0];
16231
0
  if (cached_has_bits & 3u) {
16232
0
    if (cached_has_bits & 0x00000001u) {
16233
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
16234
0
    }
16235
0
    if (cached_has_bits & 0x00000002u) {
16236
0
      schema_version_ = from.schema_version_;
16237
0
    }
16238
0
    _has_bits_[0] |= cached_has_bits;
16239
0
  }
16240
0
}
16241
16242
0
void AlterTableResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
16243
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.AlterTableResponsePB)
16244
0
  if (&from == this) return;
16245
0
  Clear();
16246
0
  MergeFrom(from);
16247
0
}
16248
16249
0
void AlterTableResponsePB::CopyFrom(const AlterTableResponsePB& from) {
16250
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.AlterTableResponsePB)
16251
0
  if (&from == this) return;
16252
0
  Clear();
16253
0
  MergeFrom(from);
16254
0
}
16255
16256
654
bool AlterTableResponsePB::IsInitialized() const {
16257
654
  if (has_error()) {
16258
10
    if (!this->error_->IsInitialized()) return false;
16259
654
  }
16260
654
  return true;
16261
654
}
16262
16263
0
void AlterTableResponsePB::Swap(AlterTableResponsePB* other) {
16264
0
  if (other == this) return;
16265
0
  InternalSwap(other);
16266
0
}
16267
0
void AlterTableResponsePB::InternalSwap(AlterTableResponsePB* other) {
16268
0
  using std::swap;
16269
0
  swap(error_, other->error_);
16270
0
  swap(schema_version_, other->schema_version_);
16271
0
  swap(_has_bits_[0], other->_has_bits_[0]);
16272
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
16273
0
  swap(_cached_size_, other->_cached_size_);
16274
0
}
16275
16276
8
::google::protobuf::Metadata AlterTableResponsePB::GetMetadata() const {
16277
8
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
16278
8
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
16279
8
}
16280
16281
16282
// ===================================================================
16283
16284
15.8k
void IsAlterTableDoneRequestPB::InitAsDefaultInstance() {
16285
15.8k
  ::yb::master::_IsAlterTableDoneRequestPB_default_instance_._instance.get_mutable()->table_ = const_cast< ::yb::master::TableIdentifierPB*>(
16286
15.8k
      ::yb::master::TableIdentifierPB::internal_default_instance());
16287
15.8k
}
16288
0
void IsAlterTableDoneRequestPB::clear_table() {
16289
0
  if (table_ != NULL) table_->Clear();
16290
0
  clear_has_table();
16291
0
}
16292
#if !defined(_MSC_VER) || _MSC_VER >= 1900
16293
const int IsAlterTableDoneRequestPB::kTableFieldNumber;
16294
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
16295
16296
IsAlterTableDoneRequestPB::IsAlterTableDoneRequestPB()
16297
17.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
16298
1.29k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
16299
1.29k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsAlterTableDoneRequestPB();
16300
1.29k
  }
16301
17.1k
  SharedCtor();
16302
  // @@protoc_insertion_point(constructor:yb.master.IsAlterTableDoneRequestPB)
16303
17.1k
}
16304
IsAlterTableDoneRequestPB::IsAlterTableDoneRequestPB(const IsAlterTableDoneRequestPB& from)
16305
  : ::google::protobuf::Message(),
16306
      _internal_metadata_(NULL),
16307
      _has_bits_(from._has_bits_),
16308
0
      _cached_size_(0) {
16309
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
16310
0
  if (from.has_table()) {
16311
0
    table_ = new ::yb::master::TableIdentifierPB(*from.table_);
16312
0
  } else {
16313
0
    table_ = NULL;
16314
0
  }
16315
  // @@protoc_insertion_point(copy_constructor:yb.master.IsAlterTableDoneRequestPB)
16316
0
}
16317
16318
17.1k
void IsAlterTableDoneRequestPB::SharedCtor() {
16319
17.1k
  _cached_size_ = 0;
16320
17.1k
  table_ = NULL;
16321
17.1k
}
16322
16323
1.29k
IsAlterTableDoneRequestPB::~IsAlterTableDoneRequestPB() {
16324
  // @@protoc_insertion_point(destructor:yb.master.IsAlterTableDoneRequestPB)
16325
1.29k
  SharedDtor();
16326
1.29k
}
16327
16328
1.29k
void IsAlterTableDoneRequestPB::SharedDtor() {
16329
1.29k
  if (this != internal_default_instance()) delete table_;
16330
1.29k
}
16331
16332
0
void IsAlterTableDoneRequestPB::SetCachedSize(int size) const {
16333
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
16334
0
  _cached_size_ = size;
16335
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
16336
0
}
16337
0
const ::google::protobuf::Descriptor* IsAlterTableDoneRequestPB::descriptor() {
16338
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
16339
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
16340
0
}
16341
16342
0
const IsAlterTableDoneRequestPB& IsAlterTableDoneRequestPB::default_instance() {
16343
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsAlterTableDoneRequestPB();
16344
0
  return *internal_default_instance();
16345
0
}
16346
16347
0
IsAlterTableDoneRequestPB* IsAlterTableDoneRequestPB::New(::google::protobuf::Arena* arena) const {
16348
0
  IsAlterTableDoneRequestPB* n = new IsAlterTableDoneRequestPB;
16349
0
  if (arena != NULL) {
16350
0
    arena->Own(n);
16351
0
  }
16352
0
  return n;
16353
0
}
16354
16355
649
void IsAlterTableDoneRequestPB::Clear() {
16356
// @@protoc_insertion_point(message_clear_start:yb.master.IsAlterTableDoneRequestPB)
16357
649
  ::google::protobuf::uint32 cached_has_bits = 0;
16358
  // Prevent compiler warnings about cached_has_bits being unused
16359
649
  (void) cached_has_bits;
16360
16361
649
  cached_has_bits = _has_bits_[0];
16362
649
  if (cached_has_bits & 0x00000001u) {
16363
0
    GOOGLE_DCHECK(table_ != NULL);
16364
0
    table_->Clear();
16365
0
  }
16366
649
  _has_bits_.Clear();
16367
649
  _internal_metadata_.Clear();
16368
649
}
16369
16370
bool IsAlterTableDoneRequestPB::MergePartialFromCodedStream(
16371
649
    ::google::protobuf::io::CodedInputStream* input) {
16372
649
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
16373
649
  ::google::protobuf::uint32 tag;
16374
  // @@protoc_insertion_point(parse_start:yb.master.IsAlterTableDoneRequestPB)
16375
1.29k
  for (;;) {
16376
1.29k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
16377
1.29k
    tag = p.first;
16378
1.29k
    if (!p.second) goto handle_unusual;
16379
649
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
16380
      // required .yb.master.TableIdentifierPB table = 1;
16381
649
      case 1: {
16382
649
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16383
649
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
16384
649
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
16385
649
               input, mutable_table()));
16386
0
        } else {
16387
0
          goto handle_unusual;
16388
0
        }
16389
649
        break;
16390
649
      }
16391
16392
0
      default: {
16393
649
      handle_unusual:
16394
649
        if (tag == 0) {
16395
649
          goto success;
16396
649
        }
16397
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
16398
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
16399
0
        break;
16400
0
      }
16401
649
    }
16402
649
  }
16403
649
success:
16404
  // @@protoc_insertion_point(parse_success:yb.master.IsAlterTableDoneRequestPB)
16405
649
  return true;
16406
0
failure:
16407
  // @@protoc_insertion_point(parse_failure:yb.master.IsAlterTableDoneRequestPB)
16408
0
  return false;
16409
649
#undef DO_
16410
649
}
16411
16412
void IsAlterTableDoneRequestPB::SerializeWithCachedSizes(
16413
0
    ::google::protobuf::io::CodedOutputStream* output) const {
16414
  // @@protoc_insertion_point(serialize_start:yb.master.IsAlterTableDoneRequestPB)
16415
0
  ::google::protobuf::uint32 cached_has_bits = 0;
16416
0
  (void) cached_has_bits;
16417
16418
0
  cached_has_bits = _has_bits_[0];
16419
  // required .yb.master.TableIdentifierPB table = 1;
16420
0
  if (cached_has_bits & 0x00000001u) {
16421
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
16422
0
      1, *this->table_, output);
16423
0
  }
16424
16425
0
  if (_internal_metadata_.have_unknown_fields()) {
16426
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
16427
0
        _internal_metadata_.unknown_fields(), output);
16428
0
  }
16429
  // @@protoc_insertion_point(serialize_end:yb.master.IsAlterTableDoneRequestPB)
16430
0
}
16431
16432
::google::protobuf::uint8* IsAlterTableDoneRequestPB::InternalSerializeWithCachedSizesToArray(
16433
649
    bool deterministic, ::google::protobuf::uint8* target) const {
16434
649
  (void)deterministic; // Unused
16435
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.IsAlterTableDoneRequestPB)
16436
649
  ::google::protobuf::uint32 cached_has_bits = 0;
16437
649
  (void) cached_has_bits;
16438
16439
649
  cached_has_bits = _has_bits_[0];
16440
  // required .yb.master.TableIdentifierPB table = 1;
16441
649
  if (cached_has_bits & 0x00000001u) {
16442
649
    target = ::google::protobuf::internal::WireFormatLite::
16443
649
      InternalWriteMessageToArray(
16444
649
        1, *this->table_, deterministic, target);
16445
649
  }
16446
16447
649
  if (_internal_metadata_.have_unknown_fields()) {
16448
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
16449
0
        _internal_metadata_.unknown_fields(), target);
16450
0
  }
16451
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.IsAlterTableDoneRequestPB)
16452
649
  return target;
16453
649
}
16454
16455
1.29k
size_t IsAlterTableDoneRequestPB::ByteSizeLong() const {
16456
// @@protoc_insertion_point(message_byte_size_start:yb.master.IsAlterTableDoneRequestPB)
16457
1.29k
  size_t total_size = 0;
16458
16459
1.29k
  if (_internal_metadata_.have_unknown_fields()) {
16460
0
    total_size +=
16461
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
16462
0
        _internal_metadata_.unknown_fields());
16463
0
  }
16464
  // required .yb.master.TableIdentifierPB table = 1;
16465
1.29k
  if (has_table()) {
16466
1.29k
    total_size += 1 +
16467
1.29k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
16468
1.29k
        *this->table_);
16469
1.29k
  }
16470
1.29k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
16471
1.29k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
16472
1.29k
  _cached_size_ = cached_size;
16473
1.29k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
16474
1.29k
  return total_size;
16475
1.29k
}
16476
16477
0
void IsAlterTableDoneRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
16478
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.IsAlterTableDoneRequestPB)
16479
0
  GOOGLE_DCHECK_NE(&from, this);
16480
0
  const IsAlterTableDoneRequestPB* source =
16481
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsAlterTableDoneRequestPB>(
16482
0
          &from);
16483
0
  if (source == NULL) {
16484
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.IsAlterTableDoneRequestPB)
16485
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
16486
0
  } else {
16487
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.IsAlterTableDoneRequestPB)
16488
0
    MergeFrom(*source);
16489
0
  }
16490
0
}
16491
16492
0
void IsAlterTableDoneRequestPB::MergeFrom(const IsAlterTableDoneRequestPB& from) {
16493
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.IsAlterTableDoneRequestPB)
16494
0
  GOOGLE_DCHECK_NE(&from, this);
16495
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
16496
0
  ::google::protobuf::uint32 cached_has_bits = 0;
16497
0
  (void) cached_has_bits;
16498
16499
0
  if (from.has_table()) {
16500
0
    mutable_table()->::yb::master::TableIdentifierPB::MergeFrom(from.table());
16501
0
  }
16502
0
}
16503
16504
0
void IsAlterTableDoneRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
16505
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.IsAlterTableDoneRequestPB)
16506
0
  if (&from == this) return;
16507
0
  Clear();
16508
0
  MergeFrom(from);
16509
0
}
16510
16511
0
void IsAlterTableDoneRequestPB::CopyFrom(const IsAlterTableDoneRequestPB& from) {
16512
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.IsAlterTableDoneRequestPB)
16513
0
  if (&from == this) return;
16514
0
  Clear();
16515
0
  MergeFrom(from);
16516
0
}
16517
16518
1.29k
bool IsAlterTableDoneRequestPB::IsInitialized() const {
16519
1.29k
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
16520
1.29k
  return true;
16521
1.29k
}
16522
16523
0
void IsAlterTableDoneRequestPB::Swap(IsAlterTableDoneRequestPB* other) {
16524
0
  if (other == this) return;
16525
0
  InternalSwap(other);
16526
0
}
16527
0
void IsAlterTableDoneRequestPB::InternalSwap(IsAlterTableDoneRequestPB* other) {
16528
0
  using std::swap;
16529
0
  swap(table_, other->table_);
16530
0
  swap(_has_bits_[0], other->_has_bits_[0]);
16531
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
16532
0
  swap(_cached_size_, other->_cached_size_);
16533
0
}
16534
16535
649
::google::protobuf::Metadata IsAlterTableDoneRequestPB::GetMetadata() const {
16536
649
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
16537
649
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
16538
649
}
16539
16540
16541
// ===================================================================
16542
16543
15.8k
void IsAlterTableDoneResponsePB::InitAsDefaultInstance() {
16544
15.8k
  ::yb::master::_IsAlterTableDoneResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
16545
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
16546
15.8k
}
16547
0
void IsAlterTableDoneResponsePB::clear_error() {
16548
0
  if (error_ != NULL) error_->Clear();
16549
0
  clear_has_error();
16550
0
}
16551
#if !defined(_MSC_VER) || _MSC_VER >= 1900
16552
const int IsAlterTableDoneResponsePB::kErrorFieldNumber;
16553
const int IsAlterTableDoneResponsePB::kSchemaVersionFieldNumber;
16554
const int IsAlterTableDoneResponsePB::kDoneFieldNumber;
16555
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
16556
16557
IsAlterTableDoneResponsePB::IsAlterTableDoneResponsePB()
16558
17.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
16559
1.29k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
16560
1.29k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsAlterTableDoneResponsePB();
16561
1.29k
  }
16562
17.1k
  SharedCtor();
16563
  // @@protoc_insertion_point(constructor:yb.master.IsAlterTableDoneResponsePB)
16564
17.1k
}
16565
IsAlterTableDoneResponsePB::IsAlterTableDoneResponsePB(const IsAlterTableDoneResponsePB& from)
16566
  : ::google::protobuf::Message(),
16567
      _internal_metadata_(NULL),
16568
      _has_bits_(from._has_bits_),
16569
0
      _cached_size_(0) {
16570
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
16571
0
  if (from.has_error()) {
16572
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
16573
0
  } else {
16574
0
    error_ = NULL;
16575
0
  }
16576
0
  ::memcpy(&schema_version_, &from.schema_version_,
16577
0
    static_cast<size_t>(reinterpret_cast<char*>(&done_) -
16578
0
    reinterpret_cast<char*>(&schema_version_)) + sizeof(done_));
16579
  // @@protoc_insertion_point(copy_constructor:yb.master.IsAlterTableDoneResponsePB)
16580
0
}
16581
16582
17.1k
void IsAlterTableDoneResponsePB::SharedCtor() {
16583
17.1k
  _cached_size_ = 0;
16584
17.1k
  ::memset(&error_, 0, static_cast<size_t>(
16585
17.1k
      reinterpret_cast<char*>(&done_) -
16586
17.1k
      reinterpret_cast<char*>(&error_)) + sizeof(done_));
16587
17.1k
}
16588
16589
1.29k
IsAlterTableDoneResponsePB::~IsAlterTableDoneResponsePB() {
16590
  // @@protoc_insertion_point(destructor:yb.master.IsAlterTableDoneResponsePB)
16591
1.29k
  SharedDtor();
16592
1.29k
}
16593
16594
1.29k
void IsAlterTableDoneResponsePB::SharedDtor() {
16595
1.29k
  if (this != internal_default_instance()) delete error_;
16596
1.29k
}
16597
16598
0
void IsAlterTableDoneResponsePB::SetCachedSize(int size) const {
16599
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
16600
0
  _cached_size_ = size;
16601
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
16602
0
}
16603
0
const ::google::protobuf::Descriptor* IsAlterTableDoneResponsePB::descriptor() {
16604
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
16605
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
16606
0
}
16607
16608
0
const IsAlterTableDoneResponsePB& IsAlterTableDoneResponsePB::default_instance() {
16609
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsAlterTableDoneResponsePB();
16610
0
  return *internal_default_instance();
16611
0
}
16612
16613
0
IsAlterTableDoneResponsePB* IsAlterTableDoneResponsePB::New(::google::protobuf::Arena* arena) const {
16614
0
  IsAlterTableDoneResponsePB* n = new IsAlterTableDoneResponsePB;
16615
0
  if (arena != NULL) {
16616
0
    arena->Own(n);
16617
0
  }
16618
0
  return n;
16619
0
}
16620
16621
649
void IsAlterTableDoneResponsePB::Clear() {
16622
// @@protoc_insertion_point(message_clear_start:yb.master.IsAlterTableDoneResponsePB)
16623
649
  ::google::protobuf::uint32 cached_has_bits = 0;
16624
  // Prevent compiler warnings about cached_has_bits being unused
16625
649
  (void) cached_has_bits;
16626
16627
649
  cached_has_bits = _has_bits_[0];
16628
649
  if (cached_has_bits & 0x00000001u) {
16629
0
    GOOGLE_DCHECK(error_ != NULL);
16630
0
    error_->Clear();
16631
0
  }
16632
649
  if (cached_has_bits & 6u) {
16633
0
    ::memset(&schema_version_, 0, static_cast<size_t>(
16634
0
        reinterpret_cast<char*>(&done_) -
16635
0
        reinterpret_cast<char*>(&schema_version_)) + sizeof(done_));
16636
0
  }
16637
649
  _has_bits_.Clear();
16638
649
  _internal_metadata_.Clear();
16639
649
}
16640
16641
bool IsAlterTableDoneResponsePB::MergePartialFromCodedStream(
16642
649
    ::google::protobuf::io::CodedInputStream* input) {
16643
1.29k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
16644
649
  ::google::protobuf::uint32 tag;
16645
  // @@protoc_insertion_point(parse_start:yb.master.IsAlterTableDoneResponsePB)
16646
1.94k
  for (;;) {
16647
1.94k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
16648
1.94k
    tag = p.first;
16649
1.94k
    if (!p.second) goto handle_unusual;
16650
1.29k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
16651
      // optional .yb.master.MasterErrorPB error = 1;
16652
0
      case 1: {
16653
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16654
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
16655
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
16656
0
               input, mutable_error()));
16657
0
        } else {
16658
0
          goto handle_unusual;
16659
0
        }
16660
0
        break;
16661
0
      }
16662
16663
      // optional uint32 schema_version = 2;
16664
649
      case 2: {
16665
649
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16666
649
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
16667
649
          set_has_schema_version();
16668
649
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16669
649
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
16670
649
                 input, &schema_version_)));
16671
0
        } else {
16672
0
          goto handle_unusual;
16673
0
        }
16674
649
        break;
16675
649
      }
16676
16677
      // optional bool done = 3;
16678
649
      case 3: {
16679
649
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16680
649
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
16681
649
          set_has_done();
16682
649
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16683
649
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
16684
649
                 input, &done_)));
16685
0
        } else {
16686
0
          goto handle_unusual;
16687
0
        }
16688
649
        break;
16689
649
      }
16690
16691
0
      default: {
16692
649
      handle_unusual:
16693
649
        if (tag == 0) {
16694
649
          goto success;
16695
649
        }
16696
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
16697
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
16698
0
        break;
16699
0
      }
16700
1.29k
    }
16701
1.29k
  }
16702
649
success:
16703
  // @@protoc_insertion_point(parse_success:yb.master.IsAlterTableDoneResponsePB)
16704
649
  return true;
16705
0
failure:
16706
  // @@protoc_insertion_point(parse_failure:yb.master.IsAlterTableDoneResponsePB)
16707
0
  return false;
16708
649
#undef DO_
16709
649
}
16710
16711
void IsAlterTableDoneResponsePB::SerializeWithCachedSizes(
16712
0
    ::google::protobuf::io::CodedOutputStream* output) const {
16713
  // @@protoc_insertion_point(serialize_start:yb.master.IsAlterTableDoneResponsePB)
16714
0
  ::google::protobuf::uint32 cached_has_bits = 0;
16715
0
  (void) cached_has_bits;
16716
16717
0
  cached_has_bits = _has_bits_[0];
16718
  // optional .yb.master.MasterErrorPB error = 1;
16719
0
  if (cached_has_bits & 0x00000001u) {
16720
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
16721
0
      1, *this->error_, output);
16722
0
  }
16723
16724
  // optional uint32 schema_version = 2;
16725
0
  if (cached_has_bits & 0x00000002u) {
16726
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->schema_version(), output);
16727
0
  }
16728
16729
  // optional bool done = 3;
16730
0
  if (cached_has_bits & 0x00000004u) {
16731
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->done(), output);
16732
0
  }
16733
16734
0
  if (_internal_metadata_.have_unknown_fields()) {
16735
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
16736
0
        _internal_metadata_.unknown_fields(), output);
16737
0
  }
16738
  // @@protoc_insertion_point(serialize_end:yb.master.IsAlterTableDoneResponsePB)
16739
0
}
16740
16741
::google::protobuf::uint8* IsAlterTableDoneResponsePB::InternalSerializeWithCachedSizesToArray(
16742
649
    bool deterministic, ::google::protobuf::uint8* target) const {
16743
649
  (void)deterministic; // Unused
16744
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.IsAlterTableDoneResponsePB)
16745
649
  ::google::protobuf::uint32 cached_has_bits = 0;
16746
649
  (void) cached_has_bits;
16747
16748
649
  cached_has_bits = _has_bits_[0];
16749
  // optional .yb.master.MasterErrorPB error = 1;
16750
649
  if (cached_has_bits & 0x00000001u) {
16751
0
    target = ::google::protobuf::internal::WireFormatLite::
16752
0
      InternalWriteMessageToArray(
16753
0
        1, *this->error_, deterministic, target);
16754
0
  }
16755
16756
  // optional uint32 schema_version = 2;
16757
649
  if (cached_has_bits & 0x00000002u) {
16758
649
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->schema_version(), target);
16759
649
  }
16760
16761
  // optional bool done = 3;
16762
649
  if (cached_has_bits & 0x00000004u) {
16763
649
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->done(), target);
16764
649
  }
16765
16766
649
  if (_internal_metadata_.have_unknown_fields()) {
16767
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
16768
0
        _internal_metadata_.unknown_fields(), target);
16769
0
  }
16770
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.IsAlterTableDoneResponsePB)
16771
649
  return target;
16772
649
}
16773
16774
1.29k
size_t IsAlterTableDoneResponsePB::ByteSizeLong() const {
16775
// @@protoc_insertion_point(message_byte_size_start:yb.master.IsAlterTableDoneResponsePB)
16776
1.29k
  size_t total_size = 0;
16777
16778
1.29k
  if (_internal_metadata_.have_unknown_fields()) {
16779
0
    total_size +=
16780
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
16781
0
        _internal_metadata_.unknown_fields());
16782
0
  }
16783
1.29k
  if (_has_bits_[0 / 32] & 7u) {
16784
    // optional .yb.master.MasterErrorPB error = 1;
16785
1.29k
    if (has_error()) {
16786
0
      total_size += 1 +
16787
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
16788
0
          *this->error_);
16789
0
    }
16790
16791
    // optional uint32 schema_version = 2;
16792
1.29k
    if (has_schema_version()) {
16793
1.29k
      total_size += 1 +
16794
1.29k
        ::google::protobuf::internal::WireFormatLite::UInt32Size(
16795
1.29k
          this->schema_version());
16796
1.29k
    }
16797
16798
    // optional bool done = 3;
16799
1.29k
    if (has_done()) {
16800
1.29k
      total_size += 1 + 1;
16801
1.29k
    }
16802
16803
1.29k
  }
16804
1.29k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
16805
1.29k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
16806
1.29k
  _cached_size_ = cached_size;
16807
1.29k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
16808
1.29k
  return total_size;
16809
1.29k
}
16810
16811
0
void IsAlterTableDoneResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
16812
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.IsAlterTableDoneResponsePB)
16813
0
  GOOGLE_DCHECK_NE(&from, this);
16814
0
  const IsAlterTableDoneResponsePB* source =
16815
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsAlterTableDoneResponsePB>(
16816
0
          &from);
16817
0
  if (source == NULL) {
16818
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.IsAlterTableDoneResponsePB)
16819
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
16820
0
  } else {
16821
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.IsAlterTableDoneResponsePB)
16822
0
    MergeFrom(*source);
16823
0
  }
16824
0
}
16825
16826
0
void IsAlterTableDoneResponsePB::MergeFrom(const IsAlterTableDoneResponsePB& from) {
16827
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.IsAlterTableDoneResponsePB)
16828
0
  GOOGLE_DCHECK_NE(&from, this);
16829
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
16830
0
  ::google::protobuf::uint32 cached_has_bits = 0;
16831
0
  (void) cached_has_bits;
16832
16833
0
  cached_has_bits = from._has_bits_[0];
16834
0
  if (cached_has_bits & 7u) {
16835
0
    if (cached_has_bits & 0x00000001u) {
16836
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
16837
0
    }
16838
0
    if (cached_has_bits & 0x00000002u) {
16839
0
      schema_version_ = from.schema_version_;
16840
0
    }
16841
0
    if (cached_has_bits & 0x00000004u) {
16842
0
      done_ = from.done_;
16843
0
    }
16844
0
    _has_bits_[0] |= cached_has_bits;
16845
0
  }
16846
0
}
16847
16848
0
void IsAlterTableDoneResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
16849
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.IsAlterTableDoneResponsePB)
16850
0
  if (&from == this) return;
16851
0
  Clear();
16852
0
  MergeFrom(from);
16853
0
}
16854
16855
0
void IsAlterTableDoneResponsePB::CopyFrom(const IsAlterTableDoneResponsePB& from) {
16856
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.IsAlterTableDoneResponsePB)
16857
0
  if (&from == this) return;
16858
0
  Clear();
16859
0
  MergeFrom(from);
16860
0
}
16861
16862
1.29k
bool IsAlterTableDoneResponsePB::IsInitialized() const {
16863
1.29k
  if (has_error()) {
16864
0
    if (!this->error_->IsInitialized()) return false;
16865
1.29k
  }
16866
1.29k
  return true;
16867
1.29k
}
16868
16869
0
void IsAlterTableDoneResponsePB::Swap(IsAlterTableDoneResponsePB* other) {
16870
0
  if (other == this) return;
16871
0
  InternalSwap(other);
16872
0
}
16873
0
void IsAlterTableDoneResponsePB::InternalSwap(IsAlterTableDoneResponsePB* other) {
16874
0
  using std::swap;
16875
0
  swap(error_, other->error_);
16876
0
  swap(schema_version_, other->schema_version_);
16877
0
  swap(done_, other->done_);
16878
0
  swap(_has_bits_[0], other->_has_bits_[0]);
16879
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
16880
0
  swap(_cached_size_, other->_cached_size_);
16881
0
}
16882
16883
0
::google::protobuf::Metadata IsAlterTableDoneResponsePB::GetMetadata() const {
16884
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
16885
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
16886
0
}
16887
16888
16889
// ===================================================================
16890
16891
15.8k
void CreateNamespaceRequestPB::InitAsDefaultInstance() {
16892
15.8k
  ::yb::master::_CreateNamespaceRequestPB_default_instance_._instance.get_mutable()->transaction_ = const_cast< ::yb::TransactionMetadataPB*>(
16893
15.8k
      ::yb::TransactionMetadataPB::internal_default_instance());
16894
15.8k
}
16895
0
void CreateNamespaceRequestPB::clear_transaction() {
16896
0
  if (transaction_ != NULL) transaction_->Clear();
16897
0
  clear_has_transaction();
16898
0
}
16899
#if !defined(_MSC_VER) || _MSC_VER >= 1900
16900
const int CreateNamespaceRequestPB::kNameFieldNumber;
16901
const int CreateNamespaceRequestPB::kDatabaseTypeFieldNumber;
16902
const int CreateNamespaceRequestPB::kCreatorRoleNameFieldNumber;
16903
const int CreateNamespaceRequestPB::kNamespaceIdFieldNumber;
16904
const int CreateNamespaceRequestPB::kSourceNamespaceIdFieldNumber;
16905
const int CreateNamespaceRequestPB::kNextPgOidFieldNumber;
16906
const int CreateNamespaceRequestPB::kTransactionFieldNumber;
16907
const int CreateNamespaceRequestPB::kColocatedFieldNumber;
16908
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
16909
16910
CreateNamespaceRequestPB::CreateNamespaceRequestPB()
16911
19.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
16912
3.97k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
16913
3.97k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsCreateNamespaceRequestPB();
16914
3.97k
  }
16915
19.8k
  SharedCtor();
16916
  // @@protoc_insertion_point(constructor:yb.master.CreateNamespaceRequestPB)
16917
19.8k
}
16918
CreateNamespaceRequestPB::CreateNamespaceRequestPB(const CreateNamespaceRequestPB& from)
16919
  : ::google::protobuf::Message(),
16920
      _internal_metadata_(NULL),
16921
      _has_bits_(from._has_bits_),
16922
0
      _cached_size_(0) {
16923
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
16924
0
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16925
0
  if (from.has_name()) {
16926
0
    name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
16927
0
  }
16928
0
  creator_role_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16929
0
  if (from.has_creator_role_name()) {
16930
0
    creator_role_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.creator_role_name_);
16931
0
  }
16932
0
  namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16933
0
  if (from.has_namespace_id()) {
16934
0
    namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_id_);
16935
0
  }
16936
0
  source_namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16937
0
  if (from.has_source_namespace_id()) {
16938
0
    source_namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.source_namespace_id_);
16939
0
  }
16940
0
  if (from.has_transaction()) {
16941
0
    transaction_ = new ::yb::TransactionMetadataPB(*from.transaction_);
16942
0
  } else {
16943
0
    transaction_ = NULL;
16944
0
  }
16945
0
  ::memcpy(&next_pg_oid_, &from.next_pg_oid_,
16946
0
    static_cast<size_t>(reinterpret_cast<char*>(&database_type_) -
16947
0
    reinterpret_cast<char*>(&next_pg_oid_)) + sizeof(database_type_));
16948
  // @@protoc_insertion_point(copy_constructor:yb.master.CreateNamespaceRequestPB)
16949
0
}
16950
16951
19.8k
void CreateNamespaceRequestPB::SharedCtor() {
16952
19.8k
  _cached_size_ = 0;
16953
19.8k
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16954
19.8k
  creator_role_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16955
19.8k
  namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16956
19.8k
  source_namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16957
19.8k
  ::memset(&transaction_, 0, static_cast<size_t>(
16958
19.8k
      reinterpret_cast<char*>(&colocated_) -
16959
19.8k
      reinterpret_cast<char*>(&transaction_)) + sizeof(colocated_));
16960
19.8k
  database_type_ = 2;
16961
19.8k
}
16962
16963
3.95k
CreateNamespaceRequestPB::~CreateNamespaceRequestPB() {
16964
  // @@protoc_insertion_point(destructor:yb.master.CreateNamespaceRequestPB)
16965
3.95k
  SharedDtor();
16966
3.95k
}
16967
16968
3.95k
void CreateNamespaceRequestPB::SharedDtor() {
16969
3.95k
  name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16970
3.95k
  creator_role_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16971
3.95k
  namespace_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16972
3.95k
  source_namespace_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16973
3.95k
  if (this != internal_default_instance()) delete transaction_;
16974
3.95k
}
16975
16976
0
void CreateNamespaceRequestPB::SetCachedSize(int size) const {
16977
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
16978
0
  _cached_size_ = size;
16979
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
16980
0
}
16981
0
const ::google::protobuf::Descriptor* CreateNamespaceRequestPB::descriptor() {
16982
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
16983
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
16984
0
}
16985
16986
0
const CreateNamespaceRequestPB& CreateNamespaceRequestPB::default_instance() {
16987
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsCreateNamespaceRequestPB();
16988
0
  return *internal_default_instance();
16989
0
}
16990
16991
0
CreateNamespaceRequestPB* CreateNamespaceRequestPB::New(::google::protobuf::Arena* arena) const {
16992
0
  CreateNamespaceRequestPB* n = new CreateNamespaceRequestPB;
16993
0
  if (arena != NULL) {
16994
0
    arena->Own(n);
16995
0
  }
16996
0
  return n;
16997
0
}
16998
16999
2.08k
void CreateNamespaceRequestPB::Clear() {
17000
// @@protoc_insertion_point(message_clear_start:yb.master.CreateNamespaceRequestPB)
17001
2.08k
  ::google::protobuf::uint32 cached_has_bits = 0;
17002
  // Prevent compiler warnings about cached_has_bits being unused
17003
2.08k
  (void) cached_has_bits;
17004
17005
2.08k
  cached_has_bits = _has_bits_[0];
17006
2.08k
  if (cached_has_bits & 31u) {
17007
0
    if (cached_has_bits & 0x00000001u) {
17008
0
      GOOGLE_DCHECK(!name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
17009
0
      (*name_.UnsafeRawStringPointer())->clear();
17010
0
    }
17011
0
    if (cached_has_bits & 0x00000002u) {
17012
0
      GOOGLE_DCHECK(!creator_role_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
17013
0
      (*creator_role_name_.UnsafeRawStringPointer())->clear();
17014
0
    }
17015
0
    if (cached_has_bits & 0x00000004u) {
17016
0
      GOOGLE_DCHECK(!namespace_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
17017
0
      (*namespace_id_.UnsafeRawStringPointer())->clear();
17018
0
    }
17019
0
    if (cached_has_bits & 0x00000008u) {
17020
0
      GOOGLE_DCHECK(!source_namespace_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
17021
0
      (*source_namespace_id_.UnsafeRawStringPointer())->clear();
17022
0
    }
17023
0
    if (cached_has_bits & 0x00000010u) {
17024
0
      GOOGLE_DCHECK(transaction_ != NULL);
17025
0
      transaction_->Clear();
17026
0
    }
17027
0
  }
17028
2.08k
  if (cached_has_bits & 224u) {
17029
0
    ::memset(&next_pg_oid_, 0, static_cast<size_t>(
17030
0
        reinterpret_cast<char*>(&colocated_) -
17031
0
        reinterpret_cast<char*>(&next_pg_oid_)) + sizeof(colocated_));
17032
0
    database_type_ = 2;
17033
0
  }
17034
2.08k
  _has_bits_.Clear();
17035
2.08k
  _internal_metadata_.Clear();
17036
2.08k
}
17037
17038
bool CreateNamespaceRequestPB::MergePartialFromCodedStream(
17039
2.08k
    ::google::protobuf::io::CodedInputStream* input) {
17040
6.80k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
17041
2.08k
  ::google::protobuf::uint32 tag;
17042
  // @@protoc_insertion_point(parse_start:yb.master.CreateNamespaceRequestPB)
17043
8.88k
  for (;;) {
17044
8.88k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
17045
8.88k
    tag = p.first;
17046
8.88k
    if (!p.second) goto handle_unusual;
17047
6.80k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
17048
      // optional string name = 1;
17049
2.08k
      case 1: {
17050
2.08k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
17051
2.08k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
17052
2.08k
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
17053
2.08k
                input, this->mutable_name()));
17054
2.08k
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
17055
2.08k
            this->name().data(), static_cast<int>(this->name().length()),
17056
2.08k
            ::google::protobuf::internal::WireFormat::PARSE,
17057
2.08k
            "yb.master.CreateNamespaceRequestPB.name");
17058
0
        } else {
17059
0
          goto handle_unusual;
17060
0
        }
17061
2.08k
        break;
17062
2.08k
      }
17063
17064
      // optional .yb.YQLDatabase database_type = 2 [default = YQL_DATABASE_CQL];
17065
1.91k
      case 2: {
17066
1.91k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
17067
1.91k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
17068
1.91k
          int value;
17069
1.91k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
17070
1.91k
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
17071
1.91k
                 input, &value)));
17072
1.91k
          if (::yb::YQLDatabase_IsValid(value)) {
17073
1.91k
            set_database_type(static_cast< ::yb::YQLDatabase >(value));
17074
0
          } else {
17075
0
            mutable_unknown_fields()->AddVarint(
17076
0
                2, static_cast< ::google::protobuf::uint64>(value));
17077
0
          }
17078
0
        } else {
17079
0
          goto handle_unusual;
17080
0
        }
17081
1.91k
        break;
17082
1.91k
      }
17083
17084
      // optional string creator_role_name = 3;
17085
904
      case 3: {
17086
904
        if (static_cast< ::google::protobuf::uint8>(tag) ==
17087
904
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
17088
904
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
17089
904
                input, this->mutable_creator_role_name()));
17090
904
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
17091
904
            this->creator_role_name().data(), static_cast<int>(this->creator_role_name().length()),
17092
904
            ::google::protobuf::internal::WireFormat::PARSE,
17093
904
            "yb.master.CreateNamespaceRequestPB.creator_role_name");
17094
0
        } else {
17095
0
          goto handle_unusual;
17096
0
        }
17097
904
        break;
17098
904
      }
17099
17100
      // optional bytes namespace_id = 4;
17101
46
      case 4: {
17102
46
        if (static_cast< ::google::protobuf::uint8>(tag) ==
17103
46
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
17104
46
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
17105
46
                input, this->mutable_namespace_id()));
17106
0
        } else {
17107
0
          goto handle_unusual;
17108
0
        }
17109
46
        break;
17110
46
      }
17111
17112
      // optional bytes source_namespace_id = 5;
17113
22
      case 5: {
17114
22
        if (static_cast< ::google::protobuf::uint8>(tag) ==
17115
22
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
17116
22
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
17117
22
                input, this->mutable_source_namespace_id()));
17118
0
        } else {
17119
0
          goto handle_unusual;
17120
0
        }
17121
22
        break;
17122
22
      }
17123
17124
      // optional uint32 next_pg_oid = 6;
17125
22
      case 6: {
17126
22
        if (static_cast< ::google::protobuf::uint8>(tag) ==
17127
22
            static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
17128
22
          set_has_next_pg_oid();
17129
22
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
17130
22
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
17131
22
                 input, &next_pg_oid_)));
17132
0
        } else {
17133
0
          goto handle_unusual;
17134
0
        }
17135
22
        break;
17136
22
      }
17137
17138
      // optional bool colocated = 7 [default = false];
17139
1.79k
      case 7: {
17140
1.79k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
17141
1.79k
            static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
17142
1.79k
          set_has_colocated();
17143
1.79k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
17144
1.79k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
17145
1.79k
                 input, &colocated_)));
17146
0
        } else {
17147
0
          goto handle_unusual;
17148
0
        }
17149
1.79k
        break;
17150
1.79k
      }
17151
17152
      // optional .yb.TransactionMetadataPB transaction = 8;
17153
22
      case 8: {
17154
22
        if (static_cast< ::google::protobuf::uint8>(tag) ==
17155
22
            static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
17156
22
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
17157
22
               input, mutable_transaction()));
17158
0
        } else {
17159
0
          goto handle_unusual;
17160
0
        }
17161
22
        break;
17162
2.08k
      }
17163
17164
0
      default: {
17165
2.08k
      handle_unusual:
17166
2.08k
        if (tag == 0) {
17167
2.08k
          goto success;
17168
2.08k
        }
17169
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
17170
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
17171
0
        break;
17172
0
      }
17173
6.80k
    }
17174
6.80k
  }
17175
2.08k
success:
17176
  // @@protoc_insertion_point(parse_success:yb.master.CreateNamespaceRequestPB)
17177
2.08k
  return true;
17178
0
failure:
17179
  // @@protoc_insertion_point(parse_failure:yb.master.CreateNamespaceRequestPB)
17180
0
  return false;
17181
2.08k
#undef DO_
17182
2.08k
}
17183
17184
void CreateNamespaceRequestPB::SerializeWithCachedSizes(
17185
0
    ::google::protobuf::io::CodedOutputStream* output) const {
17186
  // @@protoc_insertion_point(serialize_start:yb.master.CreateNamespaceRequestPB)
17187
0
  ::google::protobuf::uint32 cached_has_bits = 0;
17188
0
  (void) cached_has_bits;
17189
17190
0
  cached_has_bits = _has_bits_[0];
17191
  // optional string name = 1;
17192
0
  if (cached_has_bits & 0x00000001u) {
17193
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
17194
0
      this->name().data(), static_cast<int>(this->name().length()),
17195
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
17196
0
      "yb.master.CreateNamespaceRequestPB.name");
17197
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
17198
0
      1, this->name(), output);
17199
0
  }
17200
17201
  // optional .yb.YQLDatabase database_type = 2 [default = YQL_DATABASE_CQL];
17202
0
  if (cached_has_bits & 0x00000080u) {
17203
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
17204
0
      2, this->database_type(), output);
17205
0
  }
17206
17207
  // optional string creator_role_name = 3;
17208
0
  if (cached_has_bits & 0x00000002u) {
17209
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
17210
0
      this->creator_role_name().data(), static_cast<int>(this->creator_role_name().length()),
17211
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
17212
0
      "yb.master.CreateNamespaceRequestPB.creator_role_name");
17213
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
17214
0
      3, this->creator_role_name(), output);
17215
0
  }
17216
17217
  // optional bytes namespace_id = 4;
17218
0
  if (cached_has_bits & 0x00000004u) {
17219
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
17220
0
      4, this->namespace_id(), output);
17221
0
  }
17222
17223
  // optional bytes source_namespace_id = 5;
17224
0
  if (cached_has_bits & 0x00000008u) {
17225
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
17226
0
      5, this->source_namespace_id(), output);
17227
0
  }
17228
17229
  // optional uint32 next_pg_oid = 6;
17230
0
  if (cached_has_bits & 0x00000020u) {
17231
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->next_pg_oid(), output);
17232
0
  }
17233
17234
  // optional bool colocated = 7 [default = false];
17235
0
  if (cached_has_bits & 0x00000040u) {
17236
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->colocated(), output);
17237
0
  }
17238
17239
  // optional .yb.TransactionMetadataPB transaction = 8;
17240
0
  if (cached_has_bits & 0x00000010u) {
17241
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
17242
0
      8, *this->transaction_, output);
17243
0
  }
17244
17245
0
  if (_internal_metadata_.have_unknown_fields()) {
17246
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
17247
0
        _internal_metadata_.unknown_fields(), output);
17248
0
  }
17249
  // @@protoc_insertion_point(serialize_end:yb.master.CreateNamespaceRequestPB)
17250
0
}
17251
17252
::google::protobuf::uint8* CreateNamespaceRequestPB::InternalSerializeWithCachedSizesToArray(
17253
1.88k
    bool deterministic, ::google::protobuf::uint8* target) const {
17254
1.88k
  (void)deterministic; // Unused
17255
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.CreateNamespaceRequestPB)
17256
1.88k
  ::google::protobuf::uint32 cached_has_bits = 0;
17257
1.88k
  (void) cached_has_bits;
17258
17259
1.88k
  cached_has_bits = _has_bits_[0];
17260
  // optional string name = 1;
17261
1.88k
  if (cached_has_bits & 0x00000001u) {
17262
1.88k
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
17263
1.88k
      this->name().data(), static_cast<int>(this->name().length()),
17264
1.88k
      ::google::protobuf::internal::WireFormat::SERIALIZE,
17265
1.88k
      "yb.master.CreateNamespaceRequestPB.name");
17266
1.88k
    target =
17267
1.88k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
17268
1.88k
        1, this->name(), target);
17269
1.88k
  }
17270
17271
  // optional .yb.YQLDatabase database_type = 2 [default = YQL_DATABASE_CQL];
17272
1.88k
  if (cached_has_bits & 0x00000080u) {
17273
1.82k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
17274
1.82k
      2, this->database_type(), target);
17275
1.82k
  }
17276
17277
  // optional string creator_role_name = 3;
17278
1.88k
  if (cached_has_bits & 0x00000002u) {
17279
904
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
17280
904
      this->creator_role_name().data(), static_cast<int>(this->creator_role_name().length()),
17281
904
      ::google::protobuf::internal::WireFormat::SERIALIZE,
17282
904
      "yb.master.CreateNamespaceRequestPB.creator_role_name");
17283
904
    target =
17284
904
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
17285
904
        3, this->creator_role_name(), target);
17286
904
  }
17287
17288
  // optional bytes namespace_id = 4;
17289
1.88k
  if (cached_has_bits & 0x00000004u) {
17290
46
    target =
17291
46
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
17292
46
        4, this->namespace_id(), target);
17293
46
  }
17294
17295
  // optional bytes source_namespace_id = 5;
17296
1.88k
  if (cached_has_bits & 0x00000008u) {
17297
22
    target =
17298
22
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
17299
22
        5, this->source_namespace_id(), target);
17300
22
  }
17301
17302
  // optional uint32 next_pg_oid = 6;
17303
1.88k
  if (cached_has_bits & 0x00000020u) {
17304
22
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->next_pg_oid(), target);
17305
22
  }
17306
17307
  // optional bool colocated = 7 [default = false];
17308
1.88k
  if (cached_has_bits & 0x00000040u) {
17309
1.80k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->colocated(), target);
17310
1.80k
  }
17311
17312
  // optional .yb.TransactionMetadataPB transaction = 8;
17313
1.88k
  if (cached_has_bits & 0x00000010u) {
17314
22
    target = ::google::protobuf::internal::WireFormatLite::
17315
22
      InternalWriteMessageToArray(
17316
22
        8, *this->transaction_, deterministic, target);
17317
22
  }
17318
17319
1.88k
  if (_internal_metadata_.have_unknown_fields()) {
17320
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
17321
0
        _internal_metadata_.unknown_fields(), target);
17322
0
  }
17323
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.CreateNamespaceRequestPB)
17324
1.88k
  return target;
17325
1.88k
}
17326
17327
3.77k
size_t CreateNamespaceRequestPB::ByteSizeLong() const {
17328
// @@protoc_insertion_point(message_byte_size_start:yb.master.CreateNamespaceRequestPB)
17329
3.77k
  size_t total_size = 0;
17330
17331
3.77k
  if (_internal_metadata_.have_unknown_fields()) {
17332
0
    total_size +=
17333
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
17334
0
        _internal_metadata_.unknown_fields());
17335
0
  }
17336
3.77k
  if (_has_bits_[0 / 32] & 255u) {
17337
    // optional string name = 1;
17338
3.77k
    if (has_name()) {
17339
3.77k
      total_size += 1 +
17340
3.77k
        ::google::protobuf::internal::WireFormatLite::StringSize(
17341
3.77k
          this->name());
17342
3.77k
    }
17343
17344
    // optional string creator_role_name = 3;
17345
3.77k
    if (has_creator_role_name()) {
17346
1.80k
      total_size += 1 +
17347
1.80k
        ::google::protobuf::internal::WireFormatLite::StringSize(
17348
1.80k
          this->creator_role_name());
17349
1.80k
    }
17350
17351
    // optional bytes namespace_id = 4;
17352
3.77k
    if (has_namespace_id()) {
17353
92
      total_size += 1 +
17354
92
        ::google::protobuf::internal::WireFormatLite::BytesSize(
17355
92
          this->namespace_id());
17356
92
    }
17357
17358
    // optional bytes source_namespace_id = 5;
17359
3.77k
    if (has_source_namespace_id()) {
17360
44
      total_size += 1 +
17361
44
        ::google::protobuf::internal::WireFormatLite::BytesSize(
17362
44
          this->source_namespace_id());
17363
44
    }
17364
17365
    // optional .yb.TransactionMetadataPB transaction = 8;
17366
3.77k
    if (has_transaction()) {
17367
44
      total_size += 1 +
17368
44
        ::google::protobuf::internal::WireFormatLite::MessageSize(
17369
44
          *this->transaction_);
17370
44
    }
17371
17372
    // optional uint32 next_pg_oid = 6;
17373
3.77k
    if (has_next_pg_oid()) {
17374
44
      total_size += 1 +
17375
44
        ::google::protobuf::internal::WireFormatLite::UInt32Size(
17376
44
          this->next_pg_oid());
17377
44
    }
17378
17379
    // optional bool colocated = 7 [default = false];
17380
3.77k
    if (has_colocated()) {
17381
3.61k
      total_size += 1 + 1;
17382
3.61k
    }
17383
17384
    // optional .yb.YQLDatabase database_type = 2 [default = YQL_DATABASE_CQL];
17385
3.77k
    if (has_database_type()) {
17386
3.65k
      total_size += 1 +
17387
3.65k
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->database_type());
17388
3.65k
    }
17389
17390
3.77k
  }
17391
3.77k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
17392
3.77k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
17393
3.77k
  _cached_size_ = cached_size;
17394
3.77k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
17395
3.77k
  return total_size;
17396
3.77k
}
17397
17398
0
void CreateNamespaceRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
17399
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.CreateNamespaceRequestPB)
17400
0
  GOOGLE_DCHECK_NE(&from, this);
17401
0
  const CreateNamespaceRequestPB* source =
17402
0
      ::google::protobuf::internal::DynamicCastToGenerated<const CreateNamespaceRequestPB>(
17403
0
          &from);
17404
0
  if (source == NULL) {
17405
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.CreateNamespaceRequestPB)
17406
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
17407
0
  } else {
17408
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.CreateNamespaceRequestPB)
17409
0
    MergeFrom(*source);
17410
0
  }
17411
0
}
17412
17413
0
void CreateNamespaceRequestPB::MergeFrom(const CreateNamespaceRequestPB& from) {
17414
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.CreateNamespaceRequestPB)
17415
0
  GOOGLE_DCHECK_NE(&from, this);
17416
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
17417
0
  ::google::protobuf::uint32 cached_has_bits = 0;
17418
0
  (void) cached_has_bits;
17419
17420
0
  cached_has_bits = from._has_bits_[0];
17421
0
  if (cached_has_bits & 255u) {
17422
0
    if (cached_has_bits & 0x00000001u) {
17423
0
      set_has_name();
17424
0
      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
17425
0
    }
17426
0
    if (cached_has_bits & 0x00000002u) {
17427
0
      set_has_creator_role_name();
17428
0
      creator_role_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.creator_role_name_);
17429
0
    }
17430
0
    if (cached_has_bits & 0x00000004u) {
17431
0
      set_has_namespace_id();
17432
0
      namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_id_);
17433
0
    }
17434
0
    if (cached_has_bits & 0x00000008u) {
17435
0
      set_has_source_namespace_id();
17436
0
      source_namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.source_namespace_id_);
17437
0
    }
17438
0
    if (cached_has_bits & 0x00000010u) {
17439
0
      mutable_transaction()->::yb::TransactionMetadataPB::MergeFrom(from.transaction());
17440
0
    }
17441
0
    if (cached_has_bits & 0x00000020u) {
17442
0
      next_pg_oid_ = from.next_pg_oid_;
17443
0
    }
17444
0
    if (cached_has_bits & 0x00000040u) {
17445
0
      colocated_ = from.colocated_;
17446
0
    }
17447
0
    if (cached_has_bits & 0x00000080u) {
17448
0
      database_type_ = from.database_type_;
17449
0
    }
17450
0
    _has_bits_[0] |= cached_has_bits;
17451
0
  }
17452
0
}
17453
17454
0
void CreateNamespaceRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
17455
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.CreateNamespaceRequestPB)
17456
0
  if (&from == this) return;
17457
0
  Clear();
17458
0
  MergeFrom(from);
17459
0
}
17460
17461
0
void CreateNamespaceRequestPB::CopyFrom(const CreateNamespaceRequestPB& from) {
17462
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.CreateNamespaceRequestPB)
17463
0
  if (&from == this) return;
17464
0
  Clear();
17465
0
  MergeFrom(from);
17466
0
}
17467
17468
3.96k
bool CreateNamespaceRequestPB::IsInitialized() const {
17469
3.96k
  return true;
17470
3.96k
}
17471
17472
0
void CreateNamespaceRequestPB::Swap(CreateNamespaceRequestPB* other) {
17473
0
  if (other == this) return;
17474
0
  InternalSwap(other);
17475
0
}
17476
0
void CreateNamespaceRequestPB::InternalSwap(CreateNamespaceRequestPB* other) {
17477
0
  using std::swap;
17478
0
  name_.Swap(&other->name_);
17479
0
  creator_role_name_.Swap(&other->creator_role_name_);
17480
0
  namespace_id_.Swap(&other->namespace_id_);
17481
0
  source_namespace_id_.Swap(&other->source_namespace_id_);
17482
0
  swap(transaction_, other->transaction_);
17483
0
  swap(next_pg_oid_, other->next_pg_oid_);
17484
0
  swap(colocated_, other->colocated_);
17485
0
  swap(database_type_, other->database_type_);
17486
0
  swap(_has_bits_[0], other->_has_bits_[0]);
17487
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
17488
0
  swap(_cached_size_, other->_cached_size_);
17489
0
}
17490
17491
6.25k
::google::protobuf::Metadata CreateNamespaceRequestPB::GetMetadata() const {
17492
6.25k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
17493
6.25k
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
17494
6.25k
}
17495
17496
17497
// ===================================================================
17498
17499
15.8k
void CreateNamespaceResponsePB::InitAsDefaultInstance() {
17500
15.8k
  ::yb::master::_CreateNamespaceResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
17501
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
17502
15.8k
}
17503
0
void CreateNamespaceResponsePB::clear_error() {
17504
0
  if (error_ != NULL) error_->Clear();
17505
0
  clear_has_error();
17506
0
}
17507
#if !defined(_MSC_VER) || _MSC_VER >= 1900
17508
const int CreateNamespaceResponsePB::kErrorFieldNumber;
17509
const int CreateNamespaceResponsePB::kIdFieldNumber;
17510
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
17511
17512
CreateNamespaceResponsePB::CreateNamespaceResponsePB()
17513
19.7k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
17514
3.95k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
17515
3.95k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsCreateNamespaceResponsePB();
17516
3.95k
  }
17517
19.7k
  SharedCtor();
17518
  // @@protoc_insertion_point(constructor:yb.master.CreateNamespaceResponsePB)
17519
19.7k
}
17520
CreateNamespaceResponsePB::CreateNamespaceResponsePB(const CreateNamespaceResponsePB& from)
17521
  : ::google::protobuf::Message(),
17522
      _internal_metadata_(NULL),
17523
      _has_bits_(from._has_bits_),
17524
0
      _cached_size_(0) {
17525
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
17526
0
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17527
0
  if (from.has_id()) {
17528
0
    id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
17529
0
  }
17530
0
  if (from.has_error()) {
17531
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
17532
0
  } else {
17533
0
    error_ = NULL;
17534
0
  }
17535
  // @@protoc_insertion_point(copy_constructor:yb.master.CreateNamespaceResponsePB)
17536
0
}
17537
17538
19.7k
void CreateNamespaceResponsePB::SharedCtor() {
17539
19.7k
  _cached_size_ = 0;
17540
19.7k
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17541
19.7k
  error_ = NULL;
17542
19.7k
}
17543
17544
3.94k
CreateNamespaceResponsePB::~CreateNamespaceResponsePB() {
17545
  // @@protoc_insertion_point(destructor:yb.master.CreateNamespaceResponsePB)
17546
3.94k
  SharedDtor();
17547
3.94k
}
17548
17549
3.94k
void CreateNamespaceResponsePB::SharedDtor() {
17550
3.94k
  id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17551
3.94k
  if (this != internal_default_instance()) delete error_;
17552
3.94k
}
17553
17554
0
void CreateNamespaceResponsePB::SetCachedSize(int size) const {
17555
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
17556
0
  _cached_size_ = size;
17557
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
17558
0
}
17559
0
const ::google::protobuf::Descriptor* CreateNamespaceResponsePB::descriptor() {
17560
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
17561
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
17562
0
}
17563
17564
0
const CreateNamespaceResponsePB& CreateNamespaceResponsePB::default_instance() {
17565
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsCreateNamespaceResponsePB();
17566
0
  return *internal_default_instance();
17567
0
}
17568
17569
0
CreateNamespaceResponsePB* CreateNamespaceResponsePB::New(::google::protobuf::Arena* arena) const {
17570
0
  CreateNamespaceResponsePB* n = new CreateNamespaceResponsePB;
17571
0
  if (arena != NULL) {
17572
0
    arena->Own(n);
17573
0
  }
17574
0
  return n;
17575
0
}
17576
17577
1.87k
void CreateNamespaceResponsePB::Clear() {
17578
// @@protoc_insertion_point(message_clear_start:yb.master.CreateNamespaceResponsePB)
17579
1.87k
  ::google::protobuf::uint32 cached_has_bits = 0;
17580
  // Prevent compiler warnings about cached_has_bits being unused
17581
1.87k
  (void) cached_has_bits;
17582
17583
1.87k
  cached_has_bits = _has_bits_[0];
17584
1.87k
  if (cached_has_bits & 3u) {
17585
19
    if (cached_has_bits & 0x00000001u) {
17586
19
      GOOGLE_DCHECK(!id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
17587
19
      (*id_.UnsafeRawStringPointer())->clear();
17588
19
    }
17589
19
    if (cached_has_bits & 0x00000002u) {
17590
9
      GOOGLE_DCHECK(error_ != NULL);
17591
9
      error_->Clear();
17592
9
    }
17593
19
  }
17594
1.87k
  _has_bits_.Clear();
17595
1.87k
  _internal_metadata_.Clear();
17596
1.87k
}
17597
17598
bool CreateNamespaceResponsePB::MergePartialFromCodedStream(
17599
1.87k
    ::google::protobuf::io::CodedInputStream* input) {
17600
1.89k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
17601
1.87k
  ::google::protobuf::uint32 tag;
17602
  // @@protoc_insertion_point(parse_start:yb.master.CreateNamespaceResponsePB)
17603
3.76k
  for (;;) {
17604
3.76k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
17605
3.76k
    tag = p.first;
17606
3.76k
    if (!p.second) goto handle_unusual;
17607
1.89k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
17608
      // optional .yb.master.MasterErrorPB error = 1;
17609
14
      case 1: {
17610
14
        if (static_cast< ::google::protobuf::uint8>(tag) ==
17611
14
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
17612
14
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
17613
14
               input, mutable_error()));
17614
0
        } else {
17615
0
          goto handle_unusual;
17616
0
        }
17617
14
        break;
17618
14
      }
17619
17620
      // optional bytes id = 2;
17621
1.87k
      case 2: {
17622
1.87k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
17623
1.87k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
17624
1.87k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
17625
1.87k
                input, this->mutable_id()));
17626
0
        } else {
17627
0
          goto handle_unusual;
17628
0
        }
17629
1.87k
        break;
17630
1.87k
      }
17631
17632
0
      default: {
17633
1.87k
      handle_unusual:
17634
1.87k
        if (tag == 0) {
17635
1.87k
          goto success;
17636
1.87k
        }
17637
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
17638
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
17639
0
        break;
17640
0
      }
17641
1.89k
    }
17642
1.89k
  }
17643
1.87k
success:
17644
  // @@protoc_insertion_point(parse_success:yb.master.CreateNamespaceResponsePB)
17645
1.87k
  return true;
17646
0
failure:
17647
  // @@protoc_insertion_point(parse_failure:yb.master.CreateNamespaceResponsePB)
17648
0
  return false;
17649
1.87k
#undef DO_
17650
1.87k
}
17651
17652
void CreateNamespaceResponsePB::SerializeWithCachedSizes(
17653
0
    ::google::protobuf::io::CodedOutputStream* output) const {
17654
  // @@protoc_insertion_point(serialize_start:yb.master.CreateNamespaceResponsePB)
17655
0
  ::google::protobuf::uint32 cached_has_bits = 0;
17656
0
  (void) cached_has_bits;
17657
17658
0
  cached_has_bits = _has_bits_[0];
17659
  // optional .yb.master.MasterErrorPB error = 1;
17660
0
  if (cached_has_bits & 0x00000002u) {
17661
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
17662
0
      1, *this->error_, output);
17663
0
  }
17664
17665
  // optional bytes id = 2;
17666
0
  if (cached_has_bits & 0x00000001u) {
17667
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
17668
0
      2, this->id(), output);
17669
0
  }
17670
17671
0
  if (_internal_metadata_.have_unknown_fields()) {
17672
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
17673
0
        _internal_metadata_.unknown_fields(), output);
17674
0
  }
17675
  // @@protoc_insertion_point(serialize_end:yb.master.CreateNamespaceResponsePB)
17676
0
}
17677
17678
::google::protobuf::uint8* CreateNamespaceResponsePB::InternalSerializeWithCachedSizesToArray(
17679
2.08k
    bool deterministic, ::google::protobuf::uint8* target) const {
17680
2.08k
  (void)deterministic; // Unused
17681
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.CreateNamespaceResponsePB)
17682
2.08k
  ::google::protobuf::uint32 cached_has_bits = 0;
17683
2.08k
  (void) cached_has_bits;
17684
17685
2.08k
  cached_has_bits = _has_bits_[0];
17686
  // optional .yb.master.MasterErrorPB error = 1;
17687
2.08k
  if (cached_has_bits & 0x00000002u) {
17688
14
    target = ::google::protobuf::internal::WireFormatLite::
17689
14
      InternalWriteMessageToArray(
17690
14
        1, *this->error_, deterministic, target);
17691
14
  }
17692
17693
  // optional bytes id = 2;
17694
2.08k
  if (cached_has_bits & 0x00000001u) {
17695
2.08k
    target =
17696
2.08k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
17697
2.08k
        2, this->id(), target);
17698
2.08k
  }
17699
17700
2.08k
  if (_internal_metadata_.have_unknown_fields()) {
17701
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
17702
0
        _internal_metadata_.unknown_fields(), target);
17703
0
  }
17704
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.CreateNamespaceResponsePB)
17705
2.08k
  return target;
17706
2.08k
}
17707
17708
4.16k
size_t CreateNamespaceResponsePB::ByteSizeLong() const {
17709
// @@protoc_insertion_point(message_byte_size_start:yb.master.CreateNamespaceResponsePB)
17710
4.16k
  size_t total_size = 0;
17711
17712
4.16k
  if (_internal_metadata_.have_unknown_fields()) {
17713
0
    total_size +=
17714
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
17715
0
        _internal_metadata_.unknown_fields());
17716
0
  }
17717
4.16k
  if (_has_bits_[0 / 32] & 3u) {
17718
    // optional bytes id = 2;
17719
4.16k
    if (has_id()) {
17720
4.16k
      total_size += 1 +
17721
4.16k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
17722
4.16k
          this->id());
17723
4.16k
    }
17724
17725
    // optional .yb.master.MasterErrorPB error = 1;
17726
4.16k
    if (has_error()) {
17727
28
      total_size += 1 +
17728
28
        ::google::protobuf::internal::WireFormatLite::MessageSize(
17729
28
          *this->error_);
17730
28
    }
17731
17732
4.16k
  }
17733
4.16k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
17734
4.16k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
17735
4.16k
  _cached_size_ = cached_size;
17736
4.16k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
17737
4.16k
  return total_size;
17738
4.16k
}
17739
17740
0
void CreateNamespaceResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
17741
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.CreateNamespaceResponsePB)
17742
0
  GOOGLE_DCHECK_NE(&from, this);
17743
0
  const CreateNamespaceResponsePB* source =
17744
0
      ::google::protobuf::internal::DynamicCastToGenerated<const CreateNamespaceResponsePB>(
17745
0
          &from);
17746
0
  if (source == NULL) {
17747
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.CreateNamespaceResponsePB)
17748
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
17749
0
  } else {
17750
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.CreateNamespaceResponsePB)
17751
0
    MergeFrom(*source);
17752
0
  }
17753
0
}
17754
17755
0
void CreateNamespaceResponsePB::MergeFrom(const CreateNamespaceResponsePB& from) {
17756
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.CreateNamespaceResponsePB)
17757
0
  GOOGLE_DCHECK_NE(&from, this);
17758
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
17759
0
  ::google::protobuf::uint32 cached_has_bits = 0;
17760
0
  (void) cached_has_bits;
17761
17762
0
  cached_has_bits = from._has_bits_[0];
17763
0
  if (cached_has_bits & 3u) {
17764
0
    if (cached_has_bits & 0x00000001u) {
17765
0
      set_has_id();
17766
0
      id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
17767
0
    }
17768
0
    if (cached_has_bits & 0x00000002u) {
17769
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
17770
0
    }
17771
0
  }
17772
0
}
17773
17774
0
void CreateNamespaceResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
17775
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.CreateNamespaceResponsePB)
17776
0
  if (&from == this) return;
17777
0
  Clear();
17778
0
  MergeFrom(from);
17779
0
}
17780
17781
0
void CreateNamespaceResponsePB::CopyFrom(const CreateNamespaceResponsePB& from) {
17782
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.CreateNamespaceResponsePB)
17783
0
  if (&from == this) return;
17784
0
  Clear();
17785
0
  MergeFrom(from);
17786
0
}
17787
17788
3.95k
bool CreateNamespaceResponsePB::IsInitialized() const {
17789
3.95k
  if (has_error()) {
17790
28
    if (!this->error_->IsInitialized()) return false;
17791
3.95k
  }
17792
3.95k
  return true;
17793
3.95k
}
17794
17795
0
void CreateNamespaceResponsePB::Swap(CreateNamespaceResponsePB* other) {
17796
0
  if (other == this) return;
17797
0
  InternalSwap(other);
17798
0
}
17799
0
void CreateNamespaceResponsePB::InternalSwap(CreateNamespaceResponsePB* other) {
17800
0
  using std::swap;
17801
0
  id_.Swap(&other->id_);
17802
0
  swap(error_, other->error_);
17803
0
  swap(_has_bits_[0], other->_has_bits_[0]);
17804
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
17805
0
  swap(_cached_size_, other->_cached_size_);
17806
0
}
17807
17808
0
::google::protobuf::Metadata CreateNamespaceResponsePB::GetMetadata() const {
17809
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
17810
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
17811
0
}
17812
17813
17814
// ===================================================================
17815
17816
15.8k
void IsCreateNamespaceDoneRequestPB::InitAsDefaultInstance() {
17817
15.8k
  ::yb::master::_IsCreateNamespaceDoneRequestPB_default_instance_._instance.get_mutable()->namespace__ = const_cast< ::yb::master::NamespaceIdentifierPB*>(
17818
15.8k
      ::yb::master::NamespaceIdentifierPB::internal_default_instance());
17819
15.8k
}
17820
0
void IsCreateNamespaceDoneRequestPB::clear_namespace_() {
17821
0
  if (namespace__ != NULL) namespace__->Clear();
17822
0
  clear_has_namespace_();
17823
0
}
17824
#if !defined(_MSC_VER) || _MSC_VER >= 1900
17825
const int IsCreateNamespaceDoneRequestPB::kNamespaceFieldNumber;
17826
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
17827
17828
IsCreateNamespaceDoneRequestPB::IsCreateNamespaceDoneRequestPB()
17829
20.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
17830
4.23k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
17831
4.23k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsCreateNamespaceDoneRequestPB();
17832
4.23k
  }
17833
20.0k
  SharedCtor();
17834
  // @@protoc_insertion_point(constructor:yb.master.IsCreateNamespaceDoneRequestPB)
17835
20.0k
}
17836
IsCreateNamespaceDoneRequestPB::IsCreateNamespaceDoneRequestPB(const IsCreateNamespaceDoneRequestPB& from)
17837
  : ::google::protobuf::Message(),
17838
      _internal_metadata_(NULL),
17839
      _has_bits_(from._has_bits_),
17840
0
      _cached_size_(0) {
17841
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
17842
0
  if (from.has_namespace_()) {
17843
0
    namespace__ = new ::yb::master::NamespaceIdentifierPB(*from.namespace__);
17844
0
  } else {
17845
0
    namespace__ = NULL;
17846
0
  }
17847
  // @@protoc_insertion_point(copy_constructor:yb.master.IsCreateNamespaceDoneRequestPB)
17848
0
}
17849
17850
20.0k
void IsCreateNamespaceDoneRequestPB::SharedCtor() {
17851
20.0k
  _cached_size_ = 0;
17852
20.0k
  namespace__ = NULL;
17853
20.0k
}
17854
17855
4.23k
IsCreateNamespaceDoneRequestPB::~IsCreateNamespaceDoneRequestPB() {
17856
  // @@protoc_insertion_point(destructor:yb.master.IsCreateNamespaceDoneRequestPB)
17857
4.23k
  SharedDtor();
17858
4.23k
}
17859
17860
4.23k
void IsCreateNamespaceDoneRequestPB::SharedDtor() {
17861
4.23k
  if (this != internal_default_instance()) delete namespace__;
17862
4.23k
}
17863
17864
0
void IsCreateNamespaceDoneRequestPB::SetCachedSize(int size) const {
17865
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
17866
0
  _cached_size_ = size;
17867
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
17868
0
}
17869
0
const ::google::protobuf::Descriptor* IsCreateNamespaceDoneRequestPB::descriptor() {
17870
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
17871
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
17872
0
}
17873
17874
0
const IsCreateNamespaceDoneRequestPB& IsCreateNamespaceDoneRequestPB::default_instance() {
17875
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsCreateNamespaceDoneRequestPB();
17876
0
  return *internal_default_instance();
17877
0
}
17878
17879
0
IsCreateNamespaceDoneRequestPB* IsCreateNamespaceDoneRequestPB::New(::google::protobuf::Arena* arena) const {
17880
0
  IsCreateNamespaceDoneRequestPB* n = new IsCreateNamespaceDoneRequestPB;
17881
0
  if (arena != NULL) {
17882
0
    arena->Own(n);
17883
0
  }
17884
0
  return n;
17885
0
}
17886
17887
2.13k
void IsCreateNamespaceDoneRequestPB::Clear() {
17888
// @@protoc_insertion_point(message_clear_start:yb.master.IsCreateNamespaceDoneRequestPB)
17889
2.13k
  ::google::protobuf::uint32 cached_has_bits = 0;
17890
  // Prevent compiler warnings about cached_has_bits being unused
17891
2.13k
  (void) cached_has_bits;
17892
17893
2.13k
  cached_has_bits = _has_bits_[0];
17894
2.13k
  if (cached_has_bits & 0x00000001u) {
17895
0
    GOOGLE_DCHECK(namespace__ != NULL);
17896
0
    namespace__->Clear();
17897
0
  }
17898
2.13k
  _has_bits_.Clear();
17899
2.13k
  _internal_metadata_.Clear();
17900
2.13k
}
17901
17902
bool IsCreateNamespaceDoneRequestPB::MergePartialFromCodedStream(
17903
2.13k
    ::google::protobuf::io::CodedInputStream* input) {
17904
2.13k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
17905
2.13k
  ::google::protobuf::uint32 tag;
17906
  // @@protoc_insertion_point(parse_start:yb.master.IsCreateNamespaceDoneRequestPB)
17907
4.27k
  for (;;) {
17908
4.27k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
17909
4.27k
    tag = p.first;
17910
4.27k
    if (!p.second) goto handle_unusual;
17911
2.13k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
17912
      // optional .yb.master.NamespaceIdentifierPB namespace = 1;
17913
2.13k
      case 1: {
17914
2.13k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
17915
2.13k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
17916
2.13k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
17917
2.13k
               input, mutable_namespace_()));
17918
0
        } else {
17919
0
          goto handle_unusual;
17920
0
        }
17921
2.13k
        break;
17922
2.13k
      }
17923
17924
0
      default: {
17925
2.13k
      handle_unusual:
17926
2.13k
        if (tag == 0) {
17927
2.13k
          goto success;
17928
2.13k
        }
17929
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
17930
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
17931
0
        break;
17932
0
      }
17933
2.13k
    }
17934
2.13k
  }
17935
2.13k
success:
17936
  // @@protoc_insertion_point(parse_success:yb.master.IsCreateNamespaceDoneRequestPB)
17937
2.13k
  return true;
17938
0
failure:
17939
  // @@protoc_insertion_point(parse_failure:yb.master.IsCreateNamespaceDoneRequestPB)
17940
0
  return false;
17941
2.13k
#undef DO_
17942
2.13k
}
17943
17944
void IsCreateNamespaceDoneRequestPB::SerializeWithCachedSizes(
17945
0
    ::google::protobuf::io::CodedOutputStream* output) const {
17946
  // @@protoc_insertion_point(serialize_start:yb.master.IsCreateNamespaceDoneRequestPB)
17947
0
  ::google::protobuf::uint32 cached_has_bits = 0;
17948
0
  (void) cached_has_bits;
17949
17950
0
  cached_has_bits = _has_bits_[0];
17951
  // optional .yb.master.NamespaceIdentifierPB namespace = 1;
17952
0
  if (cached_has_bits & 0x00000001u) {
17953
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
17954
0
      1, *this->namespace__, output);
17955
0
  }
17956
17957
0
  if (_internal_metadata_.have_unknown_fields()) {
17958
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
17959
0
        _internal_metadata_.unknown_fields(), output);
17960
0
  }
17961
  // @@protoc_insertion_point(serialize_end:yb.master.IsCreateNamespaceDoneRequestPB)
17962
0
}
17963
17964
::google::protobuf::uint8* IsCreateNamespaceDoneRequestPB::InternalSerializeWithCachedSizesToArray(
17965
2.14k
    bool deterministic, ::google::protobuf::uint8* target) const {
17966
2.14k
  (void)deterministic; // Unused
17967
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.IsCreateNamespaceDoneRequestPB)
17968
2.14k
  ::google::protobuf::uint32 cached_has_bits = 0;
17969
2.14k
  (void) cached_has_bits;
17970
17971
2.14k
  cached_has_bits = _has_bits_[0];
17972
  // optional .yb.master.NamespaceIdentifierPB namespace = 1;
17973
2.14k
  if (cached_has_bits & 0x00000001u) {
17974
2.14k
    target = ::google::protobuf::internal::WireFormatLite::
17975
2.14k
      InternalWriteMessageToArray(
17976
2.14k
        1, *this->namespace__, deterministic, target);
17977
2.14k
  }
17978
17979
2.14k
  if (_internal_metadata_.have_unknown_fields()) {
17980
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
17981
0
        _internal_metadata_.unknown_fields(), target);
17982
0
  }
17983
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.IsCreateNamespaceDoneRequestPB)
17984
2.14k
  return target;
17985
2.14k
}
17986
17987
4.28k
size_t IsCreateNamespaceDoneRequestPB::ByteSizeLong() const {
17988
// @@protoc_insertion_point(message_byte_size_start:yb.master.IsCreateNamespaceDoneRequestPB)
17989
4.28k
  size_t total_size = 0;
17990
17991
4.28k
  if (_internal_metadata_.have_unknown_fields()) {
17992
0
    total_size +=
17993
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
17994
0
        _internal_metadata_.unknown_fields());
17995
0
  }
17996
  // optional .yb.master.NamespaceIdentifierPB namespace = 1;
17997
4.28k
  if (has_namespace_()) {
17998
4.28k
    total_size += 1 +
17999
4.28k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
18000
4.28k
        *this->namespace__);
18001
4.28k
  }
18002
18003
4.28k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
18004
4.28k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18005
4.28k
  _cached_size_ = cached_size;
18006
4.28k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
18007
4.28k
  return total_size;
18008
4.28k
}
18009
18010
0
void IsCreateNamespaceDoneRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
18011
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.IsCreateNamespaceDoneRequestPB)
18012
0
  GOOGLE_DCHECK_NE(&from, this);
18013
0
  const IsCreateNamespaceDoneRequestPB* source =
18014
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsCreateNamespaceDoneRequestPB>(
18015
0
          &from);
18016
0
  if (source == NULL) {
18017
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.IsCreateNamespaceDoneRequestPB)
18018
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
18019
0
  } else {
18020
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.IsCreateNamespaceDoneRequestPB)
18021
0
    MergeFrom(*source);
18022
0
  }
18023
0
}
18024
18025
0
void IsCreateNamespaceDoneRequestPB::MergeFrom(const IsCreateNamespaceDoneRequestPB& from) {
18026
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.IsCreateNamespaceDoneRequestPB)
18027
0
  GOOGLE_DCHECK_NE(&from, this);
18028
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
18029
0
  ::google::protobuf::uint32 cached_has_bits = 0;
18030
0
  (void) cached_has_bits;
18031
18032
0
  if (from.has_namespace_()) {
18033
0
    mutable_namespace_()->::yb::master::NamespaceIdentifierPB::MergeFrom(from.namespace_());
18034
0
  }
18035
0
}
18036
18037
0
void IsCreateNamespaceDoneRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
18038
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.IsCreateNamespaceDoneRequestPB)
18039
0
  if (&from == this) return;
18040
0
  Clear();
18041
0
  MergeFrom(from);
18042
0
}
18043
18044
0
void IsCreateNamespaceDoneRequestPB::CopyFrom(const IsCreateNamespaceDoneRequestPB& from) {
18045
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.IsCreateNamespaceDoneRequestPB)
18046
0
  if (&from == this) return;
18047
0
  Clear();
18048
0
  MergeFrom(from);
18049
0
}
18050
18051
4.28k
bool IsCreateNamespaceDoneRequestPB::IsInitialized() const {
18052
4.28k
  return true;
18053
4.28k
}
18054
18055
0
void IsCreateNamespaceDoneRequestPB::Swap(IsCreateNamespaceDoneRequestPB* other) {
18056
0
  if (other == this) return;
18057
0
  InternalSwap(other);
18058
0
}
18059
0
void IsCreateNamespaceDoneRequestPB::InternalSwap(IsCreateNamespaceDoneRequestPB* other) {
18060
0
  using std::swap;
18061
0
  swap(namespace__, other->namespace__);
18062
0
  swap(_has_bits_[0], other->_has_bits_[0]);
18063
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
18064
0
  swap(_cached_size_, other->_cached_size_);
18065
0
}
18066
18067
2.13k
::google::protobuf::Metadata IsCreateNamespaceDoneRequestPB::GetMetadata() const {
18068
2.13k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
18069
2.13k
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
18070
2.13k
}
18071
18072
18073
// ===================================================================
18074
18075
15.8k
void IsCreateNamespaceDoneResponsePB::InitAsDefaultInstance() {
18076
15.8k
  ::yb::master::_IsCreateNamespaceDoneResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
18077
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
18078
15.8k
}
18079
0
void IsCreateNamespaceDoneResponsePB::clear_error() {
18080
0
  if (error_ != NULL) error_->Clear();
18081
0
  clear_has_error();
18082
0
}
18083
#if !defined(_MSC_VER) || _MSC_VER >= 1900
18084
const int IsCreateNamespaceDoneResponsePB::kErrorFieldNumber;
18085
const int IsCreateNamespaceDoneResponsePB::kDoneFieldNumber;
18086
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
18087
18088
IsCreateNamespaceDoneResponsePB::IsCreateNamespaceDoneResponsePB()
18089
20.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
18090
4.28k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
18091
4.28k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsCreateNamespaceDoneResponsePB();
18092
4.28k
  }
18093
20.1k
  SharedCtor();
18094
  // @@protoc_insertion_point(constructor:yb.master.IsCreateNamespaceDoneResponsePB)
18095
20.1k
}
18096
IsCreateNamespaceDoneResponsePB::IsCreateNamespaceDoneResponsePB(const IsCreateNamespaceDoneResponsePB& from)
18097
  : ::google::protobuf::Message(),
18098
      _internal_metadata_(NULL),
18099
      _has_bits_(from._has_bits_),
18100
0
      _cached_size_(0) {
18101
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
18102
0
  if (from.has_error()) {
18103
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
18104
0
  } else {
18105
0
    error_ = NULL;
18106
0
  }
18107
0
  done_ = from.done_;
18108
  // @@protoc_insertion_point(copy_constructor:yb.master.IsCreateNamespaceDoneResponsePB)
18109
0
}
18110
18111
20.1k
void IsCreateNamespaceDoneResponsePB::SharedCtor() {
18112
20.1k
  _cached_size_ = 0;
18113
20.1k
  ::memset(&error_, 0, static_cast<size_t>(
18114
20.1k
      reinterpret_cast<char*>(&done_) -
18115
20.1k
      reinterpret_cast<char*>(&error_)) + sizeof(done_));
18116
20.1k
}
18117
18118
4.28k
IsCreateNamespaceDoneResponsePB::~IsCreateNamespaceDoneResponsePB() {
18119
  // @@protoc_insertion_point(destructor:yb.master.IsCreateNamespaceDoneResponsePB)
18120
4.28k
  SharedDtor();
18121
4.28k
}
18122
18123
4.28k
void IsCreateNamespaceDoneResponsePB::SharedDtor() {
18124
4.28k
  if (this != internal_default_instance()) delete error_;
18125
4.28k
}
18126
18127
0
void IsCreateNamespaceDoneResponsePB::SetCachedSize(int size) const {
18128
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18129
0
  _cached_size_ = size;
18130
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
18131
0
}
18132
0
const ::google::protobuf::Descriptor* IsCreateNamespaceDoneResponsePB::descriptor() {
18133
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
18134
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
18135
0
}
18136
18137
0
const IsCreateNamespaceDoneResponsePB& IsCreateNamespaceDoneResponsePB::default_instance() {
18138
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsCreateNamespaceDoneResponsePB();
18139
0
  return *internal_default_instance();
18140
0
}
18141
18142
0
IsCreateNamespaceDoneResponsePB* IsCreateNamespaceDoneResponsePB::New(::google::protobuf::Arena* arena) const {
18143
0
  IsCreateNamespaceDoneResponsePB* n = new IsCreateNamespaceDoneResponsePB;
18144
0
  if (arena != NULL) {
18145
0
    arena->Own(n);
18146
0
  }
18147
0
  return n;
18148
0
}
18149
18150
2.14k
void IsCreateNamespaceDoneResponsePB::Clear() {
18151
// @@protoc_insertion_point(message_clear_start:yb.master.IsCreateNamespaceDoneResponsePB)
18152
2.14k
  ::google::protobuf::uint32 cached_has_bits = 0;
18153
  // Prevent compiler warnings about cached_has_bits being unused
18154
2.14k
  (void) cached_has_bits;
18155
18156
2.14k
  cached_has_bits = _has_bits_[0];
18157
2.14k
  if (cached_has_bits & 0x00000001u) {
18158
0
    GOOGLE_DCHECK(error_ != NULL);
18159
0
    error_->Clear();
18160
0
  }
18161
2.14k
  done_ = false;
18162
2.14k
  _has_bits_.Clear();
18163
2.14k
  _internal_metadata_.Clear();
18164
2.14k
}
18165
18166
bool IsCreateNamespaceDoneResponsePB::MergePartialFromCodedStream(
18167
2.14k
    ::google::protobuf::io::CodedInputStream* input) {
18168
2.14k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
18169
2.14k
  ::google::protobuf::uint32 tag;
18170
  // @@protoc_insertion_point(parse_start:yb.master.IsCreateNamespaceDoneResponsePB)
18171
4.28k
  for (;;) {
18172
4.28k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
18173
4.28k
    tag = p.first;
18174
4.28k
    if (!p.second) goto handle_unusual;
18175
2.14k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
18176
      // optional .yb.master.MasterErrorPB error = 1;
18177
1
      case 1: {
18178
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
18179
1
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
18180
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
18181
1
               input, mutable_error()));
18182
0
        } else {
18183
0
          goto handle_unusual;
18184
0
        }
18185
1
        break;
18186
1
      }
18187
18188
      // optional bool done = 2;
18189
2.14k
      case 2: {
18190
2.14k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
18191
2.14k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
18192
2.14k
          set_has_done();
18193
2.14k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
18194
2.14k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
18195
2.14k
                 input, &done_)));
18196
0
        } else {
18197
0
          goto handle_unusual;
18198
0
        }
18199
2.14k
        break;
18200
2.14k
      }
18201
18202
0
      default: {
18203
2.14k
      handle_unusual:
18204
2.14k
        if (tag == 0) {
18205
2.14k
          goto success;
18206
2.14k
        }
18207
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
18208
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
18209
0
        break;
18210
0
      }
18211
2.14k
    }
18212
2.14k
  }
18213
2.14k
success:
18214
  // @@protoc_insertion_point(parse_success:yb.master.IsCreateNamespaceDoneResponsePB)
18215
2.14k
  return true;
18216
0
failure:
18217
  // @@protoc_insertion_point(parse_failure:yb.master.IsCreateNamespaceDoneResponsePB)
18218
0
  return false;
18219
2.14k
#undef DO_
18220
2.14k
}
18221
18222
void IsCreateNamespaceDoneResponsePB::SerializeWithCachedSizes(
18223
0
    ::google::protobuf::io::CodedOutputStream* output) const {
18224
  // @@protoc_insertion_point(serialize_start:yb.master.IsCreateNamespaceDoneResponsePB)
18225
0
  ::google::protobuf::uint32 cached_has_bits = 0;
18226
0
  (void) cached_has_bits;
18227
18228
0
  cached_has_bits = _has_bits_[0];
18229
  // optional .yb.master.MasterErrorPB error = 1;
18230
0
  if (cached_has_bits & 0x00000001u) {
18231
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
18232
0
      1, *this->error_, output);
18233
0
  }
18234
18235
  // optional bool done = 2;
18236
0
  if (cached_has_bits & 0x00000002u) {
18237
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->done(), output);
18238
0
  }
18239
18240
0
  if (_internal_metadata_.have_unknown_fields()) {
18241
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
18242
0
        _internal_metadata_.unknown_fields(), output);
18243
0
  }
18244
  // @@protoc_insertion_point(serialize_end:yb.master.IsCreateNamespaceDoneResponsePB)
18245
0
}
18246
18247
::google::protobuf::uint8* IsCreateNamespaceDoneResponsePB::InternalSerializeWithCachedSizesToArray(
18248
2.13k
    bool deterministic, ::google::protobuf::uint8* target) const {
18249
2.13k
  (void)deterministic; // Unused
18250
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.IsCreateNamespaceDoneResponsePB)
18251
2.13k
  ::google::protobuf::uint32 cached_has_bits = 0;
18252
2.13k
  (void) cached_has_bits;
18253
18254
2.13k
  cached_has_bits = _has_bits_[0];
18255
  // optional .yb.master.MasterErrorPB error = 1;
18256
2.13k
  if (cached_has_bits & 0x00000001u) {
18257
1
    target = ::google::protobuf::internal::WireFormatLite::
18258
1
      InternalWriteMessageToArray(
18259
1
        1, *this->error_, deterministic, target);
18260
1
  }
18261
18262
  // optional bool done = 2;
18263
2.13k
  if (cached_has_bits & 0x00000002u) {
18264
2.13k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->done(), target);
18265
2.13k
  }
18266
18267
2.13k
  if (_internal_metadata_.have_unknown_fields()) {
18268
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
18269
0
        _internal_metadata_.unknown_fields(), target);
18270
0
  }
18271
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.IsCreateNamespaceDoneResponsePB)
18272
2.13k
  return target;
18273
2.13k
}
18274
18275
4.27k
size_t IsCreateNamespaceDoneResponsePB::ByteSizeLong() const {
18276
// @@protoc_insertion_point(message_byte_size_start:yb.master.IsCreateNamespaceDoneResponsePB)
18277
4.27k
  size_t total_size = 0;
18278
18279
4.27k
  if (_internal_metadata_.have_unknown_fields()) {
18280
0
    total_size +=
18281
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
18282
0
        _internal_metadata_.unknown_fields());
18283
0
  }
18284
4.27k
  if (_has_bits_[0 / 32] & 3u) {
18285
    // optional .yb.master.MasterErrorPB error = 1;
18286
4.27k
    if (has_error()) {
18287
2
      total_size += 1 +
18288
2
        ::google::protobuf::internal::WireFormatLite::MessageSize(
18289
2
          *this->error_);
18290
2
    }
18291
18292
    // optional bool done = 2;
18293
4.27k
    if (has_done()) {
18294
4.27k
      total_size += 1 + 1;
18295
4.27k
    }
18296
18297
4.27k
  }
18298
4.27k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
18299
4.27k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18300
4.27k
  _cached_size_ = cached_size;
18301
4.27k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
18302
4.27k
  return total_size;
18303
4.27k
}
18304
18305
0
void IsCreateNamespaceDoneResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
18306
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.IsCreateNamespaceDoneResponsePB)
18307
0
  GOOGLE_DCHECK_NE(&from, this);
18308
0
  const IsCreateNamespaceDoneResponsePB* source =
18309
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsCreateNamespaceDoneResponsePB>(
18310
0
          &from);
18311
0
  if (source == NULL) {
18312
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.IsCreateNamespaceDoneResponsePB)
18313
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
18314
0
  } else {
18315
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.IsCreateNamespaceDoneResponsePB)
18316
0
    MergeFrom(*source);
18317
0
  }
18318
0
}
18319
18320
0
void IsCreateNamespaceDoneResponsePB::MergeFrom(const IsCreateNamespaceDoneResponsePB& from) {
18321
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.IsCreateNamespaceDoneResponsePB)
18322
0
  GOOGLE_DCHECK_NE(&from, this);
18323
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
18324
0
  ::google::protobuf::uint32 cached_has_bits = 0;
18325
0
  (void) cached_has_bits;
18326
18327
0
  cached_has_bits = from._has_bits_[0];
18328
0
  if (cached_has_bits & 3u) {
18329
0
    if (cached_has_bits & 0x00000001u) {
18330
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
18331
0
    }
18332
0
    if (cached_has_bits & 0x00000002u) {
18333
0
      done_ = from.done_;
18334
0
    }
18335
0
    _has_bits_[0] |= cached_has_bits;
18336
0
  }
18337
0
}
18338
18339
0
void IsCreateNamespaceDoneResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
18340
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.IsCreateNamespaceDoneResponsePB)
18341
0
  if (&from == this) return;
18342
0
  Clear();
18343
0
  MergeFrom(from);
18344
0
}
18345
18346
0
void IsCreateNamespaceDoneResponsePB::CopyFrom(const IsCreateNamespaceDoneResponsePB& from) {
18347
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.IsCreateNamespaceDoneResponsePB)
18348
0
  if (&from == this) return;
18349
0
  Clear();
18350
0
  MergeFrom(from);
18351
0
}
18352
18353
4.28k
bool IsCreateNamespaceDoneResponsePB::IsInitialized() const {
18354
4.28k
  if (has_error()) {
18355
2
    if (!this->error_->IsInitialized()) return false;
18356
4.28k
  }
18357
4.28k
  return true;
18358
4.28k
}
18359
18360
0
void IsCreateNamespaceDoneResponsePB::Swap(IsCreateNamespaceDoneResponsePB* other) {
18361
0
  if (other == this) return;
18362
0
  InternalSwap(other);
18363
0
}
18364
0
void IsCreateNamespaceDoneResponsePB::InternalSwap(IsCreateNamespaceDoneResponsePB* other) {
18365
0
  using std::swap;
18366
0
  swap(error_, other->error_);
18367
0
  swap(done_, other->done_);
18368
0
  swap(_has_bits_[0], other->_has_bits_[0]);
18369
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
18370
0
  swap(_cached_size_, other->_cached_size_);
18371
0
}
18372
18373
0
::google::protobuf::Metadata IsCreateNamespaceDoneResponsePB::GetMetadata() const {
18374
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
18375
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
18376
0
}
18377
18378
18379
// ===================================================================
18380
18381
15.8k
void DeleteNamespaceRequestPB::InitAsDefaultInstance() {
18382
15.8k
  ::yb::master::_DeleteNamespaceRequestPB_default_instance_._instance.get_mutable()->namespace__ = const_cast< ::yb::master::NamespaceIdentifierPB*>(
18383
15.8k
      ::yb::master::NamespaceIdentifierPB::internal_default_instance());
18384
15.8k
}
18385
0
void DeleteNamespaceRequestPB::clear_namespace_() {
18386
0
  if (namespace__ != NULL) namespace__->Clear();
18387
0
  clear_has_namespace_();
18388
0
}
18389
#if !defined(_MSC_VER) || _MSC_VER >= 1900
18390
const int DeleteNamespaceRequestPB::kNamespaceFieldNumber;
18391
const int DeleteNamespaceRequestPB::kDatabaseTypeFieldNumber;
18392
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
18393
18394
DeleteNamespaceRequestPB::DeleteNamespaceRequestPB()
18395
18.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
18396
3.08k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
18397
3.08k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsDeleteNamespaceRequestPB();
18398
3.08k
  }
18399
18.9k
  SharedCtor();
18400
  // @@protoc_insertion_point(constructor:yb.master.DeleteNamespaceRequestPB)
18401
18.9k
}
18402
DeleteNamespaceRequestPB::DeleteNamespaceRequestPB(const DeleteNamespaceRequestPB& from)
18403
  : ::google::protobuf::Message(),
18404
      _internal_metadata_(NULL),
18405
      _has_bits_(from._has_bits_),
18406
0
      _cached_size_(0) {
18407
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
18408
0
  if (from.has_namespace_()) {
18409
0
    namespace__ = new ::yb::master::NamespaceIdentifierPB(*from.namespace__);
18410
0
  } else {
18411
0
    namespace__ = NULL;
18412
0
  }
18413
0
  database_type_ = from.database_type_;
18414
  // @@protoc_insertion_point(copy_constructor:yb.master.DeleteNamespaceRequestPB)
18415
0
}
18416
18417
18.9k
void DeleteNamespaceRequestPB::SharedCtor() {
18418
18.9k
  _cached_size_ = 0;
18419
18.9k
  namespace__ = NULL;
18420
18.9k
  database_type_ = 2;
18421
18.9k
}
18422
18423
3.08k
DeleteNamespaceRequestPB::~DeleteNamespaceRequestPB() {
18424
  // @@protoc_insertion_point(destructor:yb.master.DeleteNamespaceRequestPB)
18425
3.08k
  SharedDtor();
18426
3.08k
}
18427
18428
3.08k
void DeleteNamespaceRequestPB::SharedDtor() {
18429
3.08k
  if (this != internal_default_instance()) delete namespace__;
18430
3.08k
}
18431
18432
0
void DeleteNamespaceRequestPB::SetCachedSize(int size) const {
18433
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18434
0
  _cached_size_ = size;
18435
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
18436
0
}
18437
0
const ::google::protobuf::Descriptor* DeleteNamespaceRequestPB::descriptor() {
18438
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
18439
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
18440
0
}
18441
18442
0
const DeleteNamespaceRequestPB& DeleteNamespaceRequestPB::default_instance() {
18443
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsDeleteNamespaceRequestPB();
18444
0
  return *internal_default_instance();
18445
0
}
18446
18447
0
DeleteNamespaceRequestPB* DeleteNamespaceRequestPB::New(::google::protobuf::Arena* arena) const {
18448
0
  DeleteNamespaceRequestPB* n = new DeleteNamespaceRequestPB;
18449
0
  if (arena != NULL) {
18450
0
    arena->Own(n);
18451
0
  }
18452
0
  return n;
18453
0
}
18454
18455
1.55k
void DeleteNamespaceRequestPB::Clear() {
18456
// @@protoc_insertion_point(message_clear_start:yb.master.DeleteNamespaceRequestPB)
18457
1.55k
  ::google::protobuf::uint32 cached_has_bits = 0;
18458
  // Prevent compiler warnings about cached_has_bits being unused
18459
1.55k
  (void) cached_has_bits;
18460
18461
1.55k
  cached_has_bits = _has_bits_[0];
18462
1.55k
  if (cached_has_bits & 3u) {
18463
0
    if (cached_has_bits & 0x00000001u) {
18464
0
      GOOGLE_DCHECK(namespace__ != NULL);
18465
0
      namespace__->Clear();
18466
0
    }
18467
0
    database_type_ = 2;
18468
0
  }
18469
1.55k
  _has_bits_.Clear();
18470
1.55k
  _internal_metadata_.Clear();
18471
1.55k
}
18472
18473
bool DeleteNamespaceRequestPB::MergePartialFromCodedStream(
18474
1.55k
    ::google::protobuf::io::CodedInputStream* input) {
18475
1.58k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
18476
1.55k
  ::google::protobuf::uint32 tag;
18477
  // @@protoc_insertion_point(parse_start:yb.master.DeleteNamespaceRequestPB)
18478
3.13k
  for (;;) {
18479
3.13k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
18480
3.13k
    tag = p.first;
18481
3.13k
    if (!p.second) goto handle_unusual;
18482
1.58k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
18483
      // optional .yb.master.NamespaceIdentifierPB namespace = 1;
18484
1.55k
      case 1: {
18485
1.55k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
18486
1.55k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
18487
1.55k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
18488
1.55k
               input, mutable_namespace_()));
18489
0
        } else {
18490
0
          goto handle_unusual;
18491
0
        }
18492
1.55k
        break;
18493
1.55k
      }
18494
18495
      // optional .yb.YQLDatabase database_type = 2 [default = YQL_DATABASE_CQL];
18496
23
      case 2: {
18497
23
        if (static_cast< ::google::protobuf::uint8>(tag) ==
18498
23
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
18499
23
          int value;
18500
23
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
18501
23
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
18502
23
                 input, &value)));
18503
23
          if (::yb::YQLDatabase_IsValid(value)) {
18504
23
            set_database_type(static_cast< ::yb::YQLDatabase >(value));
18505
0
          } else {
18506
0
            mutable_unknown_fields()->AddVarint(
18507
0
                2, static_cast< ::google::protobuf::uint64>(value));
18508
0
          }
18509
0
        } else {
18510
0
          goto handle_unusual;
18511
0
        }
18512
23
        break;
18513
1.55k
      }
18514
18515
0
      default: {
18516
1.55k
      handle_unusual:
18517
1.55k
        if (tag == 0) {
18518
1.55k
          goto success;
18519
1.55k
        }
18520
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
18521
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
18522
0
        break;
18523
0
      }
18524
1.58k
    }
18525
1.58k
  }
18526
1.55k
success:
18527
  // @@protoc_insertion_point(parse_success:yb.master.DeleteNamespaceRequestPB)
18528
1.55k
  return true;
18529
0
failure:
18530
  // @@protoc_insertion_point(parse_failure:yb.master.DeleteNamespaceRequestPB)
18531
0
  return false;
18532
1.55k
#undef DO_
18533
1.55k
}
18534
18535
void DeleteNamespaceRequestPB::SerializeWithCachedSizes(
18536
0
    ::google::protobuf::io::CodedOutputStream* output) const {
18537
  // @@protoc_insertion_point(serialize_start:yb.master.DeleteNamespaceRequestPB)
18538
0
  ::google::protobuf::uint32 cached_has_bits = 0;
18539
0
  (void) cached_has_bits;
18540
18541
0
  cached_has_bits = _has_bits_[0];
18542
  // optional .yb.master.NamespaceIdentifierPB namespace = 1;
18543
0
  if (cached_has_bits & 0x00000001u) {
18544
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
18545
0
      1, *this->namespace__, output);
18546
0
  }
18547
18548
  // optional .yb.YQLDatabase database_type = 2 [default = YQL_DATABASE_CQL];
18549
0
  if (cached_has_bits & 0x00000002u) {
18550
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
18551
0
      2, this->database_type(), output);
18552
0
  }
18553
18554
0
  if (_internal_metadata_.have_unknown_fields()) {
18555
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
18556
0
        _internal_metadata_.unknown_fields(), output);
18557
0
  }
18558
  // @@protoc_insertion_point(serialize_end:yb.master.DeleteNamespaceRequestPB)
18559
0
}
18560
18561
::google::protobuf::uint8* DeleteNamespaceRequestPB::InternalSerializeWithCachedSizesToArray(
18562
1.55k
    bool deterministic, ::google::protobuf::uint8* target) const {
18563
1.55k
  (void)deterministic; // Unused
18564
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.DeleteNamespaceRequestPB)
18565
1.55k
  ::google::protobuf::uint32 cached_has_bits = 0;
18566
1.55k
  (void) cached_has_bits;
18567
18568
1.55k
  cached_has_bits = _has_bits_[0];
18569
  // optional .yb.master.NamespaceIdentifierPB namespace = 1;
18570
1.55k
  if (cached_has_bits & 0x00000001u) {
18571
1.55k
    target = ::google::protobuf::internal::WireFormatLite::
18572
1.55k
      InternalWriteMessageToArray(
18573
1.55k
        1, *this->namespace__, deterministic, target);
18574
1.55k
  }
18575
18576
  // optional .yb.YQLDatabase database_type = 2 [default = YQL_DATABASE_CQL];
18577
1.55k
  if (cached_has_bits & 0x00000002u) {
18578
23
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
18579
23
      2, this->database_type(), target);
18580
23
  }
18581
18582
1.55k
  if (_internal_metadata_.have_unknown_fields()) {
18583
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
18584
0
        _internal_metadata_.unknown_fields(), target);
18585
0
  }
18586
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.DeleteNamespaceRequestPB)
18587
1.55k
  return target;
18588
1.55k
}
18589
18590
3.11k
size_t DeleteNamespaceRequestPB::ByteSizeLong() const {
18591
// @@protoc_insertion_point(message_byte_size_start:yb.master.DeleteNamespaceRequestPB)
18592
3.11k
  size_t total_size = 0;
18593
18594
3.11k
  if (_internal_metadata_.have_unknown_fields()) {
18595
0
    total_size +=
18596
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
18597
0
        _internal_metadata_.unknown_fields());
18598
0
  }
18599
3.11k
  if (_has_bits_[0 / 32] & 3u) {
18600
    // optional .yb.master.NamespaceIdentifierPB namespace = 1;
18601
3.11k
    if (has_namespace_()) {
18602
3.11k
      total_size += 1 +
18603
3.11k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
18604
3.11k
          *this->namespace__);
18605
3.11k
    }
18606
18607
    // optional .yb.YQLDatabase database_type = 2 [default = YQL_DATABASE_CQL];
18608
3.11k
    if (has_database_type()) {
18609
46
      total_size += 1 +
18610
46
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->database_type());
18611
46
    }
18612
18613
3.11k
  }
18614
3.11k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
18615
3.11k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18616
3.11k
  _cached_size_ = cached_size;
18617
3.11k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
18618
3.11k
  return total_size;
18619
3.11k
}
18620
18621
0
void DeleteNamespaceRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
18622
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.DeleteNamespaceRequestPB)
18623
0
  GOOGLE_DCHECK_NE(&from, this);
18624
0
  const DeleteNamespaceRequestPB* source =
18625
0
      ::google::protobuf::internal::DynamicCastToGenerated<const DeleteNamespaceRequestPB>(
18626
0
          &from);
18627
0
  if (source == NULL) {
18628
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.DeleteNamespaceRequestPB)
18629
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
18630
0
  } else {
18631
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.DeleteNamespaceRequestPB)
18632
0
    MergeFrom(*source);
18633
0
  }
18634
0
}
18635
18636
0
void DeleteNamespaceRequestPB::MergeFrom(const DeleteNamespaceRequestPB& from) {
18637
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.DeleteNamespaceRequestPB)
18638
0
  GOOGLE_DCHECK_NE(&from, this);
18639
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
18640
0
  ::google::protobuf::uint32 cached_has_bits = 0;
18641
0
  (void) cached_has_bits;
18642
18643
0
  cached_has_bits = from._has_bits_[0];
18644
0
  if (cached_has_bits & 3u) {
18645
0
    if (cached_has_bits & 0x00000001u) {
18646
0
      mutable_namespace_()->::yb::master::NamespaceIdentifierPB::MergeFrom(from.namespace_());
18647
0
    }
18648
0
    if (cached_has_bits & 0x00000002u) {
18649
0
      database_type_ = from.database_type_;
18650
0
    }
18651
0
    _has_bits_[0] |= cached_has_bits;
18652
0
  }
18653
0
}
18654
18655
0
void DeleteNamespaceRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
18656
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.DeleteNamespaceRequestPB)
18657
0
  if (&from == this) return;
18658
0
  Clear();
18659
0
  MergeFrom(from);
18660
0
}
18661
18662
0
void DeleteNamespaceRequestPB::CopyFrom(const DeleteNamespaceRequestPB& from) {
18663
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.DeleteNamespaceRequestPB)
18664
0
  if (&from == this) return;
18665
0
  Clear();
18666
0
  MergeFrom(from);
18667
0
}
18668
18669
3.11k
bool DeleteNamespaceRequestPB::IsInitialized() const {
18670
3.11k
  return true;
18671
3.11k
}
18672
18673
0
void DeleteNamespaceRequestPB::Swap(DeleteNamespaceRequestPB* other) {
18674
0
  if (other == this) return;
18675
0
  InternalSwap(other);
18676
0
}
18677
0
void DeleteNamespaceRequestPB::InternalSwap(DeleteNamespaceRequestPB* other) {
18678
0
  using std::swap;
18679
0
  swap(namespace__, other->namespace__);
18680
0
  swap(database_type_, other->database_type_);
18681
0
  swap(_has_bits_[0], other->_has_bits_[0]);
18682
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
18683
0
  swap(_cached_size_, other->_cached_size_);
18684
0
}
18685
18686
4.67k
::google::protobuf::Metadata DeleteNamespaceRequestPB::GetMetadata() const {
18687
4.67k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
18688
4.67k
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
18689
4.67k
}
18690
18691
18692
// ===================================================================
18693
18694
15.8k
void DeleteNamespaceResponsePB::InitAsDefaultInstance() {
18695
15.8k
  ::yb::master::_DeleteNamespaceResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
18696
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
18697
15.8k
}
18698
0
void DeleteNamespaceResponsePB::clear_error() {
18699
0
  if (error_ != NULL) error_->Clear();
18700
0
  clear_has_error();
18701
0
}
18702
#if !defined(_MSC_VER) || _MSC_VER >= 1900
18703
const int DeleteNamespaceResponsePB::kErrorFieldNumber;
18704
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
18705
18706
DeleteNamespaceResponsePB::DeleteNamespaceResponsePB()
18707
18.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
18708
3.09k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
18709
3.09k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsDeleteNamespaceResponsePB();
18710
3.09k
  }
18711
18.9k
  SharedCtor();
18712
  // @@protoc_insertion_point(constructor:yb.master.DeleteNamespaceResponsePB)
18713
18.9k
}
18714
DeleteNamespaceResponsePB::DeleteNamespaceResponsePB(const DeleteNamespaceResponsePB& from)
18715
  : ::google::protobuf::Message(),
18716
      _internal_metadata_(NULL),
18717
      _has_bits_(from._has_bits_),
18718
0
      _cached_size_(0) {
18719
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
18720
0
  if (from.has_error()) {
18721
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
18722
0
  } else {
18723
0
    error_ = NULL;
18724
0
  }
18725
  // @@protoc_insertion_point(copy_constructor:yb.master.DeleteNamespaceResponsePB)
18726
0
}
18727
18728
18.9k
void DeleteNamespaceResponsePB::SharedCtor() {
18729
18.9k
  _cached_size_ = 0;
18730
18.9k
  error_ = NULL;
18731
18.9k
}
18732
18733
3.09k
DeleteNamespaceResponsePB::~DeleteNamespaceResponsePB() {
18734
  // @@protoc_insertion_point(destructor:yb.master.DeleteNamespaceResponsePB)
18735
3.09k
  SharedDtor();
18736
3.09k
}
18737
18738
3.09k
void DeleteNamespaceResponsePB::SharedDtor() {
18739
3.09k
  if (this != internal_default_instance()) delete error_;
18740
3.09k
}
18741
18742
0
void DeleteNamespaceResponsePB::SetCachedSize(int size) const {
18743
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18744
0
  _cached_size_ = size;
18745
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
18746
0
}
18747
0
const ::google::protobuf::Descriptor* DeleteNamespaceResponsePB::descriptor() {
18748
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
18749
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
18750
0
}
18751
18752
0
const DeleteNamespaceResponsePB& DeleteNamespaceResponsePB::default_instance() {
18753
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsDeleteNamespaceResponsePB();
18754
0
  return *internal_default_instance();
18755
0
}
18756
18757
0
DeleteNamespaceResponsePB* DeleteNamespaceResponsePB::New(::google::protobuf::Arena* arena) const {
18758
0
  DeleteNamespaceResponsePB* n = new DeleteNamespaceResponsePB;
18759
0
  if (arena != NULL) {
18760
0
    arena->Own(n);
18761
0
  }
18762
0
  return n;
18763
0
}
18764
18765
1.55k
void DeleteNamespaceResponsePB::Clear() {
18766
// @@protoc_insertion_point(message_clear_start:yb.master.DeleteNamespaceResponsePB)
18767
1.55k
  ::google::protobuf::uint32 cached_has_bits = 0;
18768
  // Prevent compiler warnings about cached_has_bits being unused
18769
1.55k
  (void) cached_has_bits;
18770
18771
1.55k
  cached_has_bits = _has_bits_[0];
18772
1.55k
  if (cached_has_bits & 0x00000001u) {
18773
5
    GOOGLE_DCHECK(error_ != NULL);
18774
5
    error_->Clear();
18775
5
  }
18776
1.55k
  _has_bits_.Clear();
18777
1.55k
  _internal_metadata_.Clear();
18778
1.55k
}
18779
18780
bool DeleteNamespaceResponsePB::MergePartialFromCodedStream(
18781
1.55k
    ::google::protobuf::io::CodedInputStream* input) {
18782
10
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
18783
1.55k
  ::google::protobuf::uint32 tag;
18784
  // @@protoc_insertion_point(parse_start:yb.master.DeleteNamespaceResponsePB)
18785
1.56k
  for (;;) {
18786
1.56k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
18787
1.56k
    tag = p.first;
18788
1.56k
    if (!p.second) goto handle_unusual;
18789
10
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
18790
      // optional .yb.master.MasterErrorPB error = 1;
18791
10
      case 1: {
18792
10
        if (static_cast< ::google::protobuf::uint8>(tag) ==
18793
10
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
18794
10
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
18795
10
               input, mutable_error()));
18796
0
        } else {
18797
0
          goto handle_unusual;
18798
0
        }
18799
10
        break;
18800
1.55k
      }
18801
18802
0
      default: {
18803
1.55k
      handle_unusual:
18804
1.55k
        if (tag == 0) {
18805
1.55k
          goto success;
18806
1.55k
        }
18807
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
18808
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
18809
0
        break;
18810
0
      }
18811
10
    }
18812
10
  }
18813
1.55k
success:
18814
  // @@protoc_insertion_point(parse_success:yb.master.DeleteNamespaceResponsePB)
18815
1.55k
  return true;
18816
0
failure:
18817
  // @@protoc_insertion_point(parse_failure:yb.master.DeleteNamespaceResponsePB)
18818
0
  return false;
18819
1.55k
#undef DO_
18820
1.55k
}
18821
18822
void DeleteNamespaceResponsePB::SerializeWithCachedSizes(
18823
0
    ::google::protobuf::io::CodedOutputStream* output) const {
18824
  // @@protoc_insertion_point(serialize_start:yb.master.DeleteNamespaceResponsePB)
18825
0
  ::google::protobuf::uint32 cached_has_bits = 0;
18826
0
  (void) cached_has_bits;
18827
18828
0
  cached_has_bits = _has_bits_[0];
18829
  // optional .yb.master.MasterErrorPB error = 1;
18830
0
  if (cached_has_bits & 0x00000001u) {
18831
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
18832
0
      1, *this->error_, output);
18833
0
  }
18834
18835
0
  if (_internal_metadata_.have_unknown_fields()) {
18836
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
18837
0
        _internal_metadata_.unknown_fields(), output);
18838
0
  }
18839
  // @@protoc_insertion_point(serialize_end:yb.master.DeleteNamespaceResponsePB)
18840
0
}
18841
18842
::google::protobuf::uint8* DeleteNamespaceResponsePB::InternalSerializeWithCachedSizesToArray(
18843
1.55k
    bool deterministic, ::google::protobuf::uint8* target) const {
18844
1.55k
  (void)deterministic; // Unused
18845
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.DeleteNamespaceResponsePB)
18846
1.55k
  ::google::protobuf::uint32 cached_has_bits = 0;
18847
1.55k
  (void) cached_has_bits;
18848
18849
1.55k
  cached_has_bits = _has_bits_[0];
18850
  // optional .yb.master.MasterErrorPB error = 1;
18851
1.55k
  if (cached_has_bits & 0x00000001u) {
18852
10
    target = ::google::protobuf::internal::WireFormatLite::
18853
10
      InternalWriteMessageToArray(
18854
10
        1, *this->error_, deterministic, target);
18855
10
  }
18856
18857
1.55k
  if (_internal_metadata_.have_unknown_fields()) {
18858
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
18859
0
        _internal_metadata_.unknown_fields(), target);
18860
0
  }
18861
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.DeleteNamespaceResponsePB)
18862
1.55k
  return target;
18863
1.55k
}
18864
18865
3.11k
size_t DeleteNamespaceResponsePB::ByteSizeLong() const {
18866
// @@protoc_insertion_point(message_byte_size_start:yb.master.DeleteNamespaceResponsePB)
18867
3.11k
  size_t total_size = 0;
18868
18869
3.11k
  if (_internal_metadata_.have_unknown_fields()) {
18870
0
    total_size +=
18871
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
18872
0
        _internal_metadata_.unknown_fields());
18873
0
  }
18874
  // optional .yb.master.MasterErrorPB error = 1;
18875
3.11k
  if (has_error()) {
18876
20
    total_size += 1 +
18877
20
      ::google::protobuf::internal::WireFormatLite::MessageSize(
18878
20
        *this->error_);
18879
20
  }
18880
18881
3.11k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
18882
3.11k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18883
3.11k
  _cached_size_ = cached_size;
18884
3.11k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
18885
3.11k
  return total_size;
18886
3.11k
}
18887
18888
0
void DeleteNamespaceResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
18889
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.DeleteNamespaceResponsePB)
18890
0
  GOOGLE_DCHECK_NE(&from, this);
18891
0
  const DeleteNamespaceResponsePB* source =
18892
0
      ::google::protobuf::internal::DynamicCastToGenerated<const DeleteNamespaceResponsePB>(
18893
0
          &from);
18894
0
  if (source == NULL) {
18895
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.DeleteNamespaceResponsePB)
18896
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
18897
0
  } else {
18898
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.DeleteNamespaceResponsePB)
18899
0
    MergeFrom(*source);
18900
0
  }
18901
0
}
18902
18903
0
void DeleteNamespaceResponsePB::MergeFrom(const DeleteNamespaceResponsePB& from) {
18904
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.DeleteNamespaceResponsePB)
18905
0
  GOOGLE_DCHECK_NE(&from, this);
18906
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
18907
0
  ::google::protobuf::uint32 cached_has_bits = 0;
18908
0
  (void) cached_has_bits;
18909
18910
0
  if (from.has_error()) {
18911
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
18912
0
  }
18913
0
}
18914
18915
0
void DeleteNamespaceResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
18916
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.DeleteNamespaceResponsePB)
18917
0
  if (&from == this) return;
18918
0
  Clear();
18919
0
  MergeFrom(from);
18920
0
}
18921
18922
0
void DeleteNamespaceResponsePB::CopyFrom(const DeleteNamespaceResponsePB& from) {
18923
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.DeleteNamespaceResponsePB)
18924
0
  if (&from == this) return;
18925
0
  Clear();
18926
0
  MergeFrom(from);
18927
0
}
18928
18929
3.11k
bool DeleteNamespaceResponsePB::IsInitialized() const {
18930
3.11k
  if (has_error()) {
18931
20
    if (!this->error_->IsInitialized()) return false;
18932
3.11k
  }
18933
3.11k
  return true;
18934
3.11k
}
18935
18936
0
void DeleteNamespaceResponsePB::Swap(DeleteNamespaceResponsePB* other) {
18937
0
  if (other == this) return;
18938
0
  InternalSwap(other);
18939
0
}
18940
0
void DeleteNamespaceResponsePB::InternalSwap(DeleteNamespaceResponsePB* other) {
18941
0
  using std::swap;
18942
0
  swap(error_, other->error_);
18943
0
  swap(_has_bits_[0], other->_has_bits_[0]);
18944
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
18945
0
  swap(_cached_size_, other->_cached_size_);
18946
0
}
18947
18948
22
::google::protobuf::Metadata DeleteNamespaceResponsePB::GetMetadata() const {
18949
22
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
18950
22
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
18951
22
}
18952
18953
18954
// ===================================================================
18955
18956
15.8k
void IsDeleteNamespaceDoneRequestPB::InitAsDefaultInstance() {
18957
15.8k
  ::yb::master::_IsDeleteNamespaceDoneRequestPB_default_instance_._instance.get_mutable()->namespace__ = const_cast< ::yb::master::NamespaceIdentifierPB*>(
18958
15.8k
      ::yb::master::NamespaceIdentifierPB::internal_default_instance());
18959
15.8k
}
18960
0
void IsDeleteNamespaceDoneRequestPB::clear_namespace_() {
18961
0
  if (namespace__ != NULL) namespace__->Clear();
18962
0
  clear_has_namespace_();
18963
0
}
18964
#if !defined(_MSC_VER) || _MSC_VER >= 1900
18965
const int IsDeleteNamespaceDoneRequestPB::kNamespaceFieldNumber;
18966
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
18967
18968
IsDeleteNamespaceDoneRequestPB::IsDeleteNamespaceDoneRequestPB()
18969
18.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
18970
3.14k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
18971
3.14k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsDeleteNamespaceDoneRequestPB();
18972
3.14k
  }
18973
18.9k
  SharedCtor();
18974
  // @@protoc_insertion_point(constructor:yb.master.IsDeleteNamespaceDoneRequestPB)
18975
18.9k
}
18976
IsDeleteNamespaceDoneRequestPB::IsDeleteNamespaceDoneRequestPB(const IsDeleteNamespaceDoneRequestPB& from)
18977
  : ::google::protobuf::Message(),
18978
      _internal_metadata_(NULL),
18979
      _has_bits_(from._has_bits_),
18980
0
      _cached_size_(0) {
18981
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
18982
0
  if (from.has_namespace_()) {
18983
0
    namespace__ = new ::yb::master::NamespaceIdentifierPB(*from.namespace__);
18984
0
  } else {
18985
0
    namespace__ = NULL;
18986
0
  }
18987
  // @@protoc_insertion_point(copy_constructor:yb.master.IsDeleteNamespaceDoneRequestPB)
18988
0
}
18989
18990
18.9k
void IsDeleteNamespaceDoneRequestPB::SharedCtor() {
18991
18.9k
  _cached_size_ = 0;
18992
18.9k
  namespace__ = NULL;
18993
18.9k
}
18994
18995
3.14k
IsDeleteNamespaceDoneRequestPB::~IsDeleteNamespaceDoneRequestPB() {
18996
  // @@protoc_insertion_point(destructor:yb.master.IsDeleteNamespaceDoneRequestPB)
18997
3.14k
  SharedDtor();
18998
3.14k
}
18999
19000
3.14k
void IsDeleteNamespaceDoneRequestPB::SharedDtor() {
19001
3.14k
  if (this != internal_default_instance()) delete namespace__;
19002
3.14k
}
19003
19004
0
void IsDeleteNamespaceDoneRequestPB::SetCachedSize(int size) const {
19005
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19006
0
  _cached_size_ = size;
19007
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
19008
0
}
19009
0
const ::google::protobuf::Descriptor* IsDeleteNamespaceDoneRequestPB::descriptor() {
19010
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
19011
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
19012
0
}
19013
19014
0
const IsDeleteNamespaceDoneRequestPB& IsDeleteNamespaceDoneRequestPB::default_instance() {
19015
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsDeleteNamespaceDoneRequestPB();
19016
0
  return *internal_default_instance();
19017
0
}
19018
19019
0
IsDeleteNamespaceDoneRequestPB* IsDeleteNamespaceDoneRequestPB::New(::google::protobuf::Arena* arena) const {
19020
0
  IsDeleteNamespaceDoneRequestPB* n = new IsDeleteNamespaceDoneRequestPB;
19021
0
  if (arena != NULL) {
19022
0
    arena->Own(n);
19023
0
  }
19024
0
  return n;
19025
0
}
19026
19027
1.59k
void IsDeleteNamespaceDoneRequestPB::Clear() {
19028
// @@protoc_insertion_point(message_clear_start:yb.master.IsDeleteNamespaceDoneRequestPB)
19029
1.59k
  ::google::protobuf::uint32 cached_has_bits = 0;
19030
  // Prevent compiler warnings about cached_has_bits being unused
19031
1.59k
  (void) cached_has_bits;
19032
19033
1.59k
  cached_has_bits = _has_bits_[0];
19034
1.59k
  if (cached_has_bits & 0x00000001u) {
19035
0
    GOOGLE_DCHECK(namespace__ != NULL);
19036
0
    namespace__->Clear();
19037
0
  }
19038
1.59k
  _has_bits_.Clear();
19039
1.59k
  _internal_metadata_.Clear();
19040
1.59k
}
19041
19042
bool IsDeleteNamespaceDoneRequestPB::MergePartialFromCodedStream(
19043
1.59k
    ::google::protobuf::io::CodedInputStream* input) {
19044
1.59k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
19045
1.59k
  ::google::protobuf::uint32 tag;
19046
  // @@protoc_insertion_point(parse_start:yb.master.IsDeleteNamespaceDoneRequestPB)
19047
3.19k
  for (;;) {
19048
3.19k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
19049
3.19k
    tag = p.first;
19050
3.19k
    if (!p.second) goto handle_unusual;
19051
1.59k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
19052
      // optional .yb.master.NamespaceIdentifierPB namespace = 1;
19053
1.59k
      case 1: {
19054
1.59k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
19055
1.59k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
19056
1.59k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
19057
1.59k
               input, mutable_namespace_()));
19058
0
        } else {
19059
0
          goto handle_unusual;
19060
0
        }
19061
1.59k
        break;
19062
1.59k
      }
19063
19064
0
      default: {
19065
1.59k
      handle_unusual:
19066
1.59k
        if (tag == 0) {
19067
1.59k
          goto success;
19068
1.59k
        }
19069
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
19070
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
19071
0
        break;
19072
0
      }
19073
1.59k
    }
19074
1.59k
  }
19075
1.59k
success:
19076
  // @@protoc_insertion_point(parse_success:yb.master.IsDeleteNamespaceDoneRequestPB)
19077
1.59k
  return true;
19078
0
failure:
19079
  // @@protoc_insertion_point(parse_failure:yb.master.IsDeleteNamespaceDoneRequestPB)
19080
0
  return false;
19081
1.59k
#undef DO_
19082
1.59k
}
19083
19084
void IsDeleteNamespaceDoneRequestPB::SerializeWithCachedSizes(
19085
0
    ::google::protobuf::io::CodedOutputStream* output) const {
19086
  // @@protoc_insertion_point(serialize_start:yb.master.IsDeleteNamespaceDoneRequestPB)
19087
0
  ::google::protobuf::uint32 cached_has_bits = 0;
19088
0
  (void) cached_has_bits;
19089
19090
0
  cached_has_bits = _has_bits_[0];
19091
  // optional .yb.master.NamespaceIdentifierPB namespace = 1;
19092
0
  if (cached_has_bits & 0x00000001u) {
19093
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
19094
0
      1, *this->namespace__, output);
19095
0
  }
19096
19097
0
  if (_internal_metadata_.have_unknown_fields()) {
19098
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
19099
0
        _internal_metadata_.unknown_fields(), output);
19100
0
  }
19101
  // @@protoc_insertion_point(serialize_end:yb.master.IsDeleteNamespaceDoneRequestPB)
19102
0
}
19103
19104
::google::protobuf::uint8* IsDeleteNamespaceDoneRequestPB::InternalSerializeWithCachedSizesToArray(
19105
1.59k
    bool deterministic, ::google::protobuf::uint8* target) const {
19106
1.59k
  (void)deterministic; // Unused
19107
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.IsDeleteNamespaceDoneRequestPB)
19108
1.59k
  ::google::protobuf::uint32 cached_has_bits = 0;
19109
1.59k
  (void) cached_has_bits;
19110
19111
1.59k
  cached_has_bits = _has_bits_[0];
19112
  // optional .yb.master.NamespaceIdentifierPB namespace = 1;
19113
1.59k
  if (cached_has_bits & 0x00000001u) {
19114
1.59k
    target = ::google::protobuf::internal::WireFormatLite::
19115
1.59k
      InternalWriteMessageToArray(
19116
1.59k
        1, *this->namespace__, deterministic, target);
19117
1.59k
  }
19118
19119
1.59k
  if (_internal_metadata_.have_unknown_fields()) {
19120
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
19121
0
        _internal_metadata_.unknown_fields(), target);
19122
0
  }
19123
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.IsDeleteNamespaceDoneRequestPB)
19124
1.59k
  return target;
19125
1.59k
}
19126
19127
3.19k
size_t IsDeleteNamespaceDoneRequestPB::ByteSizeLong() const {
19128
// @@protoc_insertion_point(message_byte_size_start:yb.master.IsDeleteNamespaceDoneRequestPB)
19129
3.19k
  size_t total_size = 0;
19130
19131
3.19k
  if (_internal_metadata_.have_unknown_fields()) {
19132
0
    total_size +=
19133
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
19134
0
        _internal_metadata_.unknown_fields());
19135
0
  }
19136
  // optional .yb.master.NamespaceIdentifierPB namespace = 1;
19137
3.19k
  if (has_namespace_()) {
19138
3.19k
    total_size += 1 +
19139
3.19k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
19140
3.19k
        *this->namespace__);
19141
3.19k
  }
19142
19143
3.19k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
19144
3.19k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19145
3.19k
  _cached_size_ = cached_size;
19146
3.19k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
19147
3.19k
  return total_size;
19148
3.19k
}
19149
19150
0
void IsDeleteNamespaceDoneRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
19151
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.IsDeleteNamespaceDoneRequestPB)
19152
0
  GOOGLE_DCHECK_NE(&from, this);
19153
0
  const IsDeleteNamespaceDoneRequestPB* source =
19154
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsDeleteNamespaceDoneRequestPB>(
19155
0
          &from);
19156
0
  if (source == NULL) {
19157
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.IsDeleteNamespaceDoneRequestPB)
19158
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
19159
0
  } else {
19160
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.IsDeleteNamespaceDoneRequestPB)
19161
0
    MergeFrom(*source);
19162
0
  }
19163
0
}
19164
19165
0
void IsDeleteNamespaceDoneRequestPB::MergeFrom(const IsDeleteNamespaceDoneRequestPB& from) {
19166
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.IsDeleteNamespaceDoneRequestPB)
19167
0
  GOOGLE_DCHECK_NE(&from, this);
19168
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
19169
0
  ::google::protobuf::uint32 cached_has_bits = 0;
19170
0
  (void) cached_has_bits;
19171
19172
0
  if (from.has_namespace_()) {
19173
0
    mutable_namespace_()->::yb::master::NamespaceIdentifierPB::MergeFrom(from.namespace_());
19174
0
  }
19175
0
}
19176
19177
0
void IsDeleteNamespaceDoneRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
19178
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.IsDeleteNamespaceDoneRequestPB)
19179
0
  if (&from == this) return;
19180
0
  Clear();
19181
0
  MergeFrom(from);
19182
0
}
19183
19184
0
void IsDeleteNamespaceDoneRequestPB::CopyFrom(const IsDeleteNamespaceDoneRequestPB& from) {
19185
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.IsDeleteNamespaceDoneRequestPB)
19186
0
  if (&from == this) return;
19187
0
  Clear();
19188
0
  MergeFrom(from);
19189
0
}
19190
19191
3.19k
bool IsDeleteNamespaceDoneRequestPB::IsInitialized() const {
19192
3.19k
  return true;
19193
3.19k
}
19194
19195
0
void IsDeleteNamespaceDoneRequestPB::Swap(IsDeleteNamespaceDoneRequestPB* other) {
19196
0
  if (other == this) return;
19197
0
  InternalSwap(other);
19198
0
}
19199
0
void IsDeleteNamespaceDoneRequestPB::InternalSwap(IsDeleteNamespaceDoneRequestPB* other) {
19200
0
  using std::swap;
19201
0
  swap(namespace__, other->namespace__);
19202
0
  swap(_has_bits_[0], other->_has_bits_[0]);
19203
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
19204
0
  swap(_cached_size_, other->_cached_size_);
19205
0
}
19206
19207
1.59k
::google::protobuf::Metadata IsDeleteNamespaceDoneRequestPB::GetMetadata() const {
19208
1.59k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
19209
1.59k
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
19210
1.59k
}
19211
19212
19213
// ===================================================================
19214
19215
15.8k
void IsDeleteNamespaceDoneResponsePB::InitAsDefaultInstance() {
19216
15.8k
  ::yb::master::_IsDeleteNamespaceDoneResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
19217
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
19218
15.8k
}
19219
0
void IsDeleteNamespaceDoneResponsePB::clear_error() {
19220
0
  if (error_ != NULL) error_->Clear();
19221
0
  clear_has_error();
19222
0
}
19223
#if !defined(_MSC_VER) || _MSC_VER >= 1900
19224
const int IsDeleteNamespaceDoneResponsePB::kErrorFieldNumber;
19225
const int IsDeleteNamespaceDoneResponsePB::kDoneFieldNumber;
19226
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
19227
19228
IsDeleteNamespaceDoneResponsePB::IsDeleteNamespaceDoneResponsePB()
19229
19.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
19230
3.19k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
19231
3.19k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsDeleteNamespaceDoneResponsePB();
19232
3.19k
  }
19233
19.0k
  SharedCtor();
19234
  // @@protoc_insertion_point(constructor:yb.master.IsDeleteNamespaceDoneResponsePB)
19235
19.0k
}
19236
IsDeleteNamespaceDoneResponsePB::IsDeleteNamespaceDoneResponsePB(const IsDeleteNamespaceDoneResponsePB& from)
19237
  : ::google::protobuf::Message(),
19238
      _internal_metadata_(NULL),
19239
      _has_bits_(from._has_bits_),
19240
0
      _cached_size_(0) {
19241
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
19242
0
  if (from.has_error()) {
19243
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
19244
0
  } else {
19245
0
    error_ = NULL;
19246
0
  }
19247
0
  done_ = from.done_;
19248
  // @@protoc_insertion_point(copy_constructor:yb.master.IsDeleteNamespaceDoneResponsePB)
19249
0
}
19250
19251
19.0k
void IsDeleteNamespaceDoneResponsePB::SharedCtor() {
19252
19.0k
  _cached_size_ = 0;
19253
19.0k
  ::memset(&error_, 0, static_cast<size_t>(
19254
19.0k
      reinterpret_cast<char*>(&done_) -
19255
19.0k
      reinterpret_cast<char*>(&error_)) + sizeof(done_));
19256
19.0k
}
19257
19258
3.19k
IsDeleteNamespaceDoneResponsePB::~IsDeleteNamespaceDoneResponsePB() {
19259
  // @@protoc_insertion_point(destructor:yb.master.IsDeleteNamespaceDoneResponsePB)
19260
3.19k
  SharedDtor();
19261
3.19k
}
19262
19263
3.19k
void IsDeleteNamespaceDoneResponsePB::SharedDtor() {
19264
3.19k
  if (this != internal_default_instance()) delete error_;
19265
3.19k
}
19266
19267
0
void IsDeleteNamespaceDoneResponsePB::SetCachedSize(int size) const {
19268
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19269
0
  _cached_size_ = size;
19270
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
19271
0
}
19272
0
const ::google::protobuf::Descriptor* IsDeleteNamespaceDoneResponsePB::descriptor() {
19273
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
19274
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
19275
0
}
19276
19277
0
const IsDeleteNamespaceDoneResponsePB& IsDeleteNamespaceDoneResponsePB::default_instance() {
19278
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsIsDeleteNamespaceDoneResponsePB();
19279
0
  return *internal_default_instance();
19280
0
}
19281
19282
0
IsDeleteNamespaceDoneResponsePB* IsDeleteNamespaceDoneResponsePB::New(::google::protobuf::Arena* arena) const {
19283
0
  IsDeleteNamespaceDoneResponsePB* n = new IsDeleteNamespaceDoneResponsePB;
19284
0
  if (arena != NULL) {
19285
0
    arena->Own(n);
19286
0
  }
19287
0
  return n;
19288
0
}
19289
19290
1.59k
void IsDeleteNamespaceDoneResponsePB::Clear() {
19291
// @@protoc_insertion_point(message_clear_start:yb.master.IsDeleteNamespaceDoneResponsePB)
19292
1.59k
  ::google::protobuf::uint32 cached_has_bits = 0;
19293
  // Prevent compiler warnings about cached_has_bits being unused
19294
1.59k
  (void) cached_has_bits;
19295
19296
1.59k
  cached_has_bits = _has_bits_[0];
19297
1.59k
  if (cached_has_bits & 0x00000001u) {
19298
0
    GOOGLE_DCHECK(error_ != NULL);
19299
0
    error_->Clear();
19300
0
  }
19301
1.59k
  done_ = false;
19302
1.59k
  _has_bits_.Clear();
19303
1.59k
  _internal_metadata_.Clear();
19304
1.59k
}
19305
19306
bool IsDeleteNamespaceDoneResponsePB::MergePartialFromCodedStream(
19307
1.59k
    ::google::protobuf::io::CodedInputStream* input) {
19308
1.60k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
19309
1.59k
  ::google::protobuf::uint32 tag;
19310
  // @@protoc_insertion_point(parse_start:yb.master.IsDeleteNamespaceDoneResponsePB)
19311
3.20k
  for (;;) {
19312
3.20k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
19313
3.20k
    tag = p.first;
19314
3.20k
    if (!p.second) goto handle_unusual;
19315
1.60k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
19316
      // optional .yb.master.MasterErrorPB error = 1;
19317
5
      case 1: {
19318
5
        if (static_cast< ::google::protobuf::uint8>(tag) ==
19319
5
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
19320
5
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
19321
5
               input, mutable_error()));
19322
0
        } else {
19323
0
          goto handle_unusual;
19324
0
        }
19325
5
        break;
19326
5
      }
19327
19328
      // optional bool done = 2;
19329
1.59k
      case 2: {
19330
1.59k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
19331
1.59k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
19332
1.59k
          set_has_done();
19333
1.59k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19334
1.59k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
19335
1.59k
                 input, &done_)));
19336
0
        } else {
19337
0
          goto handle_unusual;
19338
0
        }
19339
1.59k
        break;
19340
1.59k
      }
19341
19342
0
      default: {
19343
1.59k
      handle_unusual:
19344
1.59k
        if (tag == 0) {
19345
1.59k
          goto success;
19346
1.59k
        }
19347
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
19348
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
19349
0
        break;
19350
0
      }
19351
1.60k
    }
19352
1.60k
  }
19353
1.59k
success:
19354
  // @@protoc_insertion_point(parse_success:yb.master.IsDeleteNamespaceDoneResponsePB)
19355
1.59k
  return true;
19356
0
failure:
19357
  // @@protoc_insertion_point(parse_failure:yb.master.IsDeleteNamespaceDoneResponsePB)
19358
0
  return false;
19359
1.59k
#undef DO_
19360
1.59k
}
19361
19362
void IsDeleteNamespaceDoneResponsePB::SerializeWithCachedSizes(
19363
0
    ::google::protobuf::io::CodedOutputStream* output) const {
19364
  // @@protoc_insertion_point(serialize_start:yb.master.IsDeleteNamespaceDoneResponsePB)
19365
0
  ::google::protobuf::uint32 cached_has_bits = 0;
19366
0
  (void) cached_has_bits;
19367
19368
0
  cached_has_bits = _has_bits_[0];
19369
  // optional .yb.master.MasterErrorPB error = 1;
19370
0
  if (cached_has_bits & 0x00000001u) {
19371
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
19372
0
      1, *this->error_, output);
19373
0
  }
19374
19375
  // optional bool done = 2;
19376
0
  if (cached_has_bits & 0x00000002u) {
19377
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->done(), output);
19378
0
  }
19379
19380
0
  if (_internal_metadata_.have_unknown_fields()) {
19381
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
19382
0
        _internal_metadata_.unknown_fields(), output);
19383
0
  }
19384
  // @@protoc_insertion_point(serialize_end:yb.master.IsDeleteNamespaceDoneResponsePB)
19385
0
}
19386
19387
::google::protobuf::uint8* IsDeleteNamespaceDoneResponsePB::InternalSerializeWithCachedSizesToArray(
19388
1.59k
    bool deterministic, ::google::protobuf::uint8* target) const {
19389
1.59k
  (void)deterministic; // Unused
19390
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.IsDeleteNamespaceDoneResponsePB)
19391
1.59k
  ::google::protobuf::uint32 cached_has_bits = 0;
19392
1.59k
  (void) cached_has_bits;
19393
19394
1.59k
  cached_has_bits = _has_bits_[0];
19395
  // optional .yb.master.MasterErrorPB error = 1;
19396
1.59k
  if (cached_has_bits & 0x00000001u) {
19397
5
    target = ::google::protobuf::internal::WireFormatLite::
19398
5
      InternalWriteMessageToArray(
19399
5
        1, *this->error_, deterministic, target);
19400
5
  }
19401
19402
  // optional bool done = 2;
19403
1.59k
  if (cached_has_bits & 0x00000002u) {
19404
1.59k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->done(), target);
19405
1.59k
  }
19406
19407
1.59k
  if (_internal_metadata_.have_unknown_fields()) {
19408
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
19409
0
        _internal_metadata_.unknown_fields(), target);
19410
0
  }
19411
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.IsDeleteNamespaceDoneResponsePB)
19412
1.59k
  return target;
19413
1.59k
}
19414
19415
3.19k
size_t IsDeleteNamespaceDoneResponsePB::ByteSizeLong() const {
19416
// @@protoc_insertion_point(message_byte_size_start:yb.master.IsDeleteNamespaceDoneResponsePB)
19417
3.19k
  size_t total_size = 0;
19418
19419
3.19k
  if (_internal_metadata_.have_unknown_fields()) {
19420
0
    total_size +=
19421
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
19422
0
        _internal_metadata_.unknown_fields());
19423
0
  }
19424
3.19k
  if (_has_bits_[0 / 32] & 3u) {
19425
    // optional .yb.master.MasterErrorPB error = 1;
19426
3.19k
    if (has_error()) {
19427
10
      total_size += 1 +
19428
10
        ::google::protobuf::internal::WireFormatLite::MessageSize(
19429
10
          *this->error_);
19430
10
    }
19431
19432
    // optional bool done = 2;
19433
3.19k
    if (has_done()) {
19434
3.19k
      total_size += 1 + 1;
19435
3.19k
    }
19436
19437
3.19k
  }
19438
3.19k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
19439
3.19k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19440
3.19k
  _cached_size_ = cached_size;
19441
3.19k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
19442
3.19k
  return total_size;
19443
3.19k
}
19444
19445
0
void IsDeleteNamespaceDoneResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
19446
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.IsDeleteNamespaceDoneResponsePB)
19447
0
  GOOGLE_DCHECK_NE(&from, this);
19448
0
  const IsDeleteNamespaceDoneResponsePB* source =
19449
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsDeleteNamespaceDoneResponsePB>(
19450
0
          &from);
19451
0
  if (source == NULL) {
19452
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.IsDeleteNamespaceDoneResponsePB)
19453
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
19454
0
  } else {
19455
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.IsDeleteNamespaceDoneResponsePB)
19456
0
    MergeFrom(*source);
19457
0
  }
19458
0
}
19459
19460
0
void IsDeleteNamespaceDoneResponsePB::MergeFrom(const IsDeleteNamespaceDoneResponsePB& from) {
19461
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.IsDeleteNamespaceDoneResponsePB)
19462
0
  GOOGLE_DCHECK_NE(&from, this);
19463
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
19464
0
  ::google::protobuf::uint32 cached_has_bits = 0;
19465
0
  (void) cached_has_bits;
19466
19467
0
  cached_has_bits = from._has_bits_[0];
19468
0
  if (cached_has_bits & 3u) {
19469
0
    if (cached_has_bits & 0x00000001u) {
19470
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
19471
0
    }
19472
0
    if (cached_has_bits & 0x00000002u) {
19473
0
      done_ = from.done_;
19474
0
    }
19475
0
    _has_bits_[0] |= cached_has_bits;
19476
0
  }
19477
0
}
19478
19479
0
void IsDeleteNamespaceDoneResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
19480
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.IsDeleteNamespaceDoneResponsePB)
19481
0
  if (&from == this) return;
19482
0
  Clear();
19483
0
  MergeFrom(from);
19484
0
}
19485
19486
0
void IsDeleteNamespaceDoneResponsePB::CopyFrom(const IsDeleteNamespaceDoneResponsePB& from) {
19487
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.IsDeleteNamespaceDoneResponsePB)
19488
0
  if (&from == this) return;
19489
0
  Clear();
19490
0
  MergeFrom(from);
19491
0
}
19492
19493
3.19k
bool IsDeleteNamespaceDoneResponsePB::IsInitialized() const {
19494
3.19k
  if (has_error()) {
19495
10
    if (!this->error_->IsInitialized()) return false;
19496
3.19k
  }
19497
3.19k
  return true;
19498
3.19k
}
19499
19500
0
void IsDeleteNamespaceDoneResponsePB::Swap(IsDeleteNamespaceDoneResponsePB* other) {
19501
0
  if (other == this) return;
19502
0
  InternalSwap(other);
19503
0
}
19504
0
void IsDeleteNamespaceDoneResponsePB::InternalSwap(IsDeleteNamespaceDoneResponsePB* other) {
19505
0
  using std::swap;
19506
0
  swap(error_, other->error_);
19507
0
  swap(done_, other->done_);
19508
0
  swap(_has_bits_[0], other->_has_bits_[0]);
19509
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
19510
0
  swap(_cached_size_, other->_cached_size_);
19511
0
}
19512
19513
0
::google::protobuf::Metadata IsDeleteNamespaceDoneResponsePB::GetMetadata() const {
19514
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
19515
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
19516
0
}
19517
19518
19519
// ===================================================================
19520
19521
15.8k
void AlterNamespaceRequestPB::InitAsDefaultInstance() {
19522
15.8k
  ::yb::master::_AlterNamespaceRequestPB_default_instance_._instance.get_mutable()->namespace__ = const_cast< ::yb::master::NamespaceIdentifierPB*>(
19523
15.8k
      ::yb::master::NamespaceIdentifierPB::internal_default_instance());
19524
15.8k
}
19525
0
void AlterNamespaceRequestPB::clear_namespace_() {
19526
0
  if (namespace__ != NULL) namespace__->Clear();
19527
0
  clear_has_namespace_();
19528
0
}
19529
#if !defined(_MSC_VER) || _MSC_VER >= 1900
19530
const int AlterNamespaceRequestPB::kNamespaceFieldNumber;
19531
const int AlterNamespaceRequestPB::kNewNameFieldNumber;
19532
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
19533
19534
AlterNamespaceRequestPB::AlterNamespaceRequestPB()
19535
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
19536
8
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
19537
8
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterNamespaceRequestPB();
19538
8
  }
19539
15.8k
  SharedCtor();
19540
  // @@protoc_insertion_point(constructor:yb.master.AlterNamespaceRequestPB)
19541
15.8k
}
19542
AlterNamespaceRequestPB::AlterNamespaceRequestPB(const AlterNamespaceRequestPB& from)
19543
  : ::google::protobuf::Message(),
19544
      _internal_metadata_(NULL),
19545
      _has_bits_(from._has_bits_),
19546
0
      _cached_size_(0) {
19547
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
19548
0
  new_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
19549
0
  if (from.has_new_name()) {
19550
0
    new_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.new_name_);
19551
0
  }
19552
0
  if (from.has_namespace_()) {
19553
0
    namespace__ = new ::yb::master::NamespaceIdentifierPB(*from.namespace__);
19554
0
  } else {
19555
0
    namespace__ = NULL;
19556
0
  }
19557
  // @@protoc_insertion_point(copy_constructor:yb.master.AlterNamespaceRequestPB)
19558
0
}
19559
19560
15.8k
void AlterNamespaceRequestPB::SharedCtor() {
19561
15.8k
  _cached_size_ = 0;
19562
15.8k
  new_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
19563
15.8k
  namespace__ = NULL;
19564
15.8k
}
19565
19566
8
AlterNamespaceRequestPB::~AlterNamespaceRequestPB() {
19567
  // @@protoc_insertion_point(destructor:yb.master.AlterNamespaceRequestPB)
19568
8
  SharedDtor();
19569
8
}
19570
19571
8
void AlterNamespaceRequestPB::SharedDtor() {
19572
8
  new_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
19573
8
  if (this != internal_default_instance()) delete namespace__;
19574
8
}
19575
19576
0
void AlterNamespaceRequestPB::SetCachedSize(int size) const {
19577
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19578
0
  _cached_size_ = size;
19579
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
19580
0
}
19581
0
const ::google::protobuf::Descriptor* AlterNamespaceRequestPB::descriptor() {
19582
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
19583
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
19584
0
}
19585
19586
0
const AlterNamespaceRequestPB& AlterNamespaceRequestPB::default_instance() {
19587
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterNamespaceRequestPB();
19588
0
  return *internal_default_instance();
19589
0
}
19590
19591
0
AlterNamespaceRequestPB* AlterNamespaceRequestPB::New(::google::protobuf::Arena* arena) const {
19592
0
  AlterNamespaceRequestPB* n = new AlterNamespaceRequestPB;
19593
0
  if (arena != NULL) {
19594
0
    arena->Own(n);
19595
0
  }
19596
0
  return n;
19597
0
}
19598
19599
4
void AlterNamespaceRequestPB::Clear() {
19600
// @@protoc_insertion_point(message_clear_start:yb.master.AlterNamespaceRequestPB)
19601
4
  ::google::protobuf::uint32 cached_has_bits = 0;
19602
  // Prevent compiler warnings about cached_has_bits being unused
19603
4
  (void) cached_has_bits;
19604
19605
4
  cached_has_bits = _has_bits_[0];
19606
4
  if (cached_has_bits & 3u) {
19607
0
    if (cached_has_bits & 0x00000001u) {
19608
0
      GOOGLE_DCHECK(!new_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
19609
0
      (*new_name_.UnsafeRawStringPointer())->clear();
19610
0
    }
19611
0
    if (cached_has_bits & 0x00000002u) {
19612
0
      GOOGLE_DCHECK(namespace__ != NULL);
19613
0
      namespace__->Clear();
19614
0
    }
19615
0
  }
19616
4
  _has_bits_.Clear();
19617
4
  _internal_metadata_.Clear();
19618
4
}
19619
19620
bool AlterNamespaceRequestPB::MergePartialFromCodedStream(
19621
4
    ::google::protobuf::io::CodedInputStream* input) {
19622
8
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
19623
4
  ::google::protobuf::uint32 tag;
19624
  // @@protoc_insertion_point(parse_start:yb.master.AlterNamespaceRequestPB)
19625
12
  for (;;) {
19626
12
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
19627
12
    tag = p.first;
19628
12
    if (!p.second) goto handle_unusual;
19629
8
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
19630
      // optional .yb.master.NamespaceIdentifierPB namespace = 1;
19631
4
      case 1: {
19632
4
        if (static_cast< ::google::protobuf::uint8>(tag) ==
19633
4
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
19634
4
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
19635
4
               input, mutable_namespace_()));
19636
0
        } else {
19637
0
          goto handle_unusual;
19638
0
        }
19639
4
        break;
19640
4
      }
19641
19642
      // optional string new_name = 2;
19643
4
      case 2: {
19644
4
        if (static_cast< ::google::protobuf::uint8>(tag) ==
19645
4
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
19646
4
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
19647
4
                input, this->mutable_new_name()));
19648
4
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
19649
4
            this->new_name().data(), static_cast<int>(this->new_name().length()),
19650
4
            ::google::protobuf::internal::WireFormat::PARSE,
19651
4
            "yb.master.AlterNamespaceRequestPB.new_name");
19652
0
        } else {
19653
0
          goto handle_unusual;
19654
0
        }
19655
4
        break;
19656
4
      }
19657
19658
0
      default: {
19659
4
      handle_unusual:
19660
4
        if (tag == 0) {
19661
4
          goto success;
19662
4
        }
19663
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
19664
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
19665
0
        break;
19666
0
      }
19667
8
    }
19668
8
  }
19669
4
success:
19670
  // @@protoc_insertion_point(parse_success:yb.master.AlterNamespaceRequestPB)
19671
4
  return true;
19672
0
failure:
19673
  // @@protoc_insertion_point(parse_failure:yb.master.AlterNamespaceRequestPB)
19674
0
  return false;
19675
4
#undef DO_
19676
4
}
19677
19678
void AlterNamespaceRequestPB::SerializeWithCachedSizes(
19679
0
    ::google::protobuf::io::CodedOutputStream* output) const {
19680
  // @@protoc_insertion_point(serialize_start:yb.master.AlterNamespaceRequestPB)
19681
0
  ::google::protobuf::uint32 cached_has_bits = 0;
19682
0
  (void) cached_has_bits;
19683
19684
0
  cached_has_bits = _has_bits_[0];
19685
  // optional .yb.master.NamespaceIdentifierPB namespace = 1;
19686
0
  if (cached_has_bits & 0x00000002u) {
19687
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
19688
0
      1, *this->namespace__, output);
19689
0
  }
19690
19691
  // optional string new_name = 2;
19692
0
  if (cached_has_bits & 0x00000001u) {
19693
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
19694
0
      this->new_name().data(), static_cast<int>(this->new_name().length()),
19695
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
19696
0
      "yb.master.AlterNamespaceRequestPB.new_name");
19697
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
19698
0
      2, this->new_name(), output);
19699
0
  }
19700
19701
0
  if (_internal_metadata_.have_unknown_fields()) {
19702
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
19703
0
        _internal_metadata_.unknown_fields(), output);
19704
0
  }
19705
  // @@protoc_insertion_point(serialize_end:yb.master.AlterNamespaceRequestPB)
19706
0
}
19707
19708
::google::protobuf::uint8* AlterNamespaceRequestPB::InternalSerializeWithCachedSizesToArray(
19709
4
    bool deterministic, ::google::protobuf::uint8* target) const {
19710
4
  (void)deterministic; // Unused
19711
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.AlterNamespaceRequestPB)
19712
4
  ::google::protobuf::uint32 cached_has_bits = 0;
19713
4
  (void) cached_has_bits;
19714
19715
4
  cached_has_bits = _has_bits_[0];
19716
  // optional .yb.master.NamespaceIdentifierPB namespace = 1;
19717
4
  if (cached_has_bits & 0x00000002u) {
19718
4
    target = ::google::protobuf::internal::WireFormatLite::
19719
4
      InternalWriteMessageToArray(
19720
4
        1, *this->namespace__, deterministic, target);
19721
4
  }
19722
19723
  // optional string new_name = 2;
19724
4
  if (cached_has_bits & 0x00000001u) {
19725
4
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
19726
4
      this->new_name().data(), static_cast<int>(this->new_name().length()),
19727
4
      ::google::protobuf::internal::WireFormat::SERIALIZE,
19728
4
      "yb.master.AlterNamespaceRequestPB.new_name");
19729
4
    target =
19730
4
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
19731
4
        2, this->new_name(), target);
19732
4
  }
19733
19734
4
  if (_internal_metadata_.have_unknown_fields()) {
19735
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
19736
0
        _internal_metadata_.unknown_fields(), target);
19737
0
  }
19738
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.AlterNamespaceRequestPB)
19739
4
  return target;
19740
4
}
19741
19742
8
size_t AlterNamespaceRequestPB::ByteSizeLong() const {
19743
// @@protoc_insertion_point(message_byte_size_start:yb.master.AlterNamespaceRequestPB)
19744
8
  size_t total_size = 0;
19745
19746
8
  if (_internal_metadata_.have_unknown_fields()) {
19747
0
    total_size +=
19748
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
19749
0
        _internal_metadata_.unknown_fields());
19750
0
  }
19751
8
  if (_has_bits_[0 / 32] & 3u) {
19752
    // optional string new_name = 2;
19753
8
    if (has_new_name()) {
19754
8
      total_size += 1 +
19755
8
        ::google::protobuf::internal::WireFormatLite::StringSize(
19756
8
          this->new_name());
19757
8
    }
19758
19759
    // optional .yb.master.NamespaceIdentifierPB namespace = 1;
19760
8
    if (has_namespace_()) {
19761
8
      total_size += 1 +
19762
8
        ::google::protobuf::internal::WireFormatLite::MessageSize(
19763
8
          *this->namespace__);
19764
8
    }
19765
19766
8
  }
19767
8
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
19768
8
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19769
8
  _cached_size_ = cached_size;
19770
8
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
19771
8
  return total_size;
19772
8
}
19773
19774
0
void AlterNamespaceRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
19775
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.AlterNamespaceRequestPB)
19776
0
  GOOGLE_DCHECK_NE(&from, this);
19777
0
  const AlterNamespaceRequestPB* source =
19778
0
      ::google::protobuf::internal::DynamicCastToGenerated<const AlterNamespaceRequestPB>(
19779
0
          &from);
19780
0
  if (source == NULL) {
19781
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.AlterNamespaceRequestPB)
19782
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
19783
0
  } else {
19784
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.AlterNamespaceRequestPB)
19785
0
    MergeFrom(*source);
19786
0
  }
19787
0
}
19788
19789
0
void AlterNamespaceRequestPB::MergeFrom(const AlterNamespaceRequestPB& from) {
19790
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.AlterNamespaceRequestPB)
19791
0
  GOOGLE_DCHECK_NE(&from, this);
19792
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
19793
0
  ::google::protobuf::uint32 cached_has_bits = 0;
19794
0
  (void) cached_has_bits;
19795
19796
0
  cached_has_bits = from._has_bits_[0];
19797
0
  if (cached_has_bits & 3u) {
19798
0
    if (cached_has_bits & 0x00000001u) {
19799
0
      set_has_new_name();
19800
0
      new_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.new_name_);
19801
0
    }
19802
0
    if (cached_has_bits & 0x00000002u) {
19803
0
      mutable_namespace_()->::yb::master::NamespaceIdentifierPB::MergeFrom(from.namespace_());
19804
0
    }
19805
0
  }
19806
0
}
19807
19808
0
void AlterNamespaceRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
19809
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.AlterNamespaceRequestPB)
19810
0
  if (&from == this) return;
19811
0
  Clear();
19812
0
  MergeFrom(from);
19813
0
}
19814
19815
0
void AlterNamespaceRequestPB::CopyFrom(const AlterNamespaceRequestPB& from) {
19816
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.AlterNamespaceRequestPB)
19817
0
  if (&from == this) return;
19818
0
  Clear();
19819
0
  MergeFrom(from);
19820
0
}
19821
19822
8
bool AlterNamespaceRequestPB::IsInitialized() const {
19823
8
  return true;
19824
8
}
19825
19826
0
void AlterNamespaceRequestPB::Swap(AlterNamespaceRequestPB* other) {
19827
0
  if (other == this) return;
19828
0
  InternalSwap(other);
19829
0
}
19830
0
void AlterNamespaceRequestPB::InternalSwap(AlterNamespaceRequestPB* other) {
19831
0
  using std::swap;
19832
0
  new_name_.Swap(&other->new_name_);
19833
0
  swap(namespace__, other->namespace__);
19834
0
  swap(_has_bits_[0], other->_has_bits_[0]);
19835
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
19836
0
  swap(_cached_size_, other->_cached_size_);
19837
0
}
19838
19839
12
::google::protobuf::Metadata AlterNamespaceRequestPB::GetMetadata() const {
19840
12
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
19841
12
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
19842
12
}
19843
19844
19845
// ===================================================================
19846
19847
15.8k
void AlterNamespaceResponsePB::InitAsDefaultInstance() {
19848
15.8k
  ::yb::master::_AlterNamespaceResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
19849
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
19850
15.8k
}
19851
0
void AlterNamespaceResponsePB::clear_error() {
19852
0
  if (error_ != NULL) error_->Clear();
19853
0
  clear_has_error();
19854
0
}
19855
#if !defined(_MSC_VER) || _MSC_VER >= 1900
19856
const int AlterNamespaceResponsePB::kErrorFieldNumber;
19857
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
19858
19859
AlterNamespaceResponsePB::AlterNamespaceResponsePB()
19860
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
19861
8
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
19862
8
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterNamespaceResponsePB();
19863
8
  }
19864
15.8k
  SharedCtor();
19865
  // @@protoc_insertion_point(constructor:yb.master.AlterNamespaceResponsePB)
19866
15.8k
}
19867
AlterNamespaceResponsePB::AlterNamespaceResponsePB(const AlterNamespaceResponsePB& from)
19868
  : ::google::protobuf::Message(),
19869
      _internal_metadata_(NULL),
19870
      _has_bits_(from._has_bits_),
19871
0
      _cached_size_(0) {
19872
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
19873
0
  if (from.has_error()) {
19874
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
19875
0
  } else {
19876
0
    error_ = NULL;
19877
0
  }
19878
  // @@protoc_insertion_point(copy_constructor:yb.master.AlterNamespaceResponsePB)
19879
0
}
19880
19881
15.8k
void AlterNamespaceResponsePB::SharedCtor() {
19882
15.8k
  _cached_size_ = 0;
19883
15.8k
  error_ = NULL;
19884
15.8k
}
19885
19886
8
AlterNamespaceResponsePB::~AlterNamespaceResponsePB() {
19887
  // @@protoc_insertion_point(destructor:yb.master.AlterNamespaceResponsePB)
19888
8
  SharedDtor();
19889
8
}
19890
19891
8
void AlterNamespaceResponsePB::SharedDtor() {
19892
8
  if (this != internal_default_instance()) delete error_;
19893
8
}
19894
19895
0
void AlterNamespaceResponsePB::SetCachedSize(int size) const {
19896
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19897
0
  _cached_size_ = size;
19898
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
19899
0
}
19900
0
const ::google::protobuf::Descriptor* AlterNamespaceResponsePB::descriptor() {
19901
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
19902
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
19903
0
}
19904
19905
0
const AlterNamespaceResponsePB& AlterNamespaceResponsePB::default_instance() {
19906
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsAlterNamespaceResponsePB();
19907
0
  return *internal_default_instance();
19908
0
}
19909
19910
0
AlterNamespaceResponsePB* AlterNamespaceResponsePB::New(::google::protobuf::Arena* arena) const {
19911
0
  AlterNamespaceResponsePB* n = new AlterNamespaceResponsePB;
19912
0
  if (arena != NULL) {
19913
0
    arena->Own(n);
19914
0
  }
19915
0
  return n;
19916
0
}
19917
19918
4
void AlterNamespaceResponsePB::Clear() {
19919
// @@protoc_insertion_point(message_clear_start:yb.master.AlterNamespaceResponsePB)
19920
4
  ::google::protobuf::uint32 cached_has_bits = 0;
19921
  // Prevent compiler warnings about cached_has_bits being unused
19922
4
  (void) cached_has_bits;
19923
19924
4
  cached_has_bits = _has_bits_[0];
19925
4
  if (cached_has_bits & 0x00000001u) {
19926
0
    GOOGLE_DCHECK(error_ != NULL);
19927
0
    error_->Clear();
19928
0
  }
19929
4
  _has_bits_.Clear();
19930
4
  _internal_metadata_.Clear();
19931
4
}
19932
19933
bool AlterNamespaceResponsePB::MergePartialFromCodedStream(
19934
4
    ::google::protobuf::io::CodedInputStream* input) {
19935
1
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
19936
4
  ::google::protobuf::uint32 tag;
19937
  // @@protoc_insertion_point(parse_start:yb.master.AlterNamespaceResponsePB)
19938
5
  for (;;) {
19939
5
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
19940
5
    tag = p.first;
19941
5
    if (!p.second) goto handle_unusual;
19942
1
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
19943
      // optional .yb.master.MasterErrorPB error = 1;
19944
1
      case 1: {
19945
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
19946
1
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
19947
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
19948
1
               input, mutable_error()));
19949
0
        } else {
19950
0
          goto handle_unusual;
19951
0
        }
19952
1
        break;
19953
4
      }
19954
19955
0
      default: {
19956
4
      handle_unusual:
19957
4
        if (tag == 0) {
19958
4
          goto success;
19959
4
        }
19960
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
19961
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
19962
0
        break;
19963
0
      }
19964
1
    }
19965
1
  }
19966
4
success:
19967
  // @@protoc_insertion_point(parse_success:yb.master.AlterNamespaceResponsePB)
19968
4
  return true;
19969
0
failure:
19970
  // @@protoc_insertion_point(parse_failure:yb.master.AlterNamespaceResponsePB)
19971
0
  return false;
19972
4
#undef DO_
19973
4
}
19974
19975
void AlterNamespaceResponsePB::SerializeWithCachedSizes(
19976
0
    ::google::protobuf::io::CodedOutputStream* output) const {
19977
  // @@protoc_insertion_point(serialize_start:yb.master.AlterNamespaceResponsePB)
19978
0
  ::google::protobuf::uint32 cached_has_bits = 0;
19979
0
  (void) cached_has_bits;
19980
19981
0
  cached_has_bits = _has_bits_[0];
19982
  // optional .yb.master.MasterErrorPB error = 1;
19983
0
  if (cached_has_bits & 0x00000001u) {
19984
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
19985
0
      1, *this->error_, output);
19986
0
  }
19987
19988
0
  if (_internal_metadata_.have_unknown_fields()) {
19989
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
19990
0
        _internal_metadata_.unknown_fields(), output);
19991
0
  }
19992
  // @@protoc_insertion_point(serialize_end:yb.master.AlterNamespaceResponsePB)
19993
0
}
19994
19995
::google::protobuf::uint8* AlterNamespaceResponsePB::InternalSerializeWithCachedSizesToArray(
19996
4
    bool deterministic, ::google::protobuf::uint8* target) const {
19997
4
  (void)deterministic; // Unused
19998
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.AlterNamespaceResponsePB)
19999
4
  ::google::protobuf::uint32 cached_has_bits = 0;
20000
4
  (void) cached_has_bits;
20001
20002
4
  cached_has_bits = _has_bits_[0];
20003
  // optional .yb.master.MasterErrorPB error = 1;
20004
4
  if (cached_has_bits & 0x00000001u) {
20005
1
    target = ::google::protobuf::internal::WireFormatLite::
20006
1
      InternalWriteMessageToArray(
20007
1
        1, *this->error_, deterministic, target);
20008
1
  }
20009
20010
4
  if (_internal_metadata_.have_unknown_fields()) {
20011
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
20012
0
        _internal_metadata_.unknown_fields(), target);
20013
0
  }
20014
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.AlterNamespaceResponsePB)
20015
4
  return target;
20016
4
}
20017
20018
8
size_t AlterNamespaceResponsePB::ByteSizeLong() const {
20019
// @@protoc_insertion_point(message_byte_size_start:yb.master.AlterNamespaceResponsePB)
20020
8
  size_t total_size = 0;
20021
20022
8
  if (_internal_metadata_.have_unknown_fields()) {
20023
0
    total_size +=
20024
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
20025
0
        _internal_metadata_.unknown_fields());
20026
0
  }
20027
  // optional .yb.master.MasterErrorPB error = 1;
20028
8
  if (has_error()) {
20029
2
    total_size += 1 +
20030
2
      ::google::protobuf::internal::WireFormatLite::MessageSize(
20031
2
        *this->error_);
20032
2
  }
20033
20034
8
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
20035
8
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20036
8
  _cached_size_ = cached_size;
20037
8
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
20038
8
  return total_size;
20039
8
}
20040
20041
0
void AlterNamespaceResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
20042
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.AlterNamespaceResponsePB)
20043
0
  GOOGLE_DCHECK_NE(&from, this);
20044
0
  const AlterNamespaceResponsePB* source =
20045
0
      ::google::protobuf::internal::DynamicCastToGenerated<const AlterNamespaceResponsePB>(
20046
0
          &from);
20047
0
  if (source == NULL) {
20048
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.AlterNamespaceResponsePB)
20049
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
20050
0
  } else {
20051
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.AlterNamespaceResponsePB)
20052
0
    MergeFrom(*source);
20053
0
  }
20054
0
}
20055
20056
0
void AlterNamespaceResponsePB::MergeFrom(const AlterNamespaceResponsePB& from) {
20057
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.AlterNamespaceResponsePB)
20058
0
  GOOGLE_DCHECK_NE(&from, this);
20059
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
20060
0
  ::google::protobuf::uint32 cached_has_bits = 0;
20061
0
  (void) cached_has_bits;
20062
20063
0
  if (from.has_error()) {
20064
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
20065
0
  }
20066
0
}
20067
20068
0
void AlterNamespaceResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
20069
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.AlterNamespaceResponsePB)
20070
0
  if (&from == this) return;
20071
0
  Clear();
20072
0
  MergeFrom(from);
20073
0
}
20074
20075
0
void AlterNamespaceResponsePB::CopyFrom(const AlterNamespaceResponsePB& from) {
20076
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.AlterNamespaceResponsePB)
20077
0
  if (&from == this) return;
20078
0
  Clear();
20079
0
  MergeFrom(from);
20080
0
}
20081
20082
8
bool AlterNamespaceResponsePB::IsInitialized() const {
20083
8
  if (has_error()) {
20084
2
    if (!this->error_->IsInitialized()) return false;
20085
8
  }
20086
8
  return true;
20087
8
}
20088
20089
0
void AlterNamespaceResponsePB::Swap(AlterNamespaceResponsePB* other) {
20090
0
  if (other == this) return;
20091
0
  InternalSwap(other);
20092
0
}
20093
0
void AlterNamespaceResponsePB::InternalSwap(AlterNamespaceResponsePB* other) {
20094
0
  using std::swap;
20095
0
  swap(error_, other->error_);
20096
0
  swap(_has_bits_[0], other->_has_bits_[0]);
20097
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
20098
0
  swap(_cached_size_, other->_cached_size_);
20099
0
}
20100
20101
0
::google::protobuf::Metadata AlterNamespaceResponsePB::GetMetadata() const {
20102
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
20103
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
20104
0
}
20105
20106
20107
// ===================================================================
20108
20109
15.8k
void ListNamespacesRequestPB::InitAsDefaultInstance() {
20110
15.8k
}
20111
#if !defined(_MSC_VER) || _MSC_VER >= 1900
20112
const int ListNamespacesRequestPB::kDatabaseTypeFieldNumber;
20113
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
20114
20115
ListNamespacesRequestPB::ListNamespacesRequestPB()
20116
24.7k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
20117
8.88k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
20118
8.88k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsListNamespacesRequestPB();
20119
8.88k
  }
20120
24.7k
  SharedCtor();
20121
  // @@protoc_insertion_point(constructor:yb.master.ListNamespacesRequestPB)
20122
24.7k
}
20123
ListNamespacesRequestPB::ListNamespacesRequestPB(const ListNamespacesRequestPB& from)
20124
  : ::google::protobuf::Message(),
20125
      _internal_metadata_(NULL),
20126
      _has_bits_(from._has_bits_),
20127
0
      _cached_size_(0) {
20128
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
20129
0
  database_type_ = from.database_type_;
20130
  // @@protoc_insertion_point(copy_constructor:yb.master.ListNamespacesRequestPB)
20131
0
}
20132
20133
24.7k
void ListNamespacesRequestPB::SharedCtor() {
20134
24.7k
  _cached_size_ = 0;
20135
24.7k
  database_type_ = 2;
20136
24.7k
}
20137
20138
8.88k
ListNamespacesRequestPB::~ListNamespacesRequestPB() {
20139
  // @@protoc_insertion_point(destructor:yb.master.ListNamespacesRequestPB)
20140
8.88k
  SharedDtor();
20141
8.88k
}
20142
20143
8.88k
void ListNamespacesRequestPB::SharedDtor() {
20144
8.88k
}
20145
20146
0
void ListNamespacesRequestPB::SetCachedSize(int size) const {
20147
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20148
0
  _cached_size_ = size;
20149
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
20150
0
}
20151
0
const ::google::protobuf::Descriptor* ListNamespacesRequestPB::descriptor() {
20152
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
20153
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
20154
0
}
20155
20156
0
const ListNamespacesRequestPB& ListNamespacesRequestPB::default_instance() {
20157
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsListNamespacesRequestPB();
20158
0
  return *internal_default_instance();
20159
0
}
20160
20161
0
ListNamespacesRequestPB* ListNamespacesRequestPB::New(::google::protobuf::Arena* arena) const {
20162
0
  ListNamespacesRequestPB* n = new ListNamespacesRequestPB;
20163
0
  if (arena != NULL) {
20164
0
    arena->Own(n);
20165
0
  }
20166
0
  return n;
20167
0
}
20168
20169
4.44k
void ListNamespacesRequestPB::Clear() {
20170
// @@protoc_insertion_point(message_clear_start:yb.master.ListNamespacesRequestPB)
20171
4.44k
  ::google::protobuf::uint32 cached_has_bits = 0;
20172
  // Prevent compiler warnings about cached_has_bits being unused
20173
4.44k
  (void) cached_has_bits;
20174
20175
4.44k
  database_type_ = 2;
20176
4.44k
  _has_bits_.Clear();
20177
4.44k
  _internal_metadata_.Clear();
20178
4.44k
}
20179
20180
bool ListNamespacesRequestPB::MergePartialFromCodedStream(
20181
4.44k
    ::google::protobuf::io::CodedInputStream* input) {
20182
4
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
20183
4.44k
  ::google::protobuf::uint32 tag;
20184
  // @@protoc_insertion_point(parse_start:yb.master.ListNamespacesRequestPB)
20185
4.44k
  for (;;) {
20186
4.44k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
20187
4.44k
    tag = p.first;
20188
4.44k
    if (!p.second) goto handle_unusual;
20189
7
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
20190
      // optional .yb.YQLDatabase database_type = 1 [default = YQL_DATABASE_CQL];
20191
4
      case 1: {
20192
4
        if (static_cast< ::google::protobuf::uint8>(tag) ==
20193
4
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
20194
4
          int value;
20195
4
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20196
4
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
20197
4
                 input, &value)));
20198
4
          if (::yb::YQLDatabase_IsValid(value)) {
20199
4
            set_database_type(static_cast< ::yb::YQLDatabase >(value));
20200
0
          } else {
20201
0
            mutable_unknown_fields()->AddVarint(
20202
0
                1, static_cast< ::google::protobuf::uint64>(value));
20203
0
          }
20204
0
        } else {
20205
0
          goto handle_unusual;
20206
0
        }
20207
4
        break;
20208
4.43k
      }
20209
20210
0
      default: {
20211
4.43k
      handle_unusual:
20212
4.43k
        if (tag == 0) {
20213
4.43k
          goto success;
20214
4.43k
        }
20215
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
20216
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
20217
0
        break;
20218
0
      }
20219
7
    }
20220
7
  }
20221
4.43k
success:
20222
  // @@protoc_insertion_point(parse_success:yb.master.ListNamespacesRequestPB)
20223
4.43k
  return true;
20224
0
failure:
20225
  // @@protoc_insertion_point(parse_failure:yb.master.ListNamespacesRequestPB)
20226
0
  return false;
20227
4.44k
#undef DO_
20228
4.44k
}
20229
20230
void ListNamespacesRequestPB::SerializeWithCachedSizes(
20231
0
    ::google::protobuf::io::CodedOutputStream* output) const {
20232
  // @@protoc_insertion_point(serialize_start:yb.master.ListNamespacesRequestPB)
20233
0
  ::google::protobuf::uint32 cached_has_bits = 0;
20234
0
  (void) cached_has_bits;
20235
20236
0
  cached_has_bits = _has_bits_[0];
20237
  // optional .yb.YQLDatabase database_type = 1 [default = YQL_DATABASE_CQL];
20238
0
  if (cached_has_bits & 0x00000001u) {
20239
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
20240
0
      1, this->database_type(), output);
20241
0
  }
20242
20243
0
  if (_internal_metadata_.have_unknown_fields()) {
20244
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
20245
0
        _internal_metadata_.unknown_fields(), output);
20246
0
  }
20247
  // @@protoc_insertion_point(serialize_end:yb.master.ListNamespacesRequestPB)
20248
0
}
20249
20250
::google::protobuf::uint8* ListNamespacesRequestPB::InternalSerializeWithCachedSizesToArray(
20251
4.44k
    bool deterministic, ::google::protobuf::uint8* target) const {
20252
4.44k
  (void)deterministic; // Unused
20253
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListNamespacesRequestPB)
20254
4.44k
  ::google::protobuf::uint32 cached_has_bits = 0;
20255
4.44k
  (void) cached_has_bits;
20256
20257
4.44k
  cached_has_bits = _has_bits_[0];
20258
  // optional .yb.YQLDatabase database_type = 1 [default = YQL_DATABASE_CQL];
20259
4.44k
  if (cached_has_bits & 0x00000001u) {
20260
4
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
20261
4
      1, this->database_type(), target);
20262
4
  }
20263
20264
4.44k
  if (_internal_metadata_.have_unknown_fields()) {
20265
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
20266
0
        _internal_metadata_.unknown_fields(), target);
20267
0
  }
20268
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListNamespacesRequestPB)
20269
4.44k
  return target;
20270
4.44k
}
20271
20272
8.88k
size_t ListNamespacesRequestPB::ByteSizeLong() const {
20273
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListNamespacesRequestPB)
20274
8.88k
  size_t total_size = 0;
20275
20276
8.88k
  if (_internal_metadata_.have_unknown_fields()) {
20277
0
    total_size +=
20278
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
20279
0
        _internal_metadata_.unknown_fields());
20280
0
  }
20281
  // optional .yb.YQLDatabase database_type = 1 [default = YQL_DATABASE_CQL];
20282
8.88k
  if (has_database_type()) {
20283
8
    total_size += 1 +
20284
8
      ::google::protobuf::internal::WireFormatLite::EnumSize(this->database_type());
20285
8
  }
20286
20287
8.88k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
20288
8.88k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20289
8.88k
  _cached_size_ = cached_size;
20290
8.88k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
20291
8.88k
  return total_size;
20292
8.88k
}
20293
20294
0
void ListNamespacesRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
20295
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListNamespacesRequestPB)
20296
0
  GOOGLE_DCHECK_NE(&from, this);
20297
0
  const ListNamespacesRequestPB* source =
20298
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListNamespacesRequestPB>(
20299
0
          &from);
20300
0
  if (source == NULL) {
20301
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListNamespacesRequestPB)
20302
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
20303
0
  } else {
20304
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListNamespacesRequestPB)
20305
0
    MergeFrom(*source);
20306
0
  }
20307
0
}
20308
20309
0
void ListNamespacesRequestPB::MergeFrom(const ListNamespacesRequestPB& from) {
20310
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListNamespacesRequestPB)
20311
0
  GOOGLE_DCHECK_NE(&from, this);
20312
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
20313
0
  ::google::protobuf::uint32 cached_has_bits = 0;
20314
0
  (void) cached_has_bits;
20315
20316
0
  if (from.has_database_type()) {
20317
0
    set_database_type(from.database_type());
20318
0
  }
20319
0
}
20320
20321
0
void ListNamespacesRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
20322
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListNamespacesRequestPB)
20323
0
  if (&from == this) return;
20324
0
  Clear();
20325
0
  MergeFrom(from);
20326
0
}
20327
20328
0
void ListNamespacesRequestPB::CopyFrom(const ListNamespacesRequestPB& from) {
20329
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListNamespacesRequestPB)
20330
0
  if (&from == this) return;
20331
0
  Clear();
20332
0
  MergeFrom(from);
20333
0
}
20334
20335
8.88k
bool ListNamespacesRequestPB::IsInitialized() const {
20336
8.88k
  return true;
20337
8.88k
}
20338
20339
0
void ListNamespacesRequestPB::Swap(ListNamespacesRequestPB* other) {
20340
0
  if (other == this) return;
20341
0
  InternalSwap(other);
20342
0
}
20343
0
void ListNamespacesRequestPB::InternalSwap(ListNamespacesRequestPB* other) {
20344
0
  using std::swap;
20345
0
  swap(database_type_, other->database_type_);
20346
0
  swap(_has_bits_[0], other->_has_bits_[0]);
20347
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
20348
0
  swap(_cached_size_, other->_cached_size_);
20349
0
}
20350
20351
4.44k
::google::protobuf::Metadata ListNamespacesRequestPB::GetMetadata() const {
20352
4.44k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
20353
4.44k
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
20354
4.44k
}
20355
20356
20357
// ===================================================================
20358
20359
15.8k
void ListNamespacesResponsePB::InitAsDefaultInstance() {
20360
15.8k
  ::yb::master::_ListNamespacesResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
20361
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
20362
15.8k
}
20363
0
void ListNamespacesResponsePB::clear_error() {
20364
0
  if (error_ != NULL) error_->Clear();
20365
0
  clear_has_error();
20366
0
}
20367
0
void ListNamespacesResponsePB::clear_namespaces() {
20368
0
  namespaces_.Clear();
20369
0
}
20370
#if !defined(_MSC_VER) || _MSC_VER >= 1900
20371
const int ListNamespacesResponsePB::kErrorFieldNumber;
20372
const int ListNamespacesResponsePB::kNamespacesFieldNumber;
20373
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
20374
20375
ListNamespacesResponsePB::ListNamespacesResponsePB()
20376
24.7k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
20377
8.85k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
20378
8.85k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsListNamespacesResponsePB();
20379
8.85k
  }
20380
24.7k
  SharedCtor();
20381
  // @@protoc_insertion_point(constructor:yb.master.ListNamespacesResponsePB)
20382
24.7k
}
20383
ListNamespacesResponsePB::ListNamespacesResponsePB(const ListNamespacesResponsePB& from)
20384
  : ::google::protobuf::Message(),
20385
      _internal_metadata_(NULL),
20386
      _has_bits_(from._has_bits_),
20387
      _cached_size_(0),
20388
0
      namespaces_(from.namespaces_) {
20389
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
20390
0
  if (from.has_error()) {
20391
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
20392
0
  } else {
20393
0
    error_ = NULL;
20394
0
  }
20395
  // @@protoc_insertion_point(copy_constructor:yb.master.ListNamespacesResponsePB)
20396
0
}
20397
20398
24.7k
void ListNamespacesResponsePB::SharedCtor() {
20399
24.7k
  _cached_size_ = 0;
20400
24.7k
  error_ = NULL;
20401
24.7k
}
20402
20403
8.85k
ListNamespacesResponsePB::~ListNamespacesResponsePB() {
20404
  // @@protoc_insertion_point(destructor:yb.master.ListNamespacesResponsePB)
20405
8.85k
  SharedDtor();
20406
8.85k
}
20407
20408
8.85k
void ListNamespacesResponsePB::SharedDtor() {
20409
8.85k
  if (this != internal_default_instance()) delete error_;
20410
8.85k
}
20411
20412
0
void ListNamespacesResponsePB::SetCachedSize(int size) const {
20413
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20414
0
  _cached_size_ = size;
20415
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
20416
0
}
20417
0
const ::google::protobuf::Descriptor* ListNamespacesResponsePB::descriptor() {
20418
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
20419
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
20420
0
}
20421
20422
0
const ListNamespacesResponsePB& ListNamespacesResponsePB::default_instance() {
20423
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsListNamespacesResponsePB();
20424
0
  return *internal_default_instance();
20425
0
}
20426
20427
0
ListNamespacesResponsePB* ListNamespacesResponsePB::New(::google::protobuf::Arena* arena) const {
20428
0
  ListNamespacesResponsePB* n = new ListNamespacesResponsePB;
20429
0
  if (arena != NULL) {
20430
0
    arena->Own(n);
20431
0
  }
20432
0
  return n;
20433
0
}
20434
20435
4.44k
void ListNamespacesResponsePB::Clear() {
20436
// @@protoc_insertion_point(message_clear_start:yb.master.ListNamespacesResponsePB)
20437
4.44k
  ::google::protobuf::uint32 cached_has_bits = 0;
20438
  // Prevent compiler warnings about cached_has_bits being unused
20439
4.44k
  (void) cached_has_bits;
20440
20441
4.44k
  namespaces_.Clear();
20442
4.44k
  cached_has_bits = _has_bits_[0];
20443
4.44k
  if (cached_has_bits & 0x00000001u) {
20444
0
    GOOGLE_DCHECK(error_ != NULL);
20445
0
    error_->Clear();
20446
0
  }
20447
4.44k
  _has_bits_.Clear();
20448
4.44k
  _internal_metadata_.Clear();
20449
4.44k
}
20450
20451
bool ListNamespacesResponsePB::MergePartialFromCodedStream(
20452
4.44k
    ::google::protobuf::io::CodedInputStream* input) {
20453
19.5k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
20454
4.44k
  ::google::protobuf::uint32 tag;
20455
  // @@protoc_insertion_point(parse_start:yb.master.ListNamespacesResponsePB)
20456
24.0k
  for (;;) {
20457
24.0k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
20458
24.0k
    tag = p.first;
20459
24.0k
    if (!p.second) goto handle_unusual;
20460
19.5k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
20461
      // optional .yb.master.MasterErrorPB error = 1;
20462
0
      case 1: {
20463
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
20464
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
20465
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
20466
0
               input, mutable_error()));
20467
0
        } else {
20468
0
          goto handle_unusual;
20469
0
        }
20470
0
        break;
20471
0
      }
20472
20473
      // repeated .yb.master.NamespaceIdentifierPB namespaces = 2;
20474
19.5k
      case 2: {
20475
19.5k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
20476
19.5k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
20477
19.5k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_namespaces()));
20478
0
        } else {
20479
0
          goto handle_unusual;
20480
0
        }
20481
19.5k
        break;
20482
4.44k
      }
20483
20484
0
      default: {
20485
4.44k
      handle_unusual:
20486
4.44k
        if (tag == 0) {
20487
4.44k
          goto success;
20488
4.44k
        }
20489
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
20490
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
20491
0
        break;
20492
0
      }
20493
19.5k
    }
20494
19.5k
  }
20495
4.44k
success:
20496
  // @@protoc_insertion_point(parse_success:yb.master.ListNamespacesResponsePB)
20497
4.44k
  return true;
20498
0
failure:
20499
  // @@protoc_insertion_point(parse_failure:yb.master.ListNamespacesResponsePB)
20500
0
  return false;
20501
4.44k
#undef DO_
20502
4.44k
}
20503
20504
void ListNamespacesResponsePB::SerializeWithCachedSizes(
20505
0
    ::google::protobuf::io::CodedOutputStream* output) const {
20506
  // @@protoc_insertion_point(serialize_start:yb.master.ListNamespacesResponsePB)
20507
0
  ::google::protobuf::uint32 cached_has_bits = 0;
20508
0
  (void) cached_has_bits;
20509
20510
0
  cached_has_bits = _has_bits_[0];
20511
  // optional .yb.master.MasterErrorPB error = 1;
20512
0
  if (cached_has_bits & 0x00000001u) {
20513
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
20514
0
      1, *this->error_, output);
20515
0
  }
20516
20517
  // repeated .yb.master.NamespaceIdentifierPB namespaces = 2;
20518
0
  for (unsigned int i = 0,
20519
0
      n = static_cast<unsigned int>(this->namespaces_size()); i < n; i++) {
20520
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
20521
0
      2, this->namespaces(static_cast<int>(i)), output);
20522
0
  }
20523
20524
0
  if (_internal_metadata_.have_unknown_fields()) {
20525
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
20526
0
        _internal_metadata_.unknown_fields(), output);
20527
0
  }
20528
  // @@protoc_insertion_point(serialize_end:yb.master.ListNamespacesResponsePB)
20529
0
}
20530
20531
::google::protobuf::uint8* ListNamespacesResponsePB::InternalSerializeWithCachedSizesToArray(
20532
4.44k
    bool deterministic, ::google::protobuf::uint8* target) const {
20533
4.44k
  (void)deterministic; // Unused
20534
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListNamespacesResponsePB)
20535
4.44k
  ::google::protobuf::uint32 cached_has_bits = 0;
20536
4.44k
  (void) cached_has_bits;
20537
20538
4.44k
  cached_has_bits = _has_bits_[0];
20539
  // optional .yb.master.MasterErrorPB error = 1;
20540
4.44k
  if (cached_has_bits & 0x00000001u) {
20541
0
    target = ::google::protobuf::internal::WireFormatLite::
20542
0
      InternalWriteMessageToArray(
20543
0
        1, *this->error_, deterministic, target);
20544
0
  }
20545
20546
  // repeated .yb.master.NamespaceIdentifierPB namespaces = 2;
20547
4.44k
  for (unsigned int i = 0,
20548
24.0k
      n = static_cast<unsigned int>(this->namespaces_size()); i < n; i++) {
20549
19.5k
    target = ::google::protobuf::internal::WireFormatLite::
20550
19.5k
      InternalWriteMessageToArray(
20551
19.5k
        2, this->namespaces(static_cast<int>(i)), deterministic, target);
20552
19.5k
  }
20553
20554
4.44k
  if (_internal_metadata_.have_unknown_fields()) {
20555
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
20556
0
        _internal_metadata_.unknown_fields(), target);
20557
0
  }
20558
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListNamespacesResponsePB)
20559
4.44k
  return target;
20560
4.44k
}
20561
20562
8.88k
size_t ListNamespacesResponsePB::ByteSizeLong() const {
20563
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListNamespacesResponsePB)
20564
8.88k
  size_t total_size = 0;
20565
20566
8.88k
  if (_internal_metadata_.have_unknown_fields()) {
20567
0
    total_size +=
20568
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
20569
0
        _internal_metadata_.unknown_fields());
20570
0
  }
20571
  // repeated .yb.master.NamespaceIdentifierPB namespaces = 2;
20572
8.88k
  {
20573
8.88k
    unsigned int count = static_cast<unsigned int>(this->namespaces_size());
20574
8.88k
    total_size += 1UL * count;
20575
48.0k
    for (unsigned int i = 0; i < count; i++) {
20576
39.1k
      total_size +=
20577
39.1k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
20578
39.1k
          this->namespaces(static_cast<int>(i)));
20579
39.1k
    }
20580
8.88k
  }
20581
20582
  // optional .yb.master.MasterErrorPB error = 1;
20583
8.88k
  if (has_error()) {
20584
0
    total_size += 1 +
20585
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
20586
0
        *this->error_);
20587
0
  }
20588
20589
8.88k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
20590
8.88k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20591
8.88k
  _cached_size_ = cached_size;
20592
8.88k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
20593
8.88k
  return total_size;
20594
8.88k
}
20595
20596
0
void ListNamespacesResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
20597
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListNamespacesResponsePB)
20598
0
  GOOGLE_DCHECK_NE(&from, this);
20599
0
  const ListNamespacesResponsePB* source =
20600
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListNamespacesResponsePB>(
20601
0
          &from);
20602
0
  if (source == NULL) {
20603
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListNamespacesResponsePB)
20604
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
20605
0
  } else {
20606
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListNamespacesResponsePB)
20607
0
    MergeFrom(*source);
20608
0
  }
20609
0
}
20610
20611
0
void ListNamespacesResponsePB::MergeFrom(const ListNamespacesResponsePB& from) {
20612
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListNamespacesResponsePB)
20613
0
  GOOGLE_DCHECK_NE(&from, this);
20614
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
20615
0
  ::google::protobuf::uint32 cached_has_bits = 0;
20616
0
  (void) cached_has_bits;
20617
20618
0
  namespaces_.MergeFrom(from.namespaces_);
20619
0
  if (from.has_error()) {
20620
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
20621
0
  }
20622
0
}
20623
20624
0
void ListNamespacesResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
20625
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListNamespacesResponsePB)
20626
0
  if (&from == this) return;
20627
0
  Clear();
20628
0
  MergeFrom(from);
20629
0
}
20630
20631
0
void ListNamespacesResponsePB::CopyFrom(const ListNamespacesResponsePB& from) {
20632
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListNamespacesResponsePB)
20633
0
  if (&from == this) return;
20634
0
  Clear();
20635
0
  MergeFrom(from);
20636
0
}
20637
20638
8.88k
bool ListNamespacesResponsePB::IsInitialized() const {
20639
8.88k
  if (has_error()) {
20640
0
    if (!this->error_->IsInitialized()) return false;
20641
8.88k
  }
20642
8.88k
  return true;
20643
8.88k
}
20644
20645
0
void ListNamespacesResponsePB::Swap(ListNamespacesResponsePB* other) {
20646
0
  if (other == this) return;
20647
0
  InternalSwap(other);
20648
0
}
20649
0
void ListNamespacesResponsePB::InternalSwap(ListNamespacesResponsePB* other) {
20650
0
  using std::swap;
20651
0
  namespaces_.InternalSwap(&other->namespaces_);
20652
0
  swap(error_, other->error_);
20653
0
  swap(_has_bits_[0], other->_has_bits_[0]);
20654
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
20655
0
  swap(_cached_size_, other->_cached_size_);
20656
0
}
20657
20658
72
::google::protobuf::Metadata ListNamespacesResponsePB::GetMetadata() const {
20659
72
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
20660
72
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
20661
72
}
20662
20663
20664
// ===================================================================
20665
20666
15.8k
void GetNamespaceInfoRequestPB::InitAsDefaultInstance() {
20667
15.8k
  ::yb::master::_GetNamespaceInfoRequestPB_default_instance_._instance.get_mutable()->namespace__ = const_cast< ::yb::master::NamespaceIdentifierPB*>(
20668
15.8k
      ::yb::master::NamespaceIdentifierPB::internal_default_instance());
20669
15.8k
}
20670
0
void GetNamespaceInfoRequestPB::clear_namespace_() {
20671
0
  if (namespace__ != NULL) namespace__->Clear();
20672
0
  clear_has_namespace_();
20673
0
}
20674
#if !defined(_MSC_VER) || _MSC_VER >= 1900
20675
const int GetNamespaceInfoRequestPB::kNamespaceFieldNumber;
20676
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
20677
20678
GetNamespaceInfoRequestPB::GetNamespaceInfoRequestPB()
20679
19.3k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
20680
3.54k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
20681
3.54k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetNamespaceInfoRequestPB();
20682
3.54k
  }
20683
19.3k
  SharedCtor();
20684
  // @@protoc_insertion_point(constructor:yb.master.GetNamespaceInfoRequestPB)
20685
19.3k
}
20686
GetNamespaceInfoRequestPB::GetNamespaceInfoRequestPB(const GetNamespaceInfoRequestPB& from)
20687
  : ::google::protobuf::Message(),
20688
      _internal_metadata_(NULL),
20689
      _has_bits_(from._has_bits_),
20690
0
      _cached_size_(0) {
20691
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
20692
0
  if (from.has_namespace_()) {
20693
0
    namespace__ = new ::yb::master::NamespaceIdentifierPB(*from.namespace__);
20694
0
  } else {
20695
0
    namespace__ = NULL;
20696
0
  }
20697
  // @@protoc_insertion_point(copy_constructor:yb.master.GetNamespaceInfoRequestPB)
20698
0
}
20699
20700
19.3k
void GetNamespaceInfoRequestPB::SharedCtor() {
20701
19.3k
  _cached_size_ = 0;
20702
19.3k
  namespace__ = NULL;
20703
19.3k
}
20704
20705
3.54k
GetNamespaceInfoRequestPB::~GetNamespaceInfoRequestPB() {
20706
  // @@protoc_insertion_point(destructor:yb.master.GetNamespaceInfoRequestPB)
20707
3.54k
  SharedDtor();
20708
3.54k
}
20709
20710
3.54k
void GetNamespaceInfoRequestPB::SharedDtor() {
20711
3.54k
  if (this != internal_default_instance()) delete namespace__;
20712
3.54k
}
20713
20714
0
void GetNamespaceInfoRequestPB::SetCachedSize(int size) const {
20715
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20716
0
  _cached_size_ = size;
20717
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
20718
0
}
20719
0
const ::google::protobuf::Descriptor* GetNamespaceInfoRequestPB::descriptor() {
20720
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
20721
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
20722
0
}
20723
20724
0
const GetNamespaceInfoRequestPB& GetNamespaceInfoRequestPB::default_instance() {
20725
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetNamespaceInfoRequestPB();
20726
0
  return *internal_default_instance();
20727
0
}
20728
20729
0
GetNamespaceInfoRequestPB* GetNamespaceInfoRequestPB::New(::google::protobuf::Arena* arena) const {
20730
0
  GetNamespaceInfoRequestPB* n = new GetNamespaceInfoRequestPB;
20731
0
  if (arena != NULL) {
20732
0
    arena->Own(n);
20733
0
  }
20734
0
  return n;
20735
0
}
20736
20737
1.77k
void GetNamespaceInfoRequestPB::Clear() {
20738
// @@protoc_insertion_point(message_clear_start:yb.master.GetNamespaceInfoRequestPB)
20739
1.77k
  ::google::protobuf::uint32 cached_has_bits = 0;
20740
  // Prevent compiler warnings about cached_has_bits being unused
20741
1.77k
  (void) cached_has_bits;
20742
20743
1.77k
  cached_has_bits = _has_bits_[0];
20744
1.77k
  if (cached_has_bits & 0x00000001u) {
20745
0
    GOOGLE_DCHECK(namespace__ != NULL);
20746
0
    namespace__->Clear();
20747
0
  }
20748
1.77k
  _has_bits_.Clear();
20749
1.77k
  _internal_metadata_.Clear();
20750
1.77k
}
20751
20752
bool GetNamespaceInfoRequestPB::MergePartialFromCodedStream(
20753
1.77k
    ::google::protobuf::io::CodedInputStream* input) {
20754
1.77k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
20755
1.77k
  ::google::protobuf::uint32 tag;
20756
  // @@protoc_insertion_point(parse_start:yb.master.GetNamespaceInfoRequestPB)
20757
3.54k
  for (;;) {
20758
3.54k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
20759
3.54k
    tag = p.first;
20760
3.54k
    if (!p.second) goto handle_unusual;
20761
1.77k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
20762
      // optional .yb.master.NamespaceIdentifierPB namespace = 1;
20763
1.77k
      case 1: {
20764
1.77k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
20765
1.77k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
20766
1.77k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
20767
1.77k
               input, mutable_namespace_()));
20768
0
        } else {
20769
0
          goto handle_unusual;
20770
0
        }
20771
1.77k
        break;
20772
1.77k
      }
20773
20774
0
      default: {
20775
1.77k
      handle_unusual:
20776
1.77k
        if (tag == 0) {
20777
1.77k
          goto success;
20778
1.77k
        }
20779
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
20780
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
20781
0
        break;
20782
0
      }
20783
1.77k
    }
20784
1.77k
  }
20785
1.77k
success:
20786
  // @@protoc_insertion_point(parse_success:yb.master.GetNamespaceInfoRequestPB)
20787
1.77k
  return true;
20788
0
failure:
20789
  // @@protoc_insertion_point(parse_failure:yb.master.GetNamespaceInfoRequestPB)
20790
0
  return false;
20791
1.77k
#undef DO_
20792
1.77k
}
20793
20794
void GetNamespaceInfoRequestPB::SerializeWithCachedSizes(
20795
0
    ::google::protobuf::io::CodedOutputStream* output) const {
20796
  // @@protoc_insertion_point(serialize_start:yb.master.GetNamespaceInfoRequestPB)
20797
0
  ::google::protobuf::uint32 cached_has_bits = 0;
20798
0
  (void) cached_has_bits;
20799
20800
0
  cached_has_bits = _has_bits_[0];
20801
  // optional .yb.master.NamespaceIdentifierPB namespace = 1;
20802
0
  if (cached_has_bits & 0x00000001u) {
20803
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
20804
0
      1, *this->namespace__, output);
20805
0
  }
20806
20807
0
  if (_internal_metadata_.have_unknown_fields()) {
20808
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
20809
0
        _internal_metadata_.unknown_fields(), output);
20810
0
  }
20811
  // @@protoc_insertion_point(serialize_end:yb.master.GetNamespaceInfoRequestPB)
20812
0
}
20813
20814
::google::protobuf::uint8* GetNamespaceInfoRequestPB::InternalSerializeWithCachedSizesToArray(
20815
1.77k
    bool deterministic, ::google::protobuf::uint8* target) const {
20816
1.77k
  (void)deterministic; // Unused
20817
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetNamespaceInfoRequestPB)
20818
1.77k
  ::google::protobuf::uint32 cached_has_bits = 0;
20819
1.77k
  (void) cached_has_bits;
20820
20821
1.77k
  cached_has_bits = _has_bits_[0];
20822
  // optional .yb.master.NamespaceIdentifierPB namespace = 1;
20823
1.77k
  if (cached_has_bits & 0x00000001u) {
20824
1.77k
    target = ::google::protobuf::internal::WireFormatLite::
20825
1.77k
      InternalWriteMessageToArray(
20826
1.77k
        1, *this->namespace__, deterministic, target);
20827
1.77k
  }
20828
20829
1.77k
  if (_internal_metadata_.have_unknown_fields()) {
20830
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
20831
0
        _internal_metadata_.unknown_fields(), target);
20832
0
  }
20833
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetNamespaceInfoRequestPB)
20834
1.77k
  return target;
20835
1.77k
}
20836
20837
3.54k
size_t GetNamespaceInfoRequestPB::ByteSizeLong() const {
20838
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetNamespaceInfoRequestPB)
20839
3.54k
  size_t total_size = 0;
20840
20841
3.54k
  if (_internal_metadata_.have_unknown_fields()) {
20842
0
    total_size +=
20843
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
20844
0
        _internal_metadata_.unknown_fields());
20845
0
  }
20846
  // optional .yb.master.NamespaceIdentifierPB namespace = 1;
20847
3.54k
  if (has_namespace_()) {
20848
3.54k
    total_size += 1 +
20849
3.54k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
20850
3.54k
        *this->namespace__);
20851
3.54k
  }
20852
20853
3.54k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
20854
3.54k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20855
3.54k
  _cached_size_ = cached_size;
20856
3.54k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
20857
3.54k
  return total_size;
20858
3.54k
}
20859
20860
0
void GetNamespaceInfoRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
20861
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetNamespaceInfoRequestPB)
20862
0
  GOOGLE_DCHECK_NE(&from, this);
20863
0
  const GetNamespaceInfoRequestPB* source =
20864
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetNamespaceInfoRequestPB>(
20865
0
          &from);
20866
0
  if (source == NULL) {
20867
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetNamespaceInfoRequestPB)
20868
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
20869
0
  } else {
20870
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetNamespaceInfoRequestPB)
20871
0
    MergeFrom(*source);
20872
0
  }
20873
0
}
20874
20875
0
void GetNamespaceInfoRequestPB::MergeFrom(const GetNamespaceInfoRequestPB& from) {
20876
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetNamespaceInfoRequestPB)
20877
0
  GOOGLE_DCHECK_NE(&from, this);
20878
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
20879
0
  ::google::protobuf::uint32 cached_has_bits = 0;
20880
0
  (void) cached_has_bits;
20881
20882
0
  if (from.has_namespace_()) {
20883
0
    mutable_namespace_()->::yb::master::NamespaceIdentifierPB::MergeFrom(from.namespace_());
20884
0
  }
20885
0
}
20886
20887
0
void GetNamespaceInfoRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
20888
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetNamespaceInfoRequestPB)
20889
0
  if (&from == this) return;
20890
0
  Clear();
20891
0
  MergeFrom(from);
20892
0
}
20893
20894
0
void GetNamespaceInfoRequestPB::CopyFrom(const GetNamespaceInfoRequestPB& from) {
20895
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetNamespaceInfoRequestPB)
20896
0
  if (&from == this) return;
20897
0
  Clear();
20898
0
  MergeFrom(from);
20899
0
}
20900
20901
3.54k
bool GetNamespaceInfoRequestPB::IsInitialized() const {
20902
3.54k
  return true;
20903
3.54k
}
20904
20905
0
void GetNamespaceInfoRequestPB::Swap(GetNamespaceInfoRequestPB* other) {
20906
0
  if (other == this) return;
20907
0
  InternalSwap(other);
20908
0
}
20909
0
void GetNamespaceInfoRequestPB::InternalSwap(GetNamespaceInfoRequestPB* other) {
20910
0
  using std::swap;
20911
0
  swap(namespace__, other->namespace__);
20912
0
  swap(_has_bits_[0], other->_has_bits_[0]);
20913
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
20914
0
  swap(_cached_size_, other->_cached_size_);
20915
0
}
20916
20917
5.32k
::google::protobuf::Metadata GetNamespaceInfoRequestPB::GetMetadata() const {
20918
5.32k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
20919
5.32k
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
20920
5.32k
}
20921
20922
20923
// ===================================================================
20924
20925
15.8k
void GetNamespaceInfoResponsePB::InitAsDefaultInstance() {
20926
15.8k
  ::yb::master::_GetNamespaceInfoResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
20927
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
20928
15.8k
  ::yb::master::_GetNamespaceInfoResponsePB_default_instance_._instance.get_mutable()->namespace__ = const_cast< ::yb::master::NamespaceIdentifierPB*>(
20929
15.8k
      ::yb::master::NamespaceIdentifierPB::internal_default_instance());
20930
15.8k
}
20931
0
void GetNamespaceInfoResponsePB::clear_error() {
20932
0
  if (error_ != NULL) error_->Clear();
20933
0
  clear_has_error();
20934
0
}
20935
0
void GetNamespaceInfoResponsePB::clear_namespace_() {
20936
0
  if (namespace__ != NULL) namespace__->Clear();
20937
0
  clear_has_namespace_();
20938
0
}
20939
#if !defined(_MSC_VER) || _MSC_VER >= 1900
20940
const int GetNamespaceInfoResponsePB::kErrorFieldNumber;
20941
const int GetNamespaceInfoResponsePB::kNamespaceFieldNumber;
20942
const int GetNamespaceInfoResponsePB::kColocatedFieldNumber;
20943
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
20944
20945
GetNamespaceInfoResponsePB::GetNamespaceInfoResponsePB()
20946
24.4k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
20947
8.56k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
20948
8.56k
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetNamespaceInfoResponsePB();
20949
8.56k
  }
20950
24.4k
  SharedCtor();
20951
  // @@protoc_insertion_point(constructor:yb.master.GetNamespaceInfoResponsePB)
20952
24.4k
}
20953
GetNamespaceInfoResponsePB::GetNamespaceInfoResponsePB(const GetNamespaceInfoResponsePB& from)
20954
  : ::google::protobuf::Message(),
20955
      _internal_metadata_(NULL),
20956
      _has_bits_(from._has_bits_),
20957
1.61k
      _cached_size_(0) {
20958
1.61k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
20959
1.61k
  if (from.has_error()) {
20960
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
20961
1.61k
  } else {
20962
1.61k
    error_ = NULL;
20963
1.61k
  }
20964
1.61k
  if (from.has_namespace_()) {
20965
1.61k
    namespace__ = new ::yb::master::NamespaceIdentifierPB(*from.namespace__);
20966
0
  } else {
20967
0
    namespace__ = NULL;
20968
0
  }
20969
1.61k
  colocated_ = from.colocated_;
20970
  // @@protoc_insertion_point(copy_constructor:yb.master.GetNamespaceInfoResponsePB)
20971
1.61k
}
20972
20973
24.4k
void GetNamespaceInfoResponsePB::SharedCtor() {
20974
24.4k
  _cached_size_ = 0;
20975
24.4k
  ::memset(&error_, 0, static_cast<size_t>(
20976
24.4k
      reinterpret_cast<char*>(&colocated_) -
20977
24.4k
      reinterpret_cast<char*>(&error_)) + sizeof(colocated_));
20978
24.4k
}
20979
20980
10.1k
GetNamespaceInfoResponsePB::~GetNamespaceInfoResponsePB() {
20981
  // @@protoc_insertion_point(destructor:yb.master.GetNamespaceInfoResponsePB)
20982
10.1k
  SharedDtor();
20983
10.1k
}
20984
20985
10.1k
void GetNamespaceInfoResponsePB::SharedDtor() {
20986
10.1k
  if (this != internal_default_instance()) delete error_;
20987
10.1k
  if (this != internal_default_instance()) delete namespace__;
20988
10.1k
}
20989
20990
0
void GetNamespaceInfoResponsePB::SetCachedSize(int size) const {
20991
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20992
0
  _cached_size_ = size;
20993
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
20994
0
}
20995
0
const ::google::protobuf::Descriptor* GetNamespaceInfoResponsePB::descriptor() {
20996
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
20997
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
20998
0
}
20999
21000
0
const GetNamespaceInfoResponsePB& GetNamespaceInfoResponsePB::default_instance() {
21001
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetNamespaceInfoResponsePB();
21002
0
  return *internal_default_instance();
21003
0
}
21004
21005
0
GetNamespaceInfoResponsePB* GetNamespaceInfoResponsePB::New(::google::protobuf::Arena* arena) const {
21006
0
  GetNamespaceInfoResponsePB* n = new GetNamespaceInfoResponsePB;
21007
0
  if (arena != NULL) {
21008
0
    arena->Own(n);
21009
0
  }
21010
0
  return n;
21011
0
}
21012
21013
1.77k
void GetNamespaceInfoResponsePB::Clear() {
21014
// @@protoc_insertion_point(message_clear_start:yb.master.GetNamespaceInfoResponsePB)
21015
1.77k
  ::google::protobuf::uint32 cached_has_bits = 0;
21016
  // Prevent compiler warnings about cached_has_bits being unused
21017
1.77k
  (void) cached_has_bits;
21018
21019
1.77k
  cached_has_bits = _has_bits_[0];
21020
1.77k
  if (cached_has_bits & 3u) {
21021
0
    if (cached_has_bits & 0x00000001u) {
21022
0
      GOOGLE_DCHECK(error_ != NULL);
21023
0
      error_->Clear();
21024
0
    }
21025
0
    if (cached_has_bits & 0x00000002u) {
21026
0
      GOOGLE_DCHECK(namespace__ != NULL);
21027
0
      namespace__->Clear();
21028
0
    }
21029
0
  }
21030
1.77k
  colocated_ = false;
21031
1.77k
  _has_bits_.Clear();
21032
1.77k
  _internal_metadata_.Clear();
21033
1.77k
}
21034
21035
bool GetNamespaceInfoResponsePB::MergePartialFromCodedStream(
21036
3.39k
    ::google::protobuf::io::CodedInputStream* input) {
21037
6.78k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
21038
3.39k
  ::google::protobuf::uint32 tag;
21039
  // @@protoc_insertion_point(parse_start:yb.master.GetNamespaceInfoResponsePB)
21040
10.1k
  for (;;) {
21041
10.1k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
21042
10.1k
    tag = p.first;
21043
10.1k
    if (!p.second) goto handle_unusual;
21044
6.78k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
21045
      // optional .yb.master.MasterErrorPB error = 1;
21046
1
      case 1: {
21047
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
21048
1
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
21049
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
21050
1
               input, mutable_error()));
21051
0
        } else {
21052
0
          goto handle_unusual;
21053
0
        }
21054
1
        break;
21055
1
      }
21056
21057
      // optional .yb.master.NamespaceIdentifierPB namespace = 2;
21058
3.39k
      case 2: {
21059
3.39k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
21060
3.39k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
21061
3.39k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
21062
3.39k
               input, mutable_namespace_()));
21063
0
        } else {
21064
0
          goto handle_unusual;
21065
0
        }
21066
3.39k
        break;
21067
3.39k
      }
21068
21069
      // optional bool colocated = 3;
21070
3.39k
      case 3: {
21071
3.39k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
21072
3.39k
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
21073
3.39k
          set_has_colocated();
21074
3.39k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
21075
3.39k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
21076
3.39k
                 input, &colocated_)));
21077
0
        } else {
21078
0
          goto handle_unusual;
21079
0
        }
21080
3.39k
        break;
21081
3.39k
      }
21082
21083
0
      default: {
21084
3.39k
      handle_unusual:
21085
3.39k
        if (tag == 0) {
21086
3.39k
          goto success;
21087
3.39k
        }
21088
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
21089
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
21090
0
        break;
21091
0
      }
21092
6.78k
    }
21093
6.78k
  }
21094
3.39k
success:
21095
  // @@protoc_insertion_point(parse_success:yb.master.GetNamespaceInfoResponsePB)
21096
3.39k
  return true;
21097
0
failure:
21098
  // @@protoc_insertion_point(parse_failure:yb.master.GetNamespaceInfoResponsePB)
21099
0
  return false;
21100
3.39k
#undef DO_
21101
3.39k
}
21102
21103
void GetNamespaceInfoResponsePB::SerializeWithCachedSizes(
21104
0
    ::google::protobuf::io::CodedOutputStream* output) const {
21105
  // @@protoc_insertion_point(serialize_start:yb.master.GetNamespaceInfoResponsePB)
21106
0
  ::google::protobuf::uint32 cached_has_bits = 0;
21107
0
  (void) cached_has_bits;
21108
21109
0
  cached_has_bits = _has_bits_[0];
21110
  // optional .yb.master.MasterErrorPB error = 1;
21111
0
  if (cached_has_bits & 0x00000001u) {
21112
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
21113
0
      1, *this->error_, output);
21114
0
  }
21115
21116
  // optional .yb.master.NamespaceIdentifierPB namespace = 2;
21117
0
  if (cached_has_bits & 0x00000002u) {
21118
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
21119
0
      2, *this->namespace__, output);
21120
0
  }
21121
21122
  // optional bool colocated = 3;
21123
0
  if (cached_has_bits & 0x00000004u) {
21124
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->colocated(), output);
21125
0
  }
21126
21127
0
  if (_internal_metadata_.have_unknown_fields()) {
21128
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
21129
0
        _internal_metadata_.unknown_fields(), output);
21130
0
  }
21131
  // @@protoc_insertion_point(serialize_end:yb.master.GetNamespaceInfoResponsePB)
21132
0
}
21133
21134
::google::protobuf::uint8* GetNamespaceInfoResponsePB::InternalSerializeWithCachedSizesToArray(
21135
3.39k
    bool deterministic, ::google::protobuf::uint8* target) const {
21136
3.39k
  (void)deterministic; // Unused
21137
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetNamespaceInfoResponsePB)
21138
3.39k
  ::google::protobuf::uint32 cached_has_bits = 0;
21139
3.39k
  (void) cached_has_bits;
21140
21141
3.39k
  cached_has_bits = _has_bits_[0];
21142
  // optional .yb.master.MasterErrorPB error = 1;
21143
3.39k
  if (cached_has_bits & 0x00000001u) {
21144
1
    target = ::google::protobuf::internal::WireFormatLite::
21145
1
      InternalWriteMessageToArray(
21146
1
        1, *this->error_, deterministic, target);
21147
1
  }
21148
21149
  // optional .yb.master.NamespaceIdentifierPB namespace = 2;
21150
3.39k
  if (cached_has_bits & 0x00000002u) {
21151
3.39k
    target = ::google::protobuf::internal::WireFormatLite::
21152
3.39k
      InternalWriteMessageToArray(
21153
3.39k
        2, *this->namespace__, deterministic, target);
21154
3.39k
  }
21155
21156
  // optional bool colocated = 3;
21157
3.39k
  if (cached_has_bits & 0x00000004u) {
21158
3.39k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->colocated(), target);
21159
3.39k
  }
21160
21161
3.39k
  if (_internal_metadata_.have_unknown_fields()) {
21162
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
21163
0
        _internal_metadata_.unknown_fields(), target);
21164
0
  }
21165
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetNamespaceInfoResponsePB)
21166
3.39k
  return target;
21167
3.39k
}
21168
21169
6.78k
size_t GetNamespaceInfoResponsePB::ByteSizeLong() const {
21170
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetNamespaceInfoResponsePB)
21171
6.78k
  size_t total_size = 0;
21172
21173
6.78k
  if (_internal_metadata_.have_unknown_fields()) {
21174
0
    total_size +=
21175
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
21176
0
        _internal_metadata_.unknown_fields());
21177
0
  }
21178
6.78k
  if (_has_bits_[0 / 32] & 7u) {
21179
    // optional .yb.master.MasterErrorPB error = 1;
21180
6.78k
    if (has_error()) {
21181
2
      total_size += 1 +
21182
2
        ::google::protobuf::internal::WireFormatLite::MessageSize(
21183
2
          *this->error_);
21184
2
    }
21185
21186
    // optional .yb.master.NamespaceIdentifierPB namespace = 2;
21187
6.78k
    if (has_namespace_()) {
21188
6.78k
      total_size += 1 +
21189
6.78k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
21190
6.78k
          *this->namespace__);
21191
6.78k
    }
21192
21193
    // optional bool colocated = 3;
21194
6.78k
    if (has_colocated()) {
21195
6.78k
      total_size += 1 + 1;
21196
6.78k
    }
21197
21198
6.78k
  }
21199
6.78k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
21200
6.78k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
21201
6.78k
  _cached_size_ = cached_size;
21202
6.78k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
21203
6.78k
  return total_size;
21204
6.78k
}
21205
21206
0
void GetNamespaceInfoResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
21207
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetNamespaceInfoResponsePB)
21208
0
  GOOGLE_DCHECK_NE(&from, this);
21209
0
  const GetNamespaceInfoResponsePB* source =
21210
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetNamespaceInfoResponsePB>(
21211
0
          &from);
21212
0
  if (source == NULL) {
21213
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetNamespaceInfoResponsePB)
21214
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
21215
0
  } else {
21216
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetNamespaceInfoResponsePB)
21217
0
    MergeFrom(*source);
21218
0
  }
21219
0
}
21220
21221
0
void GetNamespaceInfoResponsePB::MergeFrom(const GetNamespaceInfoResponsePB& from) {
21222
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetNamespaceInfoResponsePB)
21223
0
  GOOGLE_DCHECK_NE(&from, this);
21224
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
21225
0
  ::google::protobuf::uint32 cached_has_bits = 0;
21226
0
  (void) cached_has_bits;
21227
21228
0
  cached_has_bits = from._has_bits_[0];
21229
0
  if (cached_has_bits & 7u) {
21230
0
    if (cached_has_bits & 0x00000001u) {
21231
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
21232
0
    }
21233
0
    if (cached_has_bits & 0x00000002u) {
21234
0
      mutable_namespace_()->::yb::master::NamespaceIdentifierPB::MergeFrom(from.namespace_());
21235
0
    }
21236
0
    if (cached_has_bits & 0x00000004u) {
21237
0
      colocated_ = from.colocated_;
21238
0
    }
21239
0
    _has_bits_[0] |= cached_has_bits;
21240
0
  }
21241
0
}
21242
21243
0
void GetNamespaceInfoResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
21244
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetNamespaceInfoResponsePB)
21245
0
  if (&from == this) return;
21246
0
  Clear();
21247
0
  MergeFrom(from);
21248
0
}
21249
21250
0
void GetNamespaceInfoResponsePB::CopyFrom(const GetNamespaceInfoResponsePB& from) {
21251
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetNamespaceInfoResponsePB)
21252
0
  if (&from == this) return;
21253
0
  Clear();
21254
0
  MergeFrom(from);
21255
0
}
21256
21257
6.78k
bool GetNamespaceInfoResponsePB::IsInitialized() const {
21258
6.78k
  if (has_error()) {
21259
2
    if (!this->error_->IsInitialized()) return false;
21260
6.78k
  }
21261
6.78k
  return true;
21262
6.78k
}
21263
21264
1.77k
void GetNamespaceInfoResponsePB::Swap(GetNamespaceInfoResponsePB* other) {
21265
1.77k
  if (other == this) return;
21266
1.77k
  InternalSwap(other);
21267
1.77k
}
21268
3.39k
void GetNamespaceInfoResponsePB::InternalSwap(GetNamespaceInfoResponsePB* other) {
21269
3.39k
  using std::swap;
21270
3.39k
  swap(error_, other->error_);
21271
3.39k
  swap(namespace__, other->namespace__);
21272
3.39k
  swap(colocated_, other->colocated_);
21273
3.39k
  swap(_has_bits_[0], other->_has_bits_[0]);
21274
3.39k
  _internal_metadata_.Swap(&other->_internal_metadata_);
21275
3.39k
  swap(_cached_size_, other->_cached_size_);
21276
3.39k
}
21277
21278
0
::google::protobuf::Metadata GetNamespaceInfoResponsePB::GetMetadata() const {
21279
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
21280
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
21281
0
}
21282
21283
21284
// ===================================================================
21285
21286
15.8k
void CreateTablegroupRequestPB::InitAsDefaultInstance() {
21287
15.8k
}
21288
#if !defined(_MSC_VER) || _MSC_VER >= 1900
21289
const int CreateTablegroupRequestPB::kIdFieldNumber;
21290
const int CreateTablegroupRequestPB::kNamespaceIdFieldNumber;
21291
const int CreateTablegroupRequestPB::kNamespaceNameFieldNumber;
21292
const int CreateTablegroupRequestPB::kTablespaceIdFieldNumber;
21293
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
21294
21295
CreateTablegroupRequestPB::CreateTablegroupRequestPB()
21296
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
21297
6
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
21298
6
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsCreateTablegroupRequestPB();
21299
6
  }
21300
15.8k
  SharedCtor();
21301
  // @@protoc_insertion_point(constructor:yb.master.CreateTablegroupRequestPB)
21302
15.8k
}
21303
CreateTablegroupRequestPB::CreateTablegroupRequestPB(const CreateTablegroupRequestPB& from)
21304
  : ::google::protobuf::Message(),
21305
      _internal_metadata_(NULL),
21306
      _has_bits_(from._has_bits_),
21307
0
      _cached_size_(0) {
21308
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
21309
0
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21310
0
  if (from.has_id()) {
21311
0
    id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
21312
0
  }
21313
0
  namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21314
0
  if (from.has_namespace_id()) {
21315
0
    namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_id_);
21316
0
  }
21317
0
  namespace_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21318
0
  if (from.has_namespace_name()) {
21319
0
    namespace_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_name_);
21320
0
  }
21321
0
  tablespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21322
0
  if (from.has_tablespace_id()) {
21323
0
    tablespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablespace_id_);
21324
0
  }
21325
  // @@protoc_insertion_point(copy_constructor:yb.master.CreateTablegroupRequestPB)
21326
0
}
21327
21328
15.8k
void CreateTablegroupRequestPB::SharedCtor() {
21329
15.8k
  _cached_size_ = 0;
21330
15.8k
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21331
15.8k
  namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21332
15.8k
  namespace_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21333
15.8k
  tablespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21334
15.8k
}
21335
21336
6
CreateTablegroupRequestPB::~CreateTablegroupRequestPB() {
21337
  // @@protoc_insertion_point(destructor:yb.master.CreateTablegroupRequestPB)
21338
6
  SharedDtor();
21339
6
}
21340
21341
6
void CreateTablegroupRequestPB::SharedDtor() {
21342
6
  id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21343
6
  namespace_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21344
6
  namespace_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21345
6
  tablespace_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21346
6
}
21347
21348
0
void CreateTablegroupRequestPB::SetCachedSize(int size) const {
21349
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
21350
0
  _cached_size_ = size;
21351
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
21352
0
}
21353
0
const ::google::protobuf::Descriptor* CreateTablegroupRequestPB::descriptor() {
21354
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
21355
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
21356
0
}
21357
21358
0
const CreateTablegroupRequestPB& CreateTablegroupRequestPB::default_instance() {
21359
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsCreateTablegroupRequestPB();
21360
0
  return *internal_default_instance();
21361
0
}
21362
21363
0
CreateTablegroupRequestPB* CreateTablegroupRequestPB::New(::google::protobuf::Arena* arena) const {
21364
0
  CreateTablegroupRequestPB* n = new CreateTablegroupRequestPB;
21365
0
  if (arena != NULL) {
21366
0
    arena->Own(n);
21367
0
  }
21368
0
  return n;
21369
0
}
21370
21371
3
void CreateTablegroupRequestPB::Clear() {
21372
// @@protoc_insertion_point(message_clear_start:yb.master.CreateTablegroupRequestPB)
21373
3
  ::google::protobuf::uint32 cached_has_bits = 0;
21374
  // Prevent compiler warnings about cached_has_bits being unused
21375
3
  (void) cached_has_bits;
21376
21377
3
  cached_has_bits = _has_bits_[0];
21378
3
  if (cached_has_bits & 15u) {
21379
0
    if (cached_has_bits & 0x00000001u) {
21380
0
      GOOGLE_DCHECK(!id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
21381
0
      (*id_.UnsafeRawStringPointer())->clear();
21382
0
    }
21383
0
    if (cached_has_bits & 0x00000002u) {
21384
0
      GOOGLE_DCHECK(!namespace_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
21385
0
      (*namespace_id_.UnsafeRawStringPointer())->clear();
21386
0
    }
21387
0
    if (cached_has_bits & 0x00000004u) {
21388
0
      GOOGLE_DCHECK(!namespace_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
21389
0
      (*namespace_name_.UnsafeRawStringPointer())->clear();
21390
0
    }
21391
0
    if (cached_has_bits & 0x00000008u) {
21392
0
      GOOGLE_DCHECK(!tablespace_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
21393
0
      (*tablespace_id_.UnsafeRawStringPointer())->clear();
21394
0
    }
21395
0
  }
21396
3
  _has_bits_.Clear();
21397
3
  _internal_metadata_.Clear();
21398
3
}
21399
21400
bool CreateTablegroupRequestPB::MergePartialFromCodedStream(
21401
3
    ::google::protobuf::io::CodedInputStream* input) {
21402
10
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
21403
3
  ::google::protobuf::uint32 tag;
21404
  // @@protoc_insertion_point(parse_start:yb.master.CreateTablegroupRequestPB)
21405
13
  for (;;) {
21406
13
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
21407
13
    tag = p.first;
21408
13
    if (!p.second) goto handle_unusual;
21409
10
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
21410
      // required bytes id = 1;
21411
3
      case 1: {
21412
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
21413
3
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
21414
3
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
21415
3
                input, this->mutable_id()));
21416
0
        } else {
21417
0
          goto handle_unusual;
21418
0
        }
21419
3
        break;
21420
3
      }
21421
21422
      // required bytes namespace_id = 2;
21423
3
      case 2: {
21424
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
21425
3
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
21426
3
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
21427
3
                input, this->mutable_namespace_id()));
21428
0
        } else {
21429
0
          goto handle_unusual;
21430
0
        }
21431
3
        break;
21432
3
      }
21433
21434
      // optional string namespace_name = 3;
21435
3
      case 3: {
21436
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
21437
3
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
21438
3
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
21439
3
                input, this->mutable_namespace_name()));
21440
3
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
21441
3
            this->namespace_name().data(), static_cast<int>(this->namespace_name().length()),
21442
3
            ::google::protobuf::internal::WireFormat::PARSE,
21443
3
            "yb.master.CreateTablegroupRequestPB.namespace_name");
21444
0
        } else {
21445
0
          goto handle_unusual;
21446
0
        }
21447
3
        break;
21448
3
      }
21449
21450
      // optional bytes tablespace_id = 4;
21451
1
      case 4: {
21452
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
21453
1
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
21454
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
21455
1
                input, this->mutable_tablespace_id()));
21456
0
        } else {
21457
0
          goto handle_unusual;
21458
0
        }
21459
1
        break;
21460
3
      }
21461
21462
0
      default: {
21463
3
      handle_unusual:
21464
3
        if (tag == 0) {
21465
3
          goto success;
21466
3
        }
21467
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
21468
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
21469
0
        break;
21470
0
      }
21471
10
    }
21472
10
  }
21473
3
success:
21474
  // @@protoc_insertion_point(parse_success:yb.master.CreateTablegroupRequestPB)
21475
3
  return true;
21476
0
failure:
21477
  // @@protoc_insertion_point(parse_failure:yb.master.CreateTablegroupRequestPB)
21478
0
  return false;
21479
3
#undef DO_
21480
3
}
21481
21482
void CreateTablegroupRequestPB::SerializeWithCachedSizes(
21483
0
    ::google::protobuf::io::CodedOutputStream* output) const {
21484
  // @@protoc_insertion_point(serialize_start:yb.master.CreateTablegroupRequestPB)
21485
0
  ::google::protobuf::uint32 cached_has_bits = 0;
21486
0
  (void) cached_has_bits;
21487
21488
0
  cached_has_bits = _has_bits_[0];
21489
  // required bytes id = 1;
21490
0
  if (cached_has_bits & 0x00000001u) {
21491
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
21492
0
      1, this->id(), output);
21493
0
  }
21494
21495
  // required bytes namespace_id = 2;
21496
0
  if (cached_has_bits & 0x00000002u) {
21497
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
21498
0
      2, this->namespace_id(), output);
21499
0
  }
21500
21501
  // optional string namespace_name = 3;
21502
0
  if (cached_has_bits & 0x00000004u) {
21503
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
21504
0
      this->namespace_name().data(), static_cast<int>(this->namespace_name().length()),
21505
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
21506
0
      "yb.master.CreateTablegroupRequestPB.namespace_name");
21507
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
21508
0
      3, this->namespace_name(), output);
21509
0
  }
21510
21511
  // optional bytes tablespace_id = 4;
21512
0
  if (cached_has_bits & 0x00000008u) {
21513
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
21514
0
      4, this->tablespace_id(), output);
21515
0
  }
21516
21517
0
  if (_internal_metadata_.have_unknown_fields()) {
21518
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
21519
0
        _internal_metadata_.unknown_fields(), output);
21520
0
  }
21521
  // @@protoc_insertion_point(serialize_end:yb.master.CreateTablegroupRequestPB)
21522
0
}
21523
21524
::google::protobuf::uint8* CreateTablegroupRequestPB::InternalSerializeWithCachedSizesToArray(
21525
3
    bool deterministic, ::google::protobuf::uint8* target) const {
21526
3
  (void)deterministic; // Unused
21527
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.CreateTablegroupRequestPB)
21528
3
  ::google::protobuf::uint32 cached_has_bits = 0;
21529
3
  (void) cached_has_bits;
21530
21531
3
  cached_has_bits = _has_bits_[0];
21532
  // required bytes id = 1;
21533
3
  if (cached_has_bits & 0x00000001u) {
21534
3
    target =
21535
3
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
21536
3
        1, this->id(), target);
21537
3
  }
21538
21539
  // required bytes namespace_id = 2;
21540
3
  if (cached_has_bits & 0x00000002u) {
21541
3
    target =
21542
3
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
21543
3
        2, this->namespace_id(), target);
21544
3
  }
21545
21546
  // optional string namespace_name = 3;
21547
3
  if (cached_has_bits & 0x00000004u) {
21548
3
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
21549
3
      this->namespace_name().data(), static_cast<int>(this->namespace_name().length()),
21550
3
      ::google::protobuf::internal::WireFormat::SERIALIZE,
21551
3
      "yb.master.CreateTablegroupRequestPB.namespace_name");
21552
3
    target =
21553
3
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
21554
3
        3, this->namespace_name(), target);
21555
3
  }
21556
21557
  // optional bytes tablespace_id = 4;
21558
3
  if (cached_has_bits & 0x00000008u) {
21559
1
    target =
21560
1
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
21561
1
        4, this->tablespace_id(), target);
21562
1
  }
21563
21564
3
  if (_internal_metadata_.have_unknown_fields()) {
21565
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
21566
0
        _internal_metadata_.unknown_fields(), target);
21567
0
  }
21568
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.CreateTablegroupRequestPB)
21569
3
  return target;
21570
3
}
21571
21572
0
size_t CreateTablegroupRequestPB::RequiredFieldsByteSizeFallback() const {
21573
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:yb.master.CreateTablegroupRequestPB)
21574
0
  size_t total_size = 0;
21575
21576
0
  if (has_id()) {
21577
    // required bytes id = 1;
21578
0
    total_size += 1 +
21579
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
21580
0
        this->id());
21581
0
  }
21582
21583
0
  if (has_namespace_id()) {
21584
    // required bytes namespace_id = 2;
21585
0
    total_size += 1 +
21586
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
21587
0
        this->namespace_id());
21588
0
  }
21589
21590
0
  return total_size;
21591
0
}
21592
6
size_t CreateTablegroupRequestPB::ByteSizeLong() const {
21593
// @@protoc_insertion_point(message_byte_size_start:yb.master.CreateTablegroupRequestPB)
21594
6
  size_t total_size = 0;
21595
21596
6
  if (_internal_metadata_.have_unknown_fields()) {
21597
0
    total_size +=
21598
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
21599
0
        _internal_metadata_.unknown_fields());
21600
0
  }
21601
6
  if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) {  // All required fields are present.
21602
    // required bytes id = 1;
21603
6
    total_size += 1 +
21604
6
      ::google::protobuf::internal::WireFormatLite::BytesSize(
21605
6
        this->id());
21606
21607
    // required bytes namespace_id = 2;
21608
6
    total_size += 1 +
21609
6
      ::google::protobuf::internal::WireFormatLite::BytesSize(
21610
6
        this->namespace_id());
21611
21612
0
  } else {
21613
0
    total_size += RequiredFieldsByteSizeFallback();
21614
0
  }
21615
6
  if (_has_bits_[0 / 32] & 12u) {
21616
    // optional string namespace_name = 3;
21617
6
    if (has_namespace_name()) {
21618
6
      total_size += 1 +
21619
6
        ::google::protobuf::internal::WireFormatLite::StringSize(
21620
6
          this->namespace_name());
21621
6
    }
21622
21623
    // optional bytes tablespace_id = 4;
21624
6
    if (has_tablespace_id()) {
21625
2
      total_size += 1 +
21626
2
        ::google::protobuf::internal::WireFormatLite::BytesSize(
21627
2
          this->tablespace_id());
21628
2
    }
21629
21630
6
  }
21631
6
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
21632
6
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
21633
6
  _cached_size_ = cached_size;
21634
6
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
21635
6
  return total_size;
21636
6
}
21637
21638
0
void CreateTablegroupRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
21639
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.CreateTablegroupRequestPB)
21640
0
  GOOGLE_DCHECK_NE(&from, this);
21641
0
  const CreateTablegroupRequestPB* source =
21642
0
      ::google::protobuf::internal::DynamicCastToGenerated<const CreateTablegroupRequestPB>(
21643
0
          &from);
21644
0
  if (source == NULL) {
21645
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.CreateTablegroupRequestPB)
21646
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
21647
0
  } else {
21648
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.CreateTablegroupRequestPB)
21649
0
    MergeFrom(*source);
21650
0
  }
21651
0
}
21652
21653
0
void CreateTablegroupRequestPB::MergeFrom(const CreateTablegroupRequestPB& from) {
21654
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.CreateTablegroupRequestPB)
21655
0
  GOOGLE_DCHECK_NE(&from, this);
21656
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
21657
0
  ::google::protobuf::uint32 cached_has_bits = 0;
21658
0
  (void) cached_has_bits;
21659
21660
0
  cached_has_bits = from._has_bits_[0];
21661
0
  if (cached_has_bits & 15u) {
21662
0
    if (cached_has_bits & 0x00000001u) {
21663
0
      set_has_id();
21664
0
      id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
21665
0
    }
21666
0
    if (cached_has_bits & 0x00000002u) {
21667
0
      set_has_namespace_id();
21668
0
      namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_id_);
21669
0
    }
21670
0
    if (cached_has_bits & 0x00000004u) {
21671
0
      set_has_namespace_name();
21672
0
      namespace_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_name_);
21673
0
    }
21674
0
    if (cached_has_bits & 0x00000008u) {
21675
0
      set_has_tablespace_id();
21676
0
      tablespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablespace_id_);
21677
0
    }
21678
0
  }
21679
0
}
21680
21681
0
void CreateTablegroupRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
21682
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.CreateTablegroupRequestPB)
21683
0
  if (&from == this) return;
21684
0
  Clear();
21685
0
  MergeFrom(from);
21686
0
}
21687
21688
0
void CreateTablegroupRequestPB::CopyFrom(const CreateTablegroupRequestPB& from) {
21689
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.CreateTablegroupRequestPB)
21690
0
  if (&from == this) return;
21691
0
  Clear();
21692
0
  MergeFrom(from);
21693
0
}
21694
21695
6
bool CreateTablegroupRequestPB::IsInitialized() const {
21696
6
  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
21697
6
  return true;
21698
6
}
21699
21700
0
void CreateTablegroupRequestPB::Swap(CreateTablegroupRequestPB* other) {
21701
0
  if (other == this) return;
21702
0
  InternalSwap(other);
21703
0
}
21704
0
void CreateTablegroupRequestPB::InternalSwap(CreateTablegroupRequestPB* other) {
21705
0
  using std::swap;
21706
0
  id_.Swap(&other->id_);
21707
0
  namespace_id_.Swap(&other->namespace_id_);
21708
0
  namespace_name_.Swap(&other->namespace_name_);
21709
0
  tablespace_id_.Swap(&other->tablespace_id_);
21710
0
  swap(_has_bits_[0], other->_has_bits_[0]);
21711
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
21712
0
  swap(_cached_size_, other->_cached_size_);
21713
0
}
21714
21715
3
::google::protobuf::Metadata CreateTablegroupRequestPB::GetMetadata() const {
21716
3
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
21717
3
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
21718
3
}
21719
21720
21721
// ===================================================================
21722
21723
15.8k
void CreateTablegroupResponsePB::InitAsDefaultInstance() {
21724
15.8k
  ::yb::master::_CreateTablegroupResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
21725
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
21726
15.8k
}
21727
0
void CreateTablegroupResponsePB::clear_error() {
21728
0
  if (error_ != NULL) error_->Clear();
21729
0
  clear_has_error();
21730
0
}
21731
#if !defined(_MSC_VER) || _MSC_VER >= 1900
21732
const int CreateTablegroupResponsePB::kErrorFieldNumber;
21733
const int CreateTablegroupResponsePB::kParentTableIdFieldNumber;
21734
const int CreateTablegroupResponsePB::kParentTableNameFieldNumber;
21735
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
21736
21737
CreateTablegroupResponsePB::CreateTablegroupResponsePB()
21738
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
21739
6
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
21740
6
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsCreateTablegroupResponsePB();
21741
6
  }
21742
15.8k
  SharedCtor();
21743
  // @@protoc_insertion_point(constructor:yb.master.CreateTablegroupResponsePB)
21744
15.8k
}
21745
CreateTablegroupResponsePB::CreateTablegroupResponsePB(const CreateTablegroupResponsePB& from)
21746
  : ::google::protobuf::Message(),
21747
      _internal_metadata_(NULL),
21748
      _has_bits_(from._has_bits_),
21749
0
      _cached_size_(0) {
21750
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
21751
0
  parent_table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21752
0
  if (from.has_parent_table_id()) {
21753
0
    parent_table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.parent_table_id_);
21754
0
  }
21755
0
  parent_table_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21756
0
  if (from.has_parent_table_name()) {
21757
0
    parent_table_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.parent_table_name_);
21758
0
  }
21759
0
  if (from.has_error()) {
21760
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
21761
0
  } else {
21762
0
    error_ = NULL;
21763
0
  }
21764
  // @@protoc_insertion_point(copy_constructor:yb.master.CreateTablegroupResponsePB)
21765
0
}
21766
21767
15.8k
void CreateTablegroupResponsePB::SharedCtor() {
21768
15.8k
  _cached_size_ = 0;
21769
15.8k
  parent_table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21770
15.8k
  parent_table_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21771
15.8k
  error_ = NULL;
21772
15.8k
}
21773
21774
6
CreateTablegroupResponsePB::~CreateTablegroupResponsePB() {
21775
  // @@protoc_insertion_point(destructor:yb.master.CreateTablegroupResponsePB)
21776
6
  SharedDtor();
21777
6
}
21778
21779
6
void CreateTablegroupResponsePB::SharedDtor() {
21780
6
  parent_table_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21781
6
  parent_table_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21782
6
  if (this != internal_default_instance()) delete error_;
21783
6
}
21784
21785
0
void CreateTablegroupResponsePB::SetCachedSize(int size) const {
21786
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
21787
0
  _cached_size_ = size;
21788
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
21789
0
}
21790
0
const ::google::protobuf::Descriptor* CreateTablegroupResponsePB::descriptor() {
21791
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
21792
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
21793
0
}
21794
21795
0
const CreateTablegroupResponsePB& CreateTablegroupResponsePB::default_instance() {
21796
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsCreateTablegroupResponsePB();
21797
0
  return *internal_default_instance();
21798
0
}
21799
21800
0
CreateTablegroupResponsePB* CreateTablegroupResponsePB::New(::google::protobuf::Arena* arena) const {
21801
0
  CreateTablegroupResponsePB* n = new CreateTablegroupResponsePB;
21802
0
  if (arena != NULL) {
21803
0
    arena->Own(n);
21804
0
  }
21805
0
  return n;
21806
0
}
21807
21808
3
void CreateTablegroupResponsePB::Clear() {
21809
// @@protoc_insertion_point(message_clear_start:yb.master.CreateTablegroupResponsePB)
21810
3
  ::google::protobuf::uint32 cached_has_bits = 0;
21811
  // Prevent compiler warnings about cached_has_bits being unused
21812
3
  (void) cached_has_bits;
21813
21814
3
  cached_has_bits = _has_bits_[0];
21815
3
  if (cached_has_bits & 7u) {
21816
0
    if (cached_has_bits & 0x00000001u) {
21817
0
      GOOGLE_DCHECK(!parent_table_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
21818
0
      (*parent_table_id_.UnsafeRawStringPointer())->clear();
21819
0
    }
21820
0
    if (cached_has_bits & 0x00000002u) {
21821
0
      GOOGLE_DCHECK(!parent_table_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
21822
0
      (*parent_table_name_.UnsafeRawStringPointer())->clear();
21823
0
    }
21824
0
    if (cached_has_bits & 0x00000004u) {
21825
0
      GOOGLE_DCHECK(error_ != NULL);
21826
0
      error_->Clear();
21827
0
    }
21828
0
  }
21829
3
  _has_bits_.Clear();
21830
3
  _internal_metadata_.Clear();
21831
3
}
21832
21833
bool CreateTablegroupResponsePB::MergePartialFromCodedStream(
21834
3
    ::google::protobuf::io::CodedInputStream* input) {
21835
6
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
21836
3
  ::google::protobuf::uint32 tag;
21837
  // @@protoc_insertion_point(parse_start:yb.master.CreateTablegroupResponsePB)
21838
9
  for (;;) {
21839
9
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
21840
9
    tag = p.first;
21841
9
    if (!p.second) goto handle_unusual;
21842
6
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
21843
      // optional .yb.master.MasterErrorPB error = 1;
21844
0
      case 1: {
21845
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
21846
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
21847
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
21848
0
               input, mutable_error()));
21849
0
        } else {
21850
0
          goto handle_unusual;
21851
0
        }
21852
0
        break;
21853
0
      }
21854
21855
      // optional bytes parent_table_id = 2;
21856
3
      case 2: {
21857
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
21858
3
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
21859
3
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
21860
3
                input, this->mutable_parent_table_id()));
21861
0
        } else {
21862
0
          goto handle_unusual;
21863
0
        }
21864
3
        break;
21865
3
      }
21866
21867
      // optional bytes parent_table_name = 3;
21868
3
      case 3: {
21869
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
21870
3
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
21871
3
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
21872
3
                input, this->mutable_parent_table_name()));
21873
0
        } else {
21874
0
          goto handle_unusual;
21875
0
        }
21876
3
        break;
21877
3
      }
21878
21879
0
      default: {
21880
3
      handle_unusual:
21881
3
        if (tag == 0) {
21882
3
          goto success;
21883
3
        }
21884
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
21885
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
21886
0
        break;
21887
0
      }
21888
6
    }
21889
6
  }
21890
3
success:
21891
  // @@protoc_insertion_point(parse_success:yb.master.CreateTablegroupResponsePB)
21892
3
  return true;
21893
0
failure:
21894
  // @@protoc_insertion_point(parse_failure:yb.master.CreateTablegroupResponsePB)
21895
0
  return false;
21896
3
#undef DO_
21897
3
}
21898
21899
void CreateTablegroupResponsePB::SerializeWithCachedSizes(
21900
0
    ::google::protobuf::io::CodedOutputStream* output) const {
21901
  // @@protoc_insertion_point(serialize_start:yb.master.CreateTablegroupResponsePB)
21902
0
  ::google::protobuf::uint32 cached_has_bits = 0;
21903
0
  (void) cached_has_bits;
21904
21905
0
  cached_has_bits = _has_bits_[0];
21906
  // optional .yb.master.MasterErrorPB error = 1;
21907
0
  if (cached_has_bits & 0x00000004u) {
21908
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
21909
0
      1, *this->error_, output);
21910
0
  }
21911
21912
  // optional bytes parent_table_id = 2;
21913
0
  if (cached_has_bits & 0x00000001u) {
21914
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
21915
0
      2, this->parent_table_id(), output);
21916
0
  }
21917
21918
  // optional bytes parent_table_name = 3;
21919
0
  if (cached_has_bits & 0x00000002u) {
21920
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
21921
0
      3, this->parent_table_name(), output);
21922
0
  }
21923
21924
0
  if (_internal_metadata_.have_unknown_fields()) {
21925
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
21926
0
        _internal_metadata_.unknown_fields(), output);
21927
0
  }
21928
  // @@protoc_insertion_point(serialize_end:yb.master.CreateTablegroupResponsePB)
21929
0
}
21930
21931
::google::protobuf::uint8* CreateTablegroupResponsePB::InternalSerializeWithCachedSizesToArray(
21932
3
    bool deterministic, ::google::protobuf::uint8* target) const {
21933
3
  (void)deterministic; // Unused
21934
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.CreateTablegroupResponsePB)
21935
3
  ::google::protobuf::uint32 cached_has_bits = 0;
21936
3
  (void) cached_has_bits;
21937
21938
3
  cached_has_bits = _has_bits_[0];
21939
  // optional .yb.master.MasterErrorPB error = 1;
21940
3
  if (cached_has_bits & 0x00000004u) {
21941
0
    target = ::google::protobuf::internal::WireFormatLite::
21942
0
      InternalWriteMessageToArray(
21943
0
        1, *this->error_, deterministic, target);
21944
0
  }
21945
21946
  // optional bytes parent_table_id = 2;
21947
3
  if (cached_has_bits & 0x00000001u) {
21948
3
    target =
21949
3
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
21950
3
        2, this->parent_table_id(), target);
21951
3
  }
21952
21953
  // optional bytes parent_table_name = 3;
21954
3
  if (cached_has_bits & 0x00000002u) {
21955
3
    target =
21956
3
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
21957
3
        3, this->parent_table_name(), target);
21958
3
  }
21959
21960
3
  if (_internal_metadata_.have_unknown_fields()) {
21961
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
21962
0
        _internal_metadata_.unknown_fields(), target);
21963
0
  }
21964
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.CreateTablegroupResponsePB)
21965
3
  return target;
21966
3
}
21967
21968
6
size_t CreateTablegroupResponsePB::ByteSizeLong() const {
21969
// @@protoc_insertion_point(message_byte_size_start:yb.master.CreateTablegroupResponsePB)
21970
6
  size_t total_size = 0;
21971
21972
6
  if (_internal_metadata_.have_unknown_fields()) {
21973
0
    total_size +=
21974
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
21975
0
        _internal_metadata_.unknown_fields());
21976
0
  }
21977
6
  if (_has_bits_[0 / 32] & 7u) {
21978
    // optional bytes parent_table_id = 2;
21979
6
    if (has_parent_table_id()) {
21980
6
      total_size += 1 +
21981
6
        ::google::protobuf::internal::WireFormatLite::BytesSize(
21982
6
          this->parent_table_id());
21983
6
    }
21984
21985
    // optional bytes parent_table_name = 3;
21986
6
    if (has_parent_table_name()) {
21987
6
      total_size += 1 +
21988
6
        ::google::protobuf::internal::WireFormatLite::BytesSize(
21989
6
          this->parent_table_name());
21990
6
    }
21991
21992
    // optional .yb.master.MasterErrorPB error = 1;
21993
6
    if (has_error()) {
21994
0
      total_size += 1 +
21995
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
21996
0
          *this->error_);
21997
0
    }
21998
21999
6
  }
22000
6
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
22001
6
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22002
6
  _cached_size_ = cached_size;
22003
6
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
22004
6
  return total_size;
22005
6
}
22006
22007
0
void CreateTablegroupResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
22008
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.CreateTablegroupResponsePB)
22009
0
  GOOGLE_DCHECK_NE(&from, this);
22010
0
  const CreateTablegroupResponsePB* source =
22011
0
      ::google::protobuf::internal::DynamicCastToGenerated<const CreateTablegroupResponsePB>(
22012
0
          &from);
22013
0
  if (source == NULL) {
22014
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.CreateTablegroupResponsePB)
22015
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
22016
0
  } else {
22017
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.CreateTablegroupResponsePB)
22018
0
    MergeFrom(*source);
22019
0
  }
22020
0
}
22021
22022
0
void CreateTablegroupResponsePB::MergeFrom(const CreateTablegroupResponsePB& from) {
22023
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.CreateTablegroupResponsePB)
22024
0
  GOOGLE_DCHECK_NE(&from, this);
22025
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
22026
0
  ::google::protobuf::uint32 cached_has_bits = 0;
22027
0
  (void) cached_has_bits;
22028
22029
0
  cached_has_bits = from._has_bits_[0];
22030
0
  if (cached_has_bits & 7u) {
22031
0
    if (cached_has_bits & 0x00000001u) {
22032
0
      set_has_parent_table_id();
22033
0
      parent_table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.parent_table_id_);
22034
0
    }
22035
0
    if (cached_has_bits & 0x00000002u) {
22036
0
      set_has_parent_table_name();
22037
0
      parent_table_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.parent_table_name_);
22038
0
    }
22039
0
    if (cached_has_bits & 0x00000004u) {
22040
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
22041
0
    }
22042
0
  }
22043
0
}
22044
22045
0
void CreateTablegroupResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
22046
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.CreateTablegroupResponsePB)
22047
0
  if (&from == this) return;
22048
0
  Clear();
22049
0
  MergeFrom(from);
22050
0
}
22051
22052
0
void CreateTablegroupResponsePB::CopyFrom(const CreateTablegroupResponsePB& from) {
22053
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.CreateTablegroupResponsePB)
22054
0
  if (&from == this) return;
22055
0
  Clear();
22056
0
  MergeFrom(from);
22057
0
}
22058
22059
6
bool CreateTablegroupResponsePB::IsInitialized() const {
22060
6
  if (has_error()) {
22061
0
    if (!this->error_->IsInitialized()) return false;
22062
6
  }
22063
6
  return true;
22064
6
}
22065
22066
0
void CreateTablegroupResponsePB::Swap(CreateTablegroupResponsePB* other) {
22067
0
  if (other == this) return;
22068
0
  InternalSwap(other);
22069
0
}
22070
0
void CreateTablegroupResponsePB::InternalSwap(CreateTablegroupResponsePB* other) {
22071
0
  using std::swap;
22072
0
  parent_table_id_.Swap(&other->parent_table_id_);
22073
0
  parent_table_name_.Swap(&other->parent_table_name_);
22074
0
  swap(error_, other->error_);
22075
0
  swap(_has_bits_[0], other->_has_bits_[0]);
22076
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
22077
0
  swap(_cached_size_, other->_cached_size_);
22078
0
}
22079
22080
0
::google::protobuf::Metadata CreateTablegroupResponsePB::GetMetadata() const {
22081
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
22082
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
22083
0
}
22084
22085
22086
// ===================================================================
22087
22088
15.8k
void DeleteTablegroupRequestPB::InitAsDefaultInstance() {
22089
15.8k
}
22090
#if !defined(_MSC_VER) || _MSC_VER >= 1900
22091
const int DeleteTablegroupRequestPB::kIdFieldNumber;
22092
const int DeleteTablegroupRequestPB::kNamespaceIdFieldNumber;
22093
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
22094
22095
DeleteTablegroupRequestPB::DeleteTablegroupRequestPB()
22096
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
22097
4
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
22098
4
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsDeleteTablegroupRequestPB();
22099
4
  }
22100
15.8k
  SharedCtor();
22101
  // @@protoc_insertion_point(constructor:yb.master.DeleteTablegroupRequestPB)
22102
15.8k
}
22103
DeleteTablegroupRequestPB::DeleteTablegroupRequestPB(const DeleteTablegroupRequestPB& from)
22104
  : ::google::protobuf::Message(),
22105
      _internal_metadata_(NULL),
22106
      _has_bits_(from._has_bits_),
22107
0
      _cached_size_(0) {
22108
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
22109
0
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
22110
0
  if (from.has_id()) {
22111
0
    id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
22112
0
  }
22113
0
  namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
22114
0
  if (from.has_namespace_id()) {
22115
0
    namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_id_);
22116
0
  }
22117
  // @@protoc_insertion_point(copy_constructor:yb.master.DeleteTablegroupRequestPB)
22118
0
}
22119
22120
15.8k
void DeleteTablegroupRequestPB::SharedCtor() {
22121
15.8k
  _cached_size_ = 0;
22122
15.8k
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
22123
15.8k
  namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
22124
15.8k
}
22125
22126
4
DeleteTablegroupRequestPB::~DeleteTablegroupRequestPB() {
22127
  // @@protoc_insertion_point(destructor:yb.master.DeleteTablegroupRequestPB)
22128
4
  SharedDtor();
22129
4
}
22130
22131
4
void DeleteTablegroupRequestPB::SharedDtor() {
22132
4
  id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
22133
4
  namespace_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
22134
4
}
22135
22136
0
void DeleteTablegroupRequestPB::SetCachedSize(int size) const {
22137
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22138
0
  _cached_size_ = size;
22139
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
22140
0
}
22141
0
const ::google::protobuf::Descriptor* DeleteTablegroupRequestPB::descriptor() {
22142
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
22143
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
22144
0
}
22145
22146
0
const DeleteTablegroupRequestPB& DeleteTablegroupRequestPB::default_instance() {
22147
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsDeleteTablegroupRequestPB();
22148
0
  return *internal_default_instance();
22149
0
}
22150
22151
0
DeleteTablegroupRequestPB* DeleteTablegroupRequestPB::New(::google::protobuf::Arena* arena) const {
22152
0
  DeleteTablegroupRequestPB* n = new DeleteTablegroupRequestPB;
22153
0
  if (arena != NULL) {
22154
0
    arena->Own(n);
22155
0
  }
22156
0
  return n;
22157
0
}
22158
22159
2
void DeleteTablegroupRequestPB::Clear() {
22160
// @@protoc_insertion_point(message_clear_start:yb.master.DeleteTablegroupRequestPB)
22161
2
  ::google::protobuf::uint32 cached_has_bits = 0;
22162
  // Prevent compiler warnings about cached_has_bits being unused
22163
2
  (void) cached_has_bits;
22164
22165
2
  cached_has_bits = _has_bits_[0];
22166
2
  if (cached_has_bits & 3u) {
22167
0
    if (cached_has_bits & 0x00000001u) {
22168
0
      GOOGLE_DCHECK(!id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
22169
0
      (*id_.UnsafeRawStringPointer())->clear();
22170
0
    }
22171
0
    if (cached_has_bits & 0x00000002u) {
22172
0
      GOOGLE_DCHECK(!namespace_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
22173
0
      (*namespace_id_.UnsafeRawStringPointer())->clear();
22174
0
    }
22175
0
  }
22176
2
  _has_bits_.Clear();
22177
2
  _internal_metadata_.Clear();
22178
2
}
22179
22180
bool DeleteTablegroupRequestPB::MergePartialFromCodedStream(
22181
2
    ::google::protobuf::io::CodedInputStream* input) {
22182
4
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
22183
2
  ::google::protobuf::uint32 tag;
22184
  // @@protoc_insertion_point(parse_start:yb.master.DeleteTablegroupRequestPB)
22185
6
  for (;;) {
22186
6
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
22187
6
    tag = p.first;
22188
6
    if (!p.second) goto handle_unusual;
22189
4
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
22190
      // required bytes id = 1;
22191
2
      case 1: {
22192
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22193
2
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
22194
2
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
22195
2
                input, this->mutable_id()));
22196
0
        } else {
22197
0
          goto handle_unusual;
22198
0
        }
22199
2
        break;
22200
2
      }
22201
22202
      // required bytes namespace_id = 2;
22203
2
      case 2: {
22204
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22205
2
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
22206
2
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
22207
2
                input, this->mutable_namespace_id()));
22208
0
        } else {
22209
0
          goto handle_unusual;
22210
0
        }
22211
2
        break;
22212
2
      }
22213
22214
0
      default: {
22215
2
      handle_unusual:
22216
2
        if (tag == 0) {
22217
2
          goto success;
22218
2
        }
22219
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
22220
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
22221
0
        break;
22222
0
      }
22223
4
    }
22224
4
  }
22225
2
success:
22226
  // @@protoc_insertion_point(parse_success:yb.master.DeleteTablegroupRequestPB)
22227
2
  return true;
22228
0
failure:
22229
  // @@protoc_insertion_point(parse_failure:yb.master.DeleteTablegroupRequestPB)
22230
0
  return false;
22231
2
#undef DO_
22232
2
}
22233
22234
void DeleteTablegroupRequestPB::SerializeWithCachedSizes(
22235
0
    ::google::protobuf::io::CodedOutputStream* output) const {
22236
  // @@protoc_insertion_point(serialize_start:yb.master.DeleteTablegroupRequestPB)
22237
0
  ::google::protobuf::uint32 cached_has_bits = 0;
22238
0
  (void) cached_has_bits;
22239
22240
0
  cached_has_bits = _has_bits_[0];
22241
  // required bytes id = 1;
22242
0
  if (cached_has_bits & 0x00000001u) {
22243
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
22244
0
      1, this->id(), output);
22245
0
  }
22246
22247
  // required bytes namespace_id = 2;
22248
0
  if (cached_has_bits & 0x00000002u) {
22249
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
22250
0
      2, this->namespace_id(), output);
22251
0
  }
22252
22253
0
  if (_internal_metadata_.have_unknown_fields()) {
22254
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
22255
0
        _internal_metadata_.unknown_fields(), output);
22256
0
  }
22257
  // @@protoc_insertion_point(serialize_end:yb.master.DeleteTablegroupRequestPB)
22258
0
}
22259
22260
::google::protobuf::uint8* DeleteTablegroupRequestPB::InternalSerializeWithCachedSizesToArray(
22261
2
    bool deterministic, ::google::protobuf::uint8* target) const {
22262
2
  (void)deterministic; // Unused
22263
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.DeleteTablegroupRequestPB)
22264
2
  ::google::protobuf::uint32 cached_has_bits = 0;
22265
2
  (void) cached_has_bits;
22266
22267
2
  cached_has_bits = _has_bits_[0];
22268
  // required bytes id = 1;
22269
2
  if (cached_has_bits & 0x00000001u) {
22270
2
    target =
22271
2
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
22272
2
        1, this->id(), target);
22273
2
  }
22274
22275
  // required bytes namespace_id = 2;
22276
2
  if (cached_has_bits & 0x00000002u) {
22277
2
    target =
22278
2
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
22279
2
        2, this->namespace_id(), target);
22280
2
  }
22281
22282
2
  if (_internal_metadata_.have_unknown_fields()) {
22283
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
22284
0
        _internal_metadata_.unknown_fields(), target);
22285
0
  }
22286
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.DeleteTablegroupRequestPB)
22287
2
  return target;
22288
2
}
22289
22290
0
size_t DeleteTablegroupRequestPB::RequiredFieldsByteSizeFallback() const {
22291
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:yb.master.DeleteTablegroupRequestPB)
22292
0
  size_t total_size = 0;
22293
22294
0
  if (has_id()) {
22295
    // required bytes id = 1;
22296
0
    total_size += 1 +
22297
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
22298
0
        this->id());
22299
0
  }
22300
22301
0
  if (has_namespace_id()) {
22302
    // required bytes namespace_id = 2;
22303
0
    total_size += 1 +
22304
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
22305
0
        this->namespace_id());
22306
0
  }
22307
22308
0
  return total_size;
22309
0
}
22310
4
size_t DeleteTablegroupRequestPB::ByteSizeLong() const {
22311
// @@protoc_insertion_point(message_byte_size_start:yb.master.DeleteTablegroupRequestPB)
22312
4
  size_t total_size = 0;
22313
22314
4
  if (_internal_metadata_.have_unknown_fields()) {
22315
0
    total_size +=
22316
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
22317
0
        _internal_metadata_.unknown_fields());
22318
0
  }
22319
4
  if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) {  // All required fields are present.
22320
    // required bytes id = 1;
22321
4
    total_size += 1 +
22322
4
      ::google::protobuf::internal::WireFormatLite::BytesSize(
22323
4
        this->id());
22324
22325
    // required bytes namespace_id = 2;
22326
4
    total_size += 1 +
22327
4
      ::google::protobuf::internal::WireFormatLite::BytesSize(
22328
4
        this->namespace_id());
22329
22330
0
  } else {
22331
0
    total_size += RequiredFieldsByteSizeFallback();
22332
0
  }
22333
4
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
22334
4
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22335
4
  _cached_size_ = cached_size;
22336
4
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
22337
4
  return total_size;
22338
4
}
22339
22340
0
void DeleteTablegroupRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
22341
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.DeleteTablegroupRequestPB)
22342
0
  GOOGLE_DCHECK_NE(&from, this);
22343
0
  const DeleteTablegroupRequestPB* source =
22344
0
      ::google::protobuf::internal::DynamicCastToGenerated<const DeleteTablegroupRequestPB>(
22345
0
          &from);
22346
0
  if (source == NULL) {
22347
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.DeleteTablegroupRequestPB)
22348
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
22349
0
  } else {
22350
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.DeleteTablegroupRequestPB)
22351
0
    MergeFrom(*source);
22352
0
  }
22353
0
}
22354
22355
0
void DeleteTablegroupRequestPB::MergeFrom(const DeleteTablegroupRequestPB& from) {
22356
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.DeleteTablegroupRequestPB)
22357
0
  GOOGLE_DCHECK_NE(&from, this);
22358
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
22359
0
  ::google::protobuf::uint32 cached_has_bits = 0;
22360
0
  (void) cached_has_bits;
22361
22362
0
  cached_has_bits = from._has_bits_[0];
22363
0
  if (cached_has_bits & 3u) {
22364
0
    if (cached_has_bits & 0x00000001u) {
22365
0
      set_has_id();
22366
0
      id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
22367
0
    }
22368
0
    if (cached_has_bits & 0x00000002u) {
22369
0
      set_has_namespace_id();
22370
0
      namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_id_);
22371
0
    }
22372
0
  }
22373
0
}
22374
22375
0
void DeleteTablegroupRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
22376
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.DeleteTablegroupRequestPB)
22377
0
  if (&from == this) return;
22378
0
  Clear();
22379
0
  MergeFrom(from);
22380
0
}
22381
22382
0
void DeleteTablegroupRequestPB::CopyFrom(const DeleteTablegroupRequestPB& from) {
22383
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.DeleteTablegroupRequestPB)
22384
0
  if (&from == this) return;
22385
0
  Clear();
22386
0
  MergeFrom(from);
22387
0
}
22388
22389
4
bool DeleteTablegroupRequestPB::IsInitialized() const {
22390
4
  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
22391
4
  return true;
22392
4
}
22393
22394
0
void DeleteTablegroupRequestPB::Swap(DeleteTablegroupRequestPB* other) {
22395
0
  if (other == this) return;
22396
0
  InternalSwap(other);
22397
0
}
22398
0
void DeleteTablegroupRequestPB::InternalSwap(DeleteTablegroupRequestPB* other) {
22399
0
  using std::swap;
22400
0
  id_.Swap(&other->id_);
22401
0
  namespace_id_.Swap(&other->namespace_id_);
22402
0
  swap(_has_bits_[0], other->_has_bits_[0]);
22403
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
22404
0
  swap(_cached_size_, other->_cached_size_);
22405
0
}
22406
22407
2
::google::protobuf::Metadata DeleteTablegroupRequestPB::GetMetadata() const {
22408
2
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
22409
2
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
22410
2
}
22411
22412
22413
// ===================================================================
22414
22415
15.8k
void DeleteTablegroupResponsePB::InitAsDefaultInstance() {
22416
15.8k
  ::yb::master::_DeleteTablegroupResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
22417
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
22418
15.8k
}
22419
0
void DeleteTablegroupResponsePB::clear_error() {
22420
0
  if (error_ != NULL) error_->Clear();
22421
0
  clear_has_error();
22422
0
}
22423
#if !defined(_MSC_VER) || _MSC_VER >= 1900
22424
const int DeleteTablegroupResponsePB::kErrorFieldNumber;
22425
const int DeleteTablegroupResponsePB::kParentTableIdFieldNumber;
22426
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
22427
22428
DeleteTablegroupResponsePB::DeleteTablegroupResponsePB()
22429
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
22430
4
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
22431
4
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsDeleteTablegroupResponsePB();
22432
4
  }
22433
15.8k
  SharedCtor();
22434
  // @@protoc_insertion_point(constructor:yb.master.DeleteTablegroupResponsePB)
22435
15.8k
}
22436
DeleteTablegroupResponsePB::DeleteTablegroupResponsePB(const DeleteTablegroupResponsePB& from)
22437
  : ::google::protobuf::Message(),
22438
      _internal_metadata_(NULL),
22439
      _has_bits_(from._has_bits_),
22440
0
      _cached_size_(0) {
22441
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
22442
0
  parent_table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
22443
0
  if (from.has_parent_table_id()) {
22444
0
    parent_table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.parent_table_id_);
22445
0
  }
22446
0
  if (from.has_error()) {
22447
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
22448
0
  } else {
22449
0
    error_ = NULL;
22450
0
  }
22451
  // @@protoc_insertion_point(copy_constructor:yb.master.DeleteTablegroupResponsePB)
22452
0
}
22453
22454
15.8k
void DeleteTablegroupResponsePB::SharedCtor() {
22455
15.8k
  _cached_size_ = 0;
22456
15.8k
  parent_table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
22457
15.8k
  error_ = NULL;
22458
15.8k
}
22459
22460
4
DeleteTablegroupResponsePB::~DeleteTablegroupResponsePB() {
22461
  // @@protoc_insertion_point(destructor:yb.master.DeleteTablegroupResponsePB)
22462
4
  SharedDtor();
22463
4
}
22464
22465
4
void DeleteTablegroupResponsePB::SharedDtor() {
22466
4
  parent_table_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
22467
4
  if (this != internal_default_instance()) delete error_;
22468
4
}
22469
22470
0
void DeleteTablegroupResponsePB::SetCachedSize(int size) const {
22471
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22472
0
  _cached_size_ = size;
22473
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
22474
0
}
22475
0
const ::google::protobuf::Descriptor* DeleteTablegroupResponsePB::descriptor() {
22476
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
22477
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
22478
0
}
22479
22480
0
const DeleteTablegroupResponsePB& DeleteTablegroupResponsePB::default_instance() {
22481
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsDeleteTablegroupResponsePB();
22482
0
  return *internal_default_instance();
22483
0
}
22484
22485
0
DeleteTablegroupResponsePB* DeleteTablegroupResponsePB::New(::google::protobuf::Arena* arena) const {
22486
0
  DeleteTablegroupResponsePB* n = new DeleteTablegroupResponsePB;
22487
0
  if (arena != NULL) {
22488
0
    arena->Own(n);
22489
0
  }
22490
0
  return n;
22491
0
}
22492
22493
2
void DeleteTablegroupResponsePB::Clear() {
22494
// @@protoc_insertion_point(message_clear_start:yb.master.DeleteTablegroupResponsePB)
22495
2
  ::google::protobuf::uint32 cached_has_bits = 0;
22496
  // Prevent compiler warnings about cached_has_bits being unused
22497
2
  (void) cached_has_bits;
22498
22499
2
  cached_has_bits = _has_bits_[0];
22500
2
  if (cached_has_bits & 3u) {
22501
0
    if (cached_has_bits & 0x00000001u) {
22502
0
      GOOGLE_DCHECK(!parent_table_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
22503
0
      (*parent_table_id_.UnsafeRawStringPointer())->clear();
22504
0
    }
22505
0
    if (cached_has_bits & 0x00000002u) {
22506
0
      GOOGLE_DCHECK(error_ != NULL);
22507
0
      error_->Clear();
22508
0
    }
22509
0
  }
22510
2
  _has_bits_.Clear();
22511
2
  _internal_metadata_.Clear();
22512
2
}
22513
22514
bool DeleteTablegroupResponsePB::MergePartialFromCodedStream(
22515
2
    ::google::protobuf::io::CodedInputStream* input) {
22516
2
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
22517
2
  ::google::protobuf::uint32 tag;
22518
  // @@protoc_insertion_point(parse_start:yb.master.DeleteTablegroupResponsePB)
22519
4
  for (;;) {
22520
4
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
22521
4
    tag = p.first;
22522
4
    if (!p.second) goto handle_unusual;
22523
2
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
22524
      // optional .yb.master.MasterErrorPB error = 1;
22525
0
      case 1: {
22526
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22527
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
22528
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
22529
0
               input, mutable_error()));
22530
0
        } else {
22531
0
          goto handle_unusual;
22532
0
        }
22533
0
        break;
22534
0
      }
22535
22536
      // optional bytes parent_table_id = 2;
22537
2
      case 2: {
22538
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22539
2
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
22540
2
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
22541
2
                input, this->mutable_parent_table_id()));
22542
0
        } else {
22543
0
          goto handle_unusual;
22544
0
        }
22545
2
        break;
22546
2
      }
22547
22548
0
      default: {
22549
2
      handle_unusual:
22550
2
        if (tag == 0) {
22551
2
          goto success;
22552
2
        }
22553
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
22554
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
22555
0
        break;
22556
0
      }
22557
2
    }
22558
2
  }
22559
2
success:
22560
  // @@protoc_insertion_point(parse_success:yb.master.DeleteTablegroupResponsePB)
22561
2
  return true;
22562
0
failure:
22563
  // @@protoc_insertion_point(parse_failure:yb.master.DeleteTablegroupResponsePB)
22564
0
  return false;
22565
2
#undef DO_
22566
2
}
22567
22568
void DeleteTablegroupResponsePB::SerializeWithCachedSizes(
22569
0
    ::google::protobuf::io::CodedOutputStream* output) const {
22570
  // @@protoc_insertion_point(serialize_start:yb.master.DeleteTablegroupResponsePB)
22571
0
  ::google::protobuf::uint32 cached_has_bits = 0;
22572
0
  (void) cached_has_bits;
22573
22574
0
  cached_has_bits = _has_bits_[0];
22575
  // optional .yb.master.MasterErrorPB error = 1;
22576
0
  if (cached_has_bits & 0x00000002u) {
22577
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
22578
0
      1, *this->error_, output);
22579
0
  }
22580
22581
  // optional bytes parent_table_id = 2;
22582
0
  if (cached_has_bits & 0x00000001u) {
22583
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
22584
0
      2, this->parent_table_id(), output);
22585
0
  }
22586
22587
0
  if (_internal_metadata_.have_unknown_fields()) {
22588
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
22589
0
        _internal_metadata_.unknown_fields(), output);
22590
0
  }
22591
  // @@protoc_insertion_point(serialize_end:yb.master.DeleteTablegroupResponsePB)
22592
0
}
22593
22594
::google::protobuf::uint8* DeleteTablegroupResponsePB::InternalSerializeWithCachedSizesToArray(
22595
2
    bool deterministic, ::google::protobuf::uint8* target) const {
22596
2
  (void)deterministic; // Unused
22597
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.DeleteTablegroupResponsePB)
22598
2
  ::google::protobuf::uint32 cached_has_bits = 0;
22599
2
  (void) cached_has_bits;
22600
22601
2
  cached_has_bits = _has_bits_[0];
22602
  // optional .yb.master.MasterErrorPB error = 1;
22603
2
  if (cached_has_bits & 0x00000002u) {
22604
0
    target = ::google::protobuf::internal::WireFormatLite::
22605
0
      InternalWriteMessageToArray(
22606
0
        1, *this->error_, deterministic, target);
22607
0
  }
22608
22609
  // optional bytes parent_table_id = 2;
22610
2
  if (cached_has_bits & 0x00000001u) {
22611
2
    target =
22612
2
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
22613
2
        2, this->parent_table_id(), target);
22614
2
  }
22615
22616
2
  if (_internal_metadata_.have_unknown_fields()) {
22617
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
22618
0
        _internal_metadata_.unknown_fields(), target);
22619
0
  }
22620
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.DeleteTablegroupResponsePB)
22621
2
  return target;
22622
2
}
22623
22624
4
size_t DeleteTablegroupResponsePB::ByteSizeLong() const {
22625
// @@protoc_insertion_point(message_byte_size_start:yb.master.DeleteTablegroupResponsePB)
22626
4
  size_t total_size = 0;
22627
22628
4
  if (_internal_metadata_.have_unknown_fields()) {
22629
0
    total_size +=
22630
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
22631
0
        _internal_metadata_.unknown_fields());
22632
0
  }
22633
4
  if (_has_bits_[0 / 32] & 3u) {
22634
    // optional bytes parent_table_id = 2;
22635
4
    if (has_parent_table_id()) {
22636
4
      total_size += 1 +
22637
4
        ::google::protobuf::internal::WireFormatLite::BytesSize(
22638
4
          this->parent_table_id());
22639
4
    }
22640
22641
    // optional .yb.master.MasterErrorPB error = 1;
22642
4
    if (has_error()) {
22643
0
      total_size += 1 +
22644
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
22645
0
          *this->error_);
22646
0
    }
22647
22648
4
  }
22649
4
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
22650
4
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22651
4
  _cached_size_ = cached_size;
22652
4
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
22653
4
  return total_size;
22654
4
}
22655
22656
0
void DeleteTablegroupResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
22657
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.DeleteTablegroupResponsePB)
22658
0
  GOOGLE_DCHECK_NE(&from, this);
22659
0
  const DeleteTablegroupResponsePB* source =
22660
0
      ::google::protobuf::internal::DynamicCastToGenerated<const DeleteTablegroupResponsePB>(
22661
0
          &from);
22662
0
  if (source == NULL) {
22663
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.DeleteTablegroupResponsePB)
22664
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
22665
0
  } else {
22666
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.DeleteTablegroupResponsePB)
22667
0
    MergeFrom(*source);
22668
0
  }
22669
0
}
22670
22671
0
void DeleteTablegroupResponsePB::MergeFrom(const DeleteTablegroupResponsePB& from) {
22672
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.DeleteTablegroupResponsePB)
22673
0
  GOOGLE_DCHECK_NE(&from, this);
22674
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
22675
0
  ::google::protobuf::uint32 cached_has_bits = 0;
22676
0
  (void) cached_has_bits;
22677
22678
0
  cached_has_bits = from._has_bits_[0];
22679
0
  if (cached_has_bits & 3u) {
22680
0
    if (cached_has_bits & 0x00000001u) {
22681
0
      set_has_parent_table_id();
22682
0
      parent_table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.parent_table_id_);
22683
0
    }
22684
0
    if (cached_has_bits & 0x00000002u) {
22685
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
22686
0
    }
22687
0
  }
22688
0
}
22689
22690
0
void DeleteTablegroupResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
22691
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.DeleteTablegroupResponsePB)
22692
0
  if (&from == this) return;
22693
0
  Clear();
22694
0
  MergeFrom(from);
22695
0
}
22696
22697
0
void DeleteTablegroupResponsePB::CopyFrom(const DeleteTablegroupResponsePB& from) {
22698
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.DeleteTablegroupResponsePB)
22699
0
  if (&from == this) return;
22700
0
  Clear();
22701
0
  MergeFrom(from);
22702
0
}
22703
22704
4
bool DeleteTablegroupResponsePB::IsInitialized() const {
22705
4
  if (has_error()) {
22706
0
    if (!this->error_->IsInitialized()) return false;
22707
4
  }
22708
4
  return true;
22709
4
}
22710
22711
0
void DeleteTablegroupResponsePB::Swap(DeleteTablegroupResponsePB* other) {
22712
0
  if (other == this) return;
22713
0
  InternalSwap(other);
22714
0
}
22715
0
void DeleteTablegroupResponsePB::InternalSwap(DeleteTablegroupResponsePB* other) {
22716
0
  using std::swap;
22717
0
  parent_table_id_.Swap(&other->parent_table_id_);
22718
0
  swap(error_, other->error_);
22719
0
  swap(_has_bits_[0], other->_has_bits_[0]);
22720
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
22721
0
  swap(_cached_size_, other->_cached_size_);
22722
0
}
22723
22724
0
::google::protobuf::Metadata DeleteTablegroupResponsePB::GetMetadata() const {
22725
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
22726
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
22727
0
}
22728
22729
22730
// ===================================================================
22731
22732
15.8k
void ListTablegroupsRequestPB::InitAsDefaultInstance() {
22733
15.8k
}
22734
#if !defined(_MSC_VER) || _MSC_VER >= 1900
22735
const int ListTablegroupsRequestPB::kNamespaceIdFieldNumber;
22736
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
22737
22738
ListTablegroupsRequestPB::ListTablegroupsRequestPB()
22739
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
22740
5
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
22741
5
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsListTablegroupsRequestPB();
22742
5
  }
22743
15.8k
  SharedCtor();
22744
  // @@protoc_insertion_point(constructor:yb.master.ListTablegroupsRequestPB)
22745
15.8k
}
22746
ListTablegroupsRequestPB::ListTablegroupsRequestPB(const ListTablegroupsRequestPB& from)
22747
  : ::google::protobuf::Message(),
22748
      _internal_metadata_(NULL),
22749
      _has_bits_(from._has_bits_),
22750
0
      _cached_size_(0) {
22751
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
22752
0
  namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
22753
0
  if (from.has_namespace_id()) {
22754
0
    namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_id_);
22755
0
  }
22756
  // @@protoc_insertion_point(copy_constructor:yb.master.ListTablegroupsRequestPB)
22757
0
}
22758
22759
15.8k
void ListTablegroupsRequestPB::SharedCtor() {
22760
15.8k
  _cached_size_ = 0;
22761
15.8k
  namespace_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
22762
15.8k
}
22763
22764
5
ListTablegroupsRequestPB::~ListTablegroupsRequestPB() {
22765
  // @@protoc_insertion_point(destructor:yb.master.ListTablegroupsRequestPB)
22766
5
  SharedDtor();
22767
5
}
22768
22769
5
void ListTablegroupsRequestPB::SharedDtor() {
22770
5
  namespace_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
22771
5
}
22772
22773
0
void ListTablegroupsRequestPB::SetCachedSize(int size) const {
22774
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22775
0
  _cached_size_ = size;
22776
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
22777
0
}
22778
0
const ::google::protobuf::Descriptor* ListTablegroupsRequestPB::descriptor() {
22779
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
22780
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
22781
0
}
22782
22783
0
const ListTablegroupsRequestPB& ListTablegroupsRequestPB::default_instance() {
22784
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsListTablegroupsRequestPB();
22785
0
  return *internal_default_instance();
22786
0
}
22787
22788
0
ListTablegroupsRequestPB* ListTablegroupsRequestPB::New(::google::protobuf::Arena* arena) const {
22789
0
  ListTablegroupsRequestPB* n = new ListTablegroupsRequestPB;
22790
0
  if (arena != NULL) {
22791
0
    arena->Own(n);
22792
0
  }
22793
0
  return n;
22794
0
}
22795
22796
3
void ListTablegroupsRequestPB::Clear() {
22797
// @@protoc_insertion_point(message_clear_start:yb.master.ListTablegroupsRequestPB)
22798
3
  ::google::protobuf::uint32 cached_has_bits = 0;
22799
  // Prevent compiler warnings about cached_has_bits being unused
22800
3
  (void) cached_has_bits;
22801
22802
3
  cached_has_bits = _has_bits_[0];
22803
3
  if (cached_has_bits & 0x00000001u) {
22804
0
    GOOGLE_DCHECK(!namespace_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
22805
0
    (*namespace_id_.UnsafeRawStringPointer())->clear();
22806
0
  }
22807
3
  _has_bits_.Clear();
22808
3
  _internal_metadata_.Clear();
22809
3
}
22810
22811
bool ListTablegroupsRequestPB::MergePartialFromCodedStream(
22812
3
    ::google::protobuf::io::CodedInputStream* input) {
22813
3
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
22814
3
  ::google::protobuf::uint32 tag;
22815
  // @@protoc_insertion_point(parse_start:yb.master.ListTablegroupsRequestPB)
22816
6
  for (;;) {
22817
6
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
22818
6
    tag = p.first;
22819
6
    if (!p.second) goto handle_unusual;
22820
3
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
22821
      // optional bytes namespace_id = 1;
22822
3
      case 1: {
22823
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22824
3
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
22825
3
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
22826
3
                input, this->mutable_namespace_id()));
22827
0
        } else {
22828
0
          goto handle_unusual;
22829
0
        }
22830
3
        break;
22831
3
      }
22832
22833
0
      default: {
22834
3
      handle_unusual:
22835
3
        if (tag == 0) {
22836
3
          goto success;
22837
3
        }
22838
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
22839
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
22840
0
        break;
22841
0
      }
22842
3
    }
22843
3
  }
22844
3
success:
22845
  // @@protoc_insertion_point(parse_success:yb.master.ListTablegroupsRequestPB)
22846
3
  return true;
22847
0
failure:
22848
  // @@protoc_insertion_point(parse_failure:yb.master.ListTablegroupsRequestPB)
22849
0
  return false;
22850
3
#undef DO_
22851
3
}
22852
22853
void ListTablegroupsRequestPB::SerializeWithCachedSizes(
22854
0
    ::google::protobuf::io::CodedOutputStream* output) const {
22855
  // @@protoc_insertion_point(serialize_start:yb.master.ListTablegroupsRequestPB)
22856
0
  ::google::protobuf::uint32 cached_has_bits = 0;
22857
0
  (void) cached_has_bits;
22858
22859
0
  cached_has_bits = _has_bits_[0];
22860
  // optional bytes namespace_id = 1;
22861
0
  if (cached_has_bits & 0x00000001u) {
22862
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
22863
0
      1, this->namespace_id(), output);
22864
0
  }
22865
22866
0
  if (_internal_metadata_.have_unknown_fields()) {
22867
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
22868
0
        _internal_metadata_.unknown_fields(), output);
22869
0
  }
22870
  // @@protoc_insertion_point(serialize_end:yb.master.ListTablegroupsRequestPB)
22871
0
}
22872
22873
::google::protobuf::uint8* ListTablegroupsRequestPB::InternalSerializeWithCachedSizesToArray(
22874
3
    bool deterministic, ::google::protobuf::uint8* target) const {
22875
3
  (void)deterministic; // Unused
22876
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListTablegroupsRequestPB)
22877
3
  ::google::protobuf::uint32 cached_has_bits = 0;
22878
3
  (void) cached_has_bits;
22879
22880
3
  cached_has_bits = _has_bits_[0];
22881
  // optional bytes namespace_id = 1;
22882
3
  if (cached_has_bits & 0x00000001u) {
22883
3
    target =
22884
3
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
22885
3
        1, this->namespace_id(), target);
22886
3
  }
22887
22888
3
  if (_internal_metadata_.have_unknown_fields()) {
22889
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
22890
0
        _internal_metadata_.unknown_fields(), target);
22891
0
  }
22892
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListTablegroupsRequestPB)
22893
3
  return target;
22894
3
}
22895
22896
6
size_t ListTablegroupsRequestPB::ByteSizeLong() const {
22897
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListTablegroupsRequestPB)
22898
6
  size_t total_size = 0;
22899
22900
6
  if (_internal_metadata_.have_unknown_fields()) {
22901
0
    total_size +=
22902
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
22903
0
        _internal_metadata_.unknown_fields());
22904
0
  }
22905
  // optional bytes namespace_id = 1;
22906
6
  if (has_namespace_id()) {
22907
6
    total_size += 1 +
22908
6
      ::google::protobuf::internal::WireFormatLite::BytesSize(
22909
6
        this->namespace_id());
22910
6
  }
22911
22912
6
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
22913
6
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22914
6
  _cached_size_ = cached_size;
22915
6
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
22916
6
  return total_size;
22917
6
}
22918
22919
0
void ListTablegroupsRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
22920
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListTablegroupsRequestPB)
22921
0
  GOOGLE_DCHECK_NE(&from, this);
22922
0
  const ListTablegroupsRequestPB* source =
22923
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListTablegroupsRequestPB>(
22924
0
          &from);
22925
0
  if (source == NULL) {
22926
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListTablegroupsRequestPB)
22927
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
22928
0
  } else {
22929
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListTablegroupsRequestPB)
22930
0
    MergeFrom(*source);
22931
0
  }
22932
0
}
22933
22934
0
void ListTablegroupsRequestPB::MergeFrom(const ListTablegroupsRequestPB& from) {
22935
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListTablegroupsRequestPB)
22936
0
  GOOGLE_DCHECK_NE(&from, this);
22937
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
22938
0
  ::google::protobuf::uint32 cached_has_bits = 0;
22939
0
  (void) cached_has_bits;
22940
22941
0
  if (from.has_namespace_id()) {
22942
0
    set_has_namespace_id();
22943
0
    namespace_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace_id_);
22944
0
  }
22945
0
}
22946
22947
0
void ListTablegroupsRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
22948
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListTablegroupsRequestPB)
22949
0
  if (&from == this) return;
22950
0
  Clear();
22951
0
  MergeFrom(from);
22952
0
}
22953
22954
0
void ListTablegroupsRequestPB::CopyFrom(const ListTablegroupsRequestPB& from) {
22955
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListTablegroupsRequestPB)
22956
0
  if (&from == this) return;
22957
0
  Clear();
22958
0
  MergeFrom(from);
22959
0
}
22960
22961
6
bool ListTablegroupsRequestPB::IsInitialized() const {
22962
6
  return true;
22963
6
}
22964
22965
0
void ListTablegroupsRequestPB::Swap(ListTablegroupsRequestPB* other) {
22966
0
  if (other == this) return;
22967
0
  InternalSwap(other);
22968
0
}
22969
0
void ListTablegroupsRequestPB::InternalSwap(ListTablegroupsRequestPB* other) {
22970
0
  using std::swap;
22971
0
  namespace_id_.Swap(&other->namespace_id_);
22972
0
  swap(_has_bits_[0], other->_has_bits_[0]);
22973
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
22974
0
  swap(_cached_size_, other->_cached_size_);
22975
0
}
22976
22977
3
::google::protobuf::Metadata ListTablegroupsRequestPB::GetMetadata() const {
22978
3
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
22979
3
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
22980
3
}
22981
22982
22983
// ===================================================================
22984
22985
15.8k
void ListTablegroupsResponsePB::InitAsDefaultInstance() {
22986
15.8k
  ::yb::master::_ListTablegroupsResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
22987
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
22988
15.8k
}
22989
0
void ListTablegroupsResponsePB::clear_error() {
22990
0
  if (error_ != NULL) error_->Clear();
22991
0
  clear_has_error();
22992
0
}
22993
#if !defined(_MSC_VER) || _MSC_VER >= 1900
22994
const int ListTablegroupsResponsePB::kErrorFieldNumber;
22995
const int ListTablegroupsResponsePB::kTablegroupsFieldNumber;
22996
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
22997
22998
ListTablegroupsResponsePB::ListTablegroupsResponsePB()
22999
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
23000
6
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
23001
6
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsListTablegroupsResponsePB();
23002
6
  }
23003
15.8k
  SharedCtor();
23004
  // @@protoc_insertion_point(constructor:yb.master.ListTablegroupsResponsePB)
23005
15.8k
}
23006
ListTablegroupsResponsePB::ListTablegroupsResponsePB(const ListTablegroupsResponsePB& from)
23007
  : ::google::protobuf::Message(),
23008
      _internal_metadata_(NULL),
23009
      _has_bits_(from._has_bits_),
23010
      _cached_size_(0),
23011
0
      tablegroups_(from.tablegroups_) {
23012
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
23013
0
  if (from.has_error()) {
23014
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
23015
0
  } else {
23016
0
    error_ = NULL;
23017
0
  }
23018
  // @@protoc_insertion_point(copy_constructor:yb.master.ListTablegroupsResponsePB)
23019
0
}
23020
23021
15.8k
void ListTablegroupsResponsePB::SharedCtor() {
23022
15.8k
  _cached_size_ = 0;
23023
15.8k
  error_ = NULL;
23024
15.8k
}
23025
23026
6
ListTablegroupsResponsePB::~ListTablegroupsResponsePB() {
23027
  // @@protoc_insertion_point(destructor:yb.master.ListTablegroupsResponsePB)
23028
6
  SharedDtor();
23029
6
}
23030
23031
6
void ListTablegroupsResponsePB::SharedDtor() {
23032
6
  if (this != internal_default_instance()) delete error_;
23033
6
}
23034
23035
0
void ListTablegroupsResponsePB::SetCachedSize(int size) const {
23036
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23037
0
  _cached_size_ = size;
23038
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
23039
0
}
23040
0
const ::google::protobuf::Descriptor* ListTablegroupsResponsePB::descriptor() {
23041
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
23042
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
23043
0
}
23044
23045
0
const ListTablegroupsResponsePB& ListTablegroupsResponsePB::default_instance() {
23046
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsListTablegroupsResponsePB();
23047
0
  return *internal_default_instance();
23048
0
}
23049
23050
0
ListTablegroupsResponsePB* ListTablegroupsResponsePB::New(::google::protobuf::Arena* arena) const {
23051
0
  ListTablegroupsResponsePB* n = new ListTablegroupsResponsePB;
23052
0
  if (arena != NULL) {
23053
0
    arena->Own(n);
23054
0
  }
23055
0
  return n;
23056
0
}
23057
23058
3
void ListTablegroupsResponsePB::Clear() {
23059
// @@protoc_insertion_point(message_clear_start:yb.master.ListTablegroupsResponsePB)
23060
3
  ::google::protobuf::uint32 cached_has_bits = 0;
23061
  // Prevent compiler warnings about cached_has_bits being unused
23062
3
  (void) cached_has_bits;
23063
23064
3
  tablegroups_.Clear();
23065
3
  cached_has_bits = _has_bits_[0];
23066
3
  if (cached_has_bits & 0x00000001u) {
23067
0
    GOOGLE_DCHECK(error_ != NULL);
23068
0
    error_->Clear();
23069
0
  }
23070
3
  _has_bits_.Clear();
23071
3
  _internal_metadata_.Clear();
23072
3
}
23073
23074
bool ListTablegroupsResponsePB::MergePartialFromCodedStream(
23075
3
    ::google::protobuf::io::CodedInputStream* input) {
23076
3
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
23077
3
  ::google::protobuf::uint32 tag;
23078
  // @@protoc_insertion_point(parse_start:yb.master.ListTablegroupsResponsePB)
23079
6
  for (;;) {
23080
6
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
23081
6
    tag = p.first;
23082
6
    if (!p.second) goto handle_unusual;
23083
3
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
23084
      // optional .yb.master.MasterErrorPB error = 1;
23085
0
      case 1: {
23086
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
23087
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
23088
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
23089
0
               input, mutable_error()));
23090
0
        } else {
23091
0
          goto handle_unusual;
23092
0
        }
23093
0
        break;
23094
0
      }
23095
23096
      // repeated .yb.master.TablegroupIdentifierPB tablegroups = 2;
23097
3
      case 2: {
23098
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
23099
3
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
23100
3
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_tablegroups()));
23101
0
        } else {
23102
0
          goto handle_unusual;
23103
0
        }
23104
3
        break;
23105
3
      }
23106
23107
0
      default: {
23108
3
      handle_unusual:
23109
3
        if (tag == 0) {
23110
3
          goto success;
23111
3
        }
23112
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
23113
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
23114
0
        break;
23115
0
      }
23116
3
    }
23117
3
  }
23118
3
success:
23119
  // @@protoc_insertion_point(parse_success:yb.master.ListTablegroupsResponsePB)
23120
3
  return true;
23121
0
failure:
23122
  // @@protoc_insertion_point(parse_failure:yb.master.ListTablegroupsResponsePB)
23123
0
  return false;
23124
3
#undef DO_
23125
3
}
23126
23127
void ListTablegroupsResponsePB::SerializeWithCachedSizes(
23128
0
    ::google::protobuf::io::CodedOutputStream* output) const {
23129
  // @@protoc_insertion_point(serialize_start:yb.master.ListTablegroupsResponsePB)
23130
0
  ::google::protobuf::uint32 cached_has_bits = 0;
23131
0
  (void) cached_has_bits;
23132
23133
0
  cached_has_bits = _has_bits_[0];
23134
  // optional .yb.master.MasterErrorPB error = 1;
23135
0
  if (cached_has_bits & 0x00000001u) {
23136
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
23137
0
      1, *this->error_, output);
23138
0
  }
23139
23140
  // repeated .yb.master.TablegroupIdentifierPB tablegroups = 2;
23141
0
  for (unsigned int i = 0,
23142
0
      n = static_cast<unsigned int>(this->tablegroups_size()); i < n; i++) {
23143
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
23144
0
      2, this->tablegroups(static_cast<int>(i)), output);
23145
0
  }
23146
23147
0
  if (_internal_metadata_.have_unknown_fields()) {
23148
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
23149
0
        _internal_metadata_.unknown_fields(), output);
23150
0
  }
23151
  // @@protoc_insertion_point(serialize_end:yb.master.ListTablegroupsResponsePB)
23152
0
}
23153
23154
::google::protobuf::uint8* ListTablegroupsResponsePB::InternalSerializeWithCachedSizesToArray(
23155
3
    bool deterministic, ::google::protobuf::uint8* target) const {
23156
3
  (void)deterministic; // Unused
23157
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListTablegroupsResponsePB)
23158
3
  ::google::protobuf::uint32 cached_has_bits = 0;
23159
3
  (void) cached_has_bits;
23160
23161
3
  cached_has_bits = _has_bits_[0];
23162
  // optional .yb.master.MasterErrorPB error = 1;
23163
3
  if (cached_has_bits & 0x00000001u) {
23164
0
    target = ::google::protobuf::internal::WireFormatLite::
23165
0
      InternalWriteMessageToArray(
23166
0
        1, *this->error_, deterministic, target);
23167
0
  }
23168
23169
  // repeated .yb.master.TablegroupIdentifierPB tablegroups = 2;
23170
3
  for (unsigned int i = 0,
23171
6
      n = static_cast<unsigned int>(this->tablegroups_size()); i < n; i++) {
23172
3
    target = ::google::protobuf::internal::WireFormatLite::
23173
3
      InternalWriteMessageToArray(
23174
3
        2, this->tablegroups(static_cast<int>(i)), deterministic, target);
23175
3
  }
23176
23177
3
  if (_internal_metadata_.have_unknown_fields()) {
23178
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
23179
0
        _internal_metadata_.unknown_fields(), target);
23180
0
  }
23181
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListTablegroupsResponsePB)
23182
3
  return target;
23183
3
}
23184
23185
6
size_t ListTablegroupsResponsePB::ByteSizeLong() const {
23186
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListTablegroupsResponsePB)
23187
6
  size_t total_size = 0;
23188
23189
6
  if (_internal_metadata_.have_unknown_fields()) {
23190
0
    total_size +=
23191
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
23192
0
        _internal_metadata_.unknown_fields());
23193
0
  }
23194
  // repeated .yb.master.TablegroupIdentifierPB tablegroups = 2;
23195
6
  {
23196
6
    unsigned int count = static_cast<unsigned int>(this->tablegroups_size());
23197
6
    total_size += 1UL * count;
23198
12
    for (unsigned int i = 0; i < count; i++) {
23199
6
      total_size +=
23200
6
        ::google::protobuf::internal::WireFormatLite::MessageSize(
23201
6
          this->tablegroups(static_cast<int>(i)));
23202
6
    }
23203
6
  }
23204
23205
  // optional .yb.master.MasterErrorPB error = 1;
23206
6
  if (has_error()) {
23207
0
    total_size += 1 +
23208
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
23209
0
        *this->error_);
23210
0
  }
23211
23212
6
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
23213
6
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23214
6
  _cached_size_ = cached_size;
23215
6
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
23216
6
  return total_size;
23217
6
}
23218
23219
0
void ListTablegroupsResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
23220
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListTablegroupsResponsePB)
23221
0
  GOOGLE_DCHECK_NE(&from, this);
23222
0
  const ListTablegroupsResponsePB* source =
23223
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListTablegroupsResponsePB>(
23224
0
          &from);
23225
0
  if (source == NULL) {
23226
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListTablegroupsResponsePB)
23227
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
23228
0
  } else {
23229
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListTablegroupsResponsePB)
23230
0
    MergeFrom(*source);
23231
0
  }
23232
0
}
23233
23234
0
void ListTablegroupsResponsePB::MergeFrom(const ListTablegroupsResponsePB& from) {
23235
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListTablegroupsResponsePB)
23236
0
  GOOGLE_DCHECK_NE(&from, this);
23237
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
23238
0
  ::google::protobuf::uint32 cached_has_bits = 0;
23239
0
  (void) cached_has_bits;
23240
23241
0
  tablegroups_.MergeFrom(from.tablegroups_);
23242
0
  if (from.has_error()) {
23243
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
23244
0
  }
23245
0
}
23246
23247
0
void ListTablegroupsResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
23248
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListTablegroupsResponsePB)
23249
0
  if (&from == this) return;
23250
0
  Clear();
23251
0
  MergeFrom(from);
23252
0
}
23253
23254
0
void ListTablegroupsResponsePB::CopyFrom(const ListTablegroupsResponsePB& from) {
23255
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListTablegroupsResponsePB)
23256
0
  if (&from == this) return;
23257
0
  Clear();
23258
0
  MergeFrom(from);
23259
0
}
23260
23261
6
bool ListTablegroupsResponsePB::IsInitialized() const {
23262
6
  if (has_error()) {
23263
0
    if (!this->error_->IsInitialized()) return false;
23264
6
  }
23265
6
  return true;
23266
6
}
23267
23268
0
void ListTablegroupsResponsePB::Swap(ListTablegroupsResponsePB* other) {
23269
0
  if (other == this) return;
23270
0
  InternalSwap(other);
23271
0
}
23272
0
void ListTablegroupsResponsePB::InternalSwap(ListTablegroupsResponsePB* other) {
23273
0
  using std::swap;
23274
0
  tablegroups_.InternalSwap(&other->tablegroups_);
23275
0
  swap(error_, other->error_);
23276
0
  swap(_has_bits_[0], other->_has_bits_[0]);
23277
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
23278
0
  swap(_cached_size_, other->_cached_size_);
23279
0
}
23280
23281
4
::google::protobuf::Metadata ListTablegroupsResponsePB::GetMetadata() const {
23282
4
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
23283
4
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
23284
4
}
23285
23286
23287
// ===================================================================
23288
23289
15.8k
void CreateUDTypeRequestPB::InitAsDefaultInstance() {
23290
15.8k
  ::yb::master::_CreateUDTypeRequestPB_default_instance_._instance.get_mutable()->namespace__ = const_cast< ::yb::master::NamespaceIdentifierPB*>(
23291
15.8k
      ::yb::master::NamespaceIdentifierPB::internal_default_instance());
23292
15.8k
}
23293
0
void CreateUDTypeRequestPB::clear_namespace_() {
23294
0
  if (namespace__ != NULL) namespace__->Clear();
23295
0
  clear_has_namespace_();
23296
0
}
23297
0
void CreateUDTypeRequestPB::clear_field_types() {
23298
0
  field_types_.Clear();
23299
0
}
23300
#if !defined(_MSC_VER) || _MSC_VER >= 1900
23301
const int CreateUDTypeRequestPB::kNamespaceFieldNumber;
23302
const int CreateUDTypeRequestPB::kNameFieldNumber;
23303
const int CreateUDTypeRequestPB::kFieldNamesFieldNumber;
23304
const int CreateUDTypeRequestPB::kFieldTypesFieldNumber;
23305
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
23306
23307
CreateUDTypeRequestPB::CreateUDTypeRequestPB()
23308
15.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
23309
92
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
23310
92
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsCreateUDTypeRequestPB();
23311
92
  }
23312
15.9k
  SharedCtor();
23313
  // @@protoc_insertion_point(constructor:yb.master.CreateUDTypeRequestPB)
23314
15.9k
}
23315
CreateUDTypeRequestPB::CreateUDTypeRequestPB(const CreateUDTypeRequestPB& from)
23316
  : ::google::protobuf::Message(),
23317
      _internal_metadata_(NULL),
23318
      _has_bits_(from._has_bits_),
23319
      _cached_size_(0),
23320
      field_names_(from.field_names_),
23321
0
      field_types_(from.field_types_) {
23322
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
23323
0
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23324
0
  if (from.has_name()) {
23325
0
    name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
23326
0
  }
23327
0
  if (from.has_namespace_()) {
23328
0
    namespace__ = new ::yb::master::NamespaceIdentifierPB(*from.namespace__);
23329
0
  } else {
23330
0
    namespace__ = NULL;
23331
0
  }
23332
  // @@protoc_insertion_point(copy_constructor:yb.master.CreateUDTypeRequestPB)
23333
0
}
23334
23335
15.9k
void CreateUDTypeRequestPB::SharedCtor() {
23336
15.9k
  _cached_size_ = 0;
23337
15.9k
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23338
15.9k
  namespace__ = NULL;
23339
15.9k
}
23340
23341
92
CreateUDTypeRequestPB::~CreateUDTypeRequestPB() {
23342
  // @@protoc_insertion_point(destructor:yb.master.CreateUDTypeRequestPB)
23343
92
  SharedDtor();
23344
92
}
23345
23346
92
void CreateUDTypeRequestPB::SharedDtor() {
23347
92
  name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23348
92
  if (this != internal_default_instance()) delete namespace__;
23349
92
}
23350
23351
0
void CreateUDTypeRequestPB::SetCachedSize(int size) const {
23352
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23353
0
  _cached_size_ = size;
23354
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
23355
0
}
23356
0
const ::google::protobuf::Descriptor* CreateUDTypeRequestPB::descriptor() {
23357
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
23358
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
23359
0
}
23360
23361
0
const CreateUDTypeRequestPB& CreateUDTypeRequestPB::default_instance() {
23362
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsCreateUDTypeRequestPB();
23363
0
  return *internal_default_instance();
23364
0
}
23365
23366
0
CreateUDTypeRequestPB* CreateUDTypeRequestPB::New(::google::protobuf::Arena* arena) const {
23367
0
  CreateUDTypeRequestPB* n = new CreateUDTypeRequestPB;
23368
0
  if (arena != NULL) {
23369
0
    arena->Own(n);
23370
0
  }
23371
0
  return n;
23372
0
}
23373
23374
46
void CreateUDTypeRequestPB::Clear() {
23375
// @@protoc_insertion_point(message_clear_start:yb.master.CreateUDTypeRequestPB)
23376
46
  ::google::protobuf::uint32 cached_has_bits = 0;
23377
  // Prevent compiler warnings about cached_has_bits being unused
23378
46
  (void) cached_has_bits;
23379
23380
46
  field_names_.Clear();
23381
46
  field_types_.Clear();
23382
46
  cached_has_bits = _has_bits_[0];
23383
46
  if (cached_has_bits & 3u) {
23384
0
    if (cached_has_bits & 0x00000001u) {
23385
0
      GOOGLE_DCHECK(!name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
23386
0
      (*name_.UnsafeRawStringPointer())->clear();
23387
0
    }
23388
0
    if (cached_has_bits & 0x00000002u) {
23389
0
      GOOGLE_DCHECK(namespace__ != NULL);
23390
0
      namespace__->Clear();
23391
0
    }
23392
0
  }
23393
46
  _has_bits_.Clear();
23394
46
  _internal_metadata_.Clear();
23395
46
}
23396
23397
bool CreateUDTypeRequestPB::MergePartialFromCodedStream(
23398
46
    ::google::protobuf::io::CodedInputStream* input) {
23399
264
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
23400
46
  ::google::protobuf::uint32 tag;
23401
  // @@protoc_insertion_point(parse_start:yb.master.CreateUDTypeRequestPB)
23402
310
  for (;;) {
23403
310
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
23404
310
    tag = p.first;
23405
310
    if (!p.second) goto handle_unusual;
23406
264
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
23407
      // optional .yb.master.NamespaceIdentifierPB namespace = 1;
23408
46
      case 1: {
23409
46
        if (static_cast< ::google::protobuf::uint8>(tag) ==
23410
46
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
23411
46
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
23412
46
               input, mutable_namespace_()));
23413
0
        } else {
23414
0
          goto handle_unusual;
23415
0
        }
23416
46
        break;
23417
46
      }
23418
23419
      // optional string name = 2;
23420
46
      case 2: {
23421
46
        if (static_cast< ::google::protobuf::uint8>(tag) ==
23422
46
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
23423
46
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
23424
46
                input, this->mutable_name()));
23425
46
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
23426
46
            this->name().data(), static_cast<int>(this->name().length()),
23427
46
            ::google::protobuf::internal::WireFormat::PARSE,
23428
46
            "yb.master.CreateUDTypeRequestPB.name");
23429
0
        } else {
23430
0
          goto handle_unusual;
23431
0
        }
23432
46
        break;
23433
46
      }
23434
23435
      // repeated string field_names = 3;
23436
86
      case 3: {
23437
86
        if (static_cast< ::google::protobuf::uint8>(tag) ==
23438
86
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
23439
86
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
23440
86
                input, this->add_field_names()));
23441
86
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
23442
86
            this->field_names(this->field_names_size() - 1).data(),
23443
86
            static_cast<int>(this->field_names(this->field_names_size() - 1).length()),
23444
86
            ::google::protobuf::internal::WireFormat::PARSE,
23445
86
            "yb.master.CreateUDTypeRequestPB.field_names");
23446
0
        } else {
23447
0
          goto handle_unusual;
23448
0
        }
23449
86
        break;
23450
86
      }
23451
23452
      // repeated .yb.QLTypePB field_types = 4;
23453
86
      case 4: {
23454
86
        if (static_cast< ::google::protobuf::uint8>(tag) ==
23455
86
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
23456
86
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_field_types()));
23457
0
        } else {
23458
0
          goto handle_unusual;
23459
0
        }
23460
86
        break;
23461
46
      }
23462
23463
0
      default: {
23464
46
      handle_unusual:
23465
46
        if (tag == 0) {
23466
46
          goto success;
23467
46
        }
23468
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
23469
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
23470
0
        break;
23471
0
      }
23472
264
    }
23473
264
  }
23474
46
success:
23475
  // @@protoc_insertion_point(parse_success:yb.master.CreateUDTypeRequestPB)
23476
46
  return true;
23477
0
failure:
23478
  // @@protoc_insertion_point(parse_failure:yb.master.CreateUDTypeRequestPB)
23479
0
  return false;
23480
46
#undef DO_
23481
46
}
23482
23483
void CreateUDTypeRequestPB::SerializeWithCachedSizes(
23484
0
    ::google::protobuf::io::CodedOutputStream* output) const {
23485
  // @@protoc_insertion_point(serialize_start:yb.master.CreateUDTypeRequestPB)
23486
0
  ::google::protobuf::uint32 cached_has_bits = 0;
23487
0
  (void) cached_has_bits;
23488
23489
0
  cached_has_bits = _has_bits_[0];
23490
  // optional .yb.master.NamespaceIdentifierPB namespace = 1;
23491
0
  if (cached_has_bits & 0x00000002u) {
23492
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
23493
0
      1, *this->namespace__, output);
23494
0
  }
23495
23496
  // optional string name = 2;
23497
0
  if (cached_has_bits & 0x00000001u) {
23498
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
23499
0
      this->name().data(), static_cast<int>(this->name().length()),
23500
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
23501
0
      "yb.master.CreateUDTypeRequestPB.name");
23502
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
23503
0
      2, this->name(), output);
23504
0
  }
23505
23506
  // repeated string field_names = 3;
23507
0
  for (int i = 0, n = this->field_names_size(); i < n; i++) {
23508
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
23509
0
      this->field_names(i).data(), static_cast<int>(this->field_names(i).length()),
23510
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
23511
0
      "yb.master.CreateUDTypeRequestPB.field_names");
23512
0
    ::google::protobuf::internal::WireFormatLite::WriteString(
23513
0
      3, this->field_names(i), output);
23514
0
  }
23515
23516
  // repeated .yb.QLTypePB field_types = 4;
23517
0
  for (unsigned int i = 0,
23518
0
      n = static_cast<unsigned int>(this->field_types_size()); i < n; i++) {
23519
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
23520
0
      4, this->field_types(static_cast<int>(i)), output);
23521
0
  }
23522
23523
0
  if (_internal_metadata_.have_unknown_fields()) {
23524
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
23525
0
        _internal_metadata_.unknown_fields(), output);
23526
0
  }
23527
  // @@protoc_insertion_point(serialize_end:yb.master.CreateUDTypeRequestPB)
23528
0
}
23529
23530
::google::protobuf::uint8* CreateUDTypeRequestPB::InternalSerializeWithCachedSizesToArray(
23531
46
    bool deterministic, ::google::protobuf::uint8* target) const {
23532
46
  (void)deterministic; // Unused
23533
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.CreateUDTypeRequestPB)
23534
46
  ::google::protobuf::uint32 cached_has_bits = 0;
23535
46
  (void) cached_has_bits;
23536
23537
46
  cached_has_bits = _has_bits_[0];
23538
  // optional .yb.master.NamespaceIdentifierPB namespace = 1;
23539
46
  if (cached_has_bits & 0x00000002u) {
23540
46
    target = ::google::protobuf::internal::WireFormatLite::
23541
46
      InternalWriteMessageToArray(
23542
46
        1, *this->namespace__, deterministic, target);
23543
46
  }
23544
23545
  // optional string name = 2;
23546
46
  if (cached_has_bits & 0x00000001u) {
23547
46
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
23548
46
      this->name().data(), static_cast<int>(this->name().length()),
23549
46
      ::google::protobuf::internal::WireFormat::SERIALIZE,
23550
46
      "yb.master.CreateUDTypeRequestPB.name");
23551
46
    target =
23552
46
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
23553
46
        2, this->name(), target);
23554
46
  }
23555
23556
  // repeated string field_names = 3;
23557
132
  for (int i = 0, n = this->field_names_size(); i < n; i++) {
23558
86
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
23559
86
      this->field_names(i).data(), static_cast<int>(this->field_names(i).length()),
23560
86
      ::google::protobuf::internal::WireFormat::SERIALIZE,
23561
86
      "yb.master.CreateUDTypeRequestPB.field_names");
23562
86
    target = ::google::protobuf::internal::WireFormatLite::
23563
86
      WriteStringToArray(3, this->field_names(i), target);
23564
86
  }
23565
23566
  // repeated .yb.QLTypePB field_types = 4;
23567
46
  for (unsigned int i = 0,
23568
132
      n = static_cast<unsigned int>(this->field_types_size()); i < n; i++) {
23569
86
    target = ::google::protobuf::internal::WireFormatLite::
23570
86
      InternalWriteMessageToArray(
23571
86
        4, this->field_types(static_cast<int>(i)), deterministic, target);
23572
86
  }
23573
23574
46
  if (_internal_metadata_.have_unknown_fields()) {
23575
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
23576
0
        _internal_metadata_.unknown_fields(), target);
23577
0
  }
23578
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.CreateUDTypeRequestPB)
23579
46
  return target;
23580
46
}
23581
23582
92
size_t CreateUDTypeRequestPB::ByteSizeLong() const {
23583
// @@protoc_insertion_point(message_byte_size_start:yb.master.CreateUDTypeRequestPB)
23584
92
  size_t total_size = 0;
23585
23586
92
  if (_internal_metadata_.have_unknown_fields()) {
23587
0
    total_size +=
23588
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
23589
0
        _internal_metadata_.unknown_fields());
23590
0
  }
23591
  // repeated string field_names = 3;
23592
92
  total_size += 1 *
23593
92
      ::google::protobuf::internal::FromIntSize(this->field_names_size());
23594
264
  for (int i = 0, n = this->field_names_size(); i < n; i++) {
23595
172
    total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
23596
172
      this->field_names(i));
23597
172
  }
23598
23599
  // repeated .yb.QLTypePB field_types = 4;
23600
92
  {
23601
92
    unsigned int count = static_cast<unsigned int>(this->field_types_size());
23602
92
    total_size += 1UL * count;
23603
264
    for (unsigned int i = 0; i < count; i++) {
23604
172
      total_size +=
23605
172
        ::google::protobuf::internal::WireFormatLite::MessageSize(
23606
172
          this->field_types(static_cast<int>(i)));
23607
172
    }
23608
92
  }
23609
23610
92
  if (_has_bits_[0 / 32] & 3u) {
23611
    // optional string name = 2;
23612
92
    if (has_name()) {
23613
92
      total_size += 1 +
23614
92
        ::google::protobuf::internal::WireFormatLite::StringSize(
23615
92
          this->name());
23616
92
    }
23617
23618
    // optional .yb.master.NamespaceIdentifierPB namespace = 1;
23619
92
    if (has_namespace_()) {
23620
92
      total_size += 1 +
23621
92
        ::google::protobuf::internal::WireFormatLite::MessageSize(
23622
92
          *this->namespace__);
23623
92
    }
23624
23625
92
  }
23626
92
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
23627
92
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23628
92
  _cached_size_ = cached_size;
23629
92
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
23630
92
  return total_size;
23631
92
}
23632
23633
0
void CreateUDTypeRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
23634
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.CreateUDTypeRequestPB)
23635
0
  GOOGLE_DCHECK_NE(&from, this);
23636
0
  const CreateUDTypeRequestPB* source =
23637
0
      ::google::protobuf::internal::DynamicCastToGenerated<const CreateUDTypeRequestPB>(
23638
0
          &from);
23639
0
  if (source == NULL) {
23640
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.CreateUDTypeRequestPB)
23641
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
23642
0
  } else {
23643
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.CreateUDTypeRequestPB)
23644
0
    MergeFrom(*source);
23645
0
  }
23646
0
}
23647
23648
0
void CreateUDTypeRequestPB::MergeFrom(const CreateUDTypeRequestPB& from) {
23649
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.CreateUDTypeRequestPB)
23650
0
  GOOGLE_DCHECK_NE(&from, this);
23651
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
23652
0
  ::google::protobuf::uint32 cached_has_bits = 0;
23653
0
  (void) cached_has_bits;
23654
23655
0
  field_names_.MergeFrom(from.field_names_);
23656
0
  field_types_.MergeFrom(from.field_types_);
23657
0
  cached_has_bits = from._has_bits_[0];
23658
0
  if (cached_has_bits & 3u) {
23659
0
    if (cached_has_bits & 0x00000001u) {
23660
0
      set_has_name();
23661
0
      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
23662
0
    }
23663
0
    if (cached_has_bits & 0x00000002u) {
23664
0
      mutable_namespace_()->::yb::master::NamespaceIdentifierPB::MergeFrom(from.namespace_());
23665
0
    }
23666
0
  }
23667
0
}
23668
23669
0
void CreateUDTypeRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
23670
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.CreateUDTypeRequestPB)
23671
0
  if (&from == this) return;
23672
0
  Clear();
23673
0
  MergeFrom(from);
23674
0
}
23675
23676
0
void CreateUDTypeRequestPB::CopyFrom(const CreateUDTypeRequestPB& from) {
23677
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.CreateUDTypeRequestPB)
23678
0
  if (&from == this) return;
23679
0
  Clear();
23680
0
  MergeFrom(from);
23681
0
}
23682
23683
92
bool CreateUDTypeRequestPB::IsInitialized() const {
23684
92
  return true;
23685
92
}
23686
23687
0
void CreateUDTypeRequestPB::Swap(CreateUDTypeRequestPB* other) {
23688
0
  if (other == this) return;
23689
0
  InternalSwap(other);
23690
0
}
23691
0
void CreateUDTypeRequestPB::InternalSwap(CreateUDTypeRequestPB* other) {
23692
0
  using std::swap;
23693
0
  field_names_.InternalSwap(&other->field_names_);
23694
0
  field_types_.InternalSwap(&other->field_types_);
23695
0
  name_.Swap(&other->name_);
23696
0
  swap(namespace__, other->namespace__);
23697
0
  swap(_has_bits_[0], other->_has_bits_[0]);
23698
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
23699
0
  swap(_cached_size_, other->_cached_size_);
23700
0
}
23701
23702
140
::google::protobuf::Metadata CreateUDTypeRequestPB::GetMetadata() const {
23703
140
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
23704
140
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
23705
140
}
23706
23707
23708
// ===================================================================
23709
23710
15.8k
void CreateUDTypeResponsePB::InitAsDefaultInstance() {
23711
15.8k
  ::yb::master::_CreateUDTypeResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
23712
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
23713
15.8k
}
23714
0
void CreateUDTypeResponsePB::clear_error() {
23715
0
  if (error_ != NULL) error_->Clear();
23716
0
  clear_has_error();
23717
0
}
23718
#if !defined(_MSC_VER) || _MSC_VER >= 1900
23719
const int CreateUDTypeResponsePB::kErrorFieldNumber;
23720
const int CreateUDTypeResponsePB::kIdFieldNumber;
23721
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
23722
23723
CreateUDTypeResponsePB::CreateUDTypeResponsePB()
23724
15.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
23725
92
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
23726
92
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsCreateUDTypeResponsePB();
23727
92
  }
23728
15.9k
  SharedCtor();
23729
  // @@protoc_insertion_point(constructor:yb.master.CreateUDTypeResponsePB)
23730
15.9k
}
23731
CreateUDTypeResponsePB::CreateUDTypeResponsePB(const CreateUDTypeResponsePB& from)
23732
  : ::google::protobuf::Message(),
23733
      _internal_metadata_(NULL),
23734
      _has_bits_(from._has_bits_),
23735
0
      _cached_size_(0) {
23736
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
23737
0
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23738
0
  if (from.has_id()) {
23739
0
    id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
23740
0
  }
23741
0
  if (from.has_error()) {
23742
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
23743
0
  } else {
23744
0
    error_ = NULL;
23745
0
  }
23746
  // @@protoc_insertion_point(copy_constructor:yb.master.CreateUDTypeResponsePB)
23747
0
}
23748
23749
15.9k
void CreateUDTypeResponsePB::SharedCtor() {
23750
15.9k
  _cached_size_ = 0;
23751
15.9k
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23752
15.9k
  error_ = NULL;
23753
15.9k
}
23754
23755
92
CreateUDTypeResponsePB::~CreateUDTypeResponsePB() {
23756
  // @@protoc_insertion_point(destructor:yb.master.CreateUDTypeResponsePB)
23757
92
  SharedDtor();
23758
92
}
23759
23760
92
void CreateUDTypeResponsePB::SharedDtor() {
23761
92
  id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23762
92
  if (this != internal_default_instance()) delete error_;
23763
92
}
23764
23765
0
void CreateUDTypeResponsePB::SetCachedSize(int size) const {
23766
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23767
0
  _cached_size_ = size;
23768
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
23769
0
}
23770
0
const ::google::protobuf::Descriptor* CreateUDTypeResponsePB::descriptor() {
23771
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
23772
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
23773
0
}
23774
23775
0
const CreateUDTypeResponsePB& CreateUDTypeResponsePB::default_instance() {
23776
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsCreateUDTypeResponsePB();
23777
0
  return *internal_default_instance();
23778
0
}
23779
23780
0
CreateUDTypeResponsePB* CreateUDTypeResponsePB::New(::google::protobuf::Arena* arena) const {
23781
0
  CreateUDTypeResponsePB* n = new CreateUDTypeResponsePB;
23782
0
  if (arena != NULL) {
23783
0
    arena->Own(n);
23784
0
  }
23785
0
  return n;
23786
0
}
23787
23788
46
void CreateUDTypeResponsePB::Clear() {
23789
// @@protoc_insertion_point(message_clear_start:yb.master.CreateUDTypeResponsePB)
23790
46
  ::google::protobuf::uint32 cached_has_bits = 0;
23791
  // Prevent compiler warnings about cached_has_bits being unused
23792
46
  (void) cached_has_bits;
23793
23794
46
  cached_has_bits = _has_bits_[0];
23795
46
  if (cached_has_bits & 3u) {
23796
0
    if (cached_has_bits & 0x00000001u) {
23797
0
      GOOGLE_DCHECK(!id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
23798
0
      (*id_.UnsafeRawStringPointer())->clear();
23799
0
    }
23800
0
    if (cached_has_bits & 0x00000002u) {
23801
0
      GOOGLE_DCHECK(error_ != NULL);
23802
0
      error_->Clear();
23803
0
    }
23804
0
  }
23805
46
  _has_bits_.Clear();
23806
46
  _internal_metadata_.Clear();
23807
46
}
23808
23809
bool CreateUDTypeResponsePB::MergePartialFromCodedStream(
23810
46
    ::google::protobuf::io::CodedInputStream* input) {
23811
46
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
23812
46
  ::google::protobuf::uint32 tag;
23813
  // @@protoc_insertion_point(parse_start:yb.master.CreateUDTypeResponsePB)
23814
92
  for (;;) {
23815
92
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
23816
92
    tag = p.first;
23817
92
    if (!p.second) goto handle_unusual;
23818
46
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
23819
      // optional .yb.master.MasterErrorPB error = 1;
23820
1
      case 1: {
23821
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
23822
1
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
23823
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
23824
1
               input, mutable_error()));
23825
0
        } else {
23826
0
          goto handle_unusual;
23827
0
        }
23828
1
        break;
23829
1
      }
23830
23831
      // optional bytes id = 2;
23832
45
      case 2: {
23833
45
        if (static_cast< ::google::protobuf::uint8>(tag) ==
23834
45
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
23835
45
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
23836
45
                input, this->mutable_id()));
23837
0
        } else {
23838
0
          goto handle_unusual;
23839
0
        }
23840
45
        break;
23841
46
      }
23842
23843
0
      default: {
23844
46
      handle_unusual:
23845
46
        if (tag == 0) {
23846
46
          goto success;
23847
46
        }
23848
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
23849
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
23850
0
        break;
23851
0
      }
23852
46
    }
23853
46
  }
23854
46
success:
23855
  // @@protoc_insertion_point(parse_success:yb.master.CreateUDTypeResponsePB)
23856
46
  return true;
23857
0
failure:
23858
  // @@protoc_insertion_point(parse_failure:yb.master.CreateUDTypeResponsePB)
23859
0
  return false;
23860
46
#undef DO_
23861
46
}
23862
23863
void CreateUDTypeResponsePB::SerializeWithCachedSizes(
23864
0
    ::google::protobuf::io::CodedOutputStream* output) const {
23865
  // @@protoc_insertion_point(serialize_start:yb.master.CreateUDTypeResponsePB)
23866
0
  ::google::protobuf::uint32 cached_has_bits = 0;
23867
0
  (void) cached_has_bits;
23868
23869
0
  cached_has_bits = _has_bits_[0];
23870
  // optional .yb.master.MasterErrorPB error = 1;
23871
0
  if (cached_has_bits & 0x00000002u) {
23872
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
23873
0
      1, *this->error_, output);
23874
0
  }
23875
23876
  // optional bytes id = 2;
23877
0
  if (cached_has_bits & 0x00000001u) {
23878
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
23879
0
      2, this->id(), output);
23880
0
  }
23881
23882
0
  if (_internal_metadata_.have_unknown_fields()) {
23883
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
23884
0
        _internal_metadata_.unknown_fields(), output);
23885
0
  }
23886
  // @@protoc_insertion_point(serialize_end:yb.master.CreateUDTypeResponsePB)
23887
0
}
23888
23889
::google::protobuf::uint8* CreateUDTypeResponsePB::InternalSerializeWithCachedSizesToArray(
23890
46
    bool deterministic, ::google::protobuf::uint8* target) const {
23891
46
  (void)deterministic; // Unused
23892
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.CreateUDTypeResponsePB)
23893
46
  ::google::protobuf::uint32 cached_has_bits = 0;
23894
46
  (void) cached_has_bits;
23895
23896
46
  cached_has_bits = _has_bits_[0];
23897
  // optional .yb.master.MasterErrorPB error = 1;
23898
46
  if (cached_has_bits & 0x00000002u) {
23899
1
    target = ::google::protobuf::internal::WireFormatLite::
23900
1
      InternalWriteMessageToArray(
23901
1
        1, *this->error_, deterministic, target);
23902
1
  }
23903
23904
  // optional bytes id = 2;
23905
46
  if (cached_has_bits & 0x00000001u) {
23906
45
    target =
23907
45
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
23908
45
        2, this->id(), target);
23909
45
  }
23910
23911
46
  if (_internal_metadata_.have_unknown_fields()) {
23912
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
23913
0
        _internal_metadata_.unknown_fields(), target);
23914
0
  }
23915
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.CreateUDTypeResponsePB)
23916
46
  return target;
23917
46
}
23918
23919
92
size_t CreateUDTypeResponsePB::ByteSizeLong() const {
23920
// @@protoc_insertion_point(message_byte_size_start:yb.master.CreateUDTypeResponsePB)
23921
92
  size_t total_size = 0;
23922
23923
92
  if (_internal_metadata_.have_unknown_fields()) {
23924
0
    total_size +=
23925
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
23926
0
        _internal_metadata_.unknown_fields());
23927
0
  }
23928
92
  if (_has_bits_[0 / 32] & 3u) {
23929
    // optional bytes id = 2;
23930
92
    if (has_id()) {
23931
90
      total_size += 1 +
23932
90
        ::google::protobuf::internal::WireFormatLite::BytesSize(
23933
90
          this->id());
23934
90
    }
23935
23936
    // optional .yb.master.MasterErrorPB error = 1;
23937
92
    if (has_error()) {
23938
2
      total_size += 1 +
23939
2
        ::google::protobuf::internal::WireFormatLite::MessageSize(
23940
2
          *this->error_);
23941
2
    }
23942
23943
92
  }
23944
92
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
23945
92
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23946
92
  _cached_size_ = cached_size;
23947
92
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
23948
92
  return total_size;
23949
92
}
23950
23951
0
void CreateUDTypeResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
23952
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.CreateUDTypeResponsePB)
23953
0
  GOOGLE_DCHECK_NE(&from, this);
23954
0
  const CreateUDTypeResponsePB* source =
23955
0
      ::google::protobuf::internal::DynamicCastToGenerated<const CreateUDTypeResponsePB>(
23956
0
          &from);
23957
0
  if (source == NULL) {
23958
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.CreateUDTypeResponsePB)
23959
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
23960
0
  } else {
23961
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.CreateUDTypeResponsePB)
23962
0
    MergeFrom(*source);
23963
0
  }
23964
0
}
23965
23966
0
void CreateUDTypeResponsePB::MergeFrom(const CreateUDTypeResponsePB& from) {
23967
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.CreateUDTypeResponsePB)
23968
0
  GOOGLE_DCHECK_NE(&from, this);
23969
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
23970
0
  ::google::protobuf::uint32 cached_has_bits = 0;
23971
0
  (void) cached_has_bits;
23972
23973
0
  cached_has_bits = from._has_bits_[0];
23974
0
  if (cached_has_bits & 3u) {
23975
0
    if (cached_has_bits & 0x00000001u) {
23976
0
      set_has_id();
23977
0
      id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
23978
0
    }
23979
0
    if (cached_has_bits & 0x00000002u) {
23980
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
23981
0
    }
23982
0
  }
23983
0
}
23984
23985
0
void CreateUDTypeResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
23986
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.CreateUDTypeResponsePB)
23987
0
  if (&from == this) return;
23988
0
  Clear();
23989
0
  MergeFrom(from);
23990
0
}
23991
23992
0
void CreateUDTypeResponsePB::CopyFrom(const CreateUDTypeResponsePB& from) {
23993
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.CreateUDTypeResponsePB)
23994
0
  if (&from == this) return;
23995
0
  Clear();
23996
0
  MergeFrom(from);
23997
0
}
23998
23999
92
bool CreateUDTypeResponsePB::IsInitialized() const {
24000
92
  if (has_error()) {
24001
2
    if (!this->error_->IsInitialized()) return false;
24002
92
  }
24003
92
  return true;
24004
92
}
24005
24006
0
void CreateUDTypeResponsePB::Swap(CreateUDTypeResponsePB* other) {
24007
0
  if (other == this) return;
24008
0
  InternalSwap(other);
24009
0
}
24010
0
void CreateUDTypeResponsePB::InternalSwap(CreateUDTypeResponsePB* other) {
24011
0
  using std::swap;
24012
0
  id_.Swap(&other->id_);
24013
0
  swap(error_, other->error_);
24014
0
  swap(_has_bits_[0], other->_has_bits_[0]);
24015
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
24016
0
  swap(_cached_size_, other->_cached_size_);
24017
0
}
24018
24019
0
::google::protobuf::Metadata CreateUDTypeResponsePB::GetMetadata() const {
24020
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
24021
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
24022
0
}
24023
24024
24025
// ===================================================================
24026
24027
15.8k
void DeleteUDTypeRequestPB::InitAsDefaultInstance() {
24028
15.8k
  ::yb::master::_DeleteUDTypeRequestPB_default_instance_._instance.get_mutable()->type_ = const_cast< ::yb::master::UDTypeIdentifierPB*>(
24029
15.8k
      ::yb::master::UDTypeIdentifierPB::internal_default_instance());
24030
15.8k
}
24031
#if !defined(_MSC_VER) || _MSC_VER >= 1900
24032
const int DeleteUDTypeRequestPB::kTypeFieldNumber;
24033
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
24034
24035
DeleteUDTypeRequestPB::DeleteUDTypeRequestPB()
24036
15.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
24037
106
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
24038
106
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsDeleteUDTypeRequestPB();
24039
106
  }
24040
15.9k
  SharedCtor();
24041
  // @@protoc_insertion_point(constructor:yb.master.DeleteUDTypeRequestPB)
24042
15.9k
}
24043
DeleteUDTypeRequestPB::DeleteUDTypeRequestPB(const DeleteUDTypeRequestPB& from)
24044
  : ::google::protobuf::Message(),
24045
      _internal_metadata_(NULL),
24046
      _has_bits_(from._has_bits_),
24047
0
      _cached_size_(0) {
24048
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
24049
0
  if (from.has_type()) {
24050
0
    type_ = new ::yb::master::UDTypeIdentifierPB(*from.type_);
24051
0
  } else {
24052
0
    type_ = NULL;
24053
0
  }
24054
  // @@protoc_insertion_point(copy_constructor:yb.master.DeleteUDTypeRequestPB)
24055
0
}
24056
24057
15.9k
void DeleteUDTypeRequestPB::SharedCtor() {
24058
15.9k
  _cached_size_ = 0;
24059
15.9k
  type_ = NULL;
24060
15.9k
}
24061
24062
106
DeleteUDTypeRequestPB::~DeleteUDTypeRequestPB() {
24063
  // @@protoc_insertion_point(destructor:yb.master.DeleteUDTypeRequestPB)
24064
106
  SharedDtor();
24065
106
}
24066
24067
106
void DeleteUDTypeRequestPB::SharedDtor() {
24068
106
  if (this != internal_default_instance()) delete type_;
24069
106
}
24070
24071
0
void DeleteUDTypeRequestPB::SetCachedSize(int size) const {
24072
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24073
0
  _cached_size_ = size;
24074
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
24075
0
}
24076
0
const ::google::protobuf::Descriptor* DeleteUDTypeRequestPB::descriptor() {
24077
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
24078
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
24079
0
}
24080
24081
0
const DeleteUDTypeRequestPB& DeleteUDTypeRequestPB::default_instance() {
24082
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsDeleteUDTypeRequestPB();
24083
0
  return *internal_default_instance();
24084
0
}
24085
24086
0
DeleteUDTypeRequestPB* DeleteUDTypeRequestPB::New(::google::protobuf::Arena* arena) const {
24087
0
  DeleteUDTypeRequestPB* n = new DeleteUDTypeRequestPB;
24088
0
  if (arena != NULL) {
24089
0
    arena->Own(n);
24090
0
  }
24091
0
  return n;
24092
0
}
24093
24094
53
void DeleteUDTypeRequestPB::Clear() {
24095
// @@protoc_insertion_point(message_clear_start:yb.master.DeleteUDTypeRequestPB)
24096
53
  ::google::protobuf::uint32 cached_has_bits = 0;
24097
  // Prevent compiler warnings about cached_has_bits being unused
24098
53
  (void) cached_has_bits;
24099
24100
53
  cached_has_bits = _has_bits_[0];
24101
53
  if (cached_has_bits & 0x00000001u) {
24102
0
    GOOGLE_DCHECK(type_ != NULL);
24103
0
    type_->Clear();
24104
0
  }
24105
53
  _has_bits_.Clear();
24106
53
  _internal_metadata_.Clear();
24107
53
}
24108
24109
bool DeleteUDTypeRequestPB::MergePartialFromCodedStream(
24110
53
    ::google::protobuf::io::CodedInputStream* input) {
24111
53
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
24112
53
  ::google::protobuf::uint32 tag;
24113
  // @@protoc_insertion_point(parse_start:yb.master.DeleteUDTypeRequestPB)
24114
106
  for (;;) {
24115
106
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
24116
106
    tag = p.first;
24117
106
    if (!p.second) goto handle_unusual;
24118
53
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
24119
      // optional .yb.master.UDTypeIdentifierPB type = 1;
24120
53
      case 1: {
24121
53
        if (static_cast< ::google::protobuf::uint8>(tag) ==
24122
53
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
24123
53
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
24124
53
               input, mutable_type()));
24125
0
        } else {
24126
0
          goto handle_unusual;
24127
0
        }
24128
53
        break;
24129
53
      }
24130
24131
0
      default: {
24132
53
      handle_unusual:
24133
53
        if (tag == 0) {
24134
53
          goto success;
24135
53
        }
24136
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
24137
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
24138
0
        break;
24139
0
      }
24140
53
    }
24141
53
  }
24142
53
success:
24143
  // @@protoc_insertion_point(parse_success:yb.master.DeleteUDTypeRequestPB)
24144
53
  return true;
24145
0
failure:
24146
  // @@protoc_insertion_point(parse_failure:yb.master.DeleteUDTypeRequestPB)
24147
0
  return false;
24148
53
#undef DO_
24149
53
}
24150
24151
void DeleteUDTypeRequestPB::SerializeWithCachedSizes(
24152
0
    ::google::protobuf::io::CodedOutputStream* output) const {
24153
  // @@protoc_insertion_point(serialize_start:yb.master.DeleteUDTypeRequestPB)
24154
0
  ::google::protobuf::uint32 cached_has_bits = 0;
24155
0
  (void) cached_has_bits;
24156
24157
0
  cached_has_bits = _has_bits_[0];
24158
  // optional .yb.master.UDTypeIdentifierPB type = 1;
24159
0
  if (cached_has_bits & 0x00000001u) {
24160
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
24161
0
      1, *this->type_, output);
24162
0
  }
24163
24164
0
  if (_internal_metadata_.have_unknown_fields()) {
24165
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
24166
0
        _internal_metadata_.unknown_fields(), output);
24167
0
  }
24168
  // @@protoc_insertion_point(serialize_end:yb.master.DeleteUDTypeRequestPB)
24169
0
}
24170
24171
::google::protobuf::uint8* DeleteUDTypeRequestPB::InternalSerializeWithCachedSizesToArray(
24172
53
    bool deterministic, ::google::protobuf::uint8* target) const {
24173
53
  (void)deterministic; // Unused
24174
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.DeleteUDTypeRequestPB)
24175
53
  ::google::protobuf::uint32 cached_has_bits = 0;
24176
53
  (void) cached_has_bits;
24177
24178
53
  cached_has_bits = _has_bits_[0];
24179
  // optional .yb.master.UDTypeIdentifierPB type = 1;
24180
53
  if (cached_has_bits & 0x00000001u) {
24181
53
    target = ::google::protobuf::internal::WireFormatLite::
24182
53
      InternalWriteMessageToArray(
24183
53
        1, *this->type_, deterministic, target);
24184
53
  }
24185
24186
53
  if (_internal_metadata_.have_unknown_fields()) {
24187
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
24188
0
        _internal_metadata_.unknown_fields(), target);
24189
0
  }
24190
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.DeleteUDTypeRequestPB)
24191
53
  return target;
24192
53
}
24193
24194
106
size_t DeleteUDTypeRequestPB::ByteSizeLong() const {
24195
// @@protoc_insertion_point(message_byte_size_start:yb.master.DeleteUDTypeRequestPB)
24196
106
  size_t total_size = 0;
24197
24198
106
  if (_internal_metadata_.have_unknown_fields()) {
24199
0
    total_size +=
24200
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
24201
0
        _internal_metadata_.unknown_fields());
24202
0
  }
24203
  // optional .yb.master.UDTypeIdentifierPB type = 1;
24204
106
  if (has_type()) {
24205
106
    total_size += 1 +
24206
106
      ::google::protobuf::internal::WireFormatLite::MessageSize(
24207
106
        *this->type_);
24208
106
  }
24209
24210
106
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
24211
106
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24212
106
  _cached_size_ = cached_size;
24213
106
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
24214
106
  return total_size;
24215
106
}
24216
24217
0
void DeleteUDTypeRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
24218
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.DeleteUDTypeRequestPB)
24219
0
  GOOGLE_DCHECK_NE(&from, this);
24220
0
  const DeleteUDTypeRequestPB* source =
24221
0
      ::google::protobuf::internal::DynamicCastToGenerated<const DeleteUDTypeRequestPB>(
24222
0
          &from);
24223
0
  if (source == NULL) {
24224
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.DeleteUDTypeRequestPB)
24225
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
24226
0
  } else {
24227
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.DeleteUDTypeRequestPB)
24228
0
    MergeFrom(*source);
24229
0
  }
24230
0
}
24231
24232
0
void DeleteUDTypeRequestPB::MergeFrom(const DeleteUDTypeRequestPB& from) {
24233
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.DeleteUDTypeRequestPB)
24234
0
  GOOGLE_DCHECK_NE(&from, this);
24235
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
24236
0
  ::google::protobuf::uint32 cached_has_bits = 0;
24237
0
  (void) cached_has_bits;
24238
24239
0
  if (from.has_type()) {
24240
0
    mutable_type()->::yb::master::UDTypeIdentifierPB::MergeFrom(from.type());
24241
0
  }
24242
0
}
24243
24244
0
void DeleteUDTypeRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
24245
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.DeleteUDTypeRequestPB)
24246
0
  if (&from == this) return;
24247
0
  Clear();
24248
0
  MergeFrom(from);
24249
0
}
24250
24251
0
void DeleteUDTypeRequestPB::CopyFrom(const DeleteUDTypeRequestPB& from) {
24252
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.DeleteUDTypeRequestPB)
24253
0
  if (&from == this) return;
24254
0
  Clear();
24255
0
  MergeFrom(from);
24256
0
}
24257
24258
106
bool DeleteUDTypeRequestPB::IsInitialized() const {
24259
106
  return true;
24260
106
}
24261
24262
0
void DeleteUDTypeRequestPB::Swap(DeleteUDTypeRequestPB* other) {
24263
0
  if (other == this) return;
24264
0
  InternalSwap(other);
24265
0
}
24266
0
void DeleteUDTypeRequestPB::InternalSwap(DeleteUDTypeRequestPB* other) {
24267
0
  using std::swap;
24268
0
  swap(type_, other->type_);
24269
0
  swap(_has_bits_[0], other->_has_bits_[0]);
24270
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
24271
0
  swap(_cached_size_, other->_cached_size_);
24272
0
}
24273
24274
163
::google::protobuf::Metadata DeleteUDTypeRequestPB::GetMetadata() const {
24275
163
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
24276
163
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
24277
163
}
24278
24279
24280
// ===================================================================
24281
24282
15.8k
void DeleteUDTypeResponsePB::InitAsDefaultInstance() {
24283
15.8k
  ::yb::master::_DeleteUDTypeResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
24284
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
24285
15.8k
}
24286
0
void DeleteUDTypeResponsePB::clear_error() {
24287
0
  if (error_ != NULL) error_->Clear();
24288
0
  clear_has_error();
24289
0
}
24290
#if !defined(_MSC_VER) || _MSC_VER >= 1900
24291
const int DeleteUDTypeResponsePB::kErrorFieldNumber;
24292
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
24293
24294
DeleteUDTypeResponsePB::DeleteUDTypeResponsePB()
24295
15.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
24296
106
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
24297
106
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsDeleteUDTypeResponsePB();
24298
106
  }
24299
15.9k
  SharedCtor();
24300
  // @@protoc_insertion_point(constructor:yb.master.DeleteUDTypeResponsePB)
24301
15.9k
}
24302
DeleteUDTypeResponsePB::DeleteUDTypeResponsePB(const DeleteUDTypeResponsePB& from)
24303
  : ::google::protobuf::Message(),
24304
      _internal_metadata_(NULL),
24305
      _has_bits_(from._has_bits_),
24306
0
      _cached_size_(0) {
24307
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
24308
0
  if (from.has_error()) {
24309
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
24310
0
  } else {
24311
0
    error_ = NULL;
24312
0
  }
24313
  // @@protoc_insertion_point(copy_constructor:yb.master.DeleteUDTypeResponsePB)
24314
0
}
24315
24316
15.9k
void DeleteUDTypeResponsePB::SharedCtor() {
24317
15.9k
  _cached_size_ = 0;
24318
15.9k
  error_ = NULL;
24319
15.9k
}
24320
24321
106
DeleteUDTypeResponsePB::~DeleteUDTypeResponsePB() {
24322
  // @@protoc_insertion_point(destructor:yb.master.DeleteUDTypeResponsePB)
24323
106
  SharedDtor();
24324
106
}
24325
24326
106
void DeleteUDTypeResponsePB::SharedDtor() {
24327
106
  if (this != internal_default_instance()) delete error_;
24328
106
}
24329
24330
0
void DeleteUDTypeResponsePB::SetCachedSize(int size) const {
24331
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24332
0
  _cached_size_ = size;
24333
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
24334
0
}
24335
0
const ::google::protobuf::Descriptor* DeleteUDTypeResponsePB::descriptor() {
24336
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
24337
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
24338
0
}
24339
24340
0
const DeleteUDTypeResponsePB& DeleteUDTypeResponsePB::default_instance() {
24341
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsDeleteUDTypeResponsePB();
24342
0
  return *internal_default_instance();
24343
0
}
24344
24345
0
DeleteUDTypeResponsePB* DeleteUDTypeResponsePB::New(::google::protobuf::Arena* arena) const {
24346
0
  DeleteUDTypeResponsePB* n = new DeleteUDTypeResponsePB;
24347
0
  if (arena != NULL) {
24348
0
    arena->Own(n);
24349
0
  }
24350
0
  return n;
24351
0
}
24352
24353
53
void DeleteUDTypeResponsePB::Clear() {
24354
// @@protoc_insertion_point(message_clear_start:yb.master.DeleteUDTypeResponsePB)
24355
53
  ::google::protobuf::uint32 cached_has_bits = 0;
24356
  // Prevent compiler warnings about cached_has_bits being unused
24357
53
  (void) cached_has_bits;
24358
24359
53
  cached_has_bits = _has_bits_[0];
24360
53
  if (cached_has_bits & 0x00000001u) {
24361
0
    GOOGLE_DCHECK(error_ != NULL);
24362
0
    error_->Clear();
24363
0
  }
24364
53
  _has_bits_.Clear();
24365
53
  _internal_metadata_.Clear();
24366
53
}
24367
24368
bool DeleteUDTypeResponsePB::MergePartialFromCodedStream(
24369
53
    ::google::protobuf::io::CodedInputStream* input) {
24370
8
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
24371
53
  ::google::protobuf::uint32 tag;
24372
  // @@protoc_insertion_point(parse_start:yb.master.DeleteUDTypeResponsePB)
24373
61
  for (;;) {
24374
61
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
24375
61
    tag = p.first;
24376
61
    if (!p.second) goto handle_unusual;
24377
8
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
24378
      // optional .yb.master.MasterErrorPB error = 1;
24379
8
      case 1: {
24380
8
        if (static_cast< ::google::protobuf::uint8>(tag) ==
24381
8
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
24382
8
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
24383
8
               input, mutable_error()));
24384
0
        } else {
24385
0
          goto handle_unusual;
24386
0
        }
24387
8
        break;
24388
53
      }
24389
24390
0
      default: {
24391
53
      handle_unusual:
24392
53
        if (tag == 0) {
24393
53
          goto success;
24394
53
        }
24395
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
24396
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
24397
0
        break;
24398
0
      }
24399
8
    }
24400
8
  }
24401
53
success:
24402
  // @@protoc_insertion_point(parse_success:yb.master.DeleteUDTypeResponsePB)
24403
53
  return true;
24404
0
failure:
24405
  // @@protoc_insertion_point(parse_failure:yb.master.DeleteUDTypeResponsePB)
24406
0
  return false;
24407
53
#undef DO_
24408
53
}
24409
24410
void DeleteUDTypeResponsePB::SerializeWithCachedSizes(
24411
0
    ::google::protobuf::io::CodedOutputStream* output) const {
24412
  // @@protoc_insertion_point(serialize_start:yb.master.DeleteUDTypeResponsePB)
24413
0
  ::google::protobuf::uint32 cached_has_bits = 0;
24414
0
  (void) cached_has_bits;
24415
24416
0
  cached_has_bits = _has_bits_[0];
24417
  // optional .yb.master.MasterErrorPB error = 1;
24418
0
  if (cached_has_bits & 0x00000001u) {
24419
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
24420
0
      1, *this->error_, output);
24421
0
  }
24422
24423
0
  if (_internal_metadata_.have_unknown_fields()) {
24424
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
24425
0
        _internal_metadata_.unknown_fields(), output);
24426
0
  }
24427
  // @@protoc_insertion_point(serialize_end:yb.master.DeleteUDTypeResponsePB)
24428
0
}
24429
24430
::google::protobuf::uint8* DeleteUDTypeResponsePB::InternalSerializeWithCachedSizesToArray(
24431
53
    bool deterministic, ::google::protobuf::uint8* target) const {
24432
53
  (void)deterministic; // Unused
24433
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.DeleteUDTypeResponsePB)
24434
53
  ::google::protobuf::uint32 cached_has_bits = 0;
24435
53
  (void) cached_has_bits;
24436
24437
53
  cached_has_bits = _has_bits_[0];
24438
  // optional .yb.master.MasterErrorPB error = 1;
24439
53
  if (cached_has_bits & 0x00000001u) {
24440
8
    target = ::google::protobuf::internal::WireFormatLite::
24441
8
      InternalWriteMessageToArray(
24442
8
        1, *this->error_, deterministic, target);
24443
8
  }
24444
24445
53
  if (_internal_metadata_.have_unknown_fields()) {
24446
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
24447
0
        _internal_metadata_.unknown_fields(), target);
24448
0
  }
24449
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.DeleteUDTypeResponsePB)
24450
53
  return target;
24451
53
}
24452
24453
106
size_t DeleteUDTypeResponsePB::ByteSizeLong() const {
24454
// @@protoc_insertion_point(message_byte_size_start:yb.master.DeleteUDTypeResponsePB)
24455
106
  size_t total_size = 0;
24456
24457
106
  if (_internal_metadata_.have_unknown_fields()) {
24458
0
    total_size +=
24459
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
24460
0
        _internal_metadata_.unknown_fields());
24461
0
  }
24462
  // optional .yb.master.MasterErrorPB error = 1;
24463
106
  if (has_error()) {
24464
16
    total_size += 1 +
24465
16
      ::google::protobuf::internal::WireFormatLite::MessageSize(
24466
16
        *this->error_);
24467
16
  }
24468
24469
106
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
24470
106
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24471
106
  _cached_size_ = cached_size;
24472
106
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
24473
106
  return total_size;
24474
106
}
24475
24476
0
void DeleteUDTypeResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
24477
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.DeleteUDTypeResponsePB)
24478
0
  GOOGLE_DCHECK_NE(&from, this);
24479
0
  const DeleteUDTypeResponsePB* source =
24480
0
      ::google::protobuf::internal::DynamicCastToGenerated<const DeleteUDTypeResponsePB>(
24481
0
          &from);
24482
0
  if (source == NULL) {
24483
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.DeleteUDTypeResponsePB)
24484
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
24485
0
  } else {
24486
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.DeleteUDTypeResponsePB)
24487
0
    MergeFrom(*source);
24488
0
  }
24489
0
}
24490
24491
0
void DeleteUDTypeResponsePB::MergeFrom(const DeleteUDTypeResponsePB& from) {
24492
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.DeleteUDTypeResponsePB)
24493
0
  GOOGLE_DCHECK_NE(&from, this);
24494
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
24495
0
  ::google::protobuf::uint32 cached_has_bits = 0;
24496
0
  (void) cached_has_bits;
24497
24498
0
  if (from.has_error()) {
24499
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
24500
0
  }
24501
0
}
24502
24503
0
void DeleteUDTypeResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
24504
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.DeleteUDTypeResponsePB)
24505
0
  if (&from == this) return;
24506
0
  Clear();
24507
0
  MergeFrom(from);
24508
0
}
24509
24510
0
void DeleteUDTypeResponsePB::CopyFrom(const DeleteUDTypeResponsePB& from) {
24511
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.DeleteUDTypeResponsePB)
24512
0
  if (&from == this) return;
24513
0
  Clear();
24514
0
  MergeFrom(from);
24515
0
}
24516
24517
106
bool DeleteUDTypeResponsePB::IsInitialized() const {
24518
106
  if (has_error()) {
24519
16
    if (!this->error_->IsInitialized()) return false;
24520
106
  }
24521
106
  return true;
24522
106
}
24523
24524
0
void DeleteUDTypeResponsePB::Swap(DeleteUDTypeResponsePB* other) {
24525
0
  if (other == this) return;
24526
0
  InternalSwap(other);
24527
0
}
24528
0
void DeleteUDTypeResponsePB::InternalSwap(DeleteUDTypeResponsePB* other) {
24529
0
  using std::swap;
24530
0
  swap(error_, other->error_);
24531
0
  swap(_has_bits_[0], other->_has_bits_[0]);
24532
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
24533
0
  swap(_cached_size_, other->_cached_size_);
24534
0
}
24535
24536
0
::google::protobuf::Metadata DeleteUDTypeResponsePB::GetMetadata() const {
24537
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
24538
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
24539
0
}
24540
24541
24542
// ===================================================================
24543
24544
15.8k
void ListUDTypesRequestPB::InitAsDefaultInstance() {
24545
15.8k
  ::yb::master::_ListUDTypesRequestPB_default_instance_._instance.get_mutable()->namespace__ = const_cast< ::yb::master::NamespaceIdentifierPB*>(
24546
15.8k
      ::yb::master::NamespaceIdentifierPB::internal_default_instance());
24547
15.8k
}
24548
0
void ListUDTypesRequestPB::clear_namespace_() {
24549
0
  if (namespace__ != NULL) namespace__->Clear();
24550
0
  clear_has_namespace_();
24551
0
}
24552
#if !defined(_MSC_VER) || _MSC_VER >= 1900
24553
const int ListUDTypesRequestPB::kNamespaceFieldNumber;
24554
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
24555
24556
ListUDTypesRequestPB::ListUDTypesRequestPB()
24557
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
24558
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
24559
0
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsListUDTypesRequestPB();
24560
0
  }
24561
15.8k
  SharedCtor();
24562
  // @@protoc_insertion_point(constructor:yb.master.ListUDTypesRequestPB)
24563
15.8k
}
24564
ListUDTypesRequestPB::ListUDTypesRequestPB(const ListUDTypesRequestPB& from)
24565
  : ::google::protobuf::Message(),
24566
      _internal_metadata_(NULL),
24567
      _has_bits_(from._has_bits_),
24568
0
      _cached_size_(0) {
24569
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
24570
0
  if (from.has_namespace_()) {
24571
0
    namespace__ = new ::yb::master::NamespaceIdentifierPB(*from.namespace__);
24572
0
  } else {
24573
0
    namespace__ = NULL;
24574
0
  }
24575
  // @@protoc_insertion_point(copy_constructor:yb.master.ListUDTypesRequestPB)
24576
0
}
24577
24578
15.8k
void ListUDTypesRequestPB::SharedCtor() {
24579
15.8k
  _cached_size_ = 0;
24580
15.8k
  namespace__ = NULL;
24581
15.8k
}
24582
24583
0
ListUDTypesRequestPB::~ListUDTypesRequestPB() {
24584
  // @@protoc_insertion_point(destructor:yb.master.ListUDTypesRequestPB)
24585
0
  SharedDtor();
24586
0
}
24587
24588
0
void ListUDTypesRequestPB::SharedDtor() {
24589
0
  if (this != internal_default_instance()) delete namespace__;
24590
0
}
24591
24592
0
void ListUDTypesRequestPB::SetCachedSize(int size) const {
24593
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24594
0
  _cached_size_ = size;
24595
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
24596
0
}
24597
0
const ::google::protobuf::Descriptor* ListUDTypesRequestPB::descriptor() {
24598
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
24599
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
24600
0
}
24601
24602
0
const ListUDTypesRequestPB& ListUDTypesRequestPB::default_instance() {
24603
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsListUDTypesRequestPB();
24604
0
  return *internal_default_instance();
24605
0
}
24606
24607
0
ListUDTypesRequestPB* ListUDTypesRequestPB::New(::google::protobuf::Arena* arena) const {
24608
0
  ListUDTypesRequestPB* n = new ListUDTypesRequestPB;
24609
0
  if (arena != NULL) {
24610
0
    arena->Own(n);
24611
0
  }
24612
0
  return n;
24613
0
}
24614
24615
0
void ListUDTypesRequestPB::Clear() {
24616
// @@protoc_insertion_point(message_clear_start:yb.master.ListUDTypesRequestPB)
24617
0
  ::google::protobuf::uint32 cached_has_bits = 0;
24618
  // Prevent compiler warnings about cached_has_bits being unused
24619
0
  (void) cached_has_bits;
24620
24621
0
  cached_has_bits = _has_bits_[0];
24622
0
  if (cached_has_bits & 0x00000001u) {
24623
0
    GOOGLE_DCHECK(namespace__ != NULL);
24624
0
    namespace__->Clear();
24625
0
  }
24626
0
  _has_bits_.Clear();
24627
0
  _internal_metadata_.Clear();
24628
0
}
24629
24630
bool ListUDTypesRequestPB::MergePartialFromCodedStream(
24631
0
    ::google::protobuf::io::CodedInputStream* input) {
24632
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
24633
0
  ::google::protobuf::uint32 tag;
24634
  // @@protoc_insertion_point(parse_start:yb.master.ListUDTypesRequestPB)
24635
0
  for (;;) {
24636
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
24637
0
    tag = p.first;
24638
0
    if (!p.second) goto handle_unusual;
24639
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
24640
      // optional .yb.master.NamespaceIdentifierPB namespace = 1;
24641
0
      case 1: {
24642
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
24643
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
24644
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
24645
0
               input, mutable_namespace_()));
24646
0
        } else {
24647
0
          goto handle_unusual;
24648
0
        }
24649
0
        break;
24650
0
      }
24651
24652
0
      default: {
24653
0
      handle_unusual:
24654
0
        if (tag == 0) {
24655
0
          goto success;
24656
0
        }
24657
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
24658
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
24659
0
        break;
24660
0
      }
24661
0
    }
24662
0
  }
24663
0
success:
24664
  // @@protoc_insertion_point(parse_success:yb.master.ListUDTypesRequestPB)
24665
0
  return true;
24666
0
failure:
24667
  // @@protoc_insertion_point(parse_failure:yb.master.ListUDTypesRequestPB)
24668
0
  return false;
24669
0
#undef DO_
24670
0
}
24671
24672
void ListUDTypesRequestPB::SerializeWithCachedSizes(
24673
0
    ::google::protobuf::io::CodedOutputStream* output) const {
24674
  // @@protoc_insertion_point(serialize_start:yb.master.ListUDTypesRequestPB)
24675
0
  ::google::protobuf::uint32 cached_has_bits = 0;
24676
0
  (void) cached_has_bits;
24677
24678
0
  cached_has_bits = _has_bits_[0];
24679
  // optional .yb.master.NamespaceIdentifierPB namespace = 1;
24680
0
  if (cached_has_bits & 0x00000001u) {
24681
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
24682
0
      1, *this->namespace__, output);
24683
0
  }
24684
24685
0
  if (_internal_metadata_.have_unknown_fields()) {
24686
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
24687
0
        _internal_metadata_.unknown_fields(), output);
24688
0
  }
24689
  // @@protoc_insertion_point(serialize_end:yb.master.ListUDTypesRequestPB)
24690
0
}
24691
24692
::google::protobuf::uint8* ListUDTypesRequestPB::InternalSerializeWithCachedSizesToArray(
24693
0
    bool deterministic, ::google::protobuf::uint8* target) const {
24694
0
  (void)deterministic; // Unused
24695
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListUDTypesRequestPB)
24696
0
  ::google::protobuf::uint32 cached_has_bits = 0;
24697
0
  (void) cached_has_bits;
24698
24699
0
  cached_has_bits = _has_bits_[0];
24700
  // optional .yb.master.NamespaceIdentifierPB namespace = 1;
24701
0
  if (cached_has_bits & 0x00000001u) {
24702
0
    target = ::google::protobuf::internal::WireFormatLite::
24703
0
      InternalWriteMessageToArray(
24704
0
        1, *this->namespace__, deterministic, target);
24705
0
  }
24706
24707
0
  if (_internal_metadata_.have_unknown_fields()) {
24708
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
24709
0
        _internal_metadata_.unknown_fields(), target);
24710
0
  }
24711
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListUDTypesRequestPB)
24712
0
  return target;
24713
0
}
24714
24715
0
size_t ListUDTypesRequestPB::ByteSizeLong() const {
24716
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListUDTypesRequestPB)
24717
0
  size_t total_size = 0;
24718
24719
0
  if (_internal_metadata_.have_unknown_fields()) {
24720
0
    total_size +=
24721
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
24722
0
        _internal_metadata_.unknown_fields());
24723
0
  }
24724
  // optional .yb.master.NamespaceIdentifierPB namespace = 1;
24725
0
  if (has_namespace_()) {
24726
0
    total_size += 1 +
24727
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
24728
0
        *this->namespace__);
24729
0
  }
24730
24731
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
24732
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24733
0
  _cached_size_ = cached_size;
24734
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
24735
0
  return total_size;
24736
0
}
24737
24738
0
void ListUDTypesRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
24739
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListUDTypesRequestPB)
24740
0
  GOOGLE_DCHECK_NE(&from, this);
24741
0
  const ListUDTypesRequestPB* source =
24742
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListUDTypesRequestPB>(
24743
0
          &from);
24744
0
  if (source == NULL) {
24745
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListUDTypesRequestPB)
24746
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
24747
0
  } else {
24748
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListUDTypesRequestPB)
24749
0
    MergeFrom(*source);
24750
0
  }
24751
0
}
24752
24753
0
void ListUDTypesRequestPB::MergeFrom(const ListUDTypesRequestPB& from) {
24754
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListUDTypesRequestPB)
24755
0
  GOOGLE_DCHECK_NE(&from, this);
24756
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
24757
0
  ::google::protobuf::uint32 cached_has_bits = 0;
24758
0
  (void) cached_has_bits;
24759
24760
0
  if (from.has_namespace_()) {
24761
0
    mutable_namespace_()->::yb::master::NamespaceIdentifierPB::MergeFrom(from.namespace_());
24762
0
  }
24763
0
}
24764
24765
0
void ListUDTypesRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
24766
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListUDTypesRequestPB)
24767
0
  if (&from == this) return;
24768
0
  Clear();
24769
0
  MergeFrom(from);
24770
0
}
24771
24772
0
void ListUDTypesRequestPB::CopyFrom(const ListUDTypesRequestPB& from) {
24773
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListUDTypesRequestPB)
24774
0
  if (&from == this) return;
24775
0
  Clear();
24776
0
  MergeFrom(from);
24777
0
}
24778
24779
0
bool ListUDTypesRequestPB::IsInitialized() const {
24780
0
  return true;
24781
0
}
24782
24783
0
void ListUDTypesRequestPB::Swap(ListUDTypesRequestPB* other) {
24784
0
  if (other == this) return;
24785
0
  InternalSwap(other);
24786
0
}
24787
0
void ListUDTypesRequestPB::InternalSwap(ListUDTypesRequestPB* other) {
24788
0
  using std::swap;
24789
0
  swap(namespace__, other->namespace__);
24790
0
  swap(_has_bits_[0], other->_has_bits_[0]);
24791
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
24792
0
  swap(_cached_size_, other->_cached_size_);
24793
0
}
24794
24795
0
::google::protobuf::Metadata ListUDTypesRequestPB::GetMetadata() const {
24796
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
24797
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
24798
0
}
24799
24800
24801
// ===================================================================
24802
24803
15.8k
void ListUDTypesResponsePB::InitAsDefaultInstance() {
24804
15.8k
  ::yb::master::_ListUDTypesResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
24805
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
24806
15.8k
}
24807
0
void ListUDTypesResponsePB::clear_error() {
24808
0
  if (error_ != NULL) error_->Clear();
24809
0
  clear_has_error();
24810
0
}
24811
#if !defined(_MSC_VER) || _MSC_VER >= 1900
24812
const int ListUDTypesResponsePB::kErrorFieldNumber;
24813
const int ListUDTypesResponsePB::kUdtypesFieldNumber;
24814
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
24815
24816
ListUDTypesResponsePB::ListUDTypesResponsePB()
24817
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
24818
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
24819
0
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsListUDTypesResponsePB();
24820
0
  }
24821
15.8k
  SharedCtor();
24822
  // @@protoc_insertion_point(constructor:yb.master.ListUDTypesResponsePB)
24823
15.8k
}
24824
ListUDTypesResponsePB::ListUDTypesResponsePB(const ListUDTypesResponsePB& from)
24825
  : ::google::protobuf::Message(),
24826
      _internal_metadata_(NULL),
24827
      _has_bits_(from._has_bits_),
24828
      _cached_size_(0),
24829
0
      udtypes_(from.udtypes_) {
24830
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
24831
0
  if (from.has_error()) {
24832
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
24833
0
  } else {
24834
0
    error_ = NULL;
24835
0
  }
24836
  // @@protoc_insertion_point(copy_constructor:yb.master.ListUDTypesResponsePB)
24837
0
}
24838
24839
15.8k
void ListUDTypesResponsePB::SharedCtor() {
24840
15.8k
  _cached_size_ = 0;
24841
15.8k
  error_ = NULL;
24842
15.8k
}
24843
24844
0
ListUDTypesResponsePB::~ListUDTypesResponsePB() {
24845
  // @@protoc_insertion_point(destructor:yb.master.ListUDTypesResponsePB)
24846
0
  SharedDtor();
24847
0
}
24848
24849
0
void ListUDTypesResponsePB::SharedDtor() {
24850
0
  if (this != internal_default_instance()) delete error_;
24851
0
}
24852
24853
0
void ListUDTypesResponsePB::SetCachedSize(int size) const {
24854
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24855
0
  _cached_size_ = size;
24856
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
24857
0
}
24858
0
const ::google::protobuf::Descriptor* ListUDTypesResponsePB::descriptor() {
24859
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
24860
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
24861
0
}
24862
24863
0
const ListUDTypesResponsePB& ListUDTypesResponsePB::default_instance() {
24864
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsListUDTypesResponsePB();
24865
0
  return *internal_default_instance();
24866
0
}
24867
24868
0
ListUDTypesResponsePB* ListUDTypesResponsePB::New(::google::protobuf::Arena* arena) const {
24869
0
  ListUDTypesResponsePB* n = new ListUDTypesResponsePB;
24870
0
  if (arena != NULL) {
24871
0
    arena->Own(n);
24872
0
  }
24873
0
  return n;
24874
0
}
24875
24876
0
void ListUDTypesResponsePB::Clear() {
24877
// @@protoc_insertion_point(message_clear_start:yb.master.ListUDTypesResponsePB)
24878
0
  ::google::protobuf::uint32 cached_has_bits = 0;
24879
  // Prevent compiler warnings about cached_has_bits being unused
24880
0
  (void) cached_has_bits;
24881
24882
0
  udtypes_.Clear();
24883
0
  cached_has_bits = _has_bits_[0];
24884
0
  if (cached_has_bits & 0x00000001u) {
24885
0
    GOOGLE_DCHECK(error_ != NULL);
24886
0
    error_->Clear();
24887
0
  }
24888
0
  _has_bits_.Clear();
24889
0
  _internal_metadata_.Clear();
24890
0
}
24891
24892
bool ListUDTypesResponsePB::MergePartialFromCodedStream(
24893
0
    ::google::protobuf::io::CodedInputStream* input) {
24894
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
24895
0
  ::google::protobuf::uint32 tag;
24896
  // @@protoc_insertion_point(parse_start:yb.master.ListUDTypesResponsePB)
24897
0
  for (;;) {
24898
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
24899
0
    tag = p.first;
24900
0
    if (!p.second) goto handle_unusual;
24901
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
24902
      // optional .yb.master.MasterErrorPB error = 1;
24903
0
      case 1: {
24904
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
24905
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
24906
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
24907
0
               input, mutable_error()));
24908
0
        } else {
24909
0
          goto handle_unusual;
24910
0
        }
24911
0
        break;
24912
0
      }
24913
24914
      // repeated .yb.master.UDTypeInfoPB udtypes = 2;
24915
0
      case 2: {
24916
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
24917
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
24918
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_udtypes()));
24919
0
        } else {
24920
0
          goto handle_unusual;
24921
0
        }
24922
0
        break;
24923
0
      }
24924
24925
0
      default: {
24926
0
      handle_unusual:
24927
0
        if (tag == 0) {
24928
0
          goto success;
24929
0
        }
24930
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
24931
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
24932
0
        break;
24933
0
      }
24934
0
    }
24935
0
  }
24936
0
success:
24937
  // @@protoc_insertion_point(parse_success:yb.master.ListUDTypesResponsePB)
24938
0
  return true;
24939
0
failure:
24940
  // @@protoc_insertion_point(parse_failure:yb.master.ListUDTypesResponsePB)
24941
0
  return false;
24942
0
#undef DO_
24943
0
}
24944
24945
void ListUDTypesResponsePB::SerializeWithCachedSizes(
24946
0
    ::google::protobuf::io::CodedOutputStream* output) const {
24947
  // @@protoc_insertion_point(serialize_start:yb.master.ListUDTypesResponsePB)
24948
0
  ::google::protobuf::uint32 cached_has_bits = 0;
24949
0
  (void) cached_has_bits;
24950
24951
0
  cached_has_bits = _has_bits_[0];
24952
  // optional .yb.master.MasterErrorPB error = 1;
24953
0
  if (cached_has_bits & 0x00000001u) {
24954
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
24955
0
      1, *this->error_, output);
24956
0
  }
24957
24958
  // repeated .yb.master.UDTypeInfoPB udtypes = 2;
24959
0
  for (unsigned int i = 0,
24960
0
      n = static_cast<unsigned int>(this->udtypes_size()); i < n; i++) {
24961
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
24962
0
      2, this->udtypes(static_cast<int>(i)), output);
24963
0
  }
24964
24965
0
  if (_internal_metadata_.have_unknown_fields()) {
24966
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
24967
0
        _internal_metadata_.unknown_fields(), output);
24968
0
  }
24969
  // @@protoc_insertion_point(serialize_end:yb.master.ListUDTypesResponsePB)
24970
0
}
24971
24972
::google::protobuf::uint8* ListUDTypesResponsePB::InternalSerializeWithCachedSizesToArray(
24973
0
    bool deterministic, ::google::protobuf::uint8* target) const {
24974
0
  (void)deterministic; // Unused
24975
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListUDTypesResponsePB)
24976
0
  ::google::protobuf::uint32 cached_has_bits = 0;
24977
0
  (void) cached_has_bits;
24978
24979
0
  cached_has_bits = _has_bits_[0];
24980
  // optional .yb.master.MasterErrorPB error = 1;
24981
0
  if (cached_has_bits & 0x00000001u) {
24982
0
    target = ::google::protobuf::internal::WireFormatLite::
24983
0
      InternalWriteMessageToArray(
24984
0
        1, *this->error_, deterministic, target);
24985
0
  }
24986
24987
  // repeated .yb.master.UDTypeInfoPB udtypes = 2;
24988
0
  for (unsigned int i = 0,
24989
0
      n = static_cast<unsigned int>(this->udtypes_size()); i < n; i++) {
24990
0
    target = ::google::protobuf::internal::WireFormatLite::
24991
0
      InternalWriteMessageToArray(
24992
0
        2, this->udtypes(static_cast<int>(i)), deterministic, target);
24993
0
  }
24994
24995
0
  if (_internal_metadata_.have_unknown_fields()) {
24996
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
24997
0
        _internal_metadata_.unknown_fields(), target);
24998
0
  }
24999
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListUDTypesResponsePB)
25000
0
  return target;
25001
0
}
25002
25003
0
size_t ListUDTypesResponsePB::ByteSizeLong() const {
25004
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListUDTypesResponsePB)
25005
0
  size_t total_size = 0;
25006
25007
0
  if (_internal_metadata_.have_unknown_fields()) {
25008
0
    total_size +=
25009
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
25010
0
        _internal_metadata_.unknown_fields());
25011
0
  }
25012
  // repeated .yb.master.UDTypeInfoPB udtypes = 2;
25013
0
  {
25014
0
    unsigned int count = static_cast<unsigned int>(this->udtypes_size());
25015
0
    total_size += 1UL * count;
25016
0
    for (unsigned int i = 0; i < count; i++) {
25017
0
      total_size +=
25018
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
25019
0
          this->udtypes(static_cast<int>(i)));
25020
0
    }
25021
0
  }
25022
25023
  // optional .yb.master.MasterErrorPB error = 1;
25024
0
  if (has_error()) {
25025
0
    total_size += 1 +
25026
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
25027
0
        *this->error_);
25028
0
  }
25029
25030
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
25031
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
25032
0
  _cached_size_ = cached_size;
25033
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
25034
0
  return total_size;
25035
0
}
25036
25037
0
void ListUDTypesResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
25038
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListUDTypesResponsePB)
25039
0
  GOOGLE_DCHECK_NE(&from, this);
25040
0
  const ListUDTypesResponsePB* source =
25041
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListUDTypesResponsePB>(
25042
0
          &from);
25043
0
  if (source == NULL) {
25044
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListUDTypesResponsePB)
25045
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
25046
0
  } else {
25047
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListUDTypesResponsePB)
25048
0
    MergeFrom(*source);
25049
0
  }
25050
0
}
25051
25052
0
void ListUDTypesResponsePB::MergeFrom(const ListUDTypesResponsePB& from) {
25053
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListUDTypesResponsePB)
25054
0
  GOOGLE_DCHECK_NE(&from, this);
25055
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
25056
0
  ::google::protobuf::uint32 cached_has_bits = 0;
25057
0
  (void) cached_has_bits;
25058
25059
0
  udtypes_.MergeFrom(from.udtypes_);
25060
0
  if (from.has_error()) {
25061
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
25062
0
  }
25063
0
}
25064
25065
0
void ListUDTypesResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
25066
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListUDTypesResponsePB)
25067
0
  if (&from == this) return;
25068
0
  Clear();
25069
0
  MergeFrom(from);
25070
0
}
25071
25072
0
void ListUDTypesResponsePB::CopyFrom(const ListUDTypesResponsePB& from) {
25073
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListUDTypesResponsePB)
25074
0
  if (&from == this) return;
25075
0
  Clear();
25076
0
  MergeFrom(from);
25077
0
}
25078
25079
0
bool ListUDTypesResponsePB::IsInitialized() const {
25080
0
  if (has_error()) {
25081
0
    if (!this->error_->IsInitialized()) return false;
25082
0
  }
25083
0
  return true;
25084
0
}
25085
25086
0
void ListUDTypesResponsePB::Swap(ListUDTypesResponsePB* other) {
25087
0
  if (other == this) return;
25088
0
  InternalSwap(other);
25089
0
}
25090
0
void ListUDTypesResponsePB::InternalSwap(ListUDTypesResponsePB* other) {
25091
0
  using std::swap;
25092
0
  udtypes_.InternalSwap(&other->udtypes_);
25093
0
  swap(error_, other->error_);
25094
0
  swap(_has_bits_[0], other->_has_bits_[0]);
25095
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
25096
0
  swap(_cached_size_, other->_cached_size_);
25097
0
}
25098
25099
0
::google::protobuf::Metadata ListUDTypesResponsePB::GetMetadata() const {
25100
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
25101
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
25102
0
}
25103
25104
25105
// ===================================================================
25106
25107
15.8k
void GetUDTypeInfoRequestPB::InitAsDefaultInstance() {
25108
15.8k
  ::yb::master::_GetUDTypeInfoRequestPB_default_instance_._instance.get_mutable()->type_ = const_cast< ::yb::master::UDTypeIdentifierPB*>(
25109
15.8k
      ::yb::master::UDTypeIdentifierPB::internal_default_instance());
25110
15.8k
}
25111
#if !defined(_MSC_VER) || _MSC_VER >= 1900
25112
const int GetUDTypeInfoRequestPB::kTypeFieldNumber;
25113
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
25114
25115
GetUDTypeInfoRequestPB::GetUDTypeInfoRequestPB()
25116
15.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
25117
110
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
25118
110
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetUDTypeInfoRequestPB();
25119
110
  }
25120
15.9k
  SharedCtor();
25121
  // @@protoc_insertion_point(constructor:yb.master.GetUDTypeInfoRequestPB)
25122
15.9k
}
25123
GetUDTypeInfoRequestPB::GetUDTypeInfoRequestPB(const GetUDTypeInfoRequestPB& from)
25124
  : ::google::protobuf::Message(),
25125
      _internal_metadata_(NULL),
25126
      _has_bits_(from._has_bits_),
25127
0
      _cached_size_(0) {
25128
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
25129
0
  if (from.has_type()) {
25130
0
    type_ = new ::yb::master::UDTypeIdentifierPB(*from.type_);
25131
0
  } else {
25132
0
    type_ = NULL;
25133
0
  }
25134
  // @@protoc_insertion_point(copy_constructor:yb.master.GetUDTypeInfoRequestPB)
25135
0
}
25136
25137
15.9k
void GetUDTypeInfoRequestPB::SharedCtor() {
25138
15.9k
  _cached_size_ = 0;
25139
15.9k
  type_ = NULL;
25140
15.9k
}
25141
25142
110
GetUDTypeInfoRequestPB::~GetUDTypeInfoRequestPB() {
25143
  // @@protoc_insertion_point(destructor:yb.master.GetUDTypeInfoRequestPB)
25144
110
  SharedDtor();
25145
110
}
25146
25147
110
void GetUDTypeInfoRequestPB::SharedDtor() {
25148
110
  if (this != internal_default_instance()) delete type_;
25149
110
}
25150
25151
0
void GetUDTypeInfoRequestPB::SetCachedSize(int size) const {
25152
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
25153
0
  _cached_size_ = size;
25154
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
25155
0
}
25156
0
const ::google::protobuf::Descriptor* GetUDTypeInfoRequestPB::descriptor() {
25157
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
25158
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
25159
0
}
25160
25161
0
const GetUDTypeInfoRequestPB& GetUDTypeInfoRequestPB::default_instance() {
25162
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetUDTypeInfoRequestPB();
25163
0
  return *internal_default_instance();
25164
0
}
25165
25166
0
GetUDTypeInfoRequestPB* GetUDTypeInfoRequestPB::New(::google::protobuf::Arena* arena) const {
25167
0
  GetUDTypeInfoRequestPB* n = new GetUDTypeInfoRequestPB;
25168
0
  if (arena != NULL) {
25169
0
    arena->Own(n);
25170
0
  }
25171
0
  return n;
25172
0
}
25173
25174
55
void GetUDTypeInfoRequestPB::Clear() {
25175
// @@protoc_insertion_point(message_clear_start:yb.master.GetUDTypeInfoRequestPB)
25176
55
  ::google::protobuf::uint32 cached_has_bits = 0;
25177
  // Prevent compiler warnings about cached_has_bits being unused
25178
55
  (void) cached_has_bits;
25179
25180
55
  cached_has_bits = _has_bits_[0];
25181
55
  if (cached_has_bits & 0x00000001u) {
25182
0
    GOOGLE_DCHECK(type_ != NULL);
25183
0
    type_->Clear();
25184
0
  }
25185
55
  _has_bits_.Clear();
25186
55
  _internal_metadata_.Clear();
25187
55
}
25188
25189
bool GetUDTypeInfoRequestPB::MergePartialFromCodedStream(
25190
55
    ::google::protobuf::io::CodedInputStream* input) {
25191
55
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
25192
55
  ::google::protobuf::uint32 tag;
25193
  // @@protoc_insertion_point(parse_start:yb.master.GetUDTypeInfoRequestPB)
25194
110
  for (;;) {
25195
110
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
25196
110
    tag = p.first;
25197
110
    if (!p.second) goto handle_unusual;
25198
55
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
25199
      // optional .yb.master.UDTypeIdentifierPB type = 1;
25200
55
      case 1: {
25201
55
        if (static_cast< ::google::protobuf::uint8>(tag) ==
25202
55
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
25203
55
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
25204
55
               input, mutable_type()));
25205
0
        } else {
25206
0
          goto handle_unusual;
25207
0
        }
25208
55
        break;
25209
55
      }
25210
25211
0
      default: {
25212
55
      handle_unusual:
25213
55
        if (tag == 0) {
25214
55
          goto success;
25215
55
        }
25216
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
25217
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
25218
0
        break;
25219
0
      }
25220
55
    }
25221
55
  }
25222
55
success:
25223
  // @@protoc_insertion_point(parse_success:yb.master.GetUDTypeInfoRequestPB)
25224
55
  return true;
25225
0
failure:
25226
  // @@protoc_insertion_point(parse_failure:yb.master.GetUDTypeInfoRequestPB)
25227
0
  return false;
25228
55
#undef DO_
25229
55
}
25230
25231
void GetUDTypeInfoRequestPB::SerializeWithCachedSizes(
25232
0
    ::google::protobuf::io::CodedOutputStream* output) const {
25233
  // @@protoc_insertion_point(serialize_start:yb.master.GetUDTypeInfoRequestPB)
25234
0
  ::google::protobuf::uint32 cached_has_bits = 0;
25235
0
  (void) cached_has_bits;
25236
25237
0
  cached_has_bits = _has_bits_[0];
25238
  // optional .yb.master.UDTypeIdentifierPB type = 1;
25239
0
  if (cached_has_bits & 0x00000001u) {
25240
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
25241
0
      1, *this->type_, output);
25242
0
  }
25243
25244
0
  if (_internal_metadata_.have_unknown_fields()) {
25245
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
25246
0
        _internal_metadata_.unknown_fields(), output);
25247
0
  }
25248
  // @@protoc_insertion_point(serialize_end:yb.master.GetUDTypeInfoRequestPB)
25249
0
}
25250
25251
::google::protobuf::uint8* GetUDTypeInfoRequestPB::InternalSerializeWithCachedSizesToArray(
25252
55
    bool deterministic, ::google::protobuf::uint8* target) const {
25253
55
  (void)deterministic; // Unused
25254
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetUDTypeInfoRequestPB)
25255
55
  ::google::protobuf::uint32 cached_has_bits = 0;
25256
55
  (void) cached_has_bits;
25257
25258
55
  cached_has_bits = _has_bits_[0];
25259
  // optional .yb.master.UDTypeIdentifierPB type = 1;
25260
55
  if (cached_has_bits & 0x00000001u) {
25261
55
    target = ::google::protobuf::internal::WireFormatLite::
25262
55
      InternalWriteMessageToArray(
25263
55
        1, *this->type_, deterministic, target);
25264
55
  }
25265
25266
55
  if (_internal_metadata_.have_unknown_fields()) {
25267
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
25268
0
        _internal_metadata_.unknown_fields(), target);
25269
0
  }
25270
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetUDTypeInfoRequestPB)
25271
55
  return target;
25272
55
}
25273
25274
110
size_t GetUDTypeInfoRequestPB::ByteSizeLong() const {
25275
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetUDTypeInfoRequestPB)
25276
110
  size_t total_size = 0;
25277
25278
110
  if (_internal_metadata_.have_unknown_fields()) {
25279
0
    total_size +=
25280
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
25281
0
        _internal_metadata_.unknown_fields());
25282
0
  }
25283
  // optional .yb.master.UDTypeIdentifierPB type = 1;
25284
110
  if (has_type()) {
25285
110
    total_size += 1 +
25286
110
      ::google::protobuf::internal::WireFormatLite::MessageSize(
25287
110
        *this->type_);
25288
110
  }
25289
25290
110
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
25291
110
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
25292
110
  _cached_size_ = cached_size;
25293
110
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
25294
110
  return total_size;
25295
110
}
25296
25297
0
void GetUDTypeInfoRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
25298
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetUDTypeInfoRequestPB)
25299
0
  GOOGLE_DCHECK_NE(&from, this);
25300
0
  const GetUDTypeInfoRequestPB* source =
25301
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetUDTypeInfoRequestPB>(
25302
0
          &from);
25303
0
  if (source == NULL) {
25304
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetUDTypeInfoRequestPB)
25305
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
25306
0
  } else {
25307
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetUDTypeInfoRequestPB)
25308
0
    MergeFrom(*source);
25309
0
  }
25310
0
}
25311
25312
0
void GetUDTypeInfoRequestPB::MergeFrom(const GetUDTypeInfoRequestPB& from) {
25313
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetUDTypeInfoRequestPB)
25314
0
  GOOGLE_DCHECK_NE(&from, this);
25315
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
25316
0
  ::google::protobuf::uint32 cached_has_bits = 0;
25317
0
  (void) cached_has_bits;
25318
25319
0
  if (from.has_type()) {
25320
0
    mutable_type()->::yb::master::UDTypeIdentifierPB::MergeFrom(from.type());
25321
0
  }
25322
0
}
25323
25324
0
void GetUDTypeInfoRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
25325
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetUDTypeInfoRequestPB)
25326
0
  if (&from == this) return;
25327
0
  Clear();
25328
0
  MergeFrom(from);
25329
0
}
25330
25331
0
void GetUDTypeInfoRequestPB::CopyFrom(const GetUDTypeInfoRequestPB& from) {
25332
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetUDTypeInfoRequestPB)
25333
0
  if (&from == this) return;
25334
0
  Clear();
25335
0
  MergeFrom(from);
25336
0
}
25337
25338
110
bool GetUDTypeInfoRequestPB::IsInitialized() const {
25339
110
  return true;
25340
110
}
25341
25342
0
void GetUDTypeInfoRequestPB::Swap(GetUDTypeInfoRequestPB* other) {
25343
0
  if (other == this) return;
25344
0
  InternalSwap(other);
25345
0
}
25346
0
void GetUDTypeInfoRequestPB::InternalSwap(GetUDTypeInfoRequestPB* other) {
25347
0
  using std::swap;
25348
0
  swap(type_, other->type_);
25349
0
  swap(_has_bits_[0], other->_has_bits_[0]);
25350
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
25351
0
  swap(_cached_size_, other->_cached_size_);
25352
0
}
25353
25354
179
::google::protobuf::Metadata GetUDTypeInfoRequestPB::GetMetadata() const {
25355
179
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
25356
179
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
25357
179
}
25358
25359
25360
// ===================================================================
25361
25362
15.8k
void GetUDTypeInfoResponsePB::InitAsDefaultInstance() {
25363
15.8k
  ::yb::master::_GetUDTypeInfoResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
25364
15.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
25365
15.8k
  ::yb::master::_GetUDTypeInfoResponsePB_default_instance_._instance.get_mutable()->udtype_ = const_cast< ::yb::master::UDTypeInfoPB*>(
25366
15.8k
      ::yb::master::UDTypeInfoPB::internal_default_instance());
25367
15.8k
}
25368
0
void GetUDTypeInfoResponsePB::clear_error() {
25369
0
  if (error_ != NULL) error_->Clear();
25370
0
  clear_has_error();
25371
0
}
25372
#if !defined(_MSC_VER) || _MSC_VER >= 1900
25373
const int GetUDTypeInfoResponsePB::kErrorFieldNumber;
25374
const int GetUDTypeInfoResponsePB::kUdtypeFieldNumber;
25375
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
25376
25377
GetUDTypeInfoResponsePB::GetUDTypeInfoResponsePB()
25378
15.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
25379
110
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
25380
110
    ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetUDTypeInfoResponsePB();
25381
110
  }
25382
15.9k
  SharedCtor();
25383
  // @@protoc_insertion_point(constructor:yb.master.GetUDTypeInfoResponsePB)
25384
15.9k
}
25385
GetUDTypeInfoResponsePB::GetUDTypeInfoResponsePB(const GetUDTypeInfoResponsePB& from)
25386
  : ::google::protobuf::Message(),
25387
      _internal_metadata_(NULL),
25388
      _has_bits_(from._has_bits_),
25389
0
      _cached_size_(0) {
25390
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
25391
0
  if (from.has_error()) {
25392
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
25393
0
  } else {
25394
0
    error_ = NULL;
25395
0
  }
25396
0
  if (from.has_udtype()) {
25397
0
    udtype_ = new ::yb::master::UDTypeInfoPB(*from.udtype_);
25398
0
  } else {
25399
0
    udtype_ = NULL;
25400
0
  }
25401
  // @@protoc_insertion_point(copy_constructor:yb.master.GetUDTypeInfoResponsePB)
25402
0
}
25403
25404
15.9k
void GetUDTypeInfoResponsePB::SharedCtor() {
25405
15.9k
  _cached_size_ = 0;
25406
15.9k
  ::memset(&error_, 0, static_cast<size_t>(
25407
15.9k
      reinterpret_cast<char*>(&udtype_) -
25408
15.9k
      reinterpret_cast<char*>(&error_)) + sizeof(udtype_));
25409
15.9k
}
25410
25411
110
GetUDTypeInfoResponsePB::~GetUDTypeInfoResponsePB() {
25412
  // @@protoc_insertion_point(destructor:yb.master.GetUDTypeInfoResponsePB)
25413
110
  SharedDtor();
25414
110
}
25415
25416
110
void GetUDTypeInfoResponsePB::SharedDtor() {
25417
110
  if (this != internal_default_instance()) delete error_;
25418
110
  if (this != internal_default_instance()) delete udtype_;
25419
110
}
25420
25421
0
void GetUDTypeInfoResponsePB::SetCachedSize(int size) const {
25422
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
25423
0
  _cached_size_ = size;
25424
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
25425
0
}
25426
0
const ::google::protobuf::Descriptor* GetUDTypeInfoResponsePB::descriptor() {
25427
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
25428
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
25429
0
}
25430
25431
0
const GetUDTypeInfoResponsePB& GetUDTypeInfoResponsePB::default_instance() {
25432
0
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetUDTypeInfoResponsePB();
25433
0
  return *internal_default_instance();
25434
0
}
25435
25436
0
GetUDTypeInfoResponsePB* GetUDTypeInfoResponsePB::New(::google::protobuf::Arena* arena) const {
25437
0
  GetUDTypeInfoResponsePB* n = new GetUDTypeInfoResponsePB;
25438
0
  if (arena != NULL) {
25439
0
    arena->Own(n);
25440
0
  }
25441
0
  return n;
25442
0
}
25443
25444
55
void GetUDTypeInfoResponsePB::Clear() {
25445
// @@protoc_insertion_point(message_clear_start:yb.master.GetUDTypeInfoResponsePB)
25446
55
  ::google::protobuf::uint32 cached_has_bits = 0;
25447
  // Prevent compiler warnings about cached_has_bits being unused
25448
55
  (void) cached_has_bits;
25449
25450
55
  cached_has_bits = _has_bits_[0];
25451
55
  if (cached_has_bits & 3u) {
25452
0
    if (cached_has_bits & 0x00000001u) {
25453
0
      GOOGLE_DCHECK(error_ != NULL);
25454
0
      error_->Clear();
25455
0
    }
25456
0
    if (cached_has_bits & 0x00000002u) {
25457
0
      GOOGLE_DCHECK(udtype_ != NULL);
25458
0
      udtype_->Clear();
25459
0
    }
25460
0
  }
25461
55
  _has_bits_.Clear();
25462
55
  _internal_metadata_.Clear();
25463
55
}
25464
25465
bool GetUDTypeInfoResponsePB::MergePartialFromCodedStream(
25466
55
    ::google::protobuf::io::CodedInputStream* input) {
25467
55
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
25468
55
  ::google::protobuf::uint32 tag;
25469
  // @@protoc_insertion_point(parse_start:yb.master.GetUDTypeInfoResponsePB)
25470
110
  for (;;) {
25471
110
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
25472
110
    tag = p.first;
25473
110
    if (!p.second) goto handle_unusual;
25474
55
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
25475
      // optional .yb.master.MasterErrorPB error = 1;
25476
7
      case 1: {
25477
7
        if (static_cast< ::google::protobuf::uint8>(tag) ==
25478
7
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
25479
7
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
25480
7
               input, mutable_error()));
25481
0
        } else {
25482
0
          goto handle_unusual;
25483
0
        }
25484
7
        break;
25485
7
      }
25486
25487
      // optional .yb.master.UDTypeInfoPB udtype = 2;
25488
48
      case 2: {
25489
48
        if (static_cast< ::google::protobuf::uint8>(tag) ==
25490
48
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
25491
48
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
25492
48
               input, mutable_udtype()));
25493
0
        } else {
25494
0
          goto handle_unusual;
25495
0
        }
25496
48
        break;
25497
55
      }
25498
25499
0
      default: {
25500
55
      handle_unusual:
25501
55
        if (tag == 0) {
25502
55
          goto success;
25503
55
        }
25504
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
25505
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
25506
0
        break;
25507
0
      }
25508
55
    }
25509
55
  }
25510
55
success:
25511
  // @@protoc_insertion_point(parse_success:yb.master.GetUDTypeInfoResponsePB)
25512
55
  return true;
25513
0
failure:
25514
  // @@protoc_insertion_point(parse_failure:yb.master.GetUDTypeInfoResponsePB)
25515
0
  return false;
25516
55
#undef DO_
25517
55
}
25518
25519
void GetUDTypeInfoResponsePB::SerializeWithCachedSizes(
25520
0
    ::google::protobuf::io::CodedOutputStream* output) const {
25521
  // @@protoc_insertion_point(serialize_start:yb.master.GetUDTypeInfoResponsePB)
25522
0
  ::google::protobuf::uint32 cached_has_bits = 0;
25523
0
  (void) cached_has_bits;
25524
25525
0
  cached_has_bits = _has_bits_[0];
25526
  // optional .yb.master.MasterErrorPB error = 1;
25527
0
  if (cached_has_bits & 0x00000001u) {
25528
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
25529
0
      1, *this->error_, output);
25530
0
  }
25531
25532
  // optional .yb.master.UDTypeInfoPB udtype = 2;
25533
0
  if (cached_has_bits & 0x00000002u) {
25534
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
25535
0
      2, *this->udtype_, output);
25536
0
  }
25537
25538
0
  if (_internal_metadata_.have_unknown_fields()) {
25539
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
25540
0
        _internal_metadata_.unknown_fields(), output);
25541
0
  }
25542
  // @@protoc_insertion_point(serialize_end:yb.master.GetUDTypeInfoResponsePB)
25543
0
}
25544
25545
::google::protobuf::uint8* GetUDTypeInfoResponsePB::InternalSerializeWithCachedSizesToArray(
25546
55
    bool deterministic, ::google::protobuf::uint8* target) const {
25547
55
  (void)deterministic; // Unused
25548
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.GetUDTypeInfoResponsePB)
25549
55
  ::google::protobuf::uint32 cached_has_bits = 0;
25550
55
  (void) cached_has_bits;
25551
25552
55
  cached_has_bits = _has_bits_[0];
25553
  // optional .yb.master.MasterErrorPB error = 1;
25554
55
  if (cached_has_bits & 0x00000001u) {
25555
7
    target = ::google::protobuf::internal::WireFormatLite::
25556
7
      InternalWriteMessageToArray(
25557
7
        1, *this->error_, deterministic, target);
25558
7
  }
25559
25560
  // optional .yb.master.UDTypeInfoPB udtype = 2;
25561
55
  if (cached_has_bits & 0x00000002u) {
25562
48
    target = ::google::protobuf::internal::WireFormatLite::
25563
48
      InternalWriteMessageToArray(
25564
48
        2, *this->udtype_, deterministic, target);
25565
48
  }
25566
25567
55
  if (_internal_metadata_.have_unknown_fields()) {
25568
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
25569
0
        _internal_metadata_.unknown_fields(), target);
25570
0
  }
25571
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.GetUDTypeInfoResponsePB)
25572
55
  return target;
25573
55
}
25574
25575
110
size_t GetUDTypeInfoResponsePB::ByteSizeLong() const {
25576
// @@protoc_insertion_point(message_byte_size_start:yb.master.GetUDTypeInfoResponsePB)
25577
110
  size_t total_size = 0;
25578
25579
110
  if (_internal_metadata_.have_unknown_fields()) {
25580
0
    total_size +=
25581
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
25582
0
        _internal_metadata_.unknown_fields());
25583
0
  }
25584
110
  if (_has_bits_[0 / 32] & 3u) {
25585
    // optional .yb.master.MasterErrorPB error = 1;
25586
110
    if (has_error()) {
25587
14
      total_size += 1 +
25588
14
        ::google::protobuf::internal::WireFormatLite::MessageSize(
25589
14
          *this->error_);
25590
14
    }
25591
25592
    // optional .yb.master.UDTypeInfoPB udtype = 2;
25593
110
    if (has_udtype()) {
25594
96
      total_size += 1 +
25595
96
        ::google::protobuf::internal::WireFormatLite::MessageSize(
25596
96
          *this->udtype_);
25597
96
    }
25598
25599
110
  }
25600
110
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
25601
110
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
25602
110
  _cached_size_ = cached_size;
25603
110
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
25604
110
  return total_size;
25605
110
}
25606
25607
0
void GetUDTypeInfoResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
25608
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.GetUDTypeInfoResponsePB)
25609
0
  GOOGLE_DCHECK_NE(&from, this);
25610
0
  const GetUDTypeInfoResponsePB* source =
25611
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetUDTypeInfoResponsePB>(
25612
0
          &from);
25613
0
  if (source == NULL) {
25614
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.GetUDTypeInfoResponsePB)
25615
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
25616
0
  } else {
25617
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.GetUDTypeInfoResponsePB)
25618
0
    MergeFrom(*source);
25619
0
  }
25620
0
}
25621
25622
0
void GetUDTypeInfoResponsePB::MergeFrom(const GetUDTypeInfoResponsePB& from) {
25623
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.GetUDTypeInfoResponsePB)
25624
0
  GOOGLE_DCHECK_NE(&from, this);
25625
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
25626
0
  ::google::protobuf::uint32 cached_has_bits = 0;
25627
0
  (void) cached_has_bits;
25628
25629
0
  cached_has_bits = from._has_bits_[0];
25630
0
  if (cached_has_bits & 3u) {
25631
0
    if (cached_has_bits & 0x00000001u) {
25632
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
25633
0
    }
25634
0
    if (cached_has_bits & 0x00000002u) {
25635
0
      mutable_udtype()->::yb::master::UDTypeInfoPB::MergeFrom(from.udtype());
25636
0
    }
25637
0
  }
25638
0
}
25639
25640
0
void GetUDTypeInfoResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
25641
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.GetUDTypeInfoResponsePB)
25642
0
  if (&from == this) return;
25643
0
  Clear();
25644
0
  MergeFrom(from);
25645
0
}
25646
25647
0
void GetUDTypeInfoResponsePB::CopyFrom(const GetUDTypeInfoResponsePB& from) {
25648
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.GetUDTypeInfoResponsePB)
25649
0
  if (&from == this) return;
25650
0
  Clear();
25651
0
  MergeFrom(from);
25652
0
}
25653
25654
110
bool GetUDTypeInfoResponsePB::IsInitialized() const {
25655
110
  if (has_error()) {
25656
14
    if (!this->error_->IsInitialized()) return false;
25657
110
  }
25658
110
  return true;
25659
110
}
25660
25661
0
void GetUDTypeInfoResponsePB::Swap(GetUDTypeInfoResponsePB* other) {
25662
0
  if (other == this) return;
25663
0
  InternalSwap(other);
25664
0
}
25665
0
void GetUDTypeInfoResponsePB::InternalSwap(GetUDTypeInfoResponsePB* other) {
25666
0
  using std::swap;
25667
0
  swap(error_, other->error_);
25668
0
  swap(udtype_, other->udtype_);
25669
0
  swap(_has_bits_[0], other->_has_bits_[0]);
25670
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
25671
0
  swap(_cached_size_, other->_cached_size_);
25672
0
}
25673
25674
0
::google::protobuf::Metadata GetUDTypeInfoResponsePB::GetMetadata() const {
25675
0
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::protobuf_AssignDescriptorsOnce();
25676
0
  return ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::file_level_metadata[kIndexInFileMessages];
25677
0
}
25678
25679
25680
// @@protoc_insertion_point(namespace_scope)
25681
}  // namespace master
25682
}  // namespace yb
25683
25684
// @@protoc_insertion_point(global_scope)