YugabyteDB (2.13.1.0-b60, 21121d69985fbf76aa6958d8f04a9bfa936293b5)

Coverage Report

Created: 2022-03-22 16:43

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/tserver/pg_client.pb.cc
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: yb/tserver/pg_client.proto
3
4
#include "yb/tserver/pg_client.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 tserver {
25
class PgHeartbeatRequestPBDefaultTypeInternal {
26
 public:
27
  ::google::protobuf::internal::ExplicitlyConstructed<PgHeartbeatRequestPB>
28
      _instance;
29
} _PgHeartbeatRequestPB_default_instance_;
30
class PgHeartbeatResponsePBDefaultTypeInternal {
31
 public:
32
  ::google::protobuf::internal::ExplicitlyConstructed<PgHeartbeatResponsePB>
33
      _instance;
34
} _PgHeartbeatResponsePB_default_instance_;
35
class PgObjectIdPBDefaultTypeInternal {
36
 public:
37
  ::google::protobuf::internal::ExplicitlyConstructed<PgObjectIdPB>
38
      _instance;
39
} _PgObjectIdPB_default_instance_;
40
class PgAlterDatabaseRequestPBDefaultTypeInternal {
41
 public:
42
  ::google::protobuf::internal::ExplicitlyConstructed<PgAlterDatabaseRequestPB>
43
      _instance;
44
} _PgAlterDatabaseRequestPB_default_instance_;
45
class PgAlterDatabaseResponsePBDefaultTypeInternal {
46
 public:
47
  ::google::protobuf::internal::ExplicitlyConstructed<PgAlterDatabaseResponsePB>
48
      _instance;
49
} _PgAlterDatabaseResponsePB_default_instance_;
50
class PgBackfillIndexRequestPBDefaultTypeInternal {
51
 public:
52
  ::google::protobuf::internal::ExplicitlyConstructed<PgBackfillIndexRequestPB>
53
      _instance;
54
} _PgBackfillIndexRequestPB_default_instance_;
55
class PgBackfillIndexResponsePBDefaultTypeInternal {
56
 public:
57
  ::google::protobuf::internal::ExplicitlyConstructed<PgBackfillIndexResponsePB>
58
      _instance;
59
} _PgBackfillIndexResponsePB_default_instance_;
60
class PgRenameColumnPBDefaultTypeInternal {
61
 public:
62
  ::google::protobuf::internal::ExplicitlyConstructed<PgRenameColumnPB>
63
      _instance;
64
} _PgRenameColumnPB_default_instance_;
65
class PgRenameTablePBDefaultTypeInternal {
66
 public:
67
  ::google::protobuf::internal::ExplicitlyConstructed<PgRenameTablePB>
68
      _instance;
69
} _PgRenameTablePB_default_instance_;
70
class PgAlterTableRequestPBDefaultTypeInternal {
71
 public:
72
  ::google::protobuf::internal::ExplicitlyConstructed<PgAlterTableRequestPB>
73
      _instance;
74
} _PgAlterTableRequestPB_default_instance_;
75
class PgAlterTableResponsePBDefaultTypeInternal {
76
 public:
77
  ::google::protobuf::internal::ExplicitlyConstructed<PgAlterTableResponsePB>
78
      _instance;
79
} _PgAlterTableResponsePB_default_instance_;
80
class PgCreateDatabaseRequestPBDefaultTypeInternal {
81
 public:
82
  ::google::protobuf::internal::ExplicitlyConstructed<PgCreateDatabaseRequestPB>
83
      _instance;
84
} _PgCreateDatabaseRequestPB_default_instance_;
85
class PgCreateDatabaseResponsePBDefaultTypeInternal {
86
 public:
87
  ::google::protobuf::internal::ExplicitlyConstructed<PgCreateDatabaseResponsePB>
88
      _instance;
89
} _PgCreateDatabaseResponsePB_default_instance_;
90
class PgCreateSequencesDataTableRequestPBDefaultTypeInternal {
91
 public:
92
  ::google::protobuf::internal::ExplicitlyConstructed<PgCreateSequencesDataTableRequestPB>
93
      _instance;
94
} _PgCreateSequencesDataTableRequestPB_default_instance_;
95
class PgCreateSequencesDataTableResponsePBDefaultTypeInternal {
96
 public:
97
  ::google::protobuf::internal::ExplicitlyConstructed<PgCreateSequencesDataTableResponsePB>
98
      _instance;
99
} _PgCreateSequencesDataTableResponsePB_default_instance_;
100
class PgCreateColumnPBDefaultTypeInternal {
101
 public:
102
  ::google::protobuf::internal::ExplicitlyConstructed<PgCreateColumnPB>
103
      _instance;
104
} _PgCreateColumnPB_default_instance_;
105
class PgCreateSplitBoundaryPBDefaultTypeInternal {
106
 public:
107
  ::google::protobuf::internal::ExplicitlyConstructed<PgCreateSplitBoundaryPB>
108
      _instance;
109
} _PgCreateSplitBoundaryPB_default_instance_;
110
class PgCreateTableRequestPBDefaultTypeInternal {
111
 public:
112
  ::google::protobuf::internal::ExplicitlyConstructed<PgCreateTableRequestPB>
113
      _instance;
114
  ::google::protobuf::uint32 colocation_id_;
115
} _PgCreateTableRequestPB_default_instance_;
116
class PgCreateTableResponsePBDefaultTypeInternal {
117
 public:
118
  ::google::protobuf::internal::ExplicitlyConstructed<PgCreateTableResponsePB>
119
      _instance;
120
} _PgCreateTableResponsePB_default_instance_;
121
class PgCreateTablegroupRequestPBDefaultTypeInternal {
122
 public:
123
  ::google::protobuf::internal::ExplicitlyConstructed<PgCreateTablegroupRequestPB>
124
      _instance;
125
} _PgCreateTablegroupRequestPB_default_instance_;
126
class PgCreateTablegroupResponsePBDefaultTypeInternal {
127
 public:
128
  ::google::protobuf::internal::ExplicitlyConstructed<PgCreateTablegroupResponsePB>
129
      _instance;
130
} _PgCreateTablegroupResponsePB_default_instance_;
131
class PgDropDatabaseRequestPBDefaultTypeInternal {
132
 public:
133
  ::google::protobuf::internal::ExplicitlyConstructed<PgDropDatabaseRequestPB>
134
      _instance;
135
} _PgDropDatabaseRequestPB_default_instance_;
136
class PgDropDatabaseResponsePBDefaultTypeInternal {
137
 public:
138
  ::google::protobuf::internal::ExplicitlyConstructed<PgDropDatabaseResponsePB>
139
      _instance;
140
} _PgDropDatabaseResponsePB_default_instance_;
141
class PgDropTableRequestPBDefaultTypeInternal {
142
 public:
143
  ::google::protobuf::internal::ExplicitlyConstructed<PgDropTableRequestPB>
144
      _instance;
145
} _PgDropTableRequestPB_default_instance_;
146
class PgDropTableResponsePBDefaultTypeInternal {
147
 public:
148
  ::google::protobuf::internal::ExplicitlyConstructed<PgDropTableResponsePB>
149
      _instance;
150
} _PgDropTableResponsePB_default_instance_;
151
class PgDropTablegroupRequestPBDefaultTypeInternal {
152
 public:
153
  ::google::protobuf::internal::ExplicitlyConstructed<PgDropTablegroupRequestPB>
154
      _instance;
155
} _PgDropTablegroupRequestPB_default_instance_;
156
class PgDropTablegroupResponsePBDefaultTypeInternal {
157
 public:
158
  ::google::protobuf::internal::ExplicitlyConstructed<PgDropTablegroupResponsePB>
159
      _instance;
160
} _PgDropTablegroupResponsePB_default_instance_;
161
class PgGetCatalogMasterVersionRequestPBDefaultTypeInternal {
162
 public:
163
  ::google::protobuf::internal::ExplicitlyConstructed<PgGetCatalogMasterVersionRequestPB>
164
      _instance;
165
} _PgGetCatalogMasterVersionRequestPB_default_instance_;
166
class PgFinishTransactionRequestPBDefaultTypeInternal {
167
 public:
168
  ::google::protobuf::internal::ExplicitlyConstructed<PgFinishTransactionRequestPB>
169
      _instance;
170
} _PgFinishTransactionRequestPB_default_instance_;
171
class PgFinishTransactionResponsePBDefaultTypeInternal {
172
 public:
173
  ::google::protobuf::internal::ExplicitlyConstructed<PgFinishTransactionResponsePB>
174
      _instance;
175
} _PgFinishTransactionResponsePB_default_instance_;
176
class PgGetCatalogMasterVersionResponsePBDefaultTypeInternal {
177
 public:
178
  ::google::protobuf::internal::ExplicitlyConstructed<PgGetCatalogMasterVersionResponsePB>
179
      _instance;
180
} _PgGetCatalogMasterVersionResponsePB_default_instance_;
181
class PgGetDatabaseInfoRequestPBDefaultTypeInternal {
182
 public:
183
  ::google::protobuf::internal::ExplicitlyConstructed<PgGetDatabaseInfoRequestPB>
184
      _instance;
185
} _PgGetDatabaseInfoRequestPB_default_instance_;
186
class PgGetDatabaseInfoResponsePBDefaultTypeInternal {
187
 public:
188
  ::google::protobuf::internal::ExplicitlyConstructed<PgGetDatabaseInfoResponsePB>
189
      _instance;
190
} _PgGetDatabaseInfoResponsePB_default_instance_;
191
class PgIsInitDbDoneRequestPBDefaultTypeInternal {
192
 public:
193
  ::google::protobuf::internal::ExplicitlyConstructed<PgIsInitDbDoneRequestPB>
194
      _instance;
195
} _PgIsInitDbDoneRequestPB_default_instance_;
196
class PgIsInitDbDoneResponsePBDefaultTypeInternal {
197
 public:
198
  ::google::protobuf::internal::ExplicitlyConstructed<PgIsInitDbDoneResponsePB>
199
      _instance;
200
} _PgIsInitDbDoneResponsePB_default_instance_;
201
class PgListLiveTabletServersRequestPBDefaultTypeInternal {
202
 public:
203
  ::google::protobuf::internal::ExplicitlyConstructed<PgListLiveTabletServersRequestPB>
204
      _instance;
205
} _PgListLiveTabletServersRequestPB_default_instance_;
206
class PgLiveTabletServerPBDefaultTypeInternal {
207
 public:
208
  ::google::protobuf::internal::ExplicitlyConstructed<PgLiveTabletServerPB>
209
      _instance;
210
} _PgLiveTabletServerPB_default_instance_;
211
class PgListLiveTabletServersResponsePBDefaultTypeInternal {
212
 public:
213
  ::google::protobuf::internal::ExplicitlyConstructed<PgListLiveTabletServersResponsePB>
214
      _instance;
215
} _PgListLiveTabletServersResponsePB_default_instance_;
216
class PgOpenTableRequestPBDefaultTypeInternal {
217
 public:
218
  ::google::protobuf::internal::ExplicitlyConstructed<PgOpenTableRequestPB>
219
      _instance;
220
} _PgOpenTableRequestPB_default_instance_;
221
class PgTablePartitionsPBDefaultTypeInternal {
222
 public:
223
  ::google::protobuf::internal::ExplicitlyConstructed<PgTablePartitionsPB>
224
      _instance;
225
} _PgTablePartitionsPB_default_instance_;
226
class PgOpenTableResponsePBDefaultTypeInternal {
227
 public:
228
  ::google::protobuf::internal::ExplicitlyConstructed<PgOpenTableResponsePB>
229
      _instance;
230
} _PgOpenTableResponsePB_default_instance_;
231
class PgPerformOpPBDefaultTypeInternal {
232
 public:
233
  ::google::protobuf::internal::ExplicitlyConstructed<PgPerformOpPB>
234
      _instance;
235
  const ::yb::PgsqlWriteRequestPB* write_;
236
  const ::yb::PgsqlReadRequestPB* read_;
237
} _PgPerformOpPB_default_instance_;
238
class PgPerformOptionsPBDefaultTypeInternal {
239
 public:
240
  ::google::protobuf::internal::ExplicitlyConstructed<PgPerformOptionsPB>
241
      _instance;
242
} _PgPerformOptionsPB_default_instance_;
243
class PgPerformRequestPBDefaultTypeInternal {
244
 public:
245
  ::google::protobuf::internal::ExplicitlyConstructed<PgPerformRequestPB>
246
      _instance;
247
} _PgPerformRequestPB_default_instance_;
248
class PgPerformResponsePBDefaultTypeInternal {
249
 public:
250
  ::google::protobuf::internal::ExplicitlyConstructed<PgPerformResponsePB>
251
      _instance;
252
} _PgPerformResponsePB_default_instance_;
253
class PgReserveOidsRequestPBDefaultTypeInternal {
254
 public:
255
  ::google::protobuf::internal::ExplicitlyConstructed<PgReserveOidsRequestPB>
256
      _instance;
257
} _PgReserveOidsRequestPB_default_instance_;
258
class PgReserveOidsResponsePBDefaultTypeInternal {
259
 public:
260
  ::google::protobuf::internal::ExplicitlyConstructed<PgReserveOidsResponsePB>
261
      _instance;
262
} _PgReserveOidsResponsePB_default_instance_;
263
class PgRollbackSubTransactionRequestPBDefaultTypeInternal {
264
 public:
265
  ::google::protobuf::internal::ExplicitlyConstructed<PgRollbackSubTransactionRequestPB>
266
      _instance;
267
} _PgRollbackSubTransactionRequestPB_default_instance_;
268
class PgRollbackSubTransactionResponsePBDefaultTypeInternal {
269
 public:
270
  ::google::protobuf::internal::ExplicitlyConstructed<PgRollbackSubTransactionResponsePB>
271
      _instance;
272
} _PgRollbackSubTransactionResponsePB_default_instance_;
273
class PgSetActiveSubTransactionRequestPBDefaultTypeInternal {
274
 public:
275
  ::google::protobuf::internal::ExplicitlyConstructed<PgSetActiveSubTransactionRequestPB>
276
      _instance;
277
} _PgSetActiveSubTransactionRequestPB_default_instance_;
278
class PgSetActiveSubTransactionResponsePBDefaultTypeInternal {
279
 public:
280
  ::google::protobuf::internal::ExplicitlyConstructed<PgSetActiveSubTransactionResponsePB>
281
      _instance;
282
} _PgSetActiveSubTransactionResponsePB_default_instance_;
283
class PgTabletServerCountRequestPBDefaultTypeInternal {
284
 public:
285
  ::google::protobuf::internal::ExplicitlyConstructed<PgTabletServerCountRequestPB>
286
      _instance;
287
} _PgTabletServerCountRequestPB_default_instance_;
288
class PgTabletServerCountResponsePBDefaultTypeInternal {
289
 public:
290
  ::google::protobuf::internal::ExplicitlyConstructed<PgTabletServerCountResponsePB>
291
      _instance;
292
} _PgTabletServerCountResponsePB_default_instance_;
293
class PgTruncateTableRequestPBDefaultTypeInternal {
294
 public:
295
  ::google::protobuf::internal::ExplicitlyConstructed<PgTruncateTableRequestPB>
296
      _instance;
297
} _PgTruncateTableRequestPB_default_instance_;
298
class PgTruncateTableResponsePBDefaultTypeInternal {
299
 public:
300
  ::google::protobuf::internal::ExplicitlyConstructed<PgTruncateTableResponsePB>
301
      _instance;
302
} _PgTruncateTableResponsePB_default_instance_;
303
class PgPlacementInfoPBDefaultTypeInternal {
304
 public:
305
  ::google::protobuf::internal::ExplicitlyConstructed<PgPlacementInfoPB>
306
      _instance;
307
} _PgPlacementInfoPB_default_instance_;
308
class PgValidatePlacementRequestPBDefaultTypeInternal {
309
 public:
310
  ::google::protobuf::internal::ExplicitlyConstructed<PgValidatePlacementRequestPB>
311
      _instance;
312
} _PgValidatePlacementRequestPB_default_instance_;
313
class PgValidatePlacementResponsePBDefaultTypeInternal {
314
 public:
315
  ::google::protobuf::internal::ExplicitlyConstructed<PgValidatePlacementResponsePB>
316
      _instance;
317
} _PgValidatePlacementResponsePB_default_instance_;
318
class PgInsertSequenceTupleRequestPBDefaultTypeInternal {
319
 public:
320
  ::google::protobuf::internal::ExplicitlyConstructed<PgInsertSequenceTupleRequestPB>
321
      _instance;
322
} _PgInsertSequenceTupleRequestPB_default_instance_;
323
class PgInsertSequenceTupleResponsePBDefaultTypeInternal {
324
 public:
325
  ::google::protobuf::internal::ExplicitlyConstructed<PgInsertSequenceTupleResponsePB>
326
      _instance;
327
} _PgInsertSequenceTupleResponsePB_default_instance_;
328
class PgUpdateSequenceTupleRequestPBDefaultTypeInternal {
329
 public:
330
  ::google::protobuf::internal::ExplicitlyConstructed<PgUpdateSequenceTupleRequestPB>
331
      _instance;
332
} _PgUpdateSequenceTupleRequestPB_default_instance_;
333
class PgUpdateSequenceTupleResponsePBDefaultTypeInternal {
334
 public:
335
  ::google::protobuf::internal::ExplicitlyConstructed<PgUpdateSequenceTupleResponsePB>
336
      _instance;
337
} _PgUpdateSequenceTupleResponsePB_default_instance_;
338
class PgReadSequenceTupleRequestPBDefaultTypeInternal {
339
 public:
340
  ::google::protobuf::internal::ExplicitlyConstructed<PgReadSequenceTupleRequestPB>
341
      _instance;
342
} _PgReadSequenceTupleRequestPB_default_instance_;
343
class PgReadSequenceTupleResponsePBDefaultTypeInternal {
344
 public:
345
  ::google::protobuf::internal::ExplicitlyConstructed<PgReadSequenceTupleResponsePB>
346
      _instance;
347
} _PgReadSequenceTupleResponsePB_default_instance_;
348
class PgDeleteSequenceTupleRequestPBDefaultTypeInternal {
349
 public:
350
  ::google::protobuf::internal::ExplicitlyConstructed<PgDeleteSequenceTupleRequestPB>
351
      _instance;
352
} _PgDeleteSequenceTupleRequestPB_default_instance_;
353
class PgDeleteSequenceTupleResponsePBDefaultTypeInternal {
354
 public:
355
  ::google::protobuf::internal::ExplicitlyConstructed<PgDeleteSequenceTupleResponsePB>
356
      _instance;
357
} _PgDeleteSequenceTupleResponsePB_default_instance_;
358
class PgDeleteDBSequencesRequestPBDefaultTypeInternal {
359
 public:
360
  ::google::protobuf::internal::ExplicitlyConstructed<PgDeleteDBSequencesRequestPB>
361
      _instance;
362
} _PgDeleteDBSequencesRequestPB_default_instance_;
363
class PgDeleteDBSequencesResponsePBDefaultTypeInternal {
364
 public:
365
  ::google::protobuf::internal::ExplicitlyConstructed<PgDeleteDBSequencesResponsePB>
366
      _instance;
367
} _PgDeleteDBSequencesResponsePB_default_instance_;
368
}  // namespace tserver
369
}  // namespace yb
370
namespace protobuf_yb_2ftserver_2fpg_5fclient_2eproto {
371
26.8k
void InitDefaultsPgHeartbeatRequestPBImpl() {
372
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
373
374
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
375
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
376
#else
377
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
378
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
379
26.8k
  {
380
26.8k
    void* ptr = &::yb::tserver::_PgHeartbeatRequestPB_default_instance_;
381
26.8k
    new (ptr) ::yb::tserver::PgHeartbeatRequestPB();
382
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
383
26.8k
  }
384
26.8k
  ::yb::tserver::PgHeartbeatRequestPB::InitAsDefaultInstance();
385
26.8k
}
386
387
48.4k
void InitDefaultsPgHeartbeatRequestPB() {
388
48.4k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
389
48.4k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgHeartbeatRequestPBImpl);
390
48.4k
}
391
392
26.8k
void InitDefaultsPgHeartbeatResponsePBImpl() {
393
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
394
395
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
396
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
397
#else
398
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
399
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
400
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
401
26.8k
  {
402
26.8k
    void* ptr = &::yb::tserver::_PgHeartbeatResponsePB_default_instance_;
403
26.8k
    new (ptr) ::yb::tserver::PgHeartbeatResponsePB();
404
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
405
26.8k
  }
406
26.8k
  ::yb::tserver::PgHeartbeatResponsePB::InitAsDefaultInstance();
407
26.8k
}
408
409
43.7k
void InitDefaultsPgHeartbeatResponsePB() {
410
43.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
411
43.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgHeartbeatResponsePBImpl);
412
43.7k
}
413
414
26.8k
void InitDefaultsPgObjectIdPBImpl() {
415
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
416
417
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
418
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
419
#else
420
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
421
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
422
26.8k
  {
423
26.8k
    void* ptr = &::yb::tserver::_PgObjectIdPB_default_instance_;
424
26.8k
    new (ptr) ::yb::tserver::PgObjectIdPB();
425
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
426
26.8k
  }
427
26.8k
  ::yb::tserver::PgObjectIdPB::InitAsDefaultInstance();
428
26.8k
}
429
430
270k
void InitDefaultsPgObjectIdPB() {
431
270k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
432
270k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgObjectIdPBImpl);
433
270k
}
434
435
26.8k
void InitDefaultsPgAlterDatabaseRequestPBImpl() {
436
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
437
438
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
439
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
440
#else
441
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
442
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
443
26.8k
  {
444
26.8k
    void* ptr = &::yb::tserver::_PgAlterDatabaseRequestPB_default_instance_;
445
26.8k
    new (ptr) ::yb::tserver::PgAlterDatabaseRequestPB();
446
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
447
26.8k
  }
448
26.8k
  ::yb::tserver::PgAlterDatabaseRequestPB::InitAsDefaultInstance();
449
26.8k
}
450
451
26.8k
void InitDefaultsPgAlterDatabaseRequestPB() {
452
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
453
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgAlterDatabaseRequestPBImpl);
454
26.8k
}
455
456
26.8k
void InitDefaultsPgAlterDatabaseResponsePBImpl() {
457
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
458
459
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
460
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
461
#else
462
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
463
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
464
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
465
26.8k
  {
466
26.8k
    void* ptr = &::yb::tserver::_PgAlterDatabaseResponsePB_default_instance_;
467
26.8k
    new (ptr) ::yb::tserver::PgAlterDatabaseResponsePB();
468
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
469
26.8k
  }
470
26.8k
  ::yb::tserver::PgAlterDatabaseResponsePB::InitAsDefaultInstance();
471
26.8k
}
472
473
26.8k
void InitDefaultsPgAlterDatabaseResponsePB() {
474
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
475
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgAlterDatabaseResponsePBImpl);
476
26.8k
}
477
478
26.8k
void InitDefaultsPgBackfillIndexRequestPBImpl() {
479
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
480
481
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
482
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
483
#else
484
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
485
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
486
26.8k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgObjectIdPB();
487
26.8k
  {
488
26.8k
    void* ptr = &::yb::tserver::_PgBackfillIndexRequestPB_default_instance_;
489
26.8k
    new (ptr) ::yb::tserver::PgBackfillIndexRequestPB();
490
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
491
26.8k
  }
492
26.8k
  ::yb::tserver::PgBackfillIndexRequestPB::InitAsDefaultInstance();
493
26.8k
}
494
495
27.9k
void InitDefaultsPgBackfillIndexRequestPB() {
496
27.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
497
27.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgBackfillIndexRequestPBImpl);
498
27.9k
}
499
500
26.8k
void InitDefaultsPgBackfillIndexResponsePBImpl() {
501
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
502
503
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
504
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
505
#else
506
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
507
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
508
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
509
26.8k
  {
510
26.8k
    void* ptr = &::yb::tserver::_PgBackfillIndexResponsePB_default_instance_;
511
26.8k
    new (ptr) ::yb::tserver::PgBackfillIndexResponsePB();
512
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
513
26.8k
  }
514
26.8k
  ::yb::tserver::PgBackfillIndexResponsePB::InitAsDefaultInstance();
515
26.8k
}
516
517
27.9k
void InitDefaultsPgBackfillIndexResponsePB() {
518
27.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
519
27.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgBackfillIndexResponsePBImpl);
520
27.9k
}
521
522
26.8k
void InitDefaultsPgRenameColumnPBImpl() {
523
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
524
525
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
526
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
527
#else
528
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
529
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
530
26.8k
  {
531
26.8k
    void* ptr = &::yb::tserver::_PgRenameColumnPB_default_instance_;
532
26.8k
    new (ptr) ::yb::tserver::PgRenameColumnPB();
533
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
534
26.8k
  }
535
26.8k
  ::yb::tserver::PgRenameColumnPB::InitAsDefaultInstance();
536
26.8k
}
537
538
53.7k
void InitDefaultsPgRenameColumnPB() {
539
53.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
540
53.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgRenameColumnPBImpl);
541
53.7k
}
542
543
26.8k
void InitDefaultsPgRenameTablePBImpl() {
544
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
545
546
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
547
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
548
#else
549
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
550
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
551
26.8k
  {
552
26.8k
    void* ptr = &::yb::tserver::_PgRenameTablePB_default_instance_;
553
26.8k
    new (ptr) ::yb::tserver::PgRenameTablePB();
554
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
555
26.8k
  }
556
26.8k
  ::yb::tserver::PgRenameTablePB::InitAsDefaultInstance();
557
26.8k
}
558
559
53.9k
void InitDefaultsPgRenameTablePB() {
560
53.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
561
53.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgRenameTablePBImpl);
562
53.9k
}
563
564
26.8k
void InitDefaultsPgAlterTableRequestPBImpl() {
565
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
566
567
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
568
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
569
#else
570
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
571
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
572
26.8k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgObjectIdPB();
573
26.8k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateColumnPB();
574
26.8k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgRenameColumnPB();
575
26.8k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgRenameTablePB();
576
26.8k
  {
577
26.8k
    void* ptr = &::yb::tserver::_PgAlterTableRequestPB_default_instance_;
578
26.8k
    new (ptr) ::yb::tserver::PgAlterTableRequestPB();
579
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
580
26.8k
  }
581
26.8k
  ::yb::tserver::PgAlterTableRequestPB::InitAsDefaultInstance();
582
26.8k
}
583
584
29.0k
void InitDefaultsPgAlterTableRequestPB() {
585
29.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
586
29.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgAlterTableRequestPBImpl);
587
29.0k
}
588
589
26.8k
void InitDefaultsPgAlterTableResponsePBImpl() {
590
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
591
592
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
593
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
594
#else
595
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
596
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
597
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
598
26.8k
  {
599
26.8k
    void* ptr = &::yb::tserver::_PgAlterTableResponsePB_default_instance_;
600
26.8k
    new (ptr) ::yb::tserver::PgAlterTableResponsePB();
601
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
602
26.8k
  }
603
26.8k
  ::yb::tserver::PgAlterTableResponsePB::InitAsDefaultInstance();
604
26.8k
}
605
606
27.9k
void InitDefaultsPgAlterTableResponsePB() {
607
27.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
608
27.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgAlterTableResponsePBImpl);
609
27.9k
}
610
611
26.8k
void InitDefaultsPgCreateDatabaseRequestPBImpl() {
612
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
613
614
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
615
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
616
#else
617
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
618
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
619
26.8k
  {
620
26.8k
    void* ptr = &::yb::tserver::_PgCreateDatabaseRequestPB_default_instance_;
621
26.8k
    new (ptr) ::yb::tserver::PgCreateDatabaseRequestPB();
622
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
623
26.8k
  }
624
26.8k
  ::yb::tserver::PgCreateDatabaseRequestPB::InitAsDefaultInstance();
625
26.8k
}
626
627
27.1k
void InitDefaultsPgCreateDatabaseRequestPB() {
628
27.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
629
27.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgCreateDatabaseRequestPBImpl);
630
27.1k
}
631
632
26.8k
void InitDefaultsPgCreateDatabaseResponsePBImpl() {
633
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
634
635
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
636
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
637
#else
638
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
639
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
640
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
641
26.8k
  {
642
26.8k
    void* ptr = &::yb::tserver::_PgCreateDatabaseResponsePB_default_instance_;
643
26.8k
    new (ptr) ::yb::tserver::PgCreateDatabaseResponsePB();
644
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
645
26.8k
  }
646
26.8k
  ::yb::tserver::PgCreateDatabaseResponsePB::InitAsDefaultInstance();
647
26.8k
}
648
649
27.1k
void InitDefaultsPgCreateDatabaseResponsePB() {
650
27.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
651
27.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgCreateDatabaseResponsePBImpl);
652
27.1k
}
653
654
26.8k
void InitDefaultsPgCreateSequencesDataTableRequestPBImpl() {
655
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
656
657
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
658
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
659
#else
660
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
661
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
662
26.8k
  {
663
26.8k
    void* ptr = &::yb::tserver::_PgCreateSequencesDataTableRequestPB_default_instance_;
664
26.8k
    new (ptr) ::yb::tserver::PgCreateSequencesDataTableRequestPB();
665
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
666
26.8k
  }
667
26.8k
  ::yb::tserver::PgCreateSequencesDataTableRequestPB::InitAsDefaultInstance();
668
26.8k
}
669
670
26.8k
void InitDefaultsPgCreateSequencesDataTableRequestPB() {
671
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
672
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgCreateSequencesDataTableRequestPBImpl);
673
26.8k
}
674
675
26.8k
void InitDefaultsPgCreateSequencesDataTableResponsePBImpl() {
676
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
677
678
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
679
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
680
#else
681
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
682
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
683
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
684
26.8k
  {
685
26.8k
    void* ptr = &::yb::tserver::_PgCreateSequencesDataTableResponsePB_default_instance_;
686
26.8k
    new (ptr) ::yb::tserver::PgCreateSequencesDataTableResponsePB();
687
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
688
26.8k
  }
689
26.8k
  ::yb::tserver::PgCreateSequencesDataTableResponsePB::InitAsDefaultInstance();
690
26.8k
}
691
692
26.8k
void InitDefaultsPgCreateSequencesDataTableResponsePB() {
693
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
694
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgCreateSequencesDataTableResponsePBImpl);
695
26.8k
}
696
697
26.8k
void InitDefaultsPgCreateColumnPBImpl() {
698
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
699
700
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
701
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
702
#else
703
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
704
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
705
26.8k
  {
706
26.8k
    void* ptr = &::yb::tserver::_PgCreateColumnPB_default_instance_;
707
26.8k
    new (ptr) ::yb::tserver::PgCreateColumnPB();
708
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
709
26.8k
  }
710
26.8k
  ::yb::tserver::PgCreateColumnPB::InitAsDefaultInstance();
711
26.8k
}
712
713
108k
void InitDefaultsPgCreateColumnPB() {
714
108k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
715
108k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgCreateColumnPBImpl);
716
108k
}
717
718
26.8k
void InitDefaultsPgCreateSplitBoundaryPBImpl() {
719
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
720
721
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
722
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
723
#else
724
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
725
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
726
26.8k
  protobuf_yb_2fcommon_2fvalue_2eproto::InitDefaultsQLMapValuePB();
727
26.8k
  {
728
26.8k
    void* ptr = &::yb::tserver::_PgCreateSplitBoundaryPB_default_instance_;
729
26.8k
    new (ptr) ::yb::tserver::PgCreateSplitBoundaryPB();
730
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
731
26.8k
  }
732
26.8k
  ::yb::tserver::PgCreateSplitBoundaryPB::InitAsDefaultInstance();
733
26.8k
}
734
735
54.0k
void InitDefaultsPgCreateSplitBoundaryPB() {
736
54.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
737
54.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgCreateSplitBoundaryPBImpl);
738
54.0k
}
739
740
26.8k
void InitDefaultsPgCreateTableRequestPBImpl() {
741
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
742
743
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
744
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
745
#else
746
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
747
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
748
26.8k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgObjectIdPB();
749
26.8k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateColumnPB();
750
26.8k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateSplitBoundaryPB();
751
26.8k
  {
752
26.8k
    void* ptr = &::yb::tserver::_PgCreateTableRequestPB_default_instance_;
753
26.8k
    new (ptr) ::yb::tserver::PgCreateTableRequestPB();
754
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
755
26.8k
  }
756
26.8k
  ::yb::tserver::PgCreateTableRequestPB::InitAsDefaultInstance();
757
26.8k
}
758
759
37.0k
void InitDefaultsPgCreateTableRequestPB() {
760
37.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
761
37.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgCreateTableRequestPBImpl);
762
37.0k
}
763
764
26.8k
void InitDefaultsPgCreateTableResponsePBImpl() {
765
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
766
767
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
768
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
769
#else
770
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
771
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
772
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
773
26.8k
  {
774
26.8k
    void* ptr = &::yb::tserver::_PgCreateTableResponsePB_default_instance_;
775
26.8k
    new (ptr) ::yb::tserver::PgCreateTableResponsePB();
776
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
777
26.8k
  }
778
26.8k
  ::yb::tserver::PgCreateTableResponsePB::InitAsDefaultInstance();
779
26.8k
}
780
781
36.9k
void InitDefaultsPgCreateTableResponsePB() {
782
36.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
783
36.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgCreateTableResponsePBImpl);
784
36.9k
}
785
786
26.8k
void InitDefaultsPgCreateTablegroupRequestPBImpl() {
787
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
788
789
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
790
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
791
#else
792
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
793
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
794
26.8k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgObjectIdPB();
795
26.8k
  {
796
26.8k
    void* ptr = &::yb::tserver::_PgCreateTablegroupRequestPB_default_instance_;
797
26.8k
    new (ptr) ::yb::tserver::PgCreateTablegroupRequestPB();
798
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
799
26.8k
  }
800
26.8k
  ::yb::tserver::PgCreateTablegroupRequestPB::InitAsDefaultInstance();
801
26.8k
}
802
803
26.9k
void InitDefaultsPgCreateTablegroupRequestPB() {
804
26.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
805
26.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgCreateTablegroupRequestPBImpl);
806
26.9k
}
807
808
26.8k
void InitDefaultsPgCreateTablegroupResponsePBImpl() {
809
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
810
811
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
812
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
813
#else
814
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
815
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
816
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
817
26.8k
  {
818
26.8k
    void* ptr = &::yb::tserver::_PgCreateTablegroupResponsePB_default_instance_;
819
26.8k
    new (ptr) ::yb::tserver::PgCreateTablegroupResponsePB();
820
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
821
26.8k
  }
822
26.8k
  ::yb::tserver::PgCreateTablegroupResponsePB::InitAsDefaultInstance();
823
26.8k
}
824
825
26.9k
void InitDefaultsPgCreateTablegroupResponsePB() {
826
26.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
827
26.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgCreateTablegroupResponsePBImpl);
828
26.9k
}
829
830
26.8k
void InitDefaultsPgDropDatabaseRequestPBImpl() {
831
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
832
833
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
834
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
835
#else
836
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
837
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
838
26.8k
  {
839
26.8k
    void* ptr = &::yb::tserver::_PgDropDatabaseRequestPB_default_instance_;
840
26.8k
    new (ptr) ::yb::tserver::PgDropDatabaseRequestPB();
841
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
842
26.8k
  }
843
26.8k
  ::yb::tserver::PgDropDatabaseRequestPB::InitAsDefaultInstance();
844
26.8k
}
845
846
27.0k
void InitDefaultsPgDropDatabaseRequestPB() {
847
27.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
848
27.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgDropDatabaseRequestPBImpl);
849
27.0k
}
850
851
26.8k
void InitDefaultsPgDropDatabaseResponsePBImpl() {
852
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
853
854
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
855
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
856
#else
857
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
858
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
859
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
860
26.8k
  {
861
26.8k
    void* ptr = &::yb::tserver::_PgDropDatabaseResponsePB_default_instance_;
862
26.8k
    new (ptr) ::yb::tserver::PgDropDatabaseResponsePB();
863
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
864
26.8k
  }
865
26.8k
  ::yb::tserver::PgDropDatabaseResponsePB::InitAsDefaultInstance();
866
26.8k
}
867
868
27.0k
void InitDefaultsPgDropDatabaseResponsePB() {
869
27.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
870
27.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgDropDatabaseResponsePBImpl);
871
27.0k
}
872
873
26.8k
void InitDefaultsPgDropTableRequestPBImpl() {
874
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
875
876
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
877
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
878
#else
879
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
880
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
881
26.8k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgObjectIdPB();
882
26.8k
  {
883
26.8k
    void* ptr = &::yb::tserver::_PgDropTableRequestPB_default_instance_;
884
26.8k
    new (ptr) ::yb::tserver::PgDropTableRequestPB();
885
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
886
26.8k
  }
887
26.8k
  ::yb::tserver::PgDropTableRequestPB::InitAsDefaultInstance();
888
26.8k
}
889
890
35.1k
void InitDefaultsPgDropTableRequestPB() {
891
35.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
892
35.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgDropTableRequestPBImpl);
893
35.1k
}
894
895
26.8k
void InitDefaultsPgDropTableResponsePBImpl() {
896
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
897
898
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
899
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
900
#else
901
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
902
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
903
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
904
26.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTableIdentifierPB();
905
26.8k
  {
906
26.8k
    void* ptr = &::yb::tserver::_PgDropTableResponsePB_default_instance_;
907
26.8k
    new (ptr) ::yb::tserver::PgDropTableResponsePB();
908
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
909
26.8k
  }
910
26.8k
  ::yb::tserver::PgDropTableResponsePB::InitAsDefaultInstance();
911
26.8k
}
912
913
35.1k
void InitDefaultsPgDropTableResponsePB() {
914
35.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
915
35.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgDropTableResponsePBImpl);
916
35.1k
}
917
918
26.8k
void InitDefaultsPgDropTablegroupRequestPBImpl() {
919
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
920
921
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
922
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
923
#else
924
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
925
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
926
26.8k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgObjectIdPB();
927
26.8k
  {
928
26.8k
    void* ptr = &::yb::tserver::_PgDropTablegroupRequestPB_default_instance_;
929
26.8k
    new (ptr) ::yb::tserver::PgDropTablegroupRequestPB();
930
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
931
26.8k
  }
932
26.8k
  ::yb::tserver::PgDropTablegroupRequestPB::InitAsDefaultInstance();
933
26.8k
}
934
935
26.9k
void InitDefaultsPgDropTablegroupRequestPB() {
936
26.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
937
26.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgDropTablegroupRequestPBImpl);
938
26.9k
}
939
940
26.8k
void InitDefaultsPgDropTablegroupResponsePBImpl() {
941
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
942
943
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
944
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
945
#else
946
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
947
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
948
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
949
26.8k
  {
950
26.8k
    void* ptr = &::yb::tserver::_PgDropTablegroupResponsePB_default_instance_;
951
26.8k
    new (ptr) ::yb::tserver::PgDropTablegroupResponsePB();
952
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
953
26.8k
  }
954
26.8k
  ::yb::tserver::PgDropTablegroupResponsePB::InitAsDefaultInstance();
955
26.8k
}
956
957
26.9k
void InitDefaultsPgDropTablegroupResponsePB() {
958
26.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
959
26.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgDropTablegroupResponsePBImpl);
960
26.9k
}
961
962
26.8k
void InitDefaultsPgGetCatalogMasterVersionRequestPBImpl() {
963
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
964
965
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
966
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
967
#else
968
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
969
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
970
26.8k
  {
971
26.8k
    void* ptr = &::yb::tserver::_PgGetCatalogMasterVersionRequestPB_default_instance_;
972
26.8k
    new (ptr) ::yb::tserver::PgGetCatalogMasterVersionRequestPB();
973
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
974
26.8k
  }
975
26.8k
  ::yb::tserver::PgGetCatalogMasterVersionRequestPB::InitAsDefaultInstance();
976
26.8k
}
977
978
26.9k
void InitDefaultsPgGetCatalogMasterVersionRequestPB() {
979
26.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
980
26.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgGetCatalogMasterVersionRequestPBImpl);
981
26.9k
}
982
983
26.8k
void InitDefaultsPgFinishTransactionRequestPBImpl() {
984
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
985
986
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
987
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
988
#else
989
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
990
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
991
26.8k
  {
992
26.8k
    void* ptr = &::yb::tserver::_PgFinishTransactionRequestPB_default_instance_;
993
26.8k
    new (ptr) ::yb::tserver::PgFinishTransactionRequestPB();
994
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
995
26.8k
  }
996
26.8k
  ::yb::tserver::PgFinishTransactionRequestPB::InitAsDefaultInstance();
997
26.8k
}
998
999
463k
void InitDefaultsPgFinishTransactionRequestPB() {
1000
463k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1001
463k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgFinishTransactionRequestPBImpl);
1002
463k
}
1003
1004
26.8k
void InitDefaultsPgFinishTransactionResponsePBImpl() {
1005
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1006
1007
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1008
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1009
#else
1010
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1011
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1012
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
1013
26.8k
  {
1014
26.8k
    void* ptr = &::yb::tserver::_PgFinishTransactionResponsePB_default_instance_;
1015
26.8k
    new (ptr) ::yb::tserver::PgFinishTransactionResponsePB();
1016
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1017
26.8k
  }
1018
26.8k
  ::yb::tserver::PgFinishTransactionResponsePB::InitAsDefaultInstance();
1019
26.8k
}
1020
1021
463k
void InitDefaultsPgFinishTransactionResponsePB() {
1022
463k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1023
463k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgFinishTransactionResponsePBImpl);
1024
463k
}
1025
1026
26.8k
void InitDefaultsPgGetCatalogMasterVersionResponsePBImpl() {
1027
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1028
1029
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1030
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1031
#else
1032
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1033
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1034
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
1035
26.8k
  {
1036
26.8k
    void* ptr = &::yb::tserver::_PgGetCatalogMasterVersionResponsePB_default_instance_;
1037
26.8k
    new (ptr) ::yb::tserver::PgGetCatalogMasterVersionResponsePB();
1038
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1039
26.8k
  }
1040
26.8k
  ::yb::tserver::PgGetCatalogMasterVersionResponsePB::InitAsDefaultInstance();
1041
26.8k
}
1042
1043
26.9k
void InitDefaultsPgGetCatalogMasterVersionResponsePB() {
1044
26.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1045
26.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgGetCatalogMasterVersionResponsePBImpl);
1046
26.9k
}
1047
1048
26.8k
void InitDefaultsPgGetDatabaseInfoRequestPBImpl() {
1049
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1050
1051
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1052
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1053
#else
1054
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1055
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1056
26.8k
  {
1057
26.8k
    void* ptr = &::yb::tserver::_PgGetDatabaseInfoRequestPB_default_instance_;
1058
26.8k
    new (ptr) ::yb::tserver::PgGetDatabaseInfoRequestPB();
1059
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1060
26.8k
  }
1061
26.8k
  ::yb::tserver::PgGetDatabaseInfoRequestPB::InitAsDefaultInstance();
1062
26.8k
}
1063
1064
38.3k
void InitDefaultsPgGetDatabaseInfoRequestPB() {
1065
38.3k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1066
38.3k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgGetDatabaseInfoRequestPBImpl);
1067
38.3k
}
1068
1069
26.8k
void InitDefaultsPgGetDatabaseInfoResponsePBImpl() {
1070
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1071
1072
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1073
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1074
#else
1075
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1076
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1077
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
1078
26.8k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetNamespaceInfoResponsePB();
1079
26.8k
  {
1080
26.8k
    void* ptr = &::yb::tserver::_PgGetDatabaseInfoResponsePB_default_instance_;
1081
26.8k
    new (ptr) ::yb::tserver::PgGetDatabaseInfoResponsePB();
1082
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1083
26.8k
  }
1084
26.8k
  ::yb::tserver::PgGetDatabaseInfoResponsePB::InitAsDefaultInstance();
1085
26.8k
}
1086
1087
38.2k
void InitDefaultsPgGetDatabaseInfoResponsePB() {
1088
38.2k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1089
38.2k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgGetDatabaseInfoResponsePBImpl);
1090
38.2k
}
1091
1092
26.8k
void InitDefaultsPgIsInitDbDoneRequestPBImpl() {
1093
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1094
1095
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1096
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1097
#else
1098
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1099
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1100
26.8k
  {
1101
26.8k
    void* ptr = &::yb::tserver::_PgIsInitDbDoneRequestPB_default_instance_;
1102
26.8k
    new (ptr) ::yb::tserver::PgIsInitDbDoneRequestPB();
1103
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1104
26.8k
  }
1105
26.8k
  ::yb::tserver::PgIsInitDbDoneRequestPB::InitAsDefaultInstance();
1106
26.8k
}
1107
1108
26.8k
void InitDefaultsPgIsInitDbDoneRequestPB() {
1109
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1110
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgIsInitDbDoneRequestPBImpl);
1111
26.8k
}
1112
1113
26.8k
void InitDefaultsPgIsInitDbDoneResponsePBImpl() {
1114
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1115
1116
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1117
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1118
#else
1119
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1120
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1121
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
1122
26.8k
  {
1123
26.8k
    void* ptr = &::yb::tserver::_PgIsInitDbDoneResponsePB_default_instance_;
1124
26.8k
    new (ptr) ::yb::tserver::PgIsInitDbDoneResponsePB();
1125
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1126
26.8k
  }
1127
26.8k
  ::yb::tserver::PgIsInitDbDoneResponsePB::InitAsDefaultInstance();
1128
26.8k
}
1129
1130
26.8k
void InitDefaultsPgIsInitDbDoneResponsePB() {
1131
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1132
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgIsInitDbDoneResponsePBImpl);
1133
26.8k
}
1134
1135
26.8k
void InitDefaultsPgListLiveTabletServersRequestPBImpl() {
1136
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1137
1138
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1139
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1140
#else
1141
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1142
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1143
26.8k
  {
1144
26.8k
    void* ptr = &::yb::tserver::_PgListLiveTabletServersRequestPB_default_instance_;
1145
26.8k
    new (ptr) ::yb::tserver::PgListLiveTabletServersRequestPB();
1146
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1147
26.8k
  }
1148
26.8k
  ::yb::tserver::PgListLiveTabletServersRequestPB::InitAsDefaultInstance();
1149
26.8k
}
1150
1151
26.8k
void InitDefaultsPgListLiveTabletServersRequestPB() {
1152
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1153
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgListLiveTabletServersRequestPBImpl);
1154
26.8k
}
1155
1156
26.8k
void InitDefaultsPgLiveTabletServerPBImpl() {
1157
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1158
1159
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1160
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1161
#else
1162
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1163
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1164
26.8k
  {
1165
26.8k
    void* ptr = &::yb::tserver::_PgLiveTabletServerPB_default_instance_;
1166
26.8k
    new (ptr) ::yb::tserver::PgLiveTabletServerPB();
1167
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1168
26.8k
  }
1169
26.8k
  ::yb::tserver::PgLiveTabletServerPB::InitAsDefaultInstance();
1170
26.8k
}
1171
1172
53.7k
void InitDefaultsPgLiveTabletServerPB() {
1173
53.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1174
53.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgLiveTabletServerPBImpl);
1175
53.7k
}
1176
1177
26.8k
void InitDefaultsPgListLiveTabletServersResponsePBImpl() {
1178
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1179
1180
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1181
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1182
#else
1183
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1184
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1185
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
1186
26.8k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgLiveTabletServerPB();
1187
26.8k
  {
1188
26.8k
    void* ptr = &::yb::tserver::_PgListLiveTabletServersResponsePB_default_instance_;
1189
26.8k
    new (ptr) ::yb::tserver::PgListLiveTabletServersResponsePB();
1190
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1191
26.8k
  }
1192
26.8k
  ::yb::tserver::PgListLiveTabletServersResponsePB::InitAsDefaultInstance();
1193
26.8k
}
1194
1195
26.8k
void InitDefaultsPgListLiveTabletServersResponsePB() {
1196
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1197
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgListLiveTabletServersResponsePBImpl);
1198
26.8k
}
1199
1200
26.8k
void InitDefaultsPgOpenTableRequestPBImpl() {
1201
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1202
1203
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1204
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1205
#else
1206
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1207
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1208
26.8k
  {
1209
26.8k
    void* ptr = &::yb::tserver::_PgOpenTableRequestPB_default_instance_;
1210
26.8k
    new (ptr) ::yb::tserver::PgOpenTableRequestPB();
1211
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1212
26.8k
  }
1213
26.8k
  ::yb::tserver::PgOpenTableRequestPB::InitAsDefaultInstance();
1214
26.8k
}
1215
1216
410k
void InitDefaultsPgOpenTableRequestPB() {
1217
410k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1218
410k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgOpenTableRequestPBImpl);
1219
410k
}
1220
1221
26.8k
void InitDefaultsPgTablePartitionsPBImpl() {
1222
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1223
1224
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1225
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1226
#else
1227
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1228
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1229
26.8k
  {
1230
26.8k
    void* ptr = &::yb::tserver::_PgTablePartitionsPB_default_instance_;
1231
26.8k
    new (ptr) ::yb::tserver::PgTablePartitionsPB();
1232
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1233
26.8k
  }
1234
26.8k
  ::yb::tserver::PgTablePartitionsPB::InitAsDefaultInstance();
1235
26.8k
}
1236
1237
517k
void InitDefaultsPgTablePartitionsPB() {
1238
517k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1239
517k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgTablePartitionsPBImpl);
1240
517k
}
1241
1242
26.8k
void InitDefaultsPgOpenTableResponsePBImpl() {
1243
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1244
1245
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1246
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1247
#else
1248
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1249
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1250
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
1251
26.8k
  protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::InitDefaultsGetTableSchemaResponsePB();
1252
26.8k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgTablePartitionsPB();
1253
26.8k
  {
1254
26.8k
    void* ptr = &::yb::tserver::_PgOpenTableResponsePB_default_instance_;
1255
26.8k
    new (ptr) ::yb::tserver::PgOpenTableResponsePB();
1256
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1257
26.8k
  }
1258
26.8k
  ::yb::tserver::PgOpenTableResponsePB::InitAsDefaultInstance();
1259
26.8k
}
1260
1261
410k
void InitDefaultsPgOpenTableResponsePB() {
1262
410k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1263
410k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgOpenTableResponsePBImpl);
1264
410k
}
1265
1266
26.8k
void InitDefaultsPgPerformOpPBImpl() {
1267
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1268
1269
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1270
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1271
#else
1272
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1273
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1274
26.8k
  protobuf_yb_2fcommon_2fpgsql_5fprotocol_2eproto::InitDefaultsPgsqlWriteRequestPB();
1275
26.8k
  protobuf_yb_2fcommon_2fpgsql_5fprotocol_2eproto::InitDefaultsPgsqlReadRequestPB();
1276
26.8k
  {
1277
26.8k
    void* ptr = &::yb::tserver::_PgPerformOpPB_default_instance_;
1278
26.8k
    new (ptr) ::yb::tserver::PgPerformOpPB();
1279
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1280
26.8k
  }
1281
26.8k
  ::yb::tserver::PgPerformOpPB::InitAsDefaultInstance();
1282
26.8k
}
1283
1284
23.1M
void InitDefaultsPgPerformOpPB() {
1285
23.1M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1286
23.1M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgPerformOpPBImpl);
1287
23.1M
}
1288
1289
26.8k
void InitDefaultsPgPerformOptionsPBImpl() {
1290
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1291
1292
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1293
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1294
#else
1295
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1296
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1297
26.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsReadHybridTimePB();
1298
26.8k
  {
1299
26.8k
    void* ptr = &::yb::tserver::_PgPerformOptionsPB_default_instance_;
1300
26.8k
    new (ptr) ::yb::tserver::PgPerformOptionsPB();
1301
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1302
26.8k
  }
1303
26.8k
  ::yb::tserver::PgPerformOptionsPB::InitAsDefaultInstance();
1304
26.8k
}
1305
1306
6.66M
void InitDefaultsPgPerformOptionsPB() {
1307
6.66M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1308
6.66M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgPerformOptionsPBImpl);
1309
6.66M
}
1310
1311
26.8k
void InitDefaultsPgPerformRequestPBImpl() {
1312
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1313
1314
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1315
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1316
#else
1317
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1318
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1319
26.8k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgPerformOptionsPB();
1320
26.8k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgPerformOpPB();
1321
26.8k
  {
1322
26.8k
    void* ptr = &::yb::tserver::_PgPerformRequestPB_default_instance_;
1323
26.8k
    new (ptr) ::yb::tserver::PgPerformRequestPB();
1324
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1325
26.8k
  }
1326
26.8k
  ::yb::tserver::PgPerformRequestPB::InitAsDefaultInstance();
1327
26.8k
}
1328
1329
4.36M
void InitDefaultsPgPerformRequestPB() {
1330
4.36M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1331
4.36M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgPerformRequestPBImpl);
1332
4.36M
}
1333
1334
26.8k
void InitDefaultsPgPerformResponsePBImpl() {
1335
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1336
1337
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1338
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1339
#else
1340
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1341
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1342
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
1343
26.8k
  protobuf_yb_2fcommon_2fpgsql_5fprotocol_2eproto::InitDefaultsPgsqlResponsePB();
1344
26.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsReadHybridTimePB();
1345
26.8k
  {
1346
26.8k
    void* ptr = &::yb::tserver::_PgPerformResponsePB_default_instance_;
1347
26.8k
    new (ptr) ::yb::tserver::PgPerformResponsePB();
1348
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1349
26.8k
  }
1350
26.8k
  ::yb::tserver::PgPerformResponsePB::InitAsDefaultInstance();
1351
26.8k
}
1352
1353
4.36M
void InitDefaultsPgPerformResponsePB() {
1354
4.36M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1355
4.36M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgPerformResponsePBImpl);
1356
4.36M
}
1357
1358
26.8k
void InitDefaultsPgReserveOidsRequestPBImpl() {
1359
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1360
1361
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1362
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1363
#else
1364
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1365
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1366
26.8k
  {
1367
26.8k
    void* ptr = &::yb::tserver::_PgReserveOidsRequestPB_default_instance_;
1368
26.8k
    new (ptr) ::yb::tserver::PgReserveOidsRequestPB();
1369
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1370
26.8k
  }
1371
26.8k
  ::yb::tserver::PgReserveOidsRequestPB::InitAsDefaultInstance();
1372
26.8k
}
1373
1374
28.4k
void InitDefaultsPgReserveOidsRequestPB() {
1375
28.4k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1376
28.4k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgReserveOidsRequestPBImpl);
1377
28.4k
}
1378
1379
26.8k
void InitDefaultsPgReserveOidsResponsePBImpl() {
1380
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1381
1382
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1383
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1384
#else
1385
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1386
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1387
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
1388
26.8k
  {
1389
26.8k
    void* ptr = &::yb::tserver::_PgReserveOidsResponsePB_default_instance_;
1390
26.8k
    new (ptr) ::yb::tserver::PgReserveOidsResponsePB();
1391
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1392
26.8k
  }
1393
26.8k
  ::yb::tserver::PgReserveOidsResponsePB::InitAsDefaultInstance();
1394
26.8k
}
1395
1396
28.4k
void InitDefaultsPgReserveOidsResponsePB() {
1397
28.4k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1398
28.4k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgReserveOidsResponsePBImpl);
1399
28.4k
}
1400
1401
26.8k
void InitDefaultsPgRollbackSubTransactionRequestPBImpl() {
1402
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1403
1404
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1405
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1406
#else
1407
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1408
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1409
26.8k
  {
1410
26.8k
    void* ptr = &::yb::tserver::_PgRollbackSubTransactionRequestPB_default_instance_;
1411
26.8k
    new (ptr) ::yb::tserver::PgRollbackSubTransactionRequestPB();
1412
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1413
26.8k
  }
1414
26.8k
  ::yb::tserver::PgRollbackSubTransactionRequestPB::InitAsDefaultInstance();
1415
26.8k
}
1416
1417
53.9k
void InitDefaultsPgRollbackSubTransactionRequestPB() {
1418
53.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1419
53.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgRollbackSubTransactionRequestPBImpl);
1420
53.9k
}
1421
1422
26.8k
void InitDefaultsPgRollbackSubTransactionResponsePBImpl() {
1423
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1424
1425
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1426
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1427
#else
1428
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1429
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1430
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
1431
26.8k
  {
1432
26.8k
    void* ptr = &::yb::tserver::_PgRollbackSubTransactionResponsePB_default_instance_;
1433
26.8k
    new (ptr) ::yb::tserver::PgRollbackSubTransactionResponsePB();
1434
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1435
26.8k
  }
1436
26.8k
  ::yb::tserver::PgRollbackSubTransactionResponsePB::InitAsDefaultInstance();
1437
26.8k
}
1438
1439
53.9k
void InitDefaultsPgRollbackSubTransactionResponsePB() {
1440
53.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1441
53.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgRollbackSubTransactionResponsePBImpl);
1442
53.9k
}
1443
1444
26.8k
void InitDefaultsPgSetActiveSubTransactionRequestPBImpl() {
1445
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1446
1447
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1448
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1449
#else
1450
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1451
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1452
26.8k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgPerformOptionsPB();
1453
26.8k
  {
1454
26.8k
    void* ptr = &::yb::tserver::_PgSetActiveSubTransactionRequestPB_default_instance_;
1455
26.8k
    new (ptr) ::yb::tserver::PgSetActiveSubTransactionRequestPB();
1456
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1457
26.8k
  }
1458
26.8k
  ::yb::tserver::PgSetActiveSubTransactionRequestPB::InitAsDefaultInstance();
1459
26.8k
}
1460
1461
150k
void InitDefaultsPgSetActiveSubTransactionRequestPB() {
1462
150k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1463
150k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgSetActiveSubTransactionRequestPBImpl);
1464
150k
}
1465
1466
26.8k
void InitDefaultsPgSetActiveSubTransactionResponsePBImpl() {
1467
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1468
1469
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1470
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1471
#else
1472
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1473
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1474
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
1475
26.8k
  {
1476
26.8k
    void* ptr = &::yb::tserver::_PgSetActiveSubTransactionResponsePB_default_instance_;
1477
26.8k
    new (ptr) ::yb::tserver::PgSetActiveSubTransactionResponsePB();
1478
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1479
26.8k
  }
1480
26.8k
  ::yb::tserver::PgSetActiveSubTransactionResponsePB::InitAsDefaultInstance();
1481
26.8k
}
1482
1483
150k
void InitDefaultsPgSetActiveSubTransactionResponsePB() {
1484
150k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1485
150k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgSetActiveSubTransactionResponsePBImpl);
1486
150k
}
1487
1488
26.8k
void InitDefaultsPgTabletServerCountRequestPBImpl() {
1489
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1490
1491
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1492
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1493
#else
1494
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1495
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1496
26.8k
  {
1497
26.8k
    void* ptr = &::yb::tserver::_PgTabletServerCountRequestPB_default_instance_;
1498
26.8k
    new (ptr) ::yb::tserver::PgTabletServerCountRequestPB();
1499
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1500
26.8k
  }
1501
26.8k
  ::yb::tserver::PgTabletServerCountRequestPB::InitAsDefaultInstance();
1502
26.8k
}
1503
1504
27.1k
void InitDefaultsPgTabletServerCountRequestPB() {
1505
27.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1506
27.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgTabletServerCountRequestPBImpl);
1507
27.1k
}
1508
1509
26.8k
void InitDefaultsPgTabletServerCountResponsePBImpl() {
1510
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1511
1512
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1513
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1514
#else
1515
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1516
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1517
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
1518
26.8k
  {
1519
26.8k
    void* ptr = &::yb::tserver::_PgTabletServerCountResponsePB_default_instance_;
1520
26.8k
    new (ptr) ::yb::tserver::PgTabletServerCountResponsePB();
1521
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1522
26.8k
  }
1523
26.8k
  ::yb::tserver::PgTabletServerCountResponsePB::InitAsDefaultInstance();
1524
26.8k
}
1525
1526
27.1k
void InitDefaultsPgTabletServerCountResponsePB() {
1527
27.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1528
27.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgTabletServerCountResponsePBImpl);
1529
27.1k
}
1530
1531
26.8k
void InitDefaultsPgTruncateTableRequestPBImpl() {
1532
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1533
1534
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1535
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1536
#else
1537
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1538
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1539
26.8k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgObjectIdPB();
1540
26.8k
  {
1541
26.8k
    void* ptr = &::yb::tserver::_PgTruncateTableRequestPB_default_instance_;
1542
26.8k
    new (ptr) ::yb::tserver::PgTruncateTableRequestPB();
1543
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1544
26.8k
  }
1545
26.8k
  ::yb::tserver::PgTruncateTableRequestPB::InitAsDefaultInstance();
1546
26.8k
}
1547
1548
28.1k
void InitDefaultsPgTruncateTableRequestPB() {
1549
28.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1550
28.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgTruncateTableRequestPBImpl);
1551
28.1k
}
1552
1553
26.8k
void InitDefaultsPgTruncateTableResponsePBImpl() {
1554
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1555
1556
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1557
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1558
#else
1559
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1560
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1561
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
1562
26.8k
  {
1563
26.8k
    void* ptr = &::yb::tserver::_PgTruncateTableResponsePB_default_instance_;
1564
26.8k
    new (ptr) ::yb::tserver::PgTruncateTableResponsePB();
1565
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1566
26.8k
  }
1567
26.8k
  ::yb::tserver::PgTruncateTableResponsePB::InitAsDefaultInstance();
1568
26.8k
}
1569
1570
28.1k
void InitDefaultsPgTruncateTableResponsePB() {
1571
28.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1572
28.1k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgTruncateTableResponsePBImpl);
1573
28.1k
}
1574
1575
26.8k
void InitDefaultsPgPlacementInfoPBImpl() {
1576
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1577
1578
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1579
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1580
#else
1581
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1582
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1583
26.8k
  {
1584
26.8k
    void* ptr = &::yb::tserver::_PgPlacementInfoPB_default_instance_;
1585
26.8k
    new (ptr) ::yb::tserver::PgPlacementInfoPB();
1586
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1587
26.8k
  }
1588
26.8k
  ::yb::tserver::PgPlacementInfoPB::InitAsDefaultInstance();
1589
26.8k
}
1590
1591
53.7k
void InitDefaultsPgPlacementInfoPB() {
1592
53.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1593
53.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgPlacementInfoPBImpl);
1594
53.7k
}
1595
1596
26.8k
void InitDefaultsPgValidatePlacementRequestPBImpl() {
1597
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1598
1599
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1600
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1601
#else
1602
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1603
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1604
26.8k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgPlacementInfoPB();
1605
26.8k
  {
1606
26.8k
    void* ptr = &::yb::tserver::_PgValidatePlacementRequestPB_default_instance_;
1607
26.8k
    new (ptr) ::yb::tserver::PgValidatePlacementRequestPB();
1608
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1609
26.8k
  }
1610
26.8k
  ::yb::tserver::PgValidatePlacementRequestPB::InitAsDefaultInstance();
1611
26.8k
}
1612
1613
26.8k
void InitDefaultsPgValidatePlacementRequestPB() {
1614
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1615
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgValidatePlacementRequestPBImpl);
1616
26.8k
}
1617
1618
26.8k
void InitDefaultsPgValidatePlacementResponsePBImpl() {
1619
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1620
1621
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1622
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1623
#else
1624
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1625
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1626
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
1627
26.8k
  {
1628
26.8k
    void* ptr = &::yb::tserver::_PgValidatePlacementResponsePB_default_instance_;
1629
26.8k
    new (ptr) ::yb::tserver::PgValidatePlacementResponsePB();
1630
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1631
26.8k
  }
1632
26.8k
  ::yb::tserver::PgValidatePlacementResponsePB::InitAsDefaultInstance();
1633
26.8k
}
1634
1635
26.8k
void InitDefaultsPgValidatePlacementResponsePB() {
1636
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1637
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgValidatePlacementResponsePBImpl);
1638
26.8k
}
1639
1640
26.8k
void InitDefaultsPgInsertSequenceTupleRequestPBImpl() {
1641
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1642
1643
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1644
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1645
#else
1646
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1647
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1648
26.8k
  {
1649
26.8k
    void* ptr = &::yb::tserver::_PgInsertSequenceTupleRequestPB_default_instance_;
1650
26.8k
    new (ptr) ::yb::tserver::PgInsertSequenceTupleRequestPB();
1651
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1652
26.8k
  }
1653
26.8k
  ::yb::tserver::PgInsertSequenceTupleRequestPB::InitAsDefaultInstance();
1654
26.8k
}
1655
1656
27.4k
void InitDefaultsPgInsertSequenceTupleRequestPB() {
1657
27.4k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1658
27.4k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgInsertSequenceTupleRequestPBImpl);
1659
27.4k
}
1660
1661
26.8k
void InitDefaultsPgInsertSequenceTupleResponsePBImpl() {
1662
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1663
1664
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1665
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1666
#else
1667
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1668
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1669
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
1670
26.8k
  {
1671
26.8k
    void* ptr = &::yb::tserver::_PgInsertSequenceTupleResponsePB_default_instance_;
1672
26.8k
    new (ptr) ::yb::tserver::PgInsertSequenceTupleResponsePB();
1673
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1674
26.8k
  }
1675
26.8k
  ::yb::tserver::PgInsertSequenceTupleResponsePB::InitAsDefaultInstance();
1676
26.8k
}
1677
1678
27.4k
void InitDefaultsPgInsertSequenceTupleResponsePB() {
1679
27.4k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1680
27.4k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgInsertSequenceTupleResponsePBImpl);
1681
27.4k
}
1682
1683
26.8k
void InitDefaultsPgUpdateSequenceTupleRequestPBImpl() {
1684
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1685
1686
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1687
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1688
#else
1689
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1690
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1691
26.8k
  {
1692
26.8k
    void* ptr = &::yb::tserver::_PgUpdateSequenceTupleRequestPB_default_instance_;
1693
26.8k
    new (ptr) ::yb::tserver::PgUpdateSequenceTupleRequestPB();
1694
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1695
26.8k
  }
1696
26.8k
  ::yb::tserver::PgUpdateSequenceTupleRequestPB::InitAsDefaultInstance();
1697
26.8k
}
1698
1699
32.8k
void InitDefaultsPgUpdateSequenceTupleRequestPB() {
1700
32.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1701
32.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgUpdateSequenceTupleRequestPBImpl);
1702
32.8k
}
1703
1704
26.8k
void InitDefaultsPgUpdateSequenceTupleResponsePBImpl() {
1705
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1706
1707
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1708
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1709
#else
1710
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1711
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1712
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
1713
26.8k
  {
1714
26.8k
    void* ptr = &::yb::tserver::_PgUpdateSequenceTupleResponsePB_default_instance_;
1715
26.8k
    new (ptr) ::yb::tserver::PgUpdateSequenceTupleResponsePB();
1716
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1717
26.8k
  }
1718
26.8k
  ::yb::tserver::PgUpdateSequenceTupleResponsePB::InitAsDefaultInstance();
1719
26.8k
}
1720
1721
32.8k
void InitDefaultsPgUpdateSequenceTupleResponsePB() {
1722
32.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1723
32.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgUpdateSequenceTupleResponsePBImpl);
1724
32.8k
}
1725
1726
26.8k
void InitDefaultsPgReadSequenceTupleRequestPBImpl() {
1727
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1728
1729
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1730
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1731
#else
1732
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1733
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1734
26.8k
  {
1735
26.8k
    void* ptr = &::yb::tserver::_PgReadSequenceTupleRequestPB_default_instance_;
1736
26.8k
    new (ptr) ::yb::tserver::PgReadSequenceTupleRequestPB();
1737
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1738
26.8k
  }
1739
26.8k
  ::yb::tserver::PgReadSequenceTupleRequestPB::InitAsDefaultInstance();
1740
26.8k
}
1741
1742
33.3k
void InitDefaultsPgReadSequenceTupleRequestPB() {
1743
33.3k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1744
33.3k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgReadSequenceTupleRequestPBImpl);
1745
33.3k
}
1746
1747
26.8k
void InitDefaultsPgReadSequenceTupleResponsePBImpl() {
1748
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1749
1750
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1751
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1752
#else
1753
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1754
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1755
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
1756
26.8k
  {
1757
26.8k
    void* ptr = &::yb::tserver::_PgReadSequenceTupleResponsePB_default_instance_;
1758
26.8k
    new (ptr) ::yb::tserver::PgReadSequenceTupleResponsePB();
1759
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1760
26.8k
  }
1761
26.8k
  ::yb::tserver::PgReadSequenceTupleResponsePB::InitAsDefaultInstance();
1762
26.8k
}
1763
1764
33.3k
void InitDefaultsPgReadSequenceTupleResponsePB() {
1765
33.3k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1766
33.3k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgReadSequenceTupleResponsePBImpl);
1767
33.3k
}
1768
1769
26.8k
void InitDefaultsPgDeleteSequenceTupleRequestPBImpl() {
1770
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1771
1772
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1773
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1774
#else
1775
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1776
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1777
26.8k
  {
1778
26.8k
    void* ptr = &::yb::tserver::_PgDeleteSequenceTupleRequestPB_default_instance_;
1779
26.8k
    new (ptr) ::yb::tserver::PgDeleteSequenceTupleRequestPB();
1780
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1781
26.8k
  }
1782
26.8k
  ::yb::tserver::PgDeleteSequenceTupleRequestPB::InitAsDefaultInstance();
1783
26.8k
}
1784
1785
27.4k
void InitDefaultsPgDeleteSequenceTupleRequestPB() {
1786
27.4k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1787
27.4k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgDeleteSequenceTupleRequestPBImpl);
1788
27.4k
}
1789
1790
26.8k
void InitDefaultsPgDeleteSequenceTupleResponsePBImpl() {
1791
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1792
1793
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1794
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1795
#else
1796
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1797
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1798
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
1799
26.8k
  {
1800
26.8k
    void* ptr = &::yb::tserver::_PgDeleteSequenceTupleResponsePB_default_instance_;
1801
26.8k
    new (ptr) ::yb::tserver::PgDeleteSequenceTupleResponsePB();
1802
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1803
26.8k
  }
1804
26.8k
  ::yb::tserver::PgDeleteSequenceTupleResponsePB::InitAsDefaultInstance();
1805
26.8k
}
1806
1807
27.4k
void InitDefaultsPgDeleteSequenceTupleResponsePB() {
1808
27.4k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1809
27.4k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgDeleteSequenceTupleResponsePBImpl);
1810
27.4k
}
1811
1812
26.8k
void InitDefaultsPgDeleteDBSequencesRequestPBImpl() {
1813
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1814
1815
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1816
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1817
#else
1818
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1819
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1820
26.8k
  {
1821
26.8k
    void* ptr = &::yb::tserver::_PgDeleteDBSequencesRequestPB_default_instance_;
1822
26.8k
    new (ptr) ::yb::tserver::PgDeleteDBSequencesRequestPB();
1823
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1824
26.8k
  }
1825
26.8k
  ::yb::tserver::PgDeleteDBSequencesRequestPB::InitAsDefaultInstance();
1826
26.8k
}
1827
1828
27.0k
void InitDefaultsPgDeleteDBSequencesRequestPB() {
1829
27.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1830
27.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgDeleteDBSequencesRequestPBImpl);
1831
27.0k
}
1832
1833
26.8k
void InitDefaultsPgDeleteDBSequencesResponsePBImpl() {
1834
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
1835
1836
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1837
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
1838
#else
1839
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
1840
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
1841
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
1842
26.8k
  {
1843
26.8k
    void* ptr = &::yb::tserver::_PgDeleteDBSequencesResponsePB_default_instance_;
1844
26.8k
    new (ptr) ::yb::tserver::PgDeleteDBSequencesResponsePB();
1845
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1846
26.8k
  }
1847
26.8k
  ::yb::tserver::PgDeleteDBSequencesResponsePB::InitAsDefaultInstance();
1848
26.8k
}
1849
1850
27.0k
void InitDefaultsPgDeleteDBSequencesResponsePB() {
1851
27.0k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1852
27.0k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPgDeleteDBSequencesResponsePBImpl);
1853
27.0k
}
1854
1855
::google::protobuf::Metadata file_level_metadata[68];
1856
const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[1];
1857
1858
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
1859
  ~0u,  // no _has_bits_
1860
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgHeartbeatRequestPB, _internal_metadata_),
1861
  ~0u,  // no _extensions_
1862
  ~0u,  // no _oneof_case_
1863
  ~0u,  // no _weak_field_map_
1864
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgHeartbeatRequestPB, session_id_),
1865
  ~0u,  // no _has_bits_
1866
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgHeartbeatResponsePB, _internal_metadata_),
1867
  ~0u,  // no _extensions_
1868
  ~0u,  // no _oneof_case_
1869
  ~0u,  // no _weak_field_map_
1870
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgHeartbeatResponsePB, status_),
1871
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgHeartbeatResponsePB, session_id_),
1872
  ~0u,  // no _has_bits_
1873
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgObjectIdPB, _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::tserver::PgObjectIdPB, database_oid_),
1878
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgObjectIdPB, object_oid_),
1879
  ~0u,  // no _has_bits_
1880
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgAlterDatabaseRequestPB, _internal_metadata_),
1881
  ~0u,  // no _extensions_
1882
  ~0u,  // no _oneof_case_
1883
  ~0u,  // no _weak_field_map_
1884
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgAlterDatabaseRequestPB, session_id_),
1885
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgAlterDatabaseRequestPB, database_name_),
1886
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgAlterDatabaseRequestPB, database_oid_),
1887
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgAlterDatabaseRequestPB, new_name_),
1888
  ~0u,  // no _has_bits_
1889
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgAlterDatabaseResponsePB, _internal_metadata_),
1890
  ~0u,  // no _extensions_
1891
  ~0u,  // no _oneof_case_
1892
  ~0u,  // no _weak_field_map_
1893
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgAlterDatabaseResponsePB, status_),
1894
  ~0u,  // no _has_bits_
1895
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgBackfillIndexRequestPB, _internal_metadata_),
1896
  ~0u,  // no _extensions_
1897
  ~0u,  // no _oneof_case_
1898
  ~0u,  // no _weak_field_map_
1899
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgBackfillIndexRequestPB, session_id_),
1900
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgBackfillIndexRequestPB, table_id_),
1901
  ~0u,  // no _has_bits_
1902
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgBackfillIndexResponsePB, _internal_metadata_),
1903
  ~0u,  // no _extensions_
1904
  ~0u,  // no _oneof_case_
1905
  ~0u,  // no _weak_field_map_
1906
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgBackfillIndexResponsePB, status_),
1907
  ~0u,  // no _has_bits_
1908
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgRenameColumnPB, _internal_metadata_),
1909
  ~0u,  // no _extensions_
1910
  ~0u,  // no _oneof_case_
1911
  ~0u,  // no _weak_field_map_
1912
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgRenameColumnPB, old_name_),
1913
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgRenameColumnPB, new_name_),
1914
  ~0u,  // no _has_bits_
1915
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgRenameTablePB, _internal_metadata_),
1916
  ~0u,  // no _extensions_
1917
  ~0u,  // no _oneof_case_
1918
  ~0u,  // no _weak_field_map_
1919
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgRenameTablePB, database_name_),
1920
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgRenameTablePB, table_name_),
1921
  ~0u,  // no _has_bits_
1922
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgAlterTableRequestPB, _internal_metadata_),
1923
  ~0u,  // no _extensions_
1924
  ~0u,  // no _oneof_case_
1925
  ~0u,  // no _weak_field_map_
1926
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgAlterTableRequestPB, session_id_),
1927
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgAlterTableRequestPB, use_transaction_),
1928
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgAlterTableRequestPB, table_id_),
1929
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgAlterTableRequestPB, add_columns_),
1930
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgAlterTableRequestPB, rename_columns_),
1931
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgAlterTableRequestPB, drop_columns_),
1932
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgAlterTableRequestPB, rename_table_),
1933
  ~0u,  // no _has_bits_
1934
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgAlterTableResponsePB, _internal_metadata_),
1935
  ~0u,  // no _extensions_
1936
  ~0u,  // no _oneof_case_
1937
  ~0u,  // no _weak_field_map_
1938
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgAlterTableResponsePB, status_),
1939
  ~0u,  // no _has_bits_
1940
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateDatabaseRequestPB, _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::tserver::PgCreateDatabaseRequestPB, session_id_),
1945
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateDatabaseRequestPB, use_transaction_),
1946
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateDatabaseRequestPB, database_name_),
1947
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateDatabaseRequestPB, database_oid_),
1948
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateDatabaseRequestPB, source_database_oid_),
1949
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateDatabaseRequestPB, next_oid_),
1950
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateDatabaseRequestPB, colocated_),
1951
  ~0u,  // no _has_bits_
1952
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateDatabaseResponsePB, _internal_metadata_),
1953
  ~0u,  // no _extensions_
1954
  ~0u,  // no _oneof_case_
1955
  ~0u,  // no _weak_field_map_
1956
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateDatabaseResponsePB, status_),
1957
  ~0u,  // no _has_bits_
1958
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateSequencesDataTableRequestPB, _internal_metadata_),
1959
  ~0u,  // no _extensions_
1960
  ~0u,  // no _oneof_case_
1961
  ~0u,  // no _weak_field_map_
1962
  ~0u,  // no _has_bits_
1963
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateSequencesDataTableResponsePB, _internal_metadata_),
1964
  ~0u,  // no _extensions_
1965
  ~0u,  // no _oneof_case_
1966
  ~0u,  // no _weak_field_map_
1967
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateSequencesDataTableResponsePB, status_),
1968
  ~0u,  // no _has_bits_
1969
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateColumnPB, _internal_metadata_),
1970
  ~0u,  // no _extensions_
1971
  ~0u,  // no _oneof_case_
1972
  ~0u,  // no _weak_field_map_
1973
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateColumnPB, attr_name_),
1974
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateColumnPB, attr_num_),
1975
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateColumnPB, attr_ybtype_),
1976
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateColumnPB, is_hash_),
1977
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateColumnPB, is_range_),
1978
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateColumnPB, sorting_type_),
1979
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateColumnPB, attr_pgoid_),
1980
  ~0u,  // no _has_bits_
1981
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateSplitBoundaryPB, _internal_metadata_),
1982
  ~0u,  // no _extensions_
1983
  ~0u,  // no _oneof_case_
1984
  ~0u,  // no _weak_field_map_
1985
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateSplitBoundaryPB, values_),
1986
  ~0u,  // no _has_bits_
1987
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, _internal_metadata_),
1988
  ~0u,  // no _extensions_
1989
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, _oneof_case_[0]),
1990
  ~0u,  // no _weak_field_map_
1991
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, session_id_),
1992
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, use_transaction_),
1993
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, table_id_),
1994
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, database_name_),
1995
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, table_name_),
1996
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, num_tablets_),
1997
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, is_pg_catalog_table_),
1998
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, is_shared_table_),
1999
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, if_not_exist_),
2000
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, colocated_),
2001
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, tablegroup_oid_),
2002
  offsetof(::yb::tserver::PgCreateTableRequestPBDefaultTypeInternal, colocation_id_),
2003
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, tablespace_oid_),
2004
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, create_columns_),
2005
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, split_bounds_),
2006
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, base_table_id_),
2007
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, is_unique_index_),
2008
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, skip_index_backfill_),
2009
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, matview_pg_table_oid_),
2010
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, schema_name_),
2011
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableRequestPB, optional_colocation_id_),
2012
  ~0u,  // no _has_bits_
2013
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableResponsePB, _internal_metadata_),
2014
  ~0u,  // no _extensions_
2015
  ~0u,  // no _oneof_case_
2016
  ~0u,  // no _weak_field_map_
2017
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTableResponsePB, status_),
2018
  ~0u,  // no _has_bits_
2019
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTablegroupRequestPB, _internal_metadata_),
2020
  ~0u,  // no _extensions_
2021
  ~0u,  // no _oneof_case_
2022
  ~0u,  // no _weak_field_map_
2023
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTablegroupRequestPB, session_id_),
2024
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTablegroupRequestPB, database_name_),
2025
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTablegroupRequestPB, tablegroup_id_),
2026
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTablegroupRequestPB, tablespace_id_),
2027
  ~0u,  // no _has_bits_
2028
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTablegroupResponsePB, _internal_metadata_),
2029
  ~0u,  // no _extensions_
2030
  ~0u,  // no _oneof_case_
2031
  ~0u,  // no _weak_field_map_
2032
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgCreateTablegroupResponsePB, status_),
2033
  ~0u,  // no _has_bits_
2034
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDropDatabaseRequestPB, _internal_metadata_),
2035
  ~0u,  // no _extensions_
2036
  ~0u,  // no _oneof_case_
2037
  ~0u,  // no _weak_field_map_
2038
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDropDatabaseRequestPB, session_id_),
2039
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDropDatabaseRequestPB, database_name_),
2040
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDropDatabaseRequestPB, database_oid_),
2041
  ~0u,  // no _has_bits_
2042
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDropDatabaseResponsePB, _internal_metadata_),
2043
  ~0u,  // no _extensions_
2044
  ~0u,  // no _oneof_case_
2045
  ~0u,  // no _weak_field_map_
2046
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDropDatabaseResponsePB, status_),
2047
  ~0u,  // no _has_bits_
2048
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDropTableRequestPB, _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::tserver::PgDropTableRequestPB, session_id_),
2053
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDropTableRequestPB, table_id_),
2054
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDropTableRequestPB, index_),
2055
  ~0u,  // no _has_bits_
2056
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDropTableResponsePB, _internal_metadata_),
2057
  ~0u,  // no _extensions_
2058
  ~0u,  // no _oneof_case_
2059
  ~0u,  // no _weak_field_map_
2060
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDropTableResponsePB, status_),
2061
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDropTableResponsePB, indexed_table_),
2062
  ~0u,  // no _has_bits_
2063
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDropTablegroupRequestPB, _internal_metadata_),
2064
  ~0u,  // no _extensions_
2065
  ~0u,  // no _oneof_case_
2066
  ~0u,  // no _weak_field_map_
2067
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDropTablegroupRequestPB, session_id_),
2068
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDropTablegroupRequestPB, tablegroup_id_),
2069
  ~0u,  // no _has_bits_
2070
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDropTablegroupResponsePB, _internal_metadata_),
2071
  ~0u,  // no _extensions_
2072
  ~0u,  // no _oneof_case_
2073
  ~0u,  // no _weak_field_map_
2074
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDropTablegroupResponsePB, status_),
2075
  ~0u,  // no _has_bits_
2076
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgGetCatalogMasterVersionRequestPB, _internal_metadata_),
2077
  ~0u,  // no _extensions_
2078
  ~0u,  // no _oneof_case_
2079
  ~0u,  // no _weak_field_map_
2080
  ~0u,  // no _has_bits_
2081
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgFinishTransactionRequestPB, _internal_metadata_),
2082
  ~0u,  // no _extensions_
2083
  ~0u,  // no _oneof_case_
2084
  ~0u,  // no _weak_field_map_
2085
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgFinishTransactionRequestPB, session_id_),
2086
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgFinishTransactionRequestPB, commit_),
2087
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgFinishTransactionRequestPB, ddl_mode_),
2088
  ~0u,  // no _has_bits_
2089
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgFinishTransactionResponsePB, _internal_metadata_),
2090
  ~0u,  // no _extensions_
2091
  ~0u,  // no _oneof_case_
2092
  ~0u,  // no _weak_field_map_
2093
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgFinishTransactionResponsePB, status_),
2094
  ~0u,  // no _has_bits_
2095
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgGetCatalogMasterVersionResponsePB, _internal_metadata_),
2096
  ~0u,  // no _extensions_
2097
  ~0u,  // no _oneof_case_
2098
  ~0u,  // no _weak_field_map_
2099
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgGetCatalogMasterVersionResponsePB, status_),
2100
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgGetCatalogMasterVersionResponsePB, version_),
2101
  ~0u,  // no _has_bits_
2102
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgGetDatabaseInfoRequestPB, _internal_metadata_),
2103
  ~0u,  // no _extensions_
2104
  ~0u,  // no _oneof_case_
2105
  ~0u,  // no _weak_field_map_
2106
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgGetDatabaseInfoRequestPB, oid_),
2107
  ~0u,  // no _has_bits_
2108
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgGetDatabaseInfoResponsePB, _internal_metadata_),
2109
  ~0u,  // no _extensions_
2110
  ~0u,  // no _oneof_case_
2111
  ~0u,  // no _weak_field_map_
2112
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgGetDatabaseInfoResponsePB, status_),
2113
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgGetDatabaseInfoResponsePB, info_),
2114
  ~0u,  // no _has_bits_
2115
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgIsInitDbDoneRequestPB, _internal_metadata_),
2116
  ~0u,  // no _extensions_
2117
  ~0u,  // no _oneof_case_
2118
  ~0u,  // no _weak_field_map_
2119
  ~0u,  // no _has_bits_
2120
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgIsInitDbDoneResponsePB, _internal_metadata_),
2121
  ~0u,  // no _extensions_
2122
  ~0u,  // no _oneof_case_
2123
  ~0u,  // no _weak_field_map_
2124
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgIsInitDbDoneResponsePB, status_),
2125
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgIsInitDbDoneResponsePB, done_),
2126
  ~0u,  // no _has_bits_
2127
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgListLiveTabletServersRequestPB, _internal_metadata_),
2128
  ~0u,  // no _extensions_
2129
  ~0u,  // no _oneof_case_
2130
  ~0u,  // no _weak_field_map_
2131
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgListLiveTabletServersRequestPB, primary_only_),
2132
  ~0u,  // no _has_bits_
2133
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgLiveTabletServerPB, _internal_metadata_),
2134
  ~0u,  // no _extensions_
2135
  ~0u,  // no _oneof_case_
2136
  ~0u,  // no _weak_field_map_
2137
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgLiveTabletServerPB, uuid_),
2138
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgLiveTabletServerPB, hostname_),
2139
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgLiveTabletServerPB, placement_uuid_),
2140
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgLiveTabletServerPB, cloud_),
2141
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgLiveTabletServerPB, region_),
2142
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgLiveTabletServerPB, zone_),
2143
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgLiveTabletServerPB, is_primary_),
2144
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgLiveTabletServerPB, public_ip_),
2145
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgLiveTabletServerPB, pg_port_),
2146
  ~0u,  // no _has_bits_
2147
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgListLiveTabletServersResponsePB, _internal_metadata_),
2148
  ~0u,  // no _extensions_
2149
  ~0u,  // no _oneof_case_
2150
  ~0u,  // no _weak_field_map_
2151
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgListLiveTabletServersResponsePB, status_),
2152
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgListLiveTabletServersResponsePB, servers_),
2153
  ~0u,  // no _has_bits_
2154
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgOpenTableRequestPB, _internal_metadata_),
2155
  ~0u,  // no _extensions_
2156
  ~0u,  // no _oneof_case_
2157
  ~0u,  // no _weak_field_map_
2158
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgOpenTableRequestPB, table_id_),
2159
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgOpenTableRequestPB, reopen_),
2160
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgOpenTableRequestPB, invalidate_cache_time_us_),
2161
  ~0u,  // no _has_bits_
2162
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgTablePartitionsPB, _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::tserver::PgTablePartitionsPB, version_),
2167
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgTablePartitionsPB, keys_),
2168
  ~0u,  // no _has_bits_
2169
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgOpenTableResponsePB, _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::tserver::PgOpenTableResponsePB, status_),
2174
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgOpenTableResponsePB, info_),
2175
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgOpenTableResponsePB, partitions_),
2176
  ~0u,  // no _has_bits_
2177
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformOpPB, _internal_metadata_),
2178
  ~0u,  // no _extensions_
2179
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformOpPB, _oneof_case_[0]),
2180
  ~0u,  // no _weak_field_map_
2181
  offsetof(::yb::tserver::PgPerformOpPBDefaultTypeInternal, write_),
2182
  offsetof(::yb::tserver::PgPerformOpPBDefaultTypeInternal, read_),
2183
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformOpPB, read_from_followers_),
2184
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformOpPB, op_),
2185
  ~0u,  // no _has_bits_
2186
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformOptionsPB, _internal_metadata_),
2187
  ~0u,  // no _extensions_
2188
  ~0u,  // no _oneof_case_
2189
  ~0u,  // no _weak_field_map_
2190
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformOptionsPB, isolation_),
2191
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformOptionsPB, ddl_mode_),
2192
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformOptionsPB, txn_serial_no_),
2193
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformOptionsPB, in_txn_limit_ht_),
2194
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformOptionsPB, use_existing_priority_),
2195
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformOptionsPB, priority_),
2196
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformOptionsPB, restart_transaction_),
2197
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformOptionsPB, defer_read_point_),
2198
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformOptionsPB, read_time_manipulation_),
2199
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformOptionsPB, read_time_),
2200
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformOptionsPB, use_catalog_session_),
2201
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformOptionsPB, force_global_transaction_),
2202
  ~0u,  // no _has_bits_
2203
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformRequestPB, _internal_metadata_),
2204
  ~0u,  // no _extensions_
2205
  ~0u,  // no _oneof_case_
2206
  ~0u,  // no _weak_field_map_
2207
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformRequestPB, session_id_),
2208
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformRequestPB, options_),
2209
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformRequestPB, ops_),
2210
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformRequestPB, write_time_),
2211
  ~0u,  // no _has_bits_
2212
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformResponsePB, _internal_metadata_),
2213
  ~0u,  // no _extensions_
2214
  ~0u,  // no _oneof_case_
2215
  ~0u,  // no _weak_field_map_
2216
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformResponsePB, status_),
2217
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformResponsePB, responses_),
2218
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPerformResponsePB, catalog_read_time_),
2219
  ~0u,  // no _has_bits_
2220
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgReserveOidsRequestPB, _internal_metadata_),
2221
  ~0u,  // no _extensions_
2222
  ~0u,  // no _oneof_case_
2223
  ~0u,  // no _weak_field_map_
2224
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgReserveOidsRequestPB, database_oid_),
2225
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgReserveOidsRequestPB, next_oid_),
2226
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgReserveOidsRequestPB, count_),
2227
  ~0u,  // no _has_bits_
2228
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgReserveOidsResponsePB, _internal_metadata_),
2229
  ~0u,  // no _extensions_
2230
  ~0u,  // no _oneof_case_
2231
  ~0u,  // no _weak_field_map_
2232
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgReserveOidsResponsePB, status_),
2233
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgReserveOidsResponsePB, begin_oid_),
2234
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgReserveOidsResponsePB, end_oid_),
2235
  ~0u,  // no _has_bits_
2236
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgRollbackSubTransactionRequestPB, _internal_metadata_),
2237
  ~0u,  // no _extensions_
2238
  ~0u,  // no _oneof_case_
2239
  ~0u,  // no _weak_field_map_
2240
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgRollbackSubTransactionRequestPB, session_id_),
2241
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgRollbackSubTransactionRequestPB, sub_transaction_id_),
2242
  ~0u,  // no _has_bits_
2243
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgRollbackSubTransactionResponsePB, _internal_metadata_),
2244
  ~0u,  // no _extensions_
2245
  ~0u,  // no _oneof_case_
2246
  ~0u,  // no _weak_field_map_
2247
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgRollbackSubTransactionResponsePB, status_),
2248
  ~0u,  // no _has_bits_
2249
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgSetActiveSubTransactionRequestPB, _internal_metadata_),
2250
  ~0u,  // no _extensions_
2251
  ~0u,  // no _oneof_case_
2252
  ~0u,  // no _weak_field_map_
2253
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgSetActiveSubTransactionRequestPB, session_id_),
2254
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgSetActiveSubTransactionRequestPB, sub_transaction_id_),
2255
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgSetActiveSubTransactionRequestPB, options_),
2256
  ~0u,  // no _has_bits_
2257
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgSetActiveSubTransactionResponsePB, _internal_metadata_),
2258
  ~0u,  // no _extensions_
2259
  ~0u,  // no _oneof_case_
2260
  ~0u,  // no _weak_field_map_
2261
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgSetActiveSubTransactionResponsePB, status_),
2262
  ~0u,  // no _has_bits_
2263
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgTabletServerCountRequestPB, _internal_metadata_),
2264
  ~0u,  // no _extensions_
2265
  ~0u,  // no _oneof_case_
2266
  ~0u,  // no _weak_field_map_
2267
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgTabletServerCountRequestPB, primary_only_),
2268
  ~0u,  // no _has_bits_
2269
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgTabletServerCountResponsePB, _internal_metadata_),
2270
  ~0u,  // no _extensions_
2271
  ~0u,  // no _oneof_case_
2272
  ~0u,  // no _weak_field_map_
2273
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgTabletServerCountResponsePB, status_),
2274
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgTabletServerCountResponsePB, count_),
2275
  ~0u,  // no _has_bits_
2276
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgTruncateTableRequestPB, _internal_metadata_),
2277
  ~0u,  // no _extensions_
2278
  ~0u,  // no _oneof_case_
2279
  ~0u,  // no _weak_field_map_
2280
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgTruncateTableRequestPB, session_id_),
2281
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgTruncateTableRequestPB, table_id_),
2282
  ~0u,  // no _has_bits_
2283
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgTruncateTableResponsePB, _internal_metadata_),
2284
  ~0u,  // no _extensions_
2285
  ~0u,  // no _oneof_case_
2286
  ~0u,  // no _weak_field_map_
2287
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgTruncateTableResponsePB, status_),
2288
  ~0u,  // no _has_bits_
2289
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPlacementInfoPB, _internal_metadata_),
2290
  ~0u,  // no _extensions_
2291
  ~0u,  // no _oneof_case_
2292
  ~0u,  // no _weak_field_map_
2293
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPlacementInfoPB, cloud_),
2294
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPlacementInfoPB, region_),
2295
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPlacementInfoPB, zone_),
2296
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgPlacementInfoPB, min_num_replicas_),
2297
  ~0u,  // no _has_bits_
2298
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgValidatePlacementRequestPB, _internal_metadata_),
2299
  ~0u,  // no _extensions_
2300
  ~0u,  // no _oneof_case_
2301
  ~0u,  // no _weak_field_map_
2302
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgValidatePlacementRequestPB, session_id_),
2303
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgValidatePlacementRequestPB, num_replicas_),
2304
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgValidatePlacementRequestPB, placement_infos_),
2305
  ~0u,  // no _has_bits_
2306
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgValidatePlacementResponsePB, _internal_metadata_),
2307
  ~0u,  // no _extensions_
2308
  ~0u,  // no _oneof_case_
2309
  ~0u,  // no _weak_field_map_
2310
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgValidatePlacementResponsePB, status_),
2311
  ~0u,  // no _has_bits_
2312
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgInsertSequenceTupleRequestPB, _internal_metadata_),
2313
  ~0u,  // no _extensions_
2314
  ~0u,  // no _oneof_case_
2315
  ~0u,  // no _weak_field_map_
2316
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgInsertSequenceTupleRequestPB, session_id_),
2317
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgInsertSequenceTupleRequestPB, db_oid_),
2318
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgInsertSequenceTupleRequestPB, seq_oid_),
2319
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgInsertSequenceTupleRequestPB, ysql_catalog_version_),
2320
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgInsertSequenceTupleRequestPB, last_val_),
2321
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgInsertSequenceTupleRequestPB, is_called_),
2322
  ~0u,  // no _has_bits_
2323
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgInsertSequenceTupleResponsePB, _internal_metadata_),
2324
  ~0u,  // no _extensions_
2325
  ~0u,  // no _oneof_case_
2326
  ~0u,  // no _weak_field_map_
2327
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgInsertSequenceTupleResponsePB, status_),
2328
  ~0u,  // no _has_bits_
2329
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgUpdateSequenceTupleRequestPB, _internal_metadata_),
2330
  ~0u,  // no _extensions_
2331
  ~0u,  // no _oneof_case_
2332
  ~0u,  // no _weak_field_map_
2333
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgUpdateSequenceTupleRequestPB, session_id_),
2334
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgUpdateSequenceTupleRequestPB, db_oid_),
2335
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgUpdateSequenceTupleRequestPB, seq_oid_),
2336
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgUpdateSequenceTupleRequestPB, ysql_catalog_version_),
2337
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgUpdateSequenceTupleRequestPB, last_val_),
2338
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgUpdateSequenceTupleRequestPB, is_called_),
2339
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgUpdateSequenceTupleRequestPB, has_expected_),
2340
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgUpdateSequenceTupleRequestPB, expected_last_val_),
2341
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgUpdateSequenceTupleRequestPB, expected_is_called_),
2342
  ~0u,  // no _has_bits_
2343
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgUpdateSequenceTupleResponsePB, _internal_metadata_),
2344
  ~0u,  // no _extensions_
2345
  ~0u,  // no _oneof_case_
2346
  ~0u,  // no _weak_field_map_
2347
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgUpdateSequenceTupleResponsePB, status_),
2348
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgUpdateSequenceTupleResponsePB, skipped_),
2349
  ~0u,  // no _has_bits_
2350
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgReadSequenceTupleRequestPB, _internal_metadata_),
2351
  ~0u,  // no _extensions_
2352
  ~0u,  // no _oneof_case_
2353
  ~0u,  // no _weak_field_map_
2354
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgReadSequenceTupleRequestPB, session_id_),
2355
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgReadSequenceTupleRequestPB, db_oid_),
2356
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgReadSequenceTupleRequestPB, seq_oid_),
2357
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgReadSequenceTupleRequestPB, ysql_catalog_version_),
2358
  ~0u,  // no _has_bits_
2359
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgReadSequenceTupleResponsePB, _internal_metadata_),
2360
  ~0u,  // no _extensions_
2361
  ~0u,  // no _oneof_case_
2362
  ~0u,  // no _weak_field_map_
2363
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgReadSequenceTupleResponsePB, status_),
2364
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgReadSequenceTupleResponsePB, last_val_),
2365
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgReadSequenceTupleResponsePB, is_called_),
2366
  ~0u,  // no _has_bits_
2367
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDeleteSequenceTupleRequestPB, _internal_metadata_),
2368
  ~0u,  // no _extensions_
2369
  ~0u,  // no _oneof_case_
2370
  ~0u,  // no _weak_field_map_
2371
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDeleteSequenceTupleRequestPB, session_id_),
2372
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDeleteSequenceTupleRequestPB, db_oid_),
2373
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDeleteSequenceTupleRequestPB, seq_oid_),
2374
  ~0u,  // no _has_bits_
2375
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDeleteSequenceTupleResponsePB, _internal_metadata_),
2376
  ~0u,  // no _extensions_
2377
  ~0u,  // no _oneof_case_
2378
  ~0u,  // no _weak_field_map_
2379
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDeleteSequenceTupleResponsePB, status_),
2380
  ~0u,  // no _has_bits_
2381
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDeleteDBSequencesRequestPB, _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::tserver::PgDeleteDBSequencesRequestPB, session_id_),
2386
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDeleteDBSequencesRequestPB, db_oid_),
2387
  ~0u,  // no _has_bits_
2388
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDeleteDBSequencesResponsePB, _internal_metadata_),
2389
  ~0u,  // no _extensions_
2390
  ~0u,  // no _oneof_case_
2391
  ~0u,  // no _weak_field_map_
2392
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PgDeleteDBSequencesResponsePB, status_),
2393
};
2394
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
2395
  { 0, -1, sizeof(::yb::tserver::PgHeartbeatRequestPB)},
2396
  { 6, -1, sizeof(::yb::tserver::PgHeartbeatResponsePB)},
2397
  { 13, -1, sizeof(::yb::tserver::PgObjectIdPB)},
2398
  { 20, -1, sizeof(::yb::tserver::PgAlterDatabaseRequestPB)},
2399
  { 29, -1, sizeof(::yb::tserver::PgAlterDatabaseResponsePB)},
2400
  { 35, -1, sizeof(::yb::tserver::PgBackfillIndexRequestPB)},
2401
  { 42, -1, sizeof(::yb::tserver::PgBackfillIndexResponsePB)},
2402
  { 48, -1, sizeof(::yb::tserver::PgRenameColumnPB)},
2403
  { 55, -1, sizeof(::yb::tserver::PgRenameTablePB)},
2404
  { 62, -1, sizeof(::yb::tserver::PgAlterTableRequestPB)},
2405
  { 74, -1, sizeof(::yb::tserver::PgAlterTableResponsePB)},
2406
  { 80, -1, sizeof(::yb::tserver::PgCreateDatabaseRequestPB)},
2407
  { 92, -1, sizeof(::yb::tserver::PgCreateDatabaseResponsePB)},
2408
  { 98, -1, sizeof(::yb::tserver::PgCreateSequencesDataTableRequestPB)},
2409
  { 103, -1, sizeof(::yb::tserver::PgCreateSequencesDataTableResponsePB)},
2410
  { 109, -1, sizeof(::yb::tserver::PgCreateColumnPB)},
2411
  { 121, -1, sizeof(::yb::tserver::PgCreateSplitBoundaryPB)},
2412
  { 127, -1, sizeof(::yb::tserver::PgCreateTableRequestPB)},
2413
  { 153, -1, sizeof(::yb::tserver::PgCreateTableResponsePB)},
2414
  { 159, -1, sizeof(::yb::tserver::PgCreateTablegroupRequestPB)},
2415
  { 168, -1, sizeof(::yb::tserver::PgCreateTablegroupResponsePB)},
2416
  { 174, -1, sizeof(::yb::tserver::PgDropDatabaseRequestPB)},
2417
  { 182, -1, sizeof(::yb::tserver::PgDropDatabaseResponsePB)},
2418
  { 188, -1, sizeof(::yb::tserver::PgDropTableRequestPB)},
2419
  { 196, -1, sizeof(::yb::tserver::PgDropTableResponsePB)},
2420
  { 203, -1, sizeof(::yb::tserver::PgDropTablegroupRequestPB)},
2421
  { 210, -1, sizeof(::yb::tserver::PgDropTablegroupResponsePB)},
2422
  { 216, -1, sizeof(::yb::tserver::PgGetCatalogMasterVersionRequestPB)},
2423
  { 221, -1, sizeof(::yb::tserver::PgFinishTransactionRequestPB)},
2424
  { 229, -1, sizeof(::yb::tserver::PgFinishTransactionResponsePB)},
2425
  { 235, -1, sizeof(::yb::tserver::PgGetCatalogMasterVersionResponsePB)},
2426
  { 242, -1, sizeof(::yb::tserver::PgGetDatabaseInfoRequestPB)},
2427
  { 248, -1, sizeof(::yb::tserver::PgGetDatabaseInfoResponsePB)},
2428
  { 255, -1, sizeof(::yb::tserver::PgIsInitDbDoneRequestPB)},
2429
  { 260, -1, sizeof(::yb::tserver::PgIsInitDbDoneResponsePB)},
2430
  { 267, -1, sizeof(::yb::tserver::PgListLiveTabletServersRequestPB)},
2431
  { 273, -1, sizeof(::yb::tserver::PgLiveTabletServerPB)},
2432
  { 287, -1, sizeof(::yb::tserver::PgListLiveTabletServersResponsePB)},
2433
  { 294, -1, sizeof(::yb::tserver::PgOpenTableRequestPB)},
2434
  { 302, -1, sizeof(::yb::tserver::PgTablePartitionsPB)},
2435
  { 309, -1, sizeof(::yb::tserver::PgOpenTableResponsePB)},
2436
  { 317, -1, sizeof(::yb::tserver::PgPerformOpPB)},
2437
  { 326, -1, sizeof(::yb::tserver::PgPerformOptionsPB)},
2438
  { 343, -1, sizeof(::yb::tserver::PgPerformRequestPB)},
2439
  { 352, -1, sizeof(::yb::tserver::PgPerformResponsePB)},
2440
  { 360, -1, sizeof(::yb::tserver::PgReserveOidsRequestPB)},
2441
  { 368, -1, sizeof(::yb::tserver::PgReserveOidsResponsePB)},
2442
  { 376, -1, sizeof(::yb::tserver::PgRollbackSubTransactionRequestPB)},
2443
  { 383, -1, sizeof(::yb::tserver::PgRollbackSubTransactionResponsePB)},
2444
  { 389, -1, sizeof(::yb::tserver::PgSetActiveSubTransactionRequestPB)},
2445
  { 397, -1, sizeof(::yb::tserver::PgSetActiveSubTransactionResponsePB)},
2446
  { 403, -1, sizeof(::yb::tserver::PgTabletServerCountRequestPB)},
2447
  { 409, -1, sizeof(::yb::tserver::PgTabletServerCountResponsePB)},
2448
  { 416, -1, sizeof(::yb::tserver::PgTruncateTableRequestPB)},
2449
  { 423, -1, sizeof(::yb::tserver::PgTruncateTableResponsePB)},
2450
  { 429, -1, sizeof(::yb::tserver::PgPlacementInfoPB)},
2451
  { 438, -1, sizeof(::yb::tserver::PgValidatePlacementRequestPB)},
2452
  { 446, -1, sizeof(::yb::tserver::PgValidatePlacementResponsePB)},
2453
  { 452, -1, sizeof(::yb::tserver::PgInsertSequenceTupleRequestPB)},
2454
  { 463, -1, sizeof(::yb::tserver::PgInsertSequenceTupleResponsePB)},
2455
  { 469, -1, sizeof(::yb::tserver::PgUpdateSequenceTupleRequestPB)},
2456
  { 483, -1, sizeof(::yb::tserver::PgUpdateSequenceTupleResponsePB)},
2457
  { 490, -1, sizeof(::yb::tserver::PgReadSequenceTupleRequestPB)},
2458
  { 499, -1, sizeof(::yb::tserver::PgReadSequenceTupleResponsePB)},
2459
  { 507, -1, sizeof(::yb::tserver::PgDeleteSequenceTupleRequestPB)},
2460
  { 515, -1, sizeof(::yb::tserver::PgDeleteSequenceTupleResponsePB)},
2461
  { 521, -1, sizeof(::yb::tserver::PgDeleteDBSequencesRequestPB)},
2462
  { 528, -1, sizeof(::yb::tserver::PgDeleteDBSequencesResponsePB)},
2463
};
2464
2465
static ::google::protobuf::Message const * const file_default_instances[] = {
2466
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgHeartbeatRequestPB_default_instance_),
2467
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgHeartbeatResponsePB_default_instance_),
2468
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgObjectIdPB_default_instance_),
2469
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgAlterDatabaseRequestPB_default_instance_),
2470
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgAlterDatabaseResponsePB_default_instance_),
2471
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgBackfillIndexRequestPB_default_instance_),
2472
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgBackfillIndexResponsePB_default_instance_),
2473
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgRenameColumnPB_default_instance_),
2474
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgRenameTablePB_default_instance_),
2475
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgAlterTableRequestPB_default_instance_),
2476
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgAlterTableResponsePB_default_instance_),
2477
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgCreateDatabaseRequestPB_default_instance_),
2478
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgCreateDatabaseResponsePB_default_instance_),
2479
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgCreateSequencesDataTableRequestPB_default_instance_),
2480
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgCreateSequencesDataTableResponsePB_default_instance_),
2481
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgCreateColumnPB_default_instance_),
2482
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgCreateSplitBoundaryPB_default_instance_),
2483
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgCreateTableRequestPB_default_instance_),
2484
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgCreateTableResponsePB_default_instance_),
2485
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgCreateTablegroupRequestPB_default_instance_),
2486
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgCreateTablegroupResponsePB_default_instance_),
2487
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgDropDatabaseRequestPB_default_instance_),
2488
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgDropDatabaseResponsePB_default_instance_),
2489
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgDropTableRequestPB_default_instance_),
2490
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgDropTableResponsePB_default_instance_),
2491
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgDropTablegroupRequestPB_default_instance_),
2492
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgDropTablegroupResponsePB_default_instance_),
2493
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgGetCatalogMasterVersionRequestPB_default_instance_),
2494
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgFinishTransactionRequestPB_default_instance_),
2495
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgFinishTransactionResponsePB_default_instance_),
2496
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgGetCatalogMasterVersionResponsePB_default_instance_),
2497
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgGetDatabaseInfoRequestPB_default_instance_),
2498
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgGetDatabaseInfoResponsePB_default_instance_),
2499
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgIsInitDbDoneRequestPB_default_instance_),
2500
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgIsInitDbDoneResponsePB_default_instance_),
2501
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgListLiveTabletServersRequestPB_default_instance_),
2502
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgLiveTabletServerPB_default_instance_),
2503
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgListLiveTabletServersResponsePB_default_instance_),
2504
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgOpenTableRequestPB_default_instance_),
2505
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgTablePartitionsPB_default_instance_),
2506
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgOpenTableResponsePB_default_instance_),
2507
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgPerformOpPB_default_instance_),
2508
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgPerformOptionsPB_default_instance_),
2509
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgPerformRequestPB_default_instance_),
2510
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgPerformResponsePB_default_instance_),
2511
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgReserveOidsRequestPB_default_instance_),
2512
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgReserveOidsResponsePB_default_instance_),
2513
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgRollbackSubTransactionRequestPB_default_instance_),
2514
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgRollbackSubTransactionResponsePB_default_instance_),
2515
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgSetActiveSubTransactionRequestPB_default_instance_),
2516
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgSetActiveSubTransactionResponsePB_default_instance_),
2517
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgTabletServerCountRequestPB_default_instance_),
2518
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgTabletServerCountResponsePB_default_instance_),
2519
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgTruncateTableRequestPB_default_instance_),
2520
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgTruncateTableResponsePB_default_instance_),
2521
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgPlacementInfoPB_default_instance_),
2522
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgValidatePlacementRequestPB_default_instance_),
2523
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgValidatePlacementResponsePB_default_instance_),
2524
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgInsertSequenceTupleRequestPB_default_instance_),
2525
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgInsertSequenceTupleResponsePB_default_instance_),
2526
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgUpdateSequenceTupleRequestPB_default_instance_),
2527
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgUpdateSequenceTupleResponsePB_default_instance_),
2528
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgReadSequenceTupleRequestPB_default_instance_),
2529
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgReadSequenceTupleResponsePB_default_instance_),
2530
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgDeleteSequenceTupleRequestPB_default_instance_),
2531
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgDeleteSequenceTupleResponsePB_default_instance_),
2532
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgDeleteDBSequencesRequestPB_default_instance_),
2533
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PgDeleteDBSequencesResponsePB_default_instance_),
2534
};
2535
2536
1.04k
void protobuf_AssignDescriptors() {
2537
1.04k
  AddDescriptors();
2538
1.04k
  ::google::protobuf::MessageFactory* factory = NULL;
2539
1.04k
  AssignDescriptors(
2540
1.04k
      "yb/tserver/pg_client.proto", schemas, file_default_instances, TableStruct::offsets, factory,
2541
1.04k
      file_level_metadata, file_level_enum_descriptors, NULL);
2542
1.04k
}
2543
2544
16.4M
void protobuf_AssignDescriptorsOnce() {
2545
16.4M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
2546
16.4M
  ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
2547
16.4M
}
2548
2549
void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
2550
0
void protobuf_RegisterTypes(const ::std::string&) {
2551
0
  protobuf_AssignDescriptorsOnce();
2552
0
  ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 68);
2553
0
}
2554
2555
26.8k
void AddDescriptorsImpl() {
2556
26.8k
  InitDefaults();
2557
26.8k
  static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
2558
26.8k
      "\n\032yb/tserver/pg_client.proto\022\nyb.tserver"
2559
26.8k
      "\032\026yb/common/common.proto\032\025yb/common/valu"
2560
26.8k
      "e.proto\032\036yb/common/pgsql_protocol.proto\032"
2561
26.8k
      "\035yb/common/wire_protocol.proto\032\032yb/maste"
2562
26.8k
      "r/master_ddl.proto\032\034yb/master/master_typ"
2563
26.8k
      "es.proto\"*\n\024PgHeartbeatRequestPB\022\022\n\nsess"
2564
26.8k
      "ion_id\030\001 \001(\004\"L\n\025PgHeartbeatResponsePB\022\037\n"
2565
26.8k
      "\006status\030\001 \001(\0132\017.yb.AppStatusPB\022\022\n\nsessio"
2566
26.8k
      "n_id\030\002 \001(\004\"8\n\014PgObjectIdPB\022\024\n\014database_o"
2567
26.8k
      "id\030\001 \001(\r\022\022\n\nobject_oid\030\002 \001(\r\"m\n\030PgAlterD"
2568
26.8k
      "atabaseRequestPB\022\022\n\nsession_id\030\001 \001(\004\022\025\n\r"
2569
26.8k
      "database_name\030\002 \001(\t\022\024\n\014database_oid\030\003 \001("
2570
26.8k
      "\r\022\020\n\010new_name\030\004 \001(\t\"<\n\031PgAlterDatabaseRe"
2571
26.8k
      "sponsePB\022\037\n\006status\030\001 \001(\0132\017.yb.AppStatusP"
2572
26.8k
      "B\"Z\n\030PgBackfillIndexRequestPB\022\022\n\nsession"
2573
26.8k
      "_id\030\001 \001(\004\022*\n\010table_id\030\002 \001(\0132\030.yb.tserver"
2574
26.8k
      ".PgObjectIdPB\"<\n\031PgBackfillIndexResponse"
2575
26.8k
      "PB\022\037\n\006status\030\001 \001(\0132\017.yb.AppStatusPB\"6\n\020P"
2576
26.8k
      "gRenameColumnPB\022\020\n\010old_name\030\001 \001(\t\022\020\n\010new"
2577
26.8k
      "_name\030\002 \001(\t\"<\n\017PgRenameTablePB\022\025\n\rdataba"
2578
26.8k
      "se_name\030\001 \001(\t\022\022\n\ntable_name\030\002 \001(\t\"\242\002\n\025Pg"
2579
26.8k
      "AlterTableRequestPB\022\022\n\nsession_id\030\001 \001(\004\022"
2580
26.8k
      "\027\n\017use_transaction\030\002 \001(\010\022*\n\010table_id\030\003 \001"
2581
26.8k
      "(\0132\030.yb.tserver.PgObjectIdPB\0221\n\013add_colu"
2582
26.8k
      "mns\030\004 \003(\0132\034.yb.tserver.PgCreateColumnPB\022"
2583
26.8k
      "4\n\016rename_columns\030\005 \003(\0132\034.yb.tserver.PgR"
2584
26.8k
      "enameColumnPB\022\024\n\014drop_columns\030\006 \003(\t\0221\n\014r"
2585
26.8k
      "ename_table\030\007 \001(\0132\033.yb.tserver.PgRenameT"
2586
26.8k
      "ablePB\"9\n\026PgAlterTableResponsePB\022\037\n\006stat"
2587
26.8k
      "us\030\001 \001(\0132\017.yb.AppStatusPB\"\267\001\n\031PgCreateDa"
2588
26.8k
      "tabaseRequestPB\022\022\n\nsession_id\030\001 \001(\004\022\027\n\017u"
2589
26.8k
      "se_transaction\030\002 \001(\010\022\025\n\rdatabase_name\030\003 "
2590
26.8k
      "\001(\t\022\024\n\014database_oid\030\004 \001(\r\022\033\n\023source_data"
2591
26.8k
      "base_oid\030\005 \001(\r\022\020\n\010next_oid\030\006 \001(\r\022\021\n\tcolo"
2592
26.8k
      "cated\030\007 \001(\010\"=\n\032PgCreateDatabaseResponseP"
2593
26.8k
      "B\022\037\n\006status\030\001 \001(\0132\017.yb.AppStatusPB\"%\n#Pg"
2594
26.8k
      "CreateSequencesDataTableRequestPB\"G\n$PgC"
2595
26.8k
      "reateSequencesDataTableResponsePB\022\037\n\006sta"
2596
26.8k
      "tus\030\001 \001(\0132\017.yb.AppStatusPB\"\231\001\n\020PgCreateC"
2597
26.8k
      "olumnPB\022\021\n\tattr_name\030\001 \001(\t\022\020\n\010attr_num\030\002"
2598
26.8k
      " \001(\005\022\023\n\013attr_ybtype\030\003 \001(\005\022\017\n\007is_hash\030\004 \001"
2599
26.8k
      "(\010\022\020\n\010is_range\030\005 \001(\010\022\024\n\014sorting_type\030\006 \001"
2600
26.8k
      "(\005\022\022\n\nattr_pgoid\030\007 \001(\005\"8\n\027PgCreateSplitB"
2601
26.8k
      "oundaryPB\022\035\n\006values\030\001 \003(\0132\r.yb.QLValuePB"
2602
26.8k
      "\"\314\005\n\026PgCreateTableRequestPB\022\022\n\nsession_i"
2603
26.8k
      "d\030\001 \001(\004\022\027\n\017use_transaction\030\002 \001(\010\022*\n\010tabl"
2604
26.8k
      "e_id\030\003 \001(\0132\030.yb.tserver.PgObjectIdPB\022\025\n\r"
2605
26.8k
      "database_name\030\004 \001(\t\022\022\n\ntable_name\030\005 \001(\t\022"
2606
26.8k
      "\023\n\013num_tablets\030\006 \001(\005\022\033\n\023is_pg_catalog_ta"
2607
26.8k
      "ble\030\007 \001(\010\022\027\n\017is_shared_table\030\010 \001(\010\022\024\n\014if"
2608
26.8k
      "_not_exist\030\t \001(\010\022\021\n\tcolocated\030\n \001(\010\0220\n\016t"
2609
26.8k
      "ablegroup_oid\030\013 \001(\0132\030.yb.tserver.PgObjec"
2610
26.8k
      "tIdPB\022\027\n\rcolocation_id\030\024 \001(\rH\000\0220\n\016tables"
2611
26.8k
      "pace_oid\030\014 \001(\0132\030.yb.tserver.PgObjectIdPB"
2612
26.8k
      "\0224\n\016create_columns\030\r \003(\0132\034.yb.tserver.Pg"
2613
26.8k
      "CreateColumnPB\0229\n\014split_bounds\030\016 \003(\0132#.y"
2614
26.8k
      "b.tserver.PgCreateSplitBoundaryPB\022/\n\rbas"
2615
26.8k
      "e_table_id\030\017 \001(\0132\030.yb.tserver.PgObjectId"
2616
26.8k
      "PB\022\027\n\017is_unique_index\030\020 \001(\010\022\033\n\023skip_inde"
2617
26.8k
      "x_backfill\030\021 \001(\010\0226\n\024matview_pg_table_oid"
2618
26.8k
      "\030\022 \001(\0132\030.yb.tserver.PgObjectIdPB\022\023\n\013sche"
2619
26.8k
      "ma_name\030\023 \001(\tB\030\n\026optional_colocation_id\""
2620
26.8k
      ":\n\027PgCreateTableResponsePB\022\037\n\006status\030\001 \001"
2621
26.8k
      "(\0132\017.yb.AppStatusPB\"\252\001\n\033PgCreateTablegro"
2622
26.8k
      "upRequestPB\022\022\n\nsession_id\030\001 \001(\004\022\025\n\rdatab"
2623
26.8k
      "ase_name\030\002 \001(\t\022/\n\rtablegroup_id\030\003 \001(\0132\030."
2624
26.8k
      "yb.tserver.PgObjectIdPB\022/\n\rtablespace_id"
2625
26.8k
      "\030\004 \001(\0132\030.yb.tserver.PgObjectIdPB\"\?\n\034PgCr"
2626
26.8k
      "eateTablegroupResponsePB\022\037\n\006status\030\001 \001(\013"
2627
26.8k
      "2\017.yb.AppStatusPB\"Z\n\027PgDropDatabaseReque"
2628
26.8k
      "stPB\022\022\n\nsession_id\030\001 \001(\004\022\025\n\rdatabase_nam"
2629
26.8k
      "e\030\003 \001(\t\022\024\n\014database_oid\030\004 \001(\r\";\n\030PgDropD"
2630
26.8k
      "atabaseResponsePB\022\037\n\006status\030\001 \001(\0132\017.yb.A"
2631
26.8k
      "ppStatusPB\"e\n\024PgDropTableRequestPB\022\022\n\nse"
2632
26.8k
      "ssion_id\030\001 \001(\004\022*\n\010table_id\030\002 \001(\0132\030.yb.ts"
2633
26.8k
      "erver.PgObjectIdPB\022\r\n\005index\030\003 \001(\010\"m\n\025PgD"
2634
26.8k
      "ropTableResponsePB\022\037\n\006status\030\001 \001(\0132\017.yb."
2635
26.8k
      "AppStatusPB\0223\n\rindexed_table\030\002 \001(\0132\034.yb."
2636
26.8k
      "master.TableIdentifierPB\"`\n\031PgDropTableg"
2637
26.8k
      "roupRequestPB\022\022\n\nsession_id\030\001 \001(\004\022/\n\rtab"
2638
26.8k
      "legroup_id\030\002 \001(\0132\030.yb.tserver.PgObjectId"
2639
26.8k
      "PB\"=\n\032PgDropTablegroupResponsePB\022\037\n\006stat"
2640
26.8k
      "us\030\001 \001(\0132\017.yb.AppStatusPB\"$\n\"PgGetCatalo"
2641
26.8k
      "gMasterVersionRequestPB\"T\n\034PgFinishTrans"
2642
26.8k
      "actionRequestPB\022\022\n\nsession_id\030\001 \001(\004\022\016\n\006c"
2643
26.8k
      "ommit\030\002 \001(\010\022\020\n\010ddl_mode\030\003 \001(\010\"@\n\035PgFinis"
2644
26.8k
      "hTransactionResponsePB\022\037\n\006status\030\001 \001(\0132\017"
2645
26.8k
      ".yb.AppStatusPB\"W\n#PgGetCatalogMasterVer"
2646
26.8k
      "sionResponsePB\022\037\n\006status\030\001 \001(\0132\017.yb.AppS"
2647
26.8k
      "tatusPB\022\017\n\007version\030\002 \001(\004\")\n\032PgGetDatabas"
2648
26.8k
      "eInfoRequestPB\022\013\n\003oid\030\001 \001(\r\"s\n\033PgGetData"
2649
26.8k
      "baseInfoResponsePB\022\037\n\006status\030\001 \001(\0132\017.yb."
2650
26.8k
      "AppStatusPB\0223\n\004info\030\002 \001(\0132%.yb.master.Ge"
2651
26.8k
      "tNamespaceInfoResponsePB\"\031\n\027PgIsInitDbDo"
2652
26.8k
      "neRequestPB\"I\n\030PgIsInitDbDoneResponsePB\022"
2653
26.8k
      "\037\n\006status\030\001 \001(\0132\017.yb.AppStatusPB\022\014\n\004done"
2654
26.8k
      "\030\002 \001(\010\"8\n PgListLiveTabletServersRequest"
2655
26.8k
      "PB\022\024\n\014primary_only\030\001 \001(\010\"\263\001\n\024PgLiveTable"
2656
26.8k
      "tServerPB\022\014\n\004uuid\030\001 \001(\t\022\020\n\010hostname\030\002 \001("
2657
26.8k
      "\t\022\026\n\016placement_uuid\030\003 \001(\t\022\r\n\005cloud\030\004 \001(\t"
2658
26.8k
      "\022\016\n\006region\030\005 \001(\t\022\014\n\004zone\030\006 \001(\t\022\022\n\nis_pri"
2659
26.8k
      "mary\030\007 \001(\010\022\021\n\tpublic_ip\030\010 \001(\t\022\017\n\007pg_port"
2660
26.8k
      "\030\t \001(\r\"w\n!PgListLiveTabletServersRespons"
2661
26.8k
      "ePB\022\037\n\006status\030\001 \001(\0132\017.yb.AppStatusPB\0221\n\007"
2662
26.8k
      "servers\030\002 \003(\0132 .yb.tserver.PgLiveTabletS"
2663
26.8k
      "erverPB\"Z\n\024PgOpenTableRequestPB\022\020\n\010table"
2664
26.8k
      "_id\030\001 \001(\t\022\016\n\006reopen\030\002 \001(\010\022 \n\030invalidate_"
2665
26.8k
      "cache_time_us\030\003 \001(\006\"4\n\023PgTablePartitions"
2666
26.8k
      "PB\022\017\n\007version\030\001 \001(\r\022\014\n\004keys\030\002 \003(\014\"\240\001\n\025Pg"
2667
26.8k
      "OpenTableResponsePB\022\037\n\006status\030\001 \001(\0132\017.yb"
2668
26.8k
      ".AppStatusPB\0221\n\004info\030\002 \001(\0132#.yb.master.G"
2669
26.8k
      "etTableSchemaResponsePB\0223\n\npartitions\030\003 "
2670
26.8k
      "\001(\0132\037.yb.tserver.PgTablePartitionsPB\"\204\001\n"
2671
26.8k
      "\rPgPerformOpPB\022(\n\005write\030\001 \001(\0132\027.yb.Pgsql"
2672
26.8k
      "WriteRequestPBH\000\022&\n\004read\030\002 \001(\0132\026.yb.Pgsq"
2673
26.8k
      "lReadRequestPBH\000\022\033\n\023read_from_followers\030"
2674
26.8k
      "\003 \001(\010B\004\n\002op\"\373\002\n\022PgPerformOptionsPB\022\021\n\tis"
2675
26.8k
      "olation\030\002 \001(\r\022\020\n\010ddl_mode\030\003 \001(\010\022\025\n\rtxn_s"
2676
26.8k
      "erial_no\030\004 \001(\004\022\027\n\017in_txn_limit_ht\030\005 \001(\006\022"
2677
26.8k
      "\035\n\025use_existing_priority\030\006 \001(\010\022\020\n\010priori"
2678
26.8k
      "ty\030\007 \001(\006\022\033\n\023restart_transaction\030\010 \001(\010\022\030\n"
2679
26.8k
      "\020defer_read_point\030\t \001(\010\022@\n\026read_time_man"
2680
26.8k
      "ipulation\030\n \001(\0162 .yb.tserver.ReadTimeMan"
2681
26.8k
      "ipulation\022\'\n\tread_time\030\013 \001(\0132\024.yb.ReadHy"
2682
26.8k
      "bridTimePB\022\033\n\023use_catalog_session\030\014 \001(\010\022"
2683
26.8k
      " \n\030force_global_transaction\030\r \001(\010\"\225\001\n\022Pg"
2684
26.8k
      "PerformRequestPB\022\022\n\nsession_id\030\001 \001(\004\022/\n\007"
2685
26.8k
      "options\030\002 \001(\0132\036.yb.tserver.PgPerformOpti"
2686
26.8k
      "onsPB\022&\n\003ops\030\003 \003(\0132\031.yb.tserver.PgPerfor"
2687
26.8k
      "mOpPB\022\022\n\nwrite_time\030\004 \001(\006\"\217\001\n\023PgPerformR"
2688
26.8k
      "esponsePB\022\037\n\006status\030\001 \001(\0132\017.yb.AppStatus"
2689
26.8k
      "PB\022&\n\tresponses\030\002 \003(\0132\023.yb.PgsqlResponse"
2690
26.8k
      "PB\022/\n\021catalog_read_time\030\003 \001(\0132\024.yb.ReadH"
2691
26.8k
      "ybridTimePB\"O\n\026PgReserveOidsRequestPB\022\024\n"
2692
26.8k
      "\014database_oid\030\001 \001(\r\022\020\n\010next_oid\030\002 \001(\r\022\r\n"
2693
26.8k
      "\005count\030\003 \001(\r\"^\n\027PgReserveOidsResponsePB\022"
2694
26.8k
      "\037\n\006status\030\001 \001(\0132\017.yb.AppStatusPB\022\021\n\tbegi"
2695
26.8k
      "n_oid\030\002 \001(\r\022\017\n\007end_oid\030\003 \001(\r\"S\n!PgRollba"
2696
26.8k
      "ckSubTransactionRequestPB\022\022\n\nsession_id\030"
2697
26.8k
      "\001 \001(\004\022\032\n\022sub_transaction_id\030\002 \001(\r\"E\n\"PgR"
2698
26.8k
      "ollbackSubTransactionResponsePB\022\037\n\006statu"
2699
26.8k
      "s\030\001 \001(\0132\017.yb.AppStatusPB\"\205\001\n\"PgSetActive"
2700
26.8k
      "SubTransactionRequestPB\022\022\n\nsession_id\030\001 "
2701
26.8k
      "\001(\004\022\032\n\022sub_transaction_id\030\002 \001(\r\022/\n\007optio"
2702
26.8k
      "ns\030\003 \001(\0132\036.yb.tserver.PgPerformOptionsPB"
2703
26.8k
      "\"F\n#PgSetActiveSubTransactionResponsePB\022"
2704
26.8k
      "\037\n\006status\030\001 \001(\0132\017.yb.AppStatusPB\"4\n\034PgTa"
2705
26.8k
      "bletServerCountRequestPB\022\024\n\014primary_only"
2706
26.8k
      "\030\001 \001(\010\"O\n\035PgTabletServerCountResponsePB\022"
2707
26.8k
      "\037\n\006status\030\001 \001(\0132\017.yb.AppStatusPB\022\r\n\005coun"
2708
26.8k
      "t\030\002 \001(\005\"Z\n\030PgTruncateTableRequestPB\022\022\n\ns"
2709
26.8k
      "ession_id\030\001 \001(\004\022*\n\010table_id\030\002 \001(\0132\030.yb.t"
2710
26.8k
      "server.PgObjectIdPB\"<\n\031PgTruncateTableRe"
2711
26.8k
      "sponsePB\022\037\n\006status\030\001 \001(\0132\017.yb.AppStatusP"
2712
26.8k
      "B\"Z\n\021PgPlacementInfoPB\022\r\n\005cloud\030\001 \001(\t\022\016\n"
2713
26.8k
      "\006region\030\002 \001(\t\022\014\n\004zone\030\003 \001(\t\022\030\n\020min_num_r"
2714
26.8k
      "eplicas\030\004 \001(\005\"\200\001\n\034PgValidatePlacementReq"
2715
26.8k
      "uestPB\022\022\n\nsession_id\030\001 \001(\004\022\024\n\014num_replic"
2716
26.8k
      "as\030\002 \001(\005\0226\n\017placement_infos\030\003 \003(\0132\035.yb.t"
2717
26.8k
      "server.PgPlacementInfoPB\"@\n\035PgValidatePl"
2718
26.8k
      "acementResponsePB\022\037\n\006status\030\001 \001(\0132\017.yb.A"
2719
26.8k
      "ppStatusPB\"\230\001\n\036PgInsertSequenceTupleRequ"
2720
26.8k
      "estPB\022\022\n\nsession_id\030\001 \001(\004\022\016\n\006db_oid\030\002 \001("
2721
26.8k
      "\003\022\017\n\007seq_oid\030\003 \001(\003\022\034\n\024ysql_catalog_versi"
2722
26.8k
      "on\030\004 \001(\004\022\020\n\010last_val\030\005 \001(\003\022\021\n\tis_called\030"
2723
26.8k
      "\006 \001(\010\"B\n\037PgInsertSequenceTupleResponsePB"
2724
26.8k
      "\022\037\n\006status\030\001 \001(\0132\017.yb.AppStatusPB\"\345\001\n\036Pg"
2725
26.8k
      "UpdateSequenceTupleRequestPB\022\022\n\nsession_"
2726
26.8k
      "id\030\001 \001(\004\022\016\n\006db_oid\030\002 \001(\003\022\017\n\007seq_oid\030\003 \001("
2727
26.8k
      "\003\022\034\n\024ysql_catalog_version\030\004 \001(\004\022\020\n\010last_"
2728
26.8k
      "val\030\005 \001(\003\022\021\n\tis_called\030\006 \001(\010\022\024\n\014has_expe"
2729
26.8k
      "cted\030\007 \001(\010\022\031\n\021expected_last_val\030\010 \001(\003\022\032\n"
2730
26.8k
      "\022expected_is_called\030\t \001(\010\"S\n\037PgUpdateSeq"
2731
26.8k
      "uenceTupleResponsePB\022\037\n\006status\030\001 \001(\0132\017.y"
2732
26.8k
      "b.AppStatusPB\022\017\n\007skipped\030\002 \001(\010\"q\n\034PgRead"
2733
26.8k
      "SequenceTupleRequestPB\022\022\n\nsession_id\030\001 \001"
2734
26.8k
      "(\004\022\016\n\006db_oid\030\002 \001(\003\022\017\n\007seq_oid\030\003 \001(\003\022\034\n\024y"
2735
26.8k
      "sql_catalog_version\030\004 \001(\004\"e\n\035PgReadSeque"
2736
26.8k
      "nceTupleResponsePB\022\037\n\006status\030\001 \001(\0132\017.yb."
2737
26.8k
      "AppStatusPB\022\020\n\010last_val\030\002 \001(\003\022\021\n\tis_call"
2738
26.8k
      "ed\030\003 \001(\010\"U\n\036PgDeleteSequenceTupleRequest"
2739
26.8k
      "PB\022\022\n\nsession_id\030\001 \001(\004\022\016\n\006db_oid\030\002 \001(\003\022\017"
2740
26.8k
      "\n\007seq_oid\030\003 \001(\003\"B\n\037PgDeleteSequenceTuple"
2741
26.8k
      "ResponsePB\022\037\n\006status\030\001 \001(\0132\017.yb.AppStatu"
2742
26.8k
      "sPB\"B\n\034PgDeleteDBSequencesRequestPB\022\022\n\ns"
2743
26.8k
      "ession_id\030\001 \001(\004\022\016\n\006db_oid\030\002 \001(\003\"@\n\035PgDel"
2744
26.8k
      "eteDBSequencesResponsePB\022\037\n\006status\030\001 \001(\013"
2745
26.8k
      "2\017.yb.AppStatusPB*8\n\024ReadTimeManipulatio"
2746
26.8k
      "n\022\010\n\004NONE\020\000\022\t\n\005RESET\020\001\022\013\n\007RESTART\020\0022\375\026\n\017"
2747
26.8k
      "PgClientService\022P\n\tHeartbeat\022 .yb.tserve"
2748
26.8k
      "r.PgHeartbeatRequestPB\032!.yb.tserver.PgHe"
2749
26.8k
      "artbeatResponsePB\022\\\n\rAlterDatabase\022$.yb."
2750
26.8k
      "tserver.PgAlterDatabaseRequestPB\032%.yb.ts"
2751
26.8k
      "erver.PgAlterDatabaseResponsePB\022S\n\nAlter"
2752
26.8k
      "Table\022!.yb.tserver.PgAlterTableRequestPB"
2753
26.8k
      "\032\".yb.tserver.PgAlterTableResponsePB\022\\\n\r"
2754
26.8k
      "BackfillIndex\022$.yb.tserver.PgBackfillInd"
2755
26.8k
      "exRequestPB\032%.yb.tserver.PgBackfillIndex"
2756
26.8k
      "ResponsePB\022_\n\016CreateDatabase\022%.yb.tserve"
2757
26.8k
      "r.PgCreateDatabaseRequestPB\032&.yb.tserver"
2758
26.8k
      ".PgCreateDatabaseResponsePB\022}\n\030CreateSeq"
2759
26.8k
      "uencesDataTable\022/.yb.tserver.PgCreateSeq"
2760
26.8k
      "uencesDataTableRequestPB\0320.yb.tserver.Pg"
2761
26.8k
      "CreateSequencesDataTableResponsePB\022V\n\013Cr"
2762
26.8k
      "eateTable\022\".yb.tserver.PgCreateTableRequ"
2763
26.8k
      "estPB\032#.yb.tserver.PgCreateTableResponse"
2764
26.8k
      "PB\022e\n\020CreateTablegroup\022\'.yb.tserver.PgCr"
2765
26.8k
      "eateTablegroupRequestPB\032(.yb.tserver.PgC"
2766
26.8k
      "reateTablegroupResponsePB\022Y\n\014DropDatabas"
2767
26.8k
      "e\022#.yb.tserver.PgDropDatabaseRequestPB\032$"
2768
26.8k
      ".yb.tserver.PgDropDatabaseResponsePB\022P\n\t"
2769
26.8k
      "DropTable\022 .yb.tserver.PgDropTableReques"
2770
26.8k
      "tPB\032!.yb.tserver.PgDropTableResponsePB\022_"
2771
26.8k
      "\n\016DropTablegroup\022%.yb.tserver.PgDropTabl"
2772
26.8k
      "egroupRequestPB\032&.yb.tserver.PgDropTable"
2773
26.8k
      "groupResponsePB\022h\n\021FinishTransaction\022(.y"
2774
26.8k
      "b.tserver.PgFinishTransactionRequestPB\032)"
2775
26.8k
      ".yb.tserver.PgFinishTransactionResponseP"
2776
26.8k
      "B\022z\n\027GetCatalogMasterVersion\022..yb.tserve"
2777
26.8k
      "r.PgGetCatalogMasterVersionRequestPB\032/.y"
2778
26.8k
      "b.tserver.PgGetCatalogMasterVersionRespo"
2779
26.8k
      "nsePB\022b\n\017GetDatabaseInfo\022&.yb.tserver.Pg"
2780
26.8k
      "GetDatabaseInfoRequestPB\032\'.yb.tserver.Pg"
2781
26.8k
      "GetDatabaseInfoResponsePB\022Y\n\014IsInitDbDon"
2782
26.8k
      "e\022#.yb.tserver.PgIsInitDbDoneRequestPB\032$"
2783
26.8k
      ".yb.tserver.PgIsInitDbDoneResponsePB\022t\n\025"
2784
26.8k
      "ListLiveTabletServers\022,.yb.tserver.PgLis"
2785
26.8k
      "tLiveTabletServersRequestPB\032-.yb.tserver"
2786
26.8k
      ".PgListLiveTabletServersResponsePB\022P\n\tOp"
2787
26.8k
      "enTable\022 .yb.tserver.PgOpenTableRequestP"
2788
26.8k
      "B\032!.yb.tserver.PgOpenTableResponsePB\022J\n\007"
2789
26.8k
      "Perform\022\036.yb.tserver.PgPerformRequestPB\032"
2790
26.8k
      "\037.yb.tserver.PgPerformResponsePB\022V\n\013Rese"
2791
26.8k
      "rveOids\022\".yb.tserver.PgReserveOidsReques"
2792
26.8k
      "tPB\032#.yb.tserver.PgReserveOidsResponsePB"
2793
26.8k
      "\022w\n\026RollbackSubTransaction\022-.yb.tserver."
2794
26.8k
      "PgRollbackSubTransactionRequestPB\032..yb.t"
2795
26.8k
      "server.PgRollbackSubTransactionResponseP"
2796
26.8k
      "B\022z\n\027SetActiveSubTransaction\022..yb.tserve"
2797
26.8k
      "r.PgSetActiveSubTransactionRequestPB\032/.y"
2798
26.8k
      "b.tserver.PgSetActiveSubTransactionRespo"
2799
26.8k
      "nsePB\022h\n\021TabletServerCount\022(.yb.tserver."
2800
26.8k
      "PgTabletServerCountRequestPB\032).yb.tserve"
2801
26.8k
      "r.PgTabletServerCountResponsePB\022\\\n\rTrunc"
2802
26.8k
      "ateTable\022$.yb.tserver.PgTruncateTableReq"
2803
26.8k
      "uestPB\032%.yb.tserver.PgTruncateTableRespo"
2804
26.8k
      "nsePB\022h\n\021ValidatePlacement\022(.yb.tserver."
2805
26.8k
      "PgValidatePlacementRequestPB\032).yb.tserve"
2806
26.8k
      "r.PgValidatePlacementResponsePB\022n\n\023Inser"
2807
26.8k
      "tSequenceTuple\022*.yb.tserver.PgInsertSequ"
2808
26.8k
      "enceTupleRequestPB\032+.yb.tserver.PgInsert"
2809
26.8k
      "SequenceTupleResponsePB\022n\n\023UpdateSequenc"
2810
26.8k
      "eTuple\022*.yb.tserver.PgUpdateSequenceTupl"
2811
26.8k
      "eRequestPB\032+.yb.tserver.PgUpdateSequence"
2812
26.8k
      "TupleResponsePB\022h\n\021ReadSequenceTuple\022(.y"
2813
26.8k
      "b.tserver.PgReadSequenceTupleRequestPB\032)"
2814
26.8k
      ".yb.tserver.PgReadSequenceTupleResponseP"
2815
26.8k
      "B\022n\n\023DeleteSequenceTuple\022*.yb.tserver.Pg"
2816
26.8k
      "DeleteSequenceTupleRequestPB\032+.yb.tserve"
2817
26.8k
      "r.PgDeleteSequenceTupleResponsePB\022h\n\021Del"
2818
26.8k
      "eteDBSequences\022(.yb.tserver.PgDeleteDBSe"
2819
26.8k
      "quencesRequestPB\032).yb.tserver.PgDeleteDB"
2820
26.8k
      "SequencesResponsePBB\020\n\016org.yb.tserverb\006p"
2821
26.8k
      "roto3"
2822
26.8k
  };
2823
26.8k
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
2824
26.8k
      descriptor, 10525);
2825
26.8k
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
2826
26.8k
    "yb/tserver/pg_client.proto", &protobuf_RegisterTypes);
2827
26.8k
  ::protobuf_yb_2fcommon_2fcommon_2eproto::AddDescriptors();
2828
26.8k
  ::protobuf_yb_2fcommon_2fvalue_2eproto::AddDescriptors();
2829
26.8k
  ::protobuf_yb_2fcommon_2fpgsql_5fprotocol_2eproto::AddDescriptors();
2830
26.8k
  ::protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::AddDescriptors();
2831
26.8k
  ::protobuf_yb_2fmaster_2fmaster_5fddl_2eproto::AddDescriptors();
2832
26.8k
  ::protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::AddDescriptors();
2833
26.8k
}
2834
2835
27.9k
void AddDescriptors() {
2836
27.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
2837
27.9k
  ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
2838
27.9k
}
2839
// Force AddDescriptors() to be called at dynamic initialization time.
2840
struct StaticDescriptorInitializer {
2841
26.8k
  StaticDescriptorInitializer() {
2842
26.8k
    AddDescriptors();
2843
26.8k
  }
2844
} static_descriptor_initializer;
2845
}  // namespace protobuf_yb_2ftserver_2fpg_5fclient_2eproto
2846
namespace yb {
2847
namespace tserver {
2848
0
const ::google::protobuf::EnumDescriptor* ReadTimeManipulation_descriptor() {
2849
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
2850
0
  return protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_enum_descriptors[0];
2851
0
}
2852
0
bool ReadTimeManipulation_IsValid(int value) {
2853
0
  switch (value) {
2854
0
    case 0:
2855
0
    case 1:
2856
0
    case 2:
2857
0
      return true;
2858
0
    default:
2859
0
      return false;
2860
0
  }
2861
0
}
2862
2863
2864
// ===================================================================
2865
2866
26.8k
void PgHeartbeatRequestPB::InitAsDefaultInstance() {
2867
26.8k
}
2868
#if !defined(_MSC_VER) || _MSC_VER >= 1900
2869
const int PgHeartbeatRequestPB::kSessionIdFieldNumber;
2870
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
2871
2872
PgHeartbeatRequestPB::PgHeartbeatRequestPB()
2873
48.4k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2874
48.4k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
2875
21.5k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgHeartbeatRequestPB();
2876
21.5k
  }
2877
48.4k
  SharedCtor();
2878
  // @@protoc_insertion_point(constructor:yb.tserver.PgHeartbeatRequestPB)
2879
48.4k
}
2880
PgHeartbeatRequestPB::PgHeartbeatRequestPB(const PgHeartbeatRequestPB& from)
2881
  : ::google::protobuf::Message(),
2882
      _internal_metadata_(NULL),
2883
0
      _cached_size_(0) {
2884
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2885
0
  session_id_ = from.session_id_;
2886
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgHeartbeatRequestPB)
2887
0
}
2888
2889
48.4k
void PgHeartbeatRequestPB::SharedCtor() {
2890
48.4k
  session_id_ = GOOGLE_ULONGLONG(0);
2891
48.4k
  _cached_size_ = 0;
2892
48.4k
}
2893
2894
21.5k
PgHeartbeatRequestPB::~PgHeartbeatRequestPB() {
2895
  // @@protoc_insertion_point(destructor:yb.tserver.PgHeartbeatRequestPB)
2896
21.5k
  SharedDtor();
2897
21.5k
}
2898
2899
21.5k
void PgHeartbeatRequestPB::SharedDtor() {
2900
21.5k
}
2901
2902
0
void PgHeartbeatRequestPB::SetCachedSize(int size) const {
2903
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2904
0
  _cached_size_ = size;
2905
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2906
0
}
2907
0
const ::google::protobuf::Descriptor* PgHeartbeatRequestPB::descriptor() {
2908
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
2909
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2910
0
}
2911
2912
0
const PgHeartbeatRequestPB& PgHeartbeatRequestPB::default_instance() {
2913
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgHeartbeatRequestPB();
2914
0
  return *internal_default_instance();
2915
0
}
2916
2917
0
PgHeartbeatRequestPB* PgHeartbeatRequestPB::New(::google::protobuf::Arena* arena) const {
2918
0
  PgHeartbeatRequestPB* n = new PgHeartbeatRequestPB;
2919
0
  if (arena != NULL) {
2920
0
    arena->Own(n);
2921
0
  }
2922
0
  return n;
2923
0
}
2924
2925
10.7k
void PgHeartbeatRequestPB::Clear() {
2926
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgHeartbeatRequestPB)
2927
10.7k
  ::google::protobuf::uint32 cached_has_bits = 0;
2928
  // Prevent compiler warnings about cached_has_bits being unused
2929
10.7k
  (void) cached_has_bits;
2930
2931
10.7k
  session_id_ = GOOGLE_ULONGLONG(0);
2932
10.7k
  _internal_metadata_.Clear();
2933
10.7k
}
2934
2935
bool PgHeartbeatRequestPB::MergePartialFromCodedStream(
2936
10.7k
    ::google::protobuf::io::CodedInputStream* input) {
2937
10.7k
#define DO_(EXPRESSION) 
if (4.68k
!GOOGLE_PREDICT_TRUE4.68k
(EXPRESSION))
goto failure0
2938
10.7k
  ::google::protobuf::uint32 tag;
2939
  // @@protoc_insertion_point(parse_start:yb.tserver.PgHeartbeatRequestPB)
2940
15.4k
  for (;;) {
2941
15.4k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2942
15.4k
    tag = p.first;
2943
15.4k
    if (!p.second) 
goto handle_unusual10.7k
;
2944
4.68k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2945
      // uint64 session_id = 1;
2946
4.68k
      case 1: {
2947
4.68k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2948
4.68k
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
2949
2950
4.68k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2951
4.68k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
2952
4.68k
                 input, &session_id_)));
2953
4.68k
        } else {
2954
0
          goto handle_unusual;
2955
0
        }
2956
4.68k
        break;
2957
4.68k
      }
2958
2959
4.68k
      default: {
2960
10.7k
      handle_unusual:
2961
10.7k
        if (tag == 0) {
2962
10.7k
          goto success;
2963
10.7k
        }
2964
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
2965
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
2966
0
        break;
2967
0
      }
2968
4.68k
    }
2969
4.68k
  }
2970
18.4E
success:
2971
  // @@protoc_insertion_point(parse_success:yb.tserver.PgHeartbeatRequestPB)
2972
10.7k
  return true;
2973
0
failure:
2974
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgHeartbeatRequestPB)
2975
0
  return false;
2976
10.7k
#undef DO_
2977
10.7k
}
2978
2979
void PgHeartbeatRequestPB::SerializeWithCachedSizes(
2980
0
    ::google::protobuf::io::CodedOutputStream* output) const {
2981
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgHeartbeatRequestPB)
2982
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2983
0
  (void) cached_has_bits;
2984
2985
  // uint64 session_id = 1;
2986
0
  if (this->session_id() != 0) {
2987
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
2988
0
  }
2989
2990
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
2991
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2992
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
2993
0
  }
2994
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgHeartbeatRequestPB)
2995
0
}
2996
2997
::google::protobuf::uint8* PgHeartbeatRequestPB::InternalSerializeWithCachedSizesToArray(
2998
10.7k
    bool deterministic, ::google::protobuf::uint8* target) const {
2999
10.7k
  (void)deterministic; // Unused
3000
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgHeartbeatRequestPB)
3001
10.7k
  ::google::protobuf::uint32 cached_has_bits = 0;
3002
10.7k
  (void) cached_has_bits;
3003
3004
  // uint64 session_id = 1;
3005
10.7k
  if (this->session_id() != 0) {
3006
4.69k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
3007
4.69k
  }
3008
3009
10.7k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
3010
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3011
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
3012
0
  }
3013
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgHeartbeatRequestPB)
3014
10.7k
  return target;
3015
10.7k
}
3016
3017
21.5k
size_t PgHeartbeatRequestPB::ByteSizeLong() const {
3018
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgHeartbeatRequestPB)
3019
21.5k
  size_t total_size = 0;
3020
3021
21.5k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
3022
0
    total_size +=
3023
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3024
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
3025
0
  }
3026
  // uint64 session_id = 1;
3027
21.5k
  if (this->session_id() != 0) {
3028
9.39k
    total_size += 1 +
3029
9.39k
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
3030
9.39k
        this->session_id());
3031
9.39k
  }
3032
3033
21.5k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3034
21.5k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3035
21.5k
  _cached_size_ = cached_size;
3036
21.5k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3037
21.5k
  return total_size;
3038
21.5k
}
3039
3040
0
void PgHeartbeatRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
3041
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgHeartbeatRequestPB)
3042
0
  GOOGLE_DCHECK_NE(&from, this);
3043
0
  const PgHeartbeatRequestPB* source =
3044
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgHeartbeatRequestPB>(
3045
0
          &from);
3046
0
  if (source == NULL) {
3047
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgHeartbeatRequestPB)
3048
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3049
0
  } else {
3050
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgHeartbeatRequestPB)
3051
0
    MergeFrom(*source);
3052
0
  }
3053
0
}
3054
3055
0
void PgHeartbeatRequestPB::MergeFrom(const PgHeartbeatRequestPB& from) {
3056
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgHeartbeatRequestPB)
3057
0
  GOOGLE_DCHECK_NE(&from, this);
3058
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3059
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3060
0
  (void) cached_has_bits;
3061
3062
0
  if (from.session_id() != 0) {
3063
0
    set_session_id(from.session_id());
3064
0
  }
3065
0
}
3066
3067
0
void PgHeartbeatRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
3068
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgHeartbeatRequestPB)
3069
0
  if (&from == this) return;
3070
0
  Clear();
3071
0
  MergeFrom(from);
3072
0
}
3073
3074
0
void PgHeartbeatRequestPB::CopyFrom(const PgHeartbeatRequestPB& from) {
3075
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgHeartbeatRequestPB)
3076
0
  if (&from == this) return;
3077
0
  Clear();
3078
0
  MergeFrom(from);
3079
0
}
3080
3081
21.5k
bool PgHeartbeatRequestPB::IsInitialized() const {
3082
21.5k
  return true;
3083
21.5k
}
3084
3085
0
void PgHeartbeatRequestPB::Swap(PgHeartbeatRequestPB* other) {
3086
0
  if (other == this) return;
3087
0
  InternalSwap(other);
3088
0
}
3089
0
void PgHeartbeatRequestPB::InternalSwap(PgHeartbeatRequestPB* other) {
3090
0
  using std::swap;
3091
0
  swap(session_id_, other->session_id_);
3092
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
3093
0
  swap(_cached_size_, other->_cached_size_);
3094
0
}
3095
3096
10.7k
::google::protobuf::Metadata PgHeartbeatRequestPB::GetMetadata() const {
3097
10.7k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
3098
10.7k
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
3099
10.7k
}
3100
3101
3102
// ===================================================================
3103
3104
26.8k
void PgHeartbeatResponsePB::InitAsDefaultInstance() {
3105
26.8k
  ::yb::tserver::_PgHeartbeatResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
3106
26.8k
      ::yb::AppStatusPB::internal_default_instance());
3107
26.8k
}
3108
0
void PgHeartbeatResponsePB::clear_status() {
3109
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
3110
0
    delete status_;
3111
0
  }
3112
0
  status_ = NULL;
3113
0
}
3114
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3115
const int PgHeartbeatResponsePB::kStatusFieldNumber;
3116
const int PgHeartbeatResponsePB::kSessionIdFieldNumber;
3117
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3118
3119
PgHeartbeatResponsePB::PgHeartbeatResponsePB()
3120
43.7k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3121
43.7k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3122
16.8k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgHeartbeatResponsePB();
3123
16.8k
  }
3124
43.7k
  SharedCtor();
3125
  // @@protoc_insertion_point(constructor:yb.tserver.PgHeartbeatResponsePB)
3126
43.7k
}
3127
PgHeartbeatResponsePB::PgHeartbeatResponsePB(const PgHeartbeatResponsePB& from)
3128
  : ::google::protobuf::Message(),
3129
      _internal_metadata_(NULL),
3130
0
      _cached_size_(0) {
3131
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3132
0
  if (from.has_status()) {
3133
0
    status_ = new ::yb::AppStatusPB(*from.status_);
3134
0
  } else {
3135
0
    status_ = NULL;
3136
0
  }
3137
0
  session_id_ = from.session_id_;
3138
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgHeartbeatResponsePB)
3139
0
}
3140
3141
43.7k
void PgHeartbeatResponsePB::SharedCtor() {
3142
43.7k
  ::memset(&status_, 0, static_cast<size_t>(
3143
43.7k
      reinterpret_cast<char*>(&session_id_) -
3144
43.7k
      reinterpret_cast<char*>(&status_)) + sizeof(session_id_));
3145
43.7k
  _cached_size_ = 0;
3146
43.7k
}
3147
3148
16.8k
PgHeartbeatResponsePB::~PgHeartbeatResponsePB() {
3149
  // @@protoc_insertion_point(destructor:yb.tserver.PgHeartbeatResponsePB)
3150
16.8k
  SharedDtor();
3151
16.8k
}
3152
3153
16.8k
void PgHeartbeatResponsePB::SharedDtor() {
3154
16.8k
  if (this != internal_default_instance()) 
delete status_16.8k
;
3155
16.8k
}
3156
3157
0
void PgHeartbeatResponsePB::SetCachedSize(int size) const {
3158
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3159
0
  _cached_size_ = size;
3160
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3161
0
}
3162
0
const ::google::protobuf::Descriptor* PgHeartbeatResponsePB::descriptor() {
3163
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
3164
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3165
0
}
3166
3167
0
const PgHeartbeatResponsePB& PgHeartbeatResponsePB::default_instance() {
3168
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgHeartbeatResponsePB();
3169
0
  return *internal_default_instance();
3170
0
}
3171
3172
0
PgHeartbeatResponsePB* PgHeartbeatResponsePB::New(::google::protobuf::Arena* arena) const {
3173
0
  PgHeartbeatResponsePB* n = new PgHeartbeatResponsePB;
3174
0
  if (arena != NULL) {
3175
0
    arena->Own(n);
3176
0
  }
3177
0
  return n;
3178
0
}
3179
3180
10.7k
void PgHeartbeatResponsePB::Clear() {
3181
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgHeartbeatResponsePB)
3182
10.7k
  ::google::protobuf::uint32 cached_has_bits = 0;
3183
  // Prevent compiler warnings about cached_has_bits being unused
3184
10.7k
  (void) cached_has_bits;
3185
3186
10.7k
  if (GetArenaNoVirtual() == NULL && 
status_ != NULL10.7k
) {
3187
0
    delete status_;
3188
0
  }
3189
10.7k
  status_ = NULL;
3190
10.7k
  session_id_ = GOOGLE_ULONGLONG(0);
3191
10.7k
  _internal_metadata_.Clear();
3192
10.7k
}
3193
3194
bool PgHeartbeatResponsePB::MergePartialFromCodedStream(
3195
10.7k
    ::google::protobuf::io::CodedInputStream* input) {
3196
10.7k
#define DO_(EXPRESSION) 
if (6.08k
!GOOGLE_PREDICT_TRUE6.08k
(EXPRESSION))
goto failure0
3197
10.7k
  ::google::protobuf::uint32 tag;
3198
  // @@protoc_insertion_point(parse_start:yb.tserver.PgHeartbeatResponsePB)
3199
16.8k
  for (;;) {
3200
16.8k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3201
16.8k
    tag = p.first;
3202
16.8k
    if (!p.second) 
goto handle_unusual10.7k
;
3203
6.08k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3204
      // .yb.AppStatusPB status = 1;
3205
0
      case 1: {
3206
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3207
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
3208
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3209
0
               input, mutable_status()));
3210
0
        } else {
3211
0
          goto handle_unusual;
3212
0
        }
3213
0
        break;
3214
0
      }
3215
3216
      // uint64 session_id = 2;
3217
6.08k
      case 2: {
3218
6.08k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3219
6.08k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
3220
3221
6.08k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3222
6.08k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
3223
6.08k
                 input, &session_id_)));
3224
18.4E
        } else {
3225
18.4E
          goto handle_unusual;
3226
18.4E
        }
3227
6.08k
        break;
3228
6.08k
      }
3229
3230
6.08k
      default: {
3231
10.7k
      handle_unusual:
3232
10.7k
        if (tag == 0) {
3233
10.7k
          goto success;
3234
10.7k
        }
3235
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3236
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3237
0
        break;
3238
0
      }
3239
6.08k
    }
3240
6.08k
  }
3241
10.7k
success:
3242
  // @@protoc_insertion_point(parse_success:yb.tserver.PgHeartbeatResponsePB)
3243
10.7k
  return true;
3244
0
failure:
3245
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgHeartbeatResponsePB)
3246
0
  return false;
3247
10.7k
#undef DO_
3248
10.7k
}
3249
3250
void PgHeartbeatResponsePB::SerializeWithCachedSizes(
3251
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3252
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgHeartbeatResponsePB)
3253
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3254
0
  (void) cached_has_bits;
3255
3256
  // .yb.AppStatusPB status = 1;
3257
0
  if (this->has_status()) {
3258
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3259
0
      1, *this->status_, output);
3260
0
  }
3261
3262
  // uint64 session_id = 2;
3263
0
  if (this->session_id() != 0) {
3264
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->session_id(), output);
3265
0
  }
3266
3267
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
3268
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3269
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
3270
0
  }
3271
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgHeartbeatResponsePB)
3272
0
}
3273
3274
::google::protobuf::uint8* PgHeartbeatResponsePB::InternalSerializeWithCachedSizesToArray(
3275
10.7k
    bool deterministic, ::google::protobuf::uint8* target) const {
3276
10.7k
  (void)deterministic; // Unused
3277
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgHeartbeatResponsePB)
3278
10.7k
  ::google::protobuf::uint32 cached_has_bits = 0;
3279
10.7k
  (void) cached_has_bits;
3280
3281
  // .yb.AppStatusPB status = 1;
3282
10.7k
  if (this->has_status()) {
3283
0
    target = ::google::protobuf::internal::WireFormatLite::
3284
0
      InternalWriteMessageToArray(
3285
0
        1, *this->status_, deterministic, target);
3286
0
  }
3287
3288
  // uint64 session_id = 2;
3289
10.7k
  if (this->session_id() != 0) {
3290
6.09k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->session_id(), target);
3291
6.09k
  }
3292
3293
10.7k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
3294
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3295
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
3296
0
  }
3297
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgHeartbeatResponsePB)
3298
10.7k
  return target;
3299
10.7k
}
3300
3301
21.5k
size_t PgHeartbeatResponsePB::ByteSizeLong() const {
3302
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgHeartbeatResponsePB)
3303
21.5k
  size_t total_size = 0;
3304
3305
21.5k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
3306
0
    total_size +=
3307
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3308
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
3309
0
  }
3310
  // .yb.AppStatusPB status = 1;
3311
21.5k
  if (this->has_status()) {
3312
0
    total_size += 1 +
3313
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
3314
0
        *this->status_);
3315
0
  }
3316
3317
  // uint64 session_id = 2;
3318
21.5k
  if (this->session_id() != 0) {
3319
12.1k
    total_size += 1 +
3320
12.1k
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
3321
12.1k
        this->session_id());
3322
12.1k
  }
3323
3324
21.5k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3325
21.5k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3326
21.5k
  _cached_size_ = cached_size;
3327
21.5k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3328
21.5k
  return total_size;
3329
21.5k
}
3330
3331
0
void PgHeartbeatResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
3332
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgHeartbeatResponsePB)
3333
0
  GOOGLE_DCHECK_NE(&from, this);
3334
0
  const PgHeartbeatResponsePB* source =
3335
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgHeartbeatResponsePB>(
3336
0
          &from);
3337
0
  if (source == NULL) {
3338
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgHeartbeatResponsePB)
3339
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3340
0
  } else {
3341
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgHeartbeatResponsePB)
3342
0
    MergeFrom(*source);
3343
0
  }
3344
0
}
3345
3346
0
void PgHeartbeatResponsePB::MergeFrom(const PgHeartbeatResponsePB& from) {
3347
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgHeartbeatResponsePB)
3348
0
  GOOGLE_DCHECK_NE(&from, this);
3349
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3350
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3351
0
  (void) cached_has_bits;
3352
3353
0
  if (from.has_status()) {
3354
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
3355
0
  }
3356
0
  if (from.session_id() != 0) {
3357
0
    set_session_id(from.session_id());
3358
0
  }
3359
0
}
3360
3361
0
void PgHeartbeatResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
3362
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgHeartbeatResponsePB)
3363
0
  if (&from == this) return;
3364
0
  Clear();
3365
0
  MergeFrom(from);
3366
0
}
3367
3368
0
void PgHeartbeatResponsePB::CopyFrom(const PgHeartbeatResponsePB& from) {
3369
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgHeartbeatResponsePB)
3370
0
  if (&from == this) return;
3371
0
  Clear();
3372
0
  MergeFrom(from);
3373
0
}
3374
3375
21.5k
bool PgHeartbeatResponsePB::IsInitialized() const {
3376
21.5k
  if (has_status()) {
3377
0
    if (!this->status_->IsInitialized()) return false;
3378
0
  }
3379
21.5k
  return true;
3380
21.5k
}
3381
3382
0
void PgHeartbeatResponsePB::Swap(PgHeartbeatResponsePB* other) {
3383
0
  if (other == this) return;
3384
0
  InternalSwap(other);
3385
0
}
3386
0
void PgHeartbeatResponsePB::InternalSwap(PgHeartbeatResponsePB* other) {
3387
0
  using std::swap;
3388
0
  swap(status_, other->status_);
3389
0
  swap(session_id_, other->session_id_);
3390
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
3391
0
  swap(_cached_size_, other->_cached_size_);
3392
0
}
3393
3394
0
::google::protobuf::Metadata PgHeartbeatResponsePB::GetMetadata() const {
3395
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
3396
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
3397
0
}
3398
3399
3400
// ===================================================================
3401
3402
26.8k
void PgObjectIdPB::InitAsDefaultInstance() {
3403
26.8k
}
3404
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3405
const int PgObjectIdPB::kDatabaseOidFieldNumber;
3406
const int PgObjectIdPB::kObjectOidFieldNumber;
3407
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3408
3409
PgObjectIdPB::PgObjectIdPB()
3410
82.5k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3411
82.5k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3412
55.7k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgObjectIdPB();
3413
55.7k
  }
3414
82.5k
  SharedCtor();
3415
  // @@protoc_insertion_point(constructor:yb.tserver.PgObjectIdPB)
3416
82.5k
}
3417
PgObjectIdPB::PgObjectIdPB(const PgObjectIdPB& from)
3418
  : ::google::protobuf::Message(),
3419
      _internal_metadata_(NULL),
3420
0
      _cached_size_(0) {
3421
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3422
0
  ::memcpy(&database_oid_, &from.database_oid_,
3423
0
    static_cast<size_t>(reinterpret_cast<char*>(&object_oid_) -
3424
0
    reinterpret_cast<char*>(&database_oid_)) + sizeof(object_oid_));
3425
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgObjectIdPB)
3426
0
}
3427
3428
82.5k
void PgObjectIdPB::SharedCtor() {
3429
82.5k
  ::memset(&database_oid_, 0, static_cast<size_t>(
3430
82.5k
      reinterpret_cast<char*>(&object_oid_) -
3431
82.5k
      reinterpret_cast<char*>(&database_oid_)) + sizeof(object_oid_));
3432
82.5k
  _cached_size_ = 0;
3433
82.5k
}
3434
3435
55.6k
PgObjectIdPB::~PgObjectIdPB() {
3436
  // @@protoc_insertion_point(destructor:yb.tserver.PgObjectIdPB)
3437
55.6k
  SharedDtor();
3438
55.6k
}
3439
3440
55.6k
void PgObjectIdPB::SharedDtor() {
3441
55.6k
}
3442
3443
0
void PgObjectIdPB::SetCachedSize(int size) const {
3444
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3445
0
  _cached_size_ = size;
3446
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3447
0
}
3448
0
const ::google::protobuf::Descriptor* PgObjectIdPB::descriptor() {
3449
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
3450
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3451
0
}
3452
3453
0
const PgObjectIdPB& PgObjectIdPB::default_instance() {
3454
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgObjectIdPB();
3455
0
  return *internal_default_instance();
3456
0
}
3457
3458
0
PgObjectIdPB* PgObjectIdPB::New(::google::protobuf::Arena* arena) const {
3459
0
  PgObjectIdPB* n = new PgObjectIdPB;
3460
0
  if (arena != NULL) {
3461
0
    arena->Own(n);
3462
0
  }
3463
0
  return n;
3464
0
}
3465
3466
0
void PgObjectIdPB::Clear() {
3467
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgObjectIdPB)
3468
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3469
  // Prevent compiler warnings about cached_has_bits being unused
3470
0
  (void) cached_has_bits;
3471
3472
0
  ::memset(&database_oid_, 0, static_cast<size_t>(
3473
0
      reinterpret_cast<char*>(&object_oid_) -
3474
0
      reinterpret_cast<char*>(&database_oid_)) + sizeof(object_oid_));
3475
0
  _internal_metadata_.Clear();
3476
0
}
3477
3478
bool PgObjectIdPB::MergePartialFromCodedStream(
3479
27.0k
    ::google::protobuf::io::CodedInputStream* input) {
3480
38.2k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
3481
27.0k
  ::google::protobuf::uint32 tag;
3482
  // @@protoc_insertion_point(parse_start:yb.tserver.PgObjectIdPB)
3483
65.3k
  for (;;) {
3484
65.3k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3485
65.3k
    tag = p.first;
3486
65.3k
    if (!p.second) 
goto handle_unusual27.0k
;
3487
38.2k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3488
      // uint32 database_oid = 1;
3489
26.2k
      case 1: {
3490
26.2k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3491
26.2k
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
3492
3493
26.2k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3494
26.2k
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
3495
26.2k
                 input, &database_oid_)));
3496
26.2k
        } else {
3497
0
          goto handle_unusual;
3498
0
        }
3499
26.2k
        break;
3500
26.2k
      }
3501
3502
      // uint32 object_oid = 2;
3503
26.2k
      case 2: {
3504
12.0k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3505
12.0k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
3506
3507
12.0k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3508
12.0k
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
3509
12.0k
                 input, &object_oid_)));
3510
12.0k
        } else {
3511
0
          goto handle_unusual;
3512
0
        }
3513
12.0k
        break;
3514
12.0k
      }
3515
3516
12.0k
      default: {
3517
27.0k
      handle_unusual:
3518
27.0k
        if (tag == 0) {
3519
27.0k
          goto success;
3520
27.0k
        }
3521
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3522
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3523
0
        break;
3524
0
      }
3525
38.2k
    }
3526
38.2k
  }
3527
27.0k
success:
3528
  // @@protoc_insertion_point(parse_success:yb.tserver.PgObjectIdPB)
3529
27.0k
  return true;
3530
0
failure:
3531
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgObjectIdPB)
3532
0
  return false;
3533
27.0k
#undef DO_
3534
27.0k
}
3535
3536
void PgObjectIdPB::SerializeWithCachedSizes(
3537
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3538
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgObjectIdPB)
3539
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3540
0
  (void) cached_has_bits;
3541
3542
  // uint32 database_oid = 1;
3543
0
  if (this->database_oid() != 0) {
3544
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->database_oid(), output);
3545
0
  }
3546
3547
  // uint32 object_oid = 2;
3548
0
  if (this->object_oid() != 0) {
3549
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->object_oid(), output);
3550
0
  }
3551
3552
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
3553
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3554
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
3555
0
  }
3556
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgObjectIdPB)
3557
0
}
3558
3559
::google::protobuf::uint8* PgObjectIdPB::InternalSerializeWithCachedSizesToArray(
3560
27.0k
    bool deterministic, ::google::protobuf::uint8* target) const {
3561
27.0k
  (void)deterministic; // Unused
3562
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgObjectIdPB)
3563
27.0k
  ::google::protobuf::uint32 cached_has_bits = 0;
3564
27.0k
  (void) cached_has_bits;
3565
3566
  // uint32 database_oid = 1;
3567
27.0k
  if (this->database_oid() != 0) {
3568
26.2k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->database_oid(), target);
3569
26.2k
  }
3570
3571
  // uint32 object_oid = 2;
3572
27.0k
  if (this->object_oid() != 0) {
3573
12.0k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->object_oid(), target);
3574
12.0k
  }
3575
3576
27.0k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
3577
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3578
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
3579
0
  }
3580
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgObjectIdPB)
3581
27.0k
  return target;
3582
27.0k
}
3583
3584
54.1k
size_t PgObjectIdPB::ByteSizeLong() const {
3585
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgObjectIdPB)
3586
54.1k
  size_t total_size = 0;
3587
3588
54.1k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
3589
0
    total_size +=
3590
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3591
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
3592
0
  }
3593
  // uint32 database_oid = 1;
3594
54.1k
  if (this->database_oid() != 0) {
3595
52.4k
    total_size += 1 +
3596
52.4k
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
3597
52.4k
        this->database_oid());
3598
52.4k
  }
3599
3600
  // uint32 object_oid = 2;
3601
54.1k
  if (this->object_oid() != 0) {
3602
24.1k
    total_size += 1 +
3603
24.1k
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
3604
24.1k
        this->object_oid());
3605
24.1k
  }
3606
3607
54.1k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3608
54.1k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3609
54.1k
  _cached_size_ = cached_size;
3610
54.1k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3611
54.1k
  return total_size;
3612
54.1k
}
3613
3614
0
void PgObjectIdPB::MergeFrom(const ::google::protobuf::Message& from) {
3615
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgObjectIdPB)
3616
0
  GOOGLE_DCHECK_NE(&from, this);
3617
0
  const PgObjectIdPB* source =
3618
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgObjectIdPB>(
3619
0
          &from);
3620
0
  if (source == NULL) {
3621
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgObjectIdPB)
3622
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3623
0
  } else {
3624
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgObjectIdPB)
3625
0
    MergeFrom(*source);
3626
0
  }
3627
0
}
3628
3629
0
void PgObjectIdPB::MergeFrom(const PgObjectIdPB& from) {
3630
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgObjectIdPB)
3631
0
  GOOGLE_DCHECK_NE(&from, this);
3632
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3633
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3634
0
  (void) cached_has_bits;
3635
3636
0
  if (from.database_oid() != 0) {
3637
0
    set_database_oid(from.database_oid());
3638
0
  }
3639
0
  if (from.object_oid() != 0) {
3640
0
    set_object_oid(from.object_oid());
3641
0
  }
3642
0
}
3643
3644
0
void PgObjectIdPB::CopyFrom(const ::google::protobuf::Message& from) {
3645
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgObjectIdPB)
3646
0
  if (&from == this) return;
3647
0
  Clear();
3648
0
  MergeFrom(from);
3649
0
}
3650
3651
0
void PgObjectIdPB::CopyFrom(const PgObjectIdPB& from) {
3652
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgObjectIdPB)
3653
0
  if (&from == this) return;
3654
0
  Clear();
3655
0
  MergeFrom(from);
3656
0
}
3657
3658
0
bool PgObjectIdPB::IsInitialized() const {
3659
0
  return true;
3660
0
}
3661
3662
0
void PgObjectIdPB::Swap(PgObjectIdPB* other) {
3663
0
  if (other == this) return;
3664
0
  InternalSwap(other);
3665
0
}
3666
0
void PgObjectIdPB::InternalSwap(PgObjectIdPB* other) {
3667
0
  using std::swap;
3668
0
  swap(database_oid_, other->database_oid_);
3669
0
  swap(object_oid_, other->object_oid_);
3670
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
3671
0
  swap(_cached_size_, other->_cached_size_);
3672
0
}
3673
3674
27.0k
::google::protobuf::Metadata PgObjectIdPB::GetMetadata() const {
3675
27.0k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
3676
27.0k
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
3677
27.0k
}
3678
3679
3680
// ===================================================================
3681
3682
26.8k
void PgAlterDatabaseRequestPB::InitAsDefaultInstance() {
3683
26.8k
}
3684
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3685
const int PgAlterDatabaseRequestPB::kSessionIdFieldNumber;
3686
const int PgAlterDatabaseRequestPB::kDatabaseNameFieldNumber;
3687
const int PgAlterDatabaseRequestPB::kDatabaseOidFieldNumber;
3688
const int PgAlterDatabaseRequestPB::kNewNameFieldNumber;
3689
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3690
3691
PgAlterDatabaseRequestPB::PgAlterDatabaseRequestPB()
3692
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3693
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3694
6
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgAlterDatabaseRequestPB();
3695
6
  }
3696
26.8k
  SharedCtor();
3697
  // @@protoc_insertion_point(constructor:yb.tserver.PgAlterDatabaseRequestPB)
3698
26.8k
}
3699
PgAlterDatabaseRequestPB::PgAlterDatabaseRequestPB(const PgAlterDatabaseRequestPB& from)
3700
  : ::google::protobuf::Message(),
3701
      _internal_metadata_(NULL),
3702
0
      _cached_size_(0) {
3703
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3704
0
  database_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3705
0
  if (from.database_name().size() > 0) {
3706
0
    database_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.database_name_);
3707
0
  }
3708
0
  new_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3709
0
  if (from.new_name().size() > 0) {
3710
0
    new_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.new_name_);
3711
0
  }
3712
0
  ::memcpy(&session_id_, &from.session_id_,
3713
0
    static_cast<size_t>(reinterpret_cast<char*>(&database_oid_) -
3714
0
    reinterpret_cast<char*>(&session_id_)) + sizeof(database_oid_));
3715
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgAlterDatabaseRequestPB)
3716
0
}
3717
3718
26.8k
void PgAlterDatabaseRequestPB::SharedCtor() {
3719
26.8k
  database_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3720
26.8k
  new_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3721
26.8k
  ::memset(&session_id_, 0, static_cast<size_t>(
3722
26.8k
      reinterpret_cast<char*>(&database_oid_) -
3723
26.8k
      reinterpret_cast<char*>(&session_id_)) + sizeof(database_oid_));
3724
26.8k
  _cached_size_ = 0;
3725
26.8k
}
3726
3727
6
PgAlterDatabaseRequestPB::~PgAlterDatabaseRequestPB() {
3728
  // @@protoc_insertion_point(destructor:yb.tserver.PgAlterDatabaseRequestPB)
3729
6
  SharedDtor();
3730
6
}
3731
3732
6
void PgAlterDatabaseRequestPB::SharedDtor() {
3733
6
  database_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3734
6
  new_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3735
6
}
3736
3737
0
void PgAlterDatabaseRequestPB::SetCachedSize(int size) const {
3738
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3739
0
  _cached_size_ = size;
3740
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3741
0
}
3742
0
const ::google::protobuf::Descriptor* PgAlterDatabaseRequestPB::descriptor() {
3743
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
3744
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3745
0
}
3746
3747
0
const PgAlterDatabaseRequestPB& PgAlterDatabaseRequestPB::default_instance() {
3748
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgAlterDatabaseRequestPB();
3749
0
  return *internal_default_instance();
3750
0
}
3751
3752
0
PgAlterDatabaseRequestPB* PgAlterDatabaseRequestPB::New(::google::protobuf::Arena* arena) const {
3753
0
  PgAlterDatabaseRequestPB* n = new PgAlterDatabaseRequestPB;
3754
0
  if (arena != NULL) {
3755
0
    arena->Own(n);
3756
0
  }
3757
0
  return n;
3758
0
}
3759
3760
3
void PgAlterDatabaseRequestPB::Clear() {
3761
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgAlterDatabaseRequestPB)
3762
3
  ::google::protobuf::uint32 cached_has_bits = 0;
3763
  // Prevent compiler warnings about cached_has_bits being unused
3764
3
  (void) cached_has_bits;
3765
3766
3
  database_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3767
3
  new_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3768
3
  ::memset(&session_id_, 0, static_cast<size_t>(
3769
3
      reinterpret_cast<char*>(&database_oid_) -
3770
3
      reinterpret_cast<char*>(&session_id_)) + sizeof(database_oid_));
3771
3
  _internal_metadata_.Clear();
3772
3
}
3773
3774
bool PgAlterDatabaseRequestPB::MergePartialFromCodedStream(
3775
3
    ::google::protobuf::io::CodedInputStream* input) {
3776
18
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
3777
3
  ::google::protobuf::uint32 tag;
3778
  // @@protoc_insertion_point(parse_start:yb.tserver.PgAlterDatabaseRequestPB)
3779
15
  for (;;) {
3780
15
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3781
15
    tag = p.first;
3782
15
    if (!p.second) 
goto handle_unusual3
;
3783
12
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3784
      // uint64 session_id = 1;
3785
3
      case 1: {
3786
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3787
3
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
3788
3789
3
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3790
3
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
3791
3
                 input, &session_id_)));
3792
3
        } else {
3793
0
          goto handle_unusual;
3794
0
        }
3795
3
        break;
3796
3
      }
3797
3798
      // string database_name = 2;
3799
3
      case 2: {
3800
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3801
3
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
3802
3
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3803
3
                input, this->mutable_database_name()));
3804
3
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3805
3
            this->database_name().data(), static_cast<int>(this->database_name().length()),
3806
3
            ::google::protobuf::internal::WireFormatLite::PARSE,
3807
3
            "yb.tserver.PgAlterDatabaseRequestPB.database_name"));
3808
3
        } else {
3809
0
          goto handle_unusual;
3810
0
        }
3811
3
        break;
3812
3
      }
3813
3814
      // uint32 database_oid = 3;
3815
3
      case 3: {
3816
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3817
3
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
3818
3819
3
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3820
3
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
3821
3
                 input, &database_oid_)));
3822
3
        } else {
3823
0
          goto handle_unusual;
3824
0
        }
3825
3
        break;
3826
3
      }
3827
3828
      // string new_name = 4;
3829
3
      case 4: {
3830
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3831
3
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
3832
3
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3833
3
                input, this->mutable_new_name()));
3834
3
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3835
3
            this->new_name().data(), static_cast<int>(this->new_name().length()),
3836
3
            ::google::protobuf::internal::WireFormatLite::PARSE,
3837
3
            "yb.tserver.PgAlterDatabaseRequestPB.new_name"));
3838
3
        } else {
3839
0
          goto handle_unusual;
3840
0
        }
3841
3
        break;
3842
3
      }
3843
3844
3
      default: {
3845
3
      handle_unusual:
3846
3
        if (tag == 0) {
3847
3
          goto success;
3848
3
        }
3849
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3850
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3851
0
        break;
3852
0
      }
3853
12
    }
3854
12
  }
3855
3
success:
3856
  // @@protoc_insertion_point(parse_success:yb.tserver.PgAlterDatabaseRequestPB)
3857
3
  return true;
3858
0
failure:
3859
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgAlterDatabaseRequestPB)
3860
0
  return false;
3861
3
#undef DO_
3862
3
}
3863
3864
void PgAlterDatabaseRequestPB::SerializeWithCachedSizes(
3865
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3866
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgAlterDatabaseRequestPB)
3867
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3868
0
  (void) cached_has_bits;
3869
3870
  // uint64 session_id = 1;
3871
0
  if (this->session_id() != 0) {
3872
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
3873
0
  }
3874
3875
  // string database_name = 2;
3876
0
  if (this->database_name().size() > 0) {
3877
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3878
0
      this->database_name().data(), static_cast<int>(this->database_name().length()),
3879
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3880
0
      "yb.tserver.PgAlterDatabaseRequestPB.database_name");
3881
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
3882
0
      2, this->database_name(), output);
3883
0
  }
3884
3885
  // uint32 database_oid = 3;
3886
0
  if (this->database_oid() != 0) {
3887
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->database_oid(), output);
3888
0
  }
3889
3890
  // string new_name = 4;
3891
0
  if (this->new_name().size() > 0) {
3892
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3893
0
      this->new_name().data(), static_cast<int>(this->new_name().length()),
3894
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3895
0
      "yb.tserver.PgAlterDatabaseRequestPB.new_name");
3896
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
3897
0
      4, this->new_name(), output);
3898
0
  }
3899
3900
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
3901
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3902
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
3903
0
  }
3904
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgAlterDatabaseRequestPB)
3905
0
}
3906
3907
::google::protobuf::uint8* PgAlterDatabaseRequestPB::InternalSerializeWithCachedSizesToArray(
3908
3
    bool deterministic, ::google::protobuf::uint8* target) const {
3909
3
  (void)deterministic; // Unused
3910
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgAlterDatabaseRequestPB)
3911
3
  ::google::protobuf::uint32 cached_has_bits = 0;
3912
3
  (void) cached_has_bits;
3913
3914
  // uint64 session_id = 1;
3915
3
  if (this->session_id() != 0) {
3916
3
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
3917
3
  }
3918
3919
  // string database_name = 2;
3920
3
  if (this->database_name().size() > 0) {
3921
3
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3922
3
      this->database_name().data(), static_cast<int>(this->database_name().length()),
3923
3
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3924
3
      "yb.tserver.PgAlterDatabaseRequestPB.database_name");
3925
3
    target =
3926
3
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
3927
3
        2, this->database_name(), target);
3928
3
  }
3929
3930
  // uint32 database_oid = 3;
3931
3
  if (this->database_oid() != 0) {
3932
3
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->database_oid(), target);
3933
3
  }
3934
3935
  // string new_name = 4;
3936
3
  if (this->new_name().size() > 0) {
3937
3
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3938
3
      this->new_name().data(), static_cast<int>(this->new_name().length()),
3939
3
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3940
3
      "yb.tserver.PgAlterDatabaseRequestPB.new_name");
3941
3
    target =
3942
3
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
3943
3
        4, this->new_name(), target);
3944
3
  }
3945
3946
3
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
3947
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3948
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
3949
0
  }
3950
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgAlterDatabaseRequestPB)
3951
3
  return target;
3952
3
}
3953
3954
6
size_t PgAlterDatabaseRequestPB::ByteSizeLong() const {
3955
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgAlterDatabaseRequestPB)
3956
6
  size_t total_size = 0;
3957
3958
6
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
3959
0
    total_size +=
3960
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3961
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
3962
0
  }
3963
  // string database_name = 2;
3964
6
  if (this->database_name().size() > 0) {
3965
6
    total_size += 1 +
3966
6
      ::google::protobuf::internal::WireFormatLite::StringSize(
3967
6
        this->database_name());
3968
6
  }
3969
3970
  // string new_name = 4;
3971
6
  if (this->new_name().size() > 0) {
3972
6
    total_size += 1 +
3973
6
      ::google::protobuf::internal::WireFormatLite::StringSize(
3974
6
        this->new_name());
3975
6
  }
3976
3977
  // uint64 session_id = 1;
3978
6
  if (this->session_id() != 0) {
3979
6
    total_size += 1 +
3980
6
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
3981
6
        this->session_id());
3982
6
  }
3983
3984
  // uint32 database_oid = 3;
3985
6
  if (this->database_oid() != 0) {
3986
6
    total_size += 1 +
3987
6
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
3988
6
        this->database_oid());
3989
6
  }
3990
3991
6
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3992
6
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3993
6
  _cached_size_ = cached_size;
3994
6
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3995
6
  return total_size;
3996
6
}
3997
3998
0
void PgAlterDatabaseRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
3999
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgAlterDatabaseRequestPB)
4000
0
  GOOGLE_DCHECK_NE(&from, this);
4001
0
  const PgAlterDatabaseRequestPB* source =
4002
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgAlterDatabaseRequestPB>(
4003
0
          &from);
4004
0
  if (source == NULL) {
4005
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgAlterDatabaseRequestPB)
4006
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4007
0
  } else {
4008
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgAlterDatabaseRequestPB)
4009
0
    MergeFrom(*source);
4010
0
  }
4011
0
}
4012
4013
0
void PgAlterDatabaseRequestPB::MergeFrom(const PgAlterDatabaseRequestPB& from) {
4014
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgAlterDatabaseRequestPB)
4015
0
  GOOGLE_DCHECK_NE(&from, this);
4016
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4017
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4018
0
  (void) cached_has_bits;
4019
4020
0
  if (from.database_name().size() > 0) {
4021
4022
0
    database_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.database_name_);
4023
0
  }
4024
0
  if (from.new_name().size() > 0) {
4025
4026
0
    new_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.new_name_);
4027
0
  }
4028
0
  if (from.session_id() != 0) {
4029
0
    set_session_id(from.session_id());
4030
0
  }
4031
0
  if (from.database_oid() != 0) {
4032
0
    set_database_oid(from.database_oid());
4033
0
  }
4034
0
}
4035
4036
0
void PgAlterDatabaseRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
4037
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgAlterDatabaseRequestPB)
4038
0
  if (&from == this) return;
4039
0
  Clear();
4040
0
  MergeFrom(from);
4041
0
}
4042
4043
0
void PgAlterDatabaseRequestPB::CopyFrom(const PgAlterDatabaseRequestPB& from) {
4044
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgAlterDatabaseRequestPB)
4045
0
  if (&from == this) return;
4046
0
  Clear();
4047
0
  MergeFrom(from);
4048
0
}
4049
4050
6
bool PgAlterDatabaseRequestPB::IsInitialized() const {
4051
6
  return true;
4052
6
}
4053
4054
0
void PgAlterDatabaseRequestPB::Swap(PgAlterDatabaseRequestPB* other) {
4055
0
  if (other == this) return;
4056
0
  InternalSwap(other);
4057
0
}
4058
0
void PgAlterDatabaseRequestPB::InternalSwap(PgAlterDatabaseRequestPB* other) {
4059
0
  using std::swap;
4060
0
  database_name_.Swap(&other->database_name_);
4061
0
  new_name_.Swap(&other->new_name_);
4062
0
  swap(session_id_, other->session_id_);
4063
0
  swap(database_oid_, other->database_oid_);
4064
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
4065
0
  swap(_cached_size_, other->_cached_size_);
4066
0
}
4067
4068
3
::google::protobuf::Metadata PgAlterDatabaseRequestPB::GetMetadata() const {
4069
3
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
4070
3
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
4071
3
}
4072
4073
4074
// ===================================================================
4075
4076
26.8k
void PgAlterDatabaseResponsePB::InitAsDefaultInstance() {
4077
26.8k
  ::yb::tserver::_PgAlterDatabaseResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
4078
26.8k
      ::yb::AppStatusPB::internal_default_instance());
4079
26.8k
}
4080
0
void PgAlterDatabaseResponsePB::clear_status() {
4081
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
4082
0
    delete status_;
4083
0
  }
4084
0
  status_ = NULL;
4085
0
}
4086
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4087
const int PgAlterDatabaseResponsePB::kStatusFieldNumber;
4088
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4089
4090
PgAlterDatabaseResponsePB::PgAlterDatabaseResponsePB()
4091
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4092
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4093
6
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgAlterDatabaseResponsePB();
4094
6
  }
4095
26.8k
  SharedCtor();
4096
  // @@protoc_insertion_point(constructor:yb.tserver.PgAlterDatabaseResponsePB)
4097
26.8k
}
4098
PgAlterDatabaseResponsePB::PgAlterDatabaseResponsePB(const PgAlterDatabaseResponsePB& from)
4099
  : ::google::protobuf::Message(),
4100
      _internal_metadata_(NULL),
4101
0
      _cached_size_(0) {
4102
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4103
0
  if (from.has_status()) {
4104
0
    status_ = new ::yb::AppStatusPB(*from.status_);
4105
0
  } else {
4106
0
    status_ = NULL;
4107
0
  }
4108
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgAlterDatabaseResponsePB)
4109
0
}
4110
4111
26.8k
void PgAlterDatabaseResponsePB::SharedCtor() {
4112
26.8k
  status_ = NULL;
4113
26.8k
  _cached_size_ = 0;
4114
26.8k
}
4115
4116
6
PgAlterDatabaseResponsePB::~PgAlterDatabaseResponsePB() {
4117
  // @@protoc_insertion_point(destructor:yb.tserver.PgAlterDatabaseResponsePB)
4118
6
  SharedDtor();
4119
6
}
4120
4121
6
void PgAlterDatabaseResponsePB::SharedDtor() {
4122
6
  if (this != internal_default_instance()) delete status_;
4123
6
}
4124
4125
0
void PgAlterDatabaseResponsePB::SetCachedSize(int size) const {
4126
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4127
0
  _cached_size_ = size;
4128
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4129
0
}
4130
0
const ::google::protobuf::Descriptor* PgAlterDatabaseResponsePB::descriptor() {
4131
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
4132
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4133
0
}
4134
4135
0
const PgAlterDatabaseResponsePB& PgAlterDatabaseResponsePB::default_instance() {
4136
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgAlterDatabaseResponsePB();
4137
0
  return *internal_default_instance();
4138
0
}
4139
4140
0
PgAlterDatabaseResponsePB* PgAlterDatabaseResponsePB::New(::google::protobuf::Arena* arena) const {
4141
0
  PgAlterDatabaseResponsePB* n = new PgAlterDatabaseResponsePB;
4142
0
  if (arena != NULL) {
4143
0
    arena->Own(n);
4144
0
  }
4145
0
  return n;
4146
0
}
4147
4148
3
void PgAlterDatabaseResponsePB::Clear() {
4149
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgAlterDatabaseResponsePB)
4150
3
  ::google::protobuf::uint32 cached_has_bits = 0;
4151
  // Prevent compiler warnings about cached_has_bits being unused
4152
3
  (void) cached_has_bits;
4153
4154
3
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
4155
0
    delete status_;
4156
0
  }
4157
3
  status_ = NULL;
4158
3
  _internal_metadata_.Clear();
4159
3
}
4160
4161
bool PgAlterDatabaseResponsePB::MergePartialFromCodedStream(
4162
3
    ::google::protobuf::io::CodedInputStream* input) {
4163
3
#define DO_(EXPRESSION) 
if (0
!GOOGLE_PREDICT_TRUE0
(EXPRESSION))
goto failure0
4164
3
  ::google::protobuf::uint32 tag;
4165
  // @@protoc_insertion_point(parse_start:yb.tserver.PgAlterDatabaseResponsePB)
4166
3
  for (;;) {
4167
3
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4168
3
    tag = p.first;
4169
3
    if (!p.second) goto handle_unusual;
4170
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4171
      // .yb.AppStatusPB status = 1;
4172
0
      case 1: {
4173
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4174
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4175
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4176
0
               input, mutable_status()));
4177
0
        } else {
4178
0
          goto handle_unusual;
4179
0
        }
4180
0
        break;
4181
0
      }
4182
4183
0
      default: {
4184
3
      handle_unusual:
4185
3
        if (tag == 0) {
4186
3
          goto success;
4187
3
        }
4188
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
4189
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
4190
0
        break;
4191
0
      }
4192
0
    }
4193
0
  }
4194
3
success:
4195
  // @@protoc_insertion_point(parse_success:yb.tserver.PgAlterDatabaseResponsePB)
4196
3
  return true;
4197
0
failure:
4198
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgAlterDatabaseResponsePB)
4199
0
  return false;
4200
3
#undef DO_
4201
3
}
4202
4203
void PgAlterDatabaseResponsePB::SerializeWithCachedSizes(
4204
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4205
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgAlterDatabaseResponsePB)
4206
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4207
0
  (void) cached_has_bits;
4208
4209
  // .yb.AppStatusPB status = 1;
4210
0
  if (this->has_status()) {
4211
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4212
0
      1, *this->status_, output);
4213
0
  }
4214
4215
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
4216
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4217
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
4218
0
  }
4219
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgAlterDatabaseResponsePB)
4220
0
}
4221
4222
::google::protobuf::uint8* PgAlterDatabaseResponsePB::InternalSerializeWithCachedSizesToArray(
4223
3
    bool deterministic, ::google::protobuf::uint8* target) const {
4224
3
  (void)deterministic; // Unused
4225
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgAlterDatabaseResponsePB)
4226
3
  ::google::protobuf::uint32 cached_has_bits = 0;
4227
3
  (void) cached_has_bits;
4228
4229
  // .yb.AppStatusPB status = 1;
4230
3
  if (this->has_status()) {
4231
0
    target = ::google::protobuf::internal::WireFormatLite::
4232
0
      InternalWriteMessageToArray(
4233
0
        1, *this->status_, deterministic, target);
4234
0
  }
4235
4236
3
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
4237
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4238
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
4239
0
  }
4240
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgAlterDatabaseResponsePB)
4241
3
  return target;
4242
3
}
4243
4244
6
size_t PgAlterDatabaseResponsePB::ByteSizeLong() const {
4245
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgAlterDatabaseResponsePB)
4246
6
  size_t total_size = 0;
4247
4248
6
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
4249
0
    total_size +=
4250
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4251
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
4252
0
  }
4253
  // .yb.AppStatusPB status = 1;
4254
6
  if (this->has_status()) {
4255
0
    total_size += 1 +
4256
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
4257
0
        *this->status_);
4258
0
  }
4259
4260
6
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4261
6
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4262
6
  _cached_size_ = cached_size;
4263
6
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4264
6
  return total_size;
4265
6
}
4266
4267
0
void PgAlterDatabaseResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
4268
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgAlterDatabaseResponsePB)
4269
0
  GOOGLE_DCHECK_NE(&from, this);
4270
0
  const PgAlterDatabaseResponsePB* source =
4271
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgAlterDatabaseResponsePB>(
4272
0
          &from);
4273
0
  if (source == NULL) {
4274
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgAlterDatabaseResponsePB)
4275
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4276
0
  } else {
4277
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgAlterDatabaseResponsePB)
4278
0
    MergeFrom(*source);
4279
0
  }
4280
0
}
4281
4282
0
void PgAlterDatabaseResponsePB::MergeFrom(const PgAlterDatabaseResponsePB& from) {
4283
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgAlterDatabaseResponsePB)
4284
0
  GOOGLE_DCHECK_NE(&from, this);
4285
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4286
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4287
0
  (void) cached_has_bits;
4288
4289
0
  if (from.has_status()) {
4290
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
4291
0
  }
4292
0
}
4293
4294
0
void PgAlterDatabaseResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
4295
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgAlterDatabaseResponsePB)
4296
0
  if (&from == this) return;
4297
0
  Clear();
4298
0
  MergeFrom(from);
4299
0
}
4300
4301
0
void PgAlterDatabaseResponsePB::CopyFrom(const PgAlterDatabaseResponsePB& from) {
4302
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgAlterDatabaseResponsePB)
4303
0
  if (&from == this) return;
4304
0
  Clear();
4305
0
  MergeFrom(from);
4306
0
}
4307
4308
6
bool PgAlterDatabaseResponsePB::IsInitialized() const {
4309
6
  if (has_status()) {
4310
0
    if (!this->status_->IsInitialized()) return false;
4311
0
  }
4312
6
  return true;
4313
6
}
4314
4315
0
void PgAlterDatabaseResponsePB::Swap(PgAlterDatabaseResponsePB* other) {
4316
0
  if (other == this) return;
4317
0
  InternalSwap(other);
4318
0
}
4319
0
void PgAlterDatabaseResponsePB::InternalSwap(PgAlterDatabaseResponsePB* other) {
4320
0
  using std::swap;
4321
0
  swap(status_, other->status_);
4322
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
4323
0
  swap(_cached_size_, other->_cached_size_);
4324
0
}
4325
4326
0
::google::protobuf::Metadata PgAlterDatabaseResponsePB::GetMetadata() const {
4327
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
4328
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
4329
0
}
4330
4331
4332
// ===================================================================
4333
4334
26.8k
void PgBackfillIndexRequestPB::InitAsDefaultInstance() {
4335
26.8k
  ::yb::tserver::_PgBackfillIndexRequestPB_default_instance_._instance.get_mutable()->table_id_ = const_cast< ::yb::tserver::PgObjectIdPB*>(
4336
26.8k
      ::yb::tserver::PgObjectIdPB::internal_default_instance());
4337
26.8k
}
4338
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4339
const int PgBackfillIndexRequestPB::kSessionIdFieldNumber;
4340
const int PgBackfillIndexRequestPB::kTableIdFieldNumber;
4341
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4342
4343
PgBackfillIndexRequestPB::PgBackfillIndexRequestPB()
4344
27.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4345
27.9k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4346
1.08k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgBackfillIndexRequestPB();
4347
1.08k
  }
4348
27.9k
  SharedCtor();
4349
  // @@protoc_insertion_point(constructor:yb.tserver.PgBackfillIndexRequestPB)
4350
27.9k
}
4351
PgBackfillIndexRequestPB::PgBackfillIndexRequestPB(const PgBackfillIndexRequestPB& from)
4352
  : ::google::protobuf::Message(),
4353
      _internal_metadata_(NULL),
4354
0
      _cached_size_(0) {
4355
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4356
0
  if (from.has_table_id()) {
4357
0
    table_id_ = new ::yb::tserver::PgObjectIdPB(*from.table_id_);
4358
0
  } else {
4359
0
    table_id_ = NULL;
4360
0
  }
4361
0
  session_id_ = from.session_id_;
4362
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgBackfillIndexRequestPB)
4363
0
}
4364
4365
27.9k
void PgBackfillIndexRequestPB::SharedCtor() {
4366
27.9k
  ::memset(&table_id_, 0, static_cast<size_t>(
4367
27.9k
      reinterpret_cast<char*>(&session_id_) -
4368
27.9k
      reinterpret_cast<char*>(&table_id_)) + sizeof(session_id_));
4369
27.9k
  _cached_size_ = 0;
4370
27.9k
}
4371
4372
1.08k
PgBackfillIndexRequestPB::~PgBackfillIndexRequestPB() {
4373
  // @@protoc_insertion_point(destructor:yb.tserver.PgBackfillIndexRequestPB)
4374
1.08k
  SharedDtor();
4375
1.08k
}
4376
4377
1.08k
void PgBackfillIndexRequestPB::SharedDtor() {
4378
1.08k
  if (this != internal_default_instance()) delete table_id_;
4379
1.08k
}
4380
4381
0
void PgBackfillIndexRequestPB::SetCachedSize(int size) const {
4382
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4383
0
  _cached_size_ = size;
4384
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4385
0
}
4386
0
const ::google::protobuf::Descriptor* PgBackfillIndexRequestPB::descriptor() {
4387
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
4388
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4389
0
}
4390
4391
0
const PgBackfillIndexRequestPB& PgBackfillIndexRequestPB::default_instance() {
4392
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgBackfillIndexRequestPB();
4393
0
  return *internal_default_instance();
4394
0
}
4395
4396
0
PgBackfillIndexRequestPB* PgBackfillIndexRequestPB::New(::google::protobuf::Arena* arena) const {
4397
0
  PgBackfillIndexRequestPB* n = new PgBackfillIndexRequestPB;
4398
0
  if (arena != NULL) {
4399
0
    arena->Own(n);
4400
0
  }
4401
0
  return n;
4402
0
}
4403
4404
540
void PgBackfillIndexRequestPB::Clear() {
4405
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgBackfillIndexRequestPB)
4406
540
  ::google::protobuf::uint32 cached_has_bits = 0;
4407
  // Prevent compiler warnings about cached_has_bits being unused
4408
540
  (void) cached_has_bits;
4409
4410
540
  if (GetArenaNoVirtual() == NULL && table_id_ != NULL) {
4411
0
    delete table_id_;
4412
0
  }
4413
540
  table_id_ = NULL;
4414
540
  session_id_ = GOOGLE_ULONGLONG(0);
4415
540
  _internal_metadata_.Clear();
4416
540
}
4417
4418
bool PgBackfillIndexRequestPB::MergePartialFromCodedStream(
4419
540
    ::google::protobuf::io::CodedInputStream* input) {
4420
1.08k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
4421
540
  ::google::protobuf::uint32 tag;
4422
  // @@protoc_insertion_point(parse_start:yb.tserver.PgBackfillIndexRequestPB)
4423
1.62k
  for (;;) {
4424
1.62k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4425
1.62k
    tag = p.first;
4426
1.62k
    if (!p.second) 
goto handle_unusual540
;
4427
1.08k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4428
      // uint64 session_id = 1;
4429
540
      case 1: {
4430
540
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4431
540
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
4432
4433
540
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4434
540
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
4435
540
                 input, &session_id_)));
4436
540
        } else {
4437
0
          goto handle_unusual;
4438
0
        }
4439
540
        break;
4440
540
      }
4441
4442
      // .yb.tserver.PgObjectIdPB table_id = 2;
4443
540
      case 2: {
4444
540
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4445
540
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
4446
540
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4447
540
               input, mutable_table_id()));
4448
540
        } else {
4449
0
          goto handle_unusual;
4450
0
        }
4451
540
        break;
4452
540
      }
4453
4454
540
      default: {
4455
540
      handle_unusual:
4456
540
        if (tag == 0) {
4457
540
          goto success;
4458
540
        }
4459
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
4460
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
4461
0
        break;
4462
0
      }
4463
1.08k
    }
4464
1.08k
  }
4465
540
success:
4466
  // @@protoc_insertion_point(parse_success:yb.tserver.PgBackfillIndexRequestPB)
4467
540
  return true;
4468
0
failure:
4469
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgBackfillIndexRequestPB)
4470
0
  return false;
4471
540
#undef DO_
4472
540
}
4473
4474
void PgBackfillIndexRequestPB::SerializeWithCachedSizes(
4475
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4476
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgBackfillIndexRequestPB)
4477
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4478
0
  (void) cached_has_bits;
4479
4480
  // uint64 session_id = 1;
4481
0
  if (this->session_id() != 0) {
4482
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
4483
0
  }
4484
4485
  // .yb.tserver.PgObjectIdPB table_id = 2;
4486
0
  if (this->has_table_id()) {
4487
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4488
0
      2, *this->table_id_, output);
4489
0
  }
4490
4491
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
4492
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4493
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
4494
0
  }
4495
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgBackfillIndexRequestPB)
4496
0
}
4497
4498
::google::protobuf::uint8* PgBackfillIndexRequestPB::InternalSerializeWithCachedSizesToArray(
4499
540
    bool deterministic, ::google::protobuf::uint8* target) const {
4500
540
  (void)deterministic; // Unused
4501
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgBackfillIndexRequestPB)
4502
540
  ::google::protobuf::uint32 cached_has_bits = 0;
4503
540
  (void) cached_has_bits;
4504
4505
  // uint64 session_id = 1;
4506
540
  if (this->session_id() != 0) {
4507
540
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
4508
540
  }
4509
4510
  // .yb.tserver.PgObjectIdPB table_id = 2;
4511
540
  if (this->has_table_id()) {
4512
540
    target = ::google::protobuf::internal::WireFormatLite::
4513
540
      InternalWriteMessageToArray(
4514
540
        2, *this->table_id_, deterministic, target);
4515
540
  }
4516
4517
540
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
4518
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4519
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
4520
0
  }
4521
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgBackfillIndexRequestPB)
4522
540
  return target;
4523
540
}
4524
4525
1.08k
size_t PgBackfillIndexRequestPB::ByteSizeLong() const {
4526
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgBackfillIndexRequestPB)
4527
1.08k
  size_t total_size = 0;
4528
4529
1.08k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
4530
0
    total_size +=
4531
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4532
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
4533
0
  }
4534
  // .yb.tserver.PgObjectIdPB table_id = 2;
4535
1.08k
  if (this->has_table_id()) {
4536
1.08k
    total_size += 1 +
4537
1.08k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
4538
1.08k
        *this->table_id_);
4539
1.08k
  }
4540
4541
  // uint64 session_id = 1;
4542
1.08k
  if (this->session_id() != 0) {
4543
1.08k
    total_size += 1 +
4544
1.08k
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
4545
1.08k
        this->session_id());
4546
1.08k
  }
4547
4548
1.08k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4549
1.08k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4550
1.08k
  _cached_size_ = cached_size;
4551
1.08k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4552
1.08k
  return total_size;
4553
1.08k
}
4554
4555
0
void PgBackfillIndexRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
4556
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgBackfillIndexRequestPB)
4557
0
  GOOGLE_DCHECK_NE(&from, this);
4558
0
  const PgBackfillIndexRequestPB* source =
4559
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgBackfillIndexRequestPB>(
4560
0
          &from);
4561
0
  if (source == NULL) {
4562
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgBackfillIndexRequestPB)
4563
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4564
0
  } else {
4565
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgBackfillIndexRequestPB)
4566
0
    MergeFrom(*source);
4567
0
  }
4568
0
}
4569
4570
0
void PgBackfillIndexRequestPB::MergeFrom(const PgBackfillIndexRequestPB& from) {
4571
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgBackfillIndexRequestPB)
4572
0
  GOOGLE_DCHECK_NE(&from, this);
4573
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4574
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4575
0
  (void) cached_has_bits;
4576
4577
0
  if (from.has_table_id()) {
4578
0
    mutable_table_id()->::yb::tserver::PgObjectIdPB::MergeFrom(from.table_id());
4579
0
  }
4580
0
  if (from.session_id() != 0) {
4581
0
    set_session_id(from.session_id());
4582
0
  }
4583
0
}
4584
4585
0
void PgBackfillIndexRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
4586
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgBackfillIndexRequestPB)
4587
0
  if (&from == this) return;
4588
0
  Clear();
4589
0
  MergeFrom(from);
4590
0
}
4591
4592
0
void PgBackfillIndexRequestPB::CopyFrom(const PgBackfillIndexRequestPB& from) {
4593
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgBackfillIndexRequestPB)
4594
0
  if (&from == this) return;
4595
0
  Clear();
4596
0
  MergeFrom(from);
4597
0
}
4598
4599
1.08k
bool PgBackfillIndexRequestPB::IsInitialized() const {
4600
1.08k
  return true;
4601
1.08k
}
4602
4603
0
void PgBackfillIndexRequestPB::Swap(PgBackfillIndexRequestPB* other) {
4604
0
  if (other == this) return;
4605
0
  InternalSwap(other);
4606
0
}
4607
0
void PgBackfillIndexRequestPB::InternalSwap(PgBackfillIndexRequestPB* other) {
4608
0
  using std::swap;
4609
0
  swap(table_id_, other->table_id_);
4610
0
  swap(session_id_, other->session_id_);
4611
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
4612
0
  swap(_cached_size_, other->_cached_size_);
4613
0
}
4614
4615
540
::google::protobuf::Metadata PgBackfillIndexRequestPB::GetMetadata() const {
4616
540
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
4617
540
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
4618
540
}
4619
4620
4621
// ===================================================================
4622
4623
26.8k
void PgBackfillIndexResponsePB::InitAsDefaultInstance() {
4624
26.8k
  ::yb::tserver::_PgBackfillIndexResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
4625
26.8k
      ::yb::AppStatusPB::internal_default_instance());
4626
26.8k
}
4627
0
void PgBackfillIndexResponsePB::clear_status() {
4628
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
4629
0
    delete status_;
4630
0
  }
4631
0
  status_ = NULL;
4632
0
}
4633
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4634
const int PgBackfillIndexResponsePB::kStatusFieldNumber;
4635
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4636
4637
PgBackfillIndexResponsePB::PgBackfillIndexResponsePB()
4638
27.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4639
27.9k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4640
1.08k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgBackfillIndexResponsePB();
4641
1.08k
  }
4642
27.9k
  SharedCtor();
4643
  // @@protoc_insertion_point(constructor:yb.tserver.PgBackfillIndexResponsePB)
4644
27.9k
}
4645
PgBackfillIndexResponsePB::PgBackfillIndexResponsePB(const PgBackfillIndexResponsePB& from)
4646
  : ::google::protobuf::Message(),
4647
      _internal_metadata_(NULL),
4648
0
      _cached_size_(0) {
4649
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4650
0
  if (from.has_status()) {
4651
0
    status_ = new ::yb::AppStatusPB(*from.status_);
4652
0
  } else {
4653
0
    status_ = NULL;
4654
0
  }
4655
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgBackfillIndexResponsePB)
4656
0
}
4657
4658
27.9k
void PgBackfillIndexResponsePB::SharedCtor() {
4659
27.9k
  status_ = NULL;
4660
27.9k
  _cached_size_ = 0;
4661
27.9k
}
4662
4663
1.08k
PgBackfillIndexResponsePB::~PgBackfillIndexResponsePB() {
4664
  // @@protoc_insertion_point(destructor:yb.tserver.PgBackfillIndexResponsePB)
4665
1.08k
  SharedDtor();
4666
1.08k
}
4667
4668
1.08k
void PgBackfillIndexResponsePB::SharedDtor() {
4669
1.08k
  if (this != internal_default_instance()) delete status_;
4670
1.08k
}
4671
4672
0
void PgBackfillIndexResponsePB::SetCachedSize(int size) const {
4673
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4674
0
  _cached_size_ = size;
4675
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4676
0
}
4677
0
const ::google::protobuf::Descriptor* PgBackfillIndexResponsePB::descriptor() {
4678
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
4679
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4680
0
}
4681
4682
0
const PgBackfillIndexResponsePB& PgBackfillIndexResponsePB::default_instance() {
4683
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgBackfillIndexResponsePB();
4684
0
  return *internal_default_instance();
4685
0
}
4686
4687
0
PgBackfillIndexResponsePB* PgBackfillIndexResponsePB::New(::google::protobuf::Arena* arena) const {
4688
0
  PgBackfillIndexResponsePB* n = new PgBackfillIndexResponsePB;
4689
0
  if (arena != NULL) {
4690
0
    arena->Own(n);
4691
0
  }
4692
0
  return n;
4693
0
}
4694
4695
536
void PgBackfillIndexResponsePB::Clear() {
4696
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgBackfillIndexResponsePB)
4697
536
  ::google::protobuf::uint32 cached_has_bits = 0;
4698
  // Prevent compiler warnings about cached_has_bits being unused
4699
536
  (void) cached_has_bits;
4700
4701
536
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
4702
0
    delete status_;
4703
0
  }
4704
536
  status_ = NULL;
4705
536
  _internal_metadata_.Clear();
4706
536
}
4707
4708
bool PgBackfillIndexResponsePB::MergePartialFromCodedStream(
4709
536
    ::google::protobuf::io::CodedInputStream* input) {
4710
536
#define DO_(EXPRESSION) 
if (6
!GOOGLE_PREDICT_TRUE6
(EXPRESSION))
goto failure0
4711
536
  ::google::protobuf::uint32 tag;
4712
  // @@protoc_insertion_point(parse_start:yb.tserver.PgBackfillIndexResponsePB)
4713
542
  for (;;) {
4714
542
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4715
542
    tag = p.first;
4716
542
    if (!p.second) 
goto handle_unusual536
;
4717
6
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4718
      // .yb.AppStatusPB status = 1;
4719
6
      case 1: {
4720
6
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4721
6
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4722
6
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4723
6
               input, mutable_status()));
4724
6
        } else {
4725
0
          goto handle_unusual;
4726
0
        }
4727
6
        break;
4728
6
      }
4729
4730
6
      default: {
4731
536
      handle_unusual:
4732
536
        if (tag == 0) {
4733
536
          goto success;
4734
536
        }
4735
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
4736
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
4737
0
        break;
4738
0
      }
4739
6
    }
4740
6
  }
4741
536
success:
4742
  // @@protoc_insertion_point(parse_success:yb.tserver.PgBackfillIndexResponsePB)
4743
536
  return true;
4744
0
failure:
4745
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgBackfillIndexResponsePB)
4746
0
  return false;
4747
536
#undef DO_
4748
536
}
4749
4750
void PgBackfillIndexResponsePB::SerializeWithCachedSizes(
4751
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4752
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgBackfillIndexResponsePB)
4753
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4754
0
  (void) cached_has_bits;
4755
4756
  // .yb.AppStatusPB status = 1;
4757
0
  if (this->has_status()) {
4758
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4759
0
      1, *this->status_, output);
4760
0
  }
4761
4762
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
4763
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4764
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
4765
0
  }
4766
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgBackfillIndexResponsePB)
4767
0
}
4768
4769
::google::protobuf::uint8* PgBackfillIndexResponsePB::InternalSerializeWithCachedSizesToArray(
4770
540
    bool deterministic, ::google::protobuf::uint8* target) const {
4771
540
  (void)deterministic; // Unused
4772
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgBackfillIndexResponsePB)
4773
540
  ::google::protobuf::uint32 cached_has_bits = 0;
4774
540
  (void) cached_has_bits;
4775
4776
  // .yb.AppStatusPB status = 1;
4777
540
  if (this->has_status()) {
4778
10
    target = ::google::protobuf::internal::WireFormatLite::
4779
10
      InternalWriteMessageToArray(
4780
10
        1, *this->status_, deterministic, target);
4781
10
  }
4782
4783
540
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
4784
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4785
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
4786
0
  }
4787
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgBackfillIndexResponsePB)
4788
540
  return target;
4789
540
}
4790
4791
1.08k
size_t PgBackfillIndexResponsePB::ByteSizeLong() const {
4792
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgBackfillIndexResponsePB)
4793
1.08k
  size_t total_size = 0;
4794
4795
1.08k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
4796
0
    total_size +=
4797
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4798
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
4799
0
  }
4800
  // .yb.AppStatusPB status = 1;
4801
1.08k
  if (this->has_status()) {
4802
20
    total_size += 1 +
4803
20
      ::google::protobuf::internal::WireFormatLite::MessageSize(
4804
20
        *this->status_);
4805
20
  }
4806
4807
1.08k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4808
1.08k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4809
1.08k
  _cached_size_ = cached_size;
4810
1.08k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4811
1.08k
  return total_size;
4812
1.08k
}
4813
4814
0
void PgBackfillIndexResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
4815
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgBackfillIndexResponsePB)
4816
0
  GOOGLE_DCHECK_NE(&from, this);
4817
0
  const PgBackfillIndexResponsePB* source =
4818
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgBackfillIndexResponsePB>(
4819
0
          &from);
4820
0
  if (source == NULL) {
4821
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgBackfillIndexResponsePB)
4822
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4823
0
  } else {
4824
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgBackfillIndexResponsePB)
4825
0
    MergeFrom(*source);
4826
0
  }
4827
0
}
4828
4829
0
void PgBackfillIndexResponsePB::MergeFrom(const PgBackfillIndexResponsePB& from) {
4830
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgBackfillIndexResponsePB)
4831
0
  GOOGLE_DCHECK_NE(&from, this);
4832
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4833
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4834
0
  (void) cached_has_bits;
4835
4836
0
  if (from.has_status()) {
4837
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
4838
0
  }
4839
0
}
4840
4841
0
void PgBackfillIndexResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
4842
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgBackfillIndexResponsePB)
4843
0
  if (&from == this) return;
4844
0
  Clear();
4845
0
  MergeFrom(from);
4846
0
}
4847
4848
0
void PgBackfillIndexResponsePB::CopyFrom(const PgBackfillIndexResponsePB& from) {
4849
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgBackfillIndexResponsePB)
4850
0
  if (&from == this) return;
4851
0
  Clear();
4852
0
  MergeFrom(from);
4853
0
}
4854
4855
1.07k
bool PgBackfillIndexResponsePB::IsInitialized() const {
4856
1.07k
  if (has_status()) {
4857
16
    if (!this->status_->IsInitialized()) 
return false0
;
4858
16
  }
4859
1.07k
  return true;
4860
1.07k
}
4861
4862
0
void PgBackfillIndexResponsePB::Swap(PgBackfillIndexResponsePB* other) {
4863
0
  if (other == this) return;
4864
0
  InternalSwap(other);
4865
0
}
4866
0
void PgBackfillIndexResponsePB::InternalSwap(PgBackfillIndexResponsePB* other) {
4867
0
  using std::swap;
4868
0
  swap(status_, other->status_);
4869
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
4870
0
  swap(_cached_size_, other->_cached_size_);
4871
0
}
4872
4873
0
::google::protobuf::Metadata PgBackfillIndexResponsePB::GetMetadata() const {
4874
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
4875
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
4876
0
}
4877
4878
4879
// ===================================================================
4880
4881
26.8k
void PgRenameColumnPB::InitAsDefaultInstance() {
4882
26.8k
}
4883
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4884
const int PgRenameColumnPB::kOldNameFieldNumber;
4885
const int PgRenameColumnPB::kNewNameFieldNumber;
4886
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4887
4888
PgRenameColumnPB::PgRenameColumnPB()
4889
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4890
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4891
32
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgRenameColumnPB();
4892
32
  }
4893
26.8k
  SharedCtor();
4894
  // @@protoc_insertion_point(constructor:yb.tserver.PgRenameColumnPB)
4895
26.8k
}
4896
PgRenameColumnPB::PgRenameColumnPB(const PgRenameColumnPB& from)
4897
  : ::google::protobuf::Message(),
4898
      _internal_metadata_(NULL),
4899
0
      _cached_size_(0) {
4900
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4901
0
  old_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4902
0
  if (from.old_name().size() > 0) {
4903
0
    old_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.old_name_);
4904
0
  }
4905
0
  new_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4906
0
  if (from.new_name().size() > 0) {
4907
0
    new_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.new_name_);
4908
0
  }
4909
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgRenameColumnPB)
4910
0
}
4911
4912
26.8k
void PgRenameColumnPB::SharedCtor() {
4913
26.8k
  old_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4914
26.8k
  new_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4915
26.8k
  _cached_size_ = 0;
4916
26.8k
}
4917
4918
32
PgRenameColumnPB::~PgRenameColumnPB() {
4919
  // @@protoc_insertion_point(destructor:yb.tserver.PgRenameColumnPB)
4920
32
  SharedDtor();
4921
32
}
4922
4923
32
void PgRenameColumnPB::SharedDtor() {
4924
32
  old_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4925
32
  new_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4926
32
}
4927
4928
0
void PgRenameColumnPB::SetCachedSize(int size) const {
4929
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4930
0
  _cached_size_ = size;
4931
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4932
0
}
4933
0
const ::google::protobuf::Descriptor* PgRenameColumnPB::descriptor() {
4934
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
4935
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4936
0
}
4937
4938
0
const PgRenameColumnPB& PgRenameColumnPB::default_instance() {
4939
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgRenameColumnPB();
4940
0
  return *internal_default_instance();
4941
0
}
4942
4943
0
PgRenameColumnPB* PgRenameColumnPB::New(::google::protobuf::Arena* arena) const {
4944
0
  PgRenameColumnPB* n = new PgRenameColumnPB;
4945
0
  if (arena != NULL) {
4946
0
    arena->Own(n);
4947
0
  }
4948
0
  return n;
4949
0
}
4950
4951
0
void PgRenameColumnPB::Clear() {
4952
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgRenameColumnPB)
4953
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4954
  // Prevent compiler warnings about cached_has_bits being unused
4955
0
  (void) cached_has_bits;
4956
4957
0
  old_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4958
0
  new_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4959
0
  _internal_metadata_.Clear();
4960
0
}
4961
4962
bool PgRenameColumnPB::MergePartialFromCodedStream(
4963
15
    ::google::protobuf::io::CodedInputStream* input) {
4964
60
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
4965
15
  ::google::protobuf::uint32 tag;
4966
  // @@protoc_insertion_point(parse_start:yb.tserver.PgRenameColumnPB)
4967
45
  for (;;) {
4968
45
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4969
45
    tag = p.first;
4970
45
    if (!p.second) 
goto handle_unusual15
;
4971
30
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4972
      // string old_name = 1;
4973
15
      case 1: {
4974
15
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4975
15
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4976
15
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
4977
15
                input, this->mutable_old_name()));
4978
15
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4979
15
            this->old_name().data(), static_cast<int>(this->old_name().length()),
4980
15
            ::google::protobuf::internal::WireFormatLite::PARSE,
4981
15
            "yb.tserver.PgRenameColumnPB.old_name"));
4982
15
        } else {
4983
0
          goto handle_unusual;
4984
0
        }
4985
15
        break;
4986
15
      }
4987
4988
      // string new_name = 2;
4989
15
      case 2: {
4990
15
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4991
15
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
4992
15
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
4993
15
                input, this->mutable_new_name()));
4994
15
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4995
15
            this->new_name().data(), static_cast<int>(this->new_name().length()),
4996
15
            ::google::protobuf::internal::WireFormatLite::PARSE,
4997
15
            "yb.tserver.PgRenameColumnPB.new_name"));
4998
15
        } else {
4999
0
          goto handle_unusual;
5000
0
        }
5001
15
        break;
5002
15
      }
5003
5004
15
      default: {
5005
15
      handle_unusual:
5006
15
        if (tag == 0) {
5007
15
          goto success;
5008
15
        }
5009
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
5010
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
5011
0
        break;
5012
0
      }
5013
30
    }
5014
30
  }
5015
15
success:
5016
  // @@protoc_insertion_point(parse_success:yb.tserver.PgRenameColumnPB)
5017
15
  return true;
5018
0
failure:
5019
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgRenameColumnPB)
5020
0
  return false;
5021
15
#undef DO_
5022
15
}
5023
5024
void PgRenameColumnPB::SerializeWithCachedSizes(
5025
0
    ::google::protobuf::io::CodedOutputStream* output) const {
5026
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgRenameColumnPB)
5027
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5028
0
  (void) cached_has_bits;
5029
5030
  // string old_name = 1;
5031
0
  if (this->old_name().size() > 0) {
5032
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5033
0
      this->old_name().data(), static_cast<int>(this->old_name().length()),
5034
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
5035
0
      "yb.tserver.PgRenameColumnPB.old_name");
5036
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
5037
0
      1, this->old_name(), output);
5038
0
  }
5039
5040
  // string new_name = 2;
5041
0
  if (this->new_name().size() > 0) {
5042
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5043
0
      this->new_name().data(), static_cast<int>(this->new_name().length()),
5044
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
5045
0
      "yb.tserver.PgRenameColumnPB.new_name");
5046
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
5047
0
      2, this->new_name(), output);
5048
0
  }
5049
5050
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
5051
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5052
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
5053
0
  }
5054
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgRenameColumnPB)
5055
0
}
5056
5057
::google::protobuf::uint8* PgRenameColumnPB::InternalSerializeWithCachedSizesToArray(
5058
15
    bool deterministic, ::google::protobuf::uint8* target) const {
5059
15
  (void)deterministic; // Unused
5060
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgRenameColumnPB)
5061
15
  ::google::protobuf::uint32 cached_has_bits = 0;
5062
15
  (void) cached_has_bits;
5063
5064
  // string old_name = 1;
5065
15
  if (this->old_name().size() > 0) {
5066
15
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5067
15
      this->old_name().data(), static_cast<int>(this->old_name().length()),
5068
15
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
5069
15
      "yb.tserver.PgRenameColumnPB.old_name");
5070
15
    target =
5071
15
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
5072
15
        1, this->old_name(), target);
5073
15
  }
5074
5075
  // string new_name = 2;
5076
15
  if (this->new_name().size() > 0) {
5077
15
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5078
15
      this->new_name().data(), static_cast<int>(this->new_name().length()),
5079
15
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
5080
15
      "yb.tserver.PgRenameColumnPB.new_name");
5081
15
    target =
5082
15
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
5083
15
        2, this->new_name(), target);
5084
15
  }
5085
5086
15
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
5087
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5088
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
5089
0
  }
5090
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgRenameColumnPB)
5091
15
  return target;
5092
15
}
5093
5094
30
size_t PgRenameColumnPB::ByteSizeLong() const {
5095
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgRenameColumnPB)
5096
30
  size_t total_size = 0;
5097
5098
30
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
5099
0
    total_size +=
5100
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5101
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
5102
0
  }
5103
  // string old_name = 1;
5104
30
  if (this->old_name().size() > 0) {
5105
30
    total_size += 1 +
5106
30
      ::google::protobuf::internal::WireFormatLite::StringSize(
5107
30
        this->old_name());
5108
30
  }
5109
5110
  // string new_name = 2;
5111
30
  if (this->new_name().size() > 0) {
5112
30
    total_size += 1 +
5113
30
      ::google::protobuf::internal::WireFormatLite::StringSize(
5114
30
        this->new_name());
5115
30
  }
5116
5117
30
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5118
30
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5119
30
  _cached_size_ = cached_size;
5120
30
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5121
30
  return total_size;
5122
30
}
5123
5124
0
void PgRenameColumnPB::MergeFrom(const ::google::protobuf::Message& from) {
5125
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgRenameColumnPB)
5126
0
  GOOGLE_DCHECK_NE(&from, this);
5127
0
  const PgRenameColumnPB* source =
5128
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgRenameColumnPB>(
5129
0
          &from);
5130
0
  if (source == NULL) {
5131
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgRenameColumnPB)
5132
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5133
0
  } else {
5134
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgRenameColumnPB)
5135
0
    MergeFrom(*source);
5136
0
  }
5137
0
}
5138
5139
0
void PgRenameColumnPB::MergeFrom(const PgRenameColumnPB& from) {
5140
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgRenameColumnPB)
5141
0
  GOOGLE_DCHECK_NE(&from, this);
5142
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5143
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5144
0
  (void) cached_has_bits;
5145
5146
0
  if (from.old_name().size() > 0) {
5147
5148
0
    old_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.old_name_);
5149
0
  }
5150
0
  if (from.new_name().size() > 0) {
5151
5152
0
    new_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.new_name_);
5153
0
  }
5154
0
}
5155
5156
0
void PgRenameColumnPB::CopyFrom(const ::google::protobuf::Message& from) {
5157
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgRenameColumnPB)
5158
0
  if (&from == this) return;
5159
0
  Clear();
5160
0
  MergeFrom(from);
5161
0
}
5162
5163
0
void PgRenameColumnPB::CopyFrom(const PgRenameColumnPB& from) {
5164
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgRenameColumnPB)
5165
0
  if (&from == this) return;
5166
0
  Clear();
5167
0
  MergeFrom(from);
5168
0
}
5169
5170
0
bool PgRenameColumnPB::IsInitialized() const {
5171
0
  return true;
5172
0
}
5173
5174
0
void PgRenameColumnPB::Swap(PgRenameColumnPB* other) {
5175
0
  if (other == this) return;
5176
0
  InternalSwap(other);
5177
0
}
5178
0
void PgRenameColumnPB::InternalSwap(PgRenameColumnPB* other) {
5179
0
  using std::swap;
5180
0
  old_name_.Swap(&other->old_name_);
5181
0
  new_name_.Swap(&other->new_name_);
5182
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
5183
0
  swap(_cached_size_, other->_cached_size_);
5184
0
}
5185
5186
15
::google::protobuf::Metadata PgRenameColumnPB::GetMetadata() const {
5187
15
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
5188
15
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
5189
15
}
5190
5191
5192
// ===================================================================
5193
5194
26.8k
void PgRenameTablePB::InitAsDefaultInstance() {
5195
26.8k
}
5196
#if !defined(_MSC_VER) || _MSC_VER >= 1900
5197
const int PgRenameTablePB::kDatabaseNameFieldNumber;
5198
const int PgRenameTablePB::kTableNameFieldNumber;
5199
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
5200
5201
PgRenameTablePB::PgRenameTablePB()
5202
27.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
5203
27.0k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
5204
230
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgRenameTablePB();
5205
230
  }
5206
27.0k
  SharedCtor();
5207
  // @@protoc_insertion_point(constructor:yb.tserver.PgRenameTablePB)
5208
27.0k
}
5209
PgRenameTablePB::PgRenameTablePB(const PgRenameTablePB& from)
5210
  : ::google::protobuf::Message(),
5211
      _internal_metadata_(NULL),
5212
0
      _cached_size_(0) {
5213
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5214
0
  database_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5215
0
  if (from.database_name().size() > 0) {
5216
0
    database_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.database_name_);
5217
0
  }
5218
0
  table_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5219
0
  if (from.table_name().size() > 0) {
5220
0
    table_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_name_);
5221
0
  }
5222
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgRenameTablePB)
5223
0
}
5224
5225
27.0k
void PgRenameTablePB::SharedCtor() {
5226
27.0k
  database_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5227
27.0k
  table_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5228
27.0k
  _cached_size_ = 0;
5229
27.0k
}
5230
5231
230
PgRenameTablePB::~PgRenameTablePB() {
5232
  // @@protoc_insertion_point(destructor:yb.tserver.PgRenameTablePB)
5233
230
  SharedDtor();
5234
230
}
5235
5236
230
void PgRenameTablePB::SharedDtor() {
5237
230
  database_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5238
230
  table_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5239
230
}
5240
5241
0
void PgRenameTablePB::SetCachedSize(int size) const {
5242
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5243
0
  _cached_size_ = size;
5244
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5245
0
}
5246
0
const ::google::protobuf::Descriptor* PgRenameTablePB::descriptor() {
5247
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
5248
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
5249
0
}
5250
5251
0
const PgRenameTablePB& PgRenameTablePB::default_instance() {
5252
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgRenameTablePB();
5253
0
  return *internal_default_instance();
5254
0
}
5255
5256
0
PgRenameTablePB* PgRenameTablePB::New(::google::protobuf::Arena* arena) const {
5257
0
  PgRenameTablePB* n = new PgRenameTablePB;
5258
0
  if (arena != NULL) {
5259
0
    arena->Own(n);
5260
0
  }
5261
0
  return n;
5262
0
}
5263
5264
0
void PgRenameTablePB::Clear() {
5265
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgRenameTablePB)
5266
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5267
  // Prevent compiler warnings about cached_has_bits being unused
5268
0
  (void) cached_has_bits;
5269
5270
0
  database_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5271
0
  table_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5272
0
  _internal_metadata_.Clear();
5273
0
}
5274
5275
bool PgRenameTablePB::MergePartialFromCodedStream(
5276
115
    ::google::protobuf::io::CodedInputStream* input) {
5277
460
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
5278
115
  ::google::protobuf::uint32 tag;
5279
  // @@protoc_insertion_point(parse_start:yb.tserver.PgRenameTablePB)
5280
345
  for (;;) {
5281
345
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5282
345
    tag = p.first;
5283
345
    if (!p.second) 
goto handle_unusual115
;
5284
230
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5285
      // string database_name = 1;
5286
115
      case 1: {
5287
115
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5288
115
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
5289
115
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
5290
115
                input, this->mutable_database_name()));
5291
115
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5292
115
            this->database_name().data(), static_cast<int>(this->database_name().length()),
5293
115
            ::google::protobuf::internal::WireFormatLite::PARSE,
5294
115
            "yb.tserver.PgRenameTablePB.database_name"));
5295
115
        } else {
5296
0
          goto handle_unusual;
5297
0
        }
5298
115
        break;
5299
115
      }
5300
5301
      // string table_name = 2;
5302
115
      case 2: {
5303
115
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5304
115
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
5305
115
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
5306
115
                input, this->mutable_table_name()));
5307
115
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5308
115
            this->table_name().data(), static_cast<int>(this->table_name().length()),
5309
115
            ::google::protobuf::internal::WireFormatLite::PARSE,
5310
115
            "yb.tserver.PgRenameTablePB.table_name"));
5311
115
        } else {
5312
0
          goto handle_unusual;
5313
0
        }
5314
115
        break;
5315
115
      }
5316
5317
115
      default: {
5318
115
      handle_unusual:
5319
115
        if (tag == 0) {
5320
115
          goto success;
5321
115
        }
5322
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
5323
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
5324
0
        break;
5325
0
      }
5326
230
    }
5327
230
  }
5328
115
success:
5329
  // @@protoc_insertion_point(parse_success:yb.tserver.PgRenameTablePB)
5330
115
  return true;
5331
0
failure:
5332
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgRenameTablePB)
5333
0
  return false;
5334
115
#undef DO_
5335
115
}
5336
5337
void PgRenameTablePB::SerializeWithCachedSizes(
5338
0
    ::google::protobuf::io::CodedOutputStream* output) const {
5339
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgRenameTablePB)
5340
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5341
0
  (void) cached_has_bits;
5342
5343
  // string database_name = 1;
5344
0
  if (this->database_name().size() > 0) {
5345
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5346
0
      this->database_name().data(), static_cast<int>(this->database_name().length()),
5347
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
5348
0
      "yb.tserver.PgRenameTablePB.database_name");
5349
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
5350
0
      1, this->database_name(), output);
5351
0
  }
5352
5353
  // string table_name = 2;
5354
0
  if (this->table_name().size() > 0) {
5355
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5356
0
      this->table_name().data(), static_cast<int>(this->table_name().length()),
5357
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
5358
0
      "yb.tserver.PgRenameTablePB.table_name");
5359
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
5360
0
      2, this->table_name(), output);
5361
0
  }
5362
5363
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
5364
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5365
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
5366
0
  }
5367
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgRenameTablePB)
5368
0
}
5369
5370
::google::protobuf::uint8* PgRenameTablePB::InternalSerializeWithCachedSizesToArray(
5371
115
    bool deterministic, ::google::protobuf::uint8* target) const {
5372
115
  (void)deterministic; // Unused
5373
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgRenameTablePB)
5374
115
  ::google::protobuf::uint32 cached_has_bits = 0;
5375
115
  (void) cached_has_bits;
5376
5377
  // string database_name = 1;
5378
115
  if (this->database_name().size() > 0) {
5379
115
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5380
115
      this->database_name().data(), static_cast<int>(this->database_name().length()),
5381
115
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
5382
115
      "yb.tserver.PgRenameTablePB.database_name");
5383
115
    target =
5384
115
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
5385
115
        1, this->database_name(), target);
5386
115
  }
5387
5388
  // string table_name = 2;
5389
115
  if (this->table_name().size() > 0) {
5390
115
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5391
115
      this->table_name().data(), static_cast<int>(this->table_name().length()),
5392
115
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
5393
115
      "yb.tserver.PgRenameTablePB.table_name");
5394
115
    target =
5395
115
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
5396
115
        2, this->table_name(), target);
5397
115
  }
5398
5399
115
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
5400
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5401
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
5402
0
  }
5403
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgRenameTablePB)
5404
115
  return target;
5405
115
}
5406
5407
230
size_t PgRenameTablePB::ByteSizeLong() const {
5408
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgRenameTablePB)
5409
230
  size_t total_size = 0;
5410
5411
230
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
5412
0
    total_size +=
5413
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5414
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
5415
0
  }
5416
  // string database_name = 1;
5417
230
  if (this->database_name().size() > 0) {
5418
230
    total_size += 1 +
5419
230
      ::google::protobuf::internal::WireFormatLite::StringSize(
5420
230
        this->database_name());
5421
230
  }
5422
5423
  // string table_name = 2;
5424
230
  if (this->table_name().size() > 0) {
5425
230
    total_size += 1 +
5426
230
      ::google::protobuf::internal::WireFormatLite::StringSize(
5427
230
        this->table_name());
5428
230
  }
5429
5430
230
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5431
230
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5432
230
  _cached_size_ = cached_size;
5433
230
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5434
230
  return total_size;
5435
230
}
5436
5437
0
void PgRenameTablePB::MergeFrom(const ::google::protobuf::Message& from) {
5438
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgRenameTablePB)
5439
0
  GOOGLE_DCHECK_NE(&from, this);
5440
0
  const PgRenameTablePB* source =
5441
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgRenameTablePB>(
5442
0
          &from);
5443
0
  if (source == NULL) {
5444
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgRenameTablePB)
5445
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5446
0
  } else {
5447
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgRenameTablePB)
5448
0
    MergeFrom(*source);
5449
0
  }
5450
0
}
5451
5452
0
void PgRenameTablePB::MergeFrom(const PgRenameTablePB& from) {
5453
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgRenameTablePB)
5454
0
  GOOGLE_DCHECK_NE(&from, this);
5455
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5456
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5457
0
  (void) cached_has_bits;
5458
5459
0
  if (from.database_name().size() > 0) {
5460
5461
0
    database_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.database_name_);
5462
0
  }
5463
0
  if (from.table_name().size() > 0) {
5464
5465
0
    table_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_name_);
5466
0
  }
5467
0
}
5468
5469
0
void PgRenameTablePB::CopyFrom(const ::google::protobuf::Message& from) {
5470
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgRenameTablePB)
5471
0
  if (&from == this) return;
5472
0
  Clear();
5473
0
  MergeFrom(from);
5474
0
}
5475
5476
0
void PgRenameTablePB::CopyFrom(const PgRenameTablePB& from) {
5477
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgRenameTablePB)
5478
0
  if (&from == this) return;
5479
0
  Clear();
5480
0
  MergeFrom(from);
5481
0
}
5482
5483
0
bool PgRenameTablePB::IsInitialized() const {
5484
0
  return true;
5485
0
}
5486
5487
0
void PgRenameTablePB::Swap(PgRenameTablePB* other) {
5488
0
  if (other == this) return;
5489
0
  InternalSwap(other);
5490
0
}
5491
0
void PgRenameTablePB::InternalSwap(PgRenameTablePB* other) {
5492
0
  using std::swap;
5493
0
  database_name_.Swap(&other->database_name_);
5494
0
  table_name_.Swap(&other->table_name_);
5495
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
5496
0
  swap(_cached_size_, other->_cached_size_);
5497
0
}
5498
5499
115
::google::protobuf::Metadata PgRenameTablePB::GetMetadata() const {
5500
115
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
5501
115
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
5502
115
}
5503
5504
5505
// ===================================================================
5506
5507
26.8k
void PgAlterTableRequestPB::InitAsDefaultInstance() {
5508
26.8k
  ::yb::tserver::_PgAlterTableRequestPB_default_instance_._instance.get_mutable()->table_id_ = const_cast< ::yb::tserver::PgObjectIdPB*>(
5509
26.8k
      ::yb::tserver::PgObjectIdPB::internal_default_instance());
5510
26.8k
  ::yb::tserver::_PgAlterTableRequestPB_default_instance_._instance.get_mutable()->rename_table_ = const_cast< ::yb::tserver::PgRenameTablePB*>(
5511
26.8k
      ::yb::tserver::PgRenameTablePB::internal_default_instance());
5512
26.8k
}
5513
#if !defined(_MSC_VER) || _MSC_VER >= 1900
5514
const int PgAlterTableRequestPB::kSessionIdFieldNumber;
5515
const int PgAlterTableRequestPB::kUseTransactionFieldNumber;
5516
const int PgAlterTableRequestPB::kTableIdFieldNumber;
5517
const int PgAlterTableRequestPB::kAddColumnsFieldNumber;
5518
const int PgAlterTableRequestPB::kRenameColumnsFieldNumber;
5519
const int PgAlterTableRequestPB::kDropColumnsFieldNumber;
5520
const int PgAlterTableRequestPB::kRenameTableFieldNumber;
5521
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
5522
5523
PgAlterTableRequestPB::PgAlterTableRequestPB()
5524
29.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
5525
29.0k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
5526
2.23k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgAlterTableRequestPB();
5527
2.23k
  }
5528
29.0k
  SharedCtor();
5529
  // @@protoc_insertion_point(constructor:yb.tserver.PgAlterTableRequestPB)
5530
29.0k
}
5531
PgAlterTableRequestPB::PgAlterTableRequestPB(const PgAlterTableRequestPB& from)
5532
  : ::google::protobuf::Message(),
5533
      _internal_metadata_(NULL),
5534
      add_columns_(from.add_columns_),
5535
      rename_columns_(from.rename_columns_),
5536
      drop_columns_(from.drop_columns_),
5537
0
      _cached_size_(0) {
5538
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5539
0
  if (from.has_table_id()) {
5540
0
    table_id_ = new ::yb::tserver::PgObjectIdPB(*from.table_id_);
5541
0
  } else {
5542
0
    table_id_ = NULL;
5543
0
  }
5544
0
  if (from.has_rename_table()) {
5545
0
    rename_table_ = new ::yb::tserver::PgRenameTablePB(*from.rename_table_);
5546
0
  } else {
5547
0
    rename_table_ = NULL;
5548
0
  }
5549
0
  ::memcpy(&session_id_, &from.session_id_,
5550
0
    static_cast<size_t>(reinterpret_cast<char*>(&use_transaction_) -
5551
0
    reinterpret_cast<char*>(&session_id_)) + sizeof(use_transaction_));
5552
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgAlterTableRequestPB)
5553
0
}
5554
5555
29.0k
void PgAlterTableRequestPB::SharedCtor() {
5556
29.0k
  ::memset(&table_id_, 0, static_cast<size_t>(
5557
29.0k
      reinterpret_cast<char*>(&use_transaction_) -
5558
29.0k
      reinterpret_cast<char*>(&table_id_)) + sizeof(use_transaction_));
5559
29.0k
  _cached_size_ = 0;
5560
29.0k
}
5561
5562
2.23k
PgAlterTableRequestPB::~PgAlterTableRequestPB() {
5563
  // @@protoc_insertion_point(destructor:yb.tserver.PgAlterTableRequestPB)
5564
2.23k
  SharedDtor();
5565
2.23k
}
5566
5567
2.23k
void PgAlterTableRequestPB::SharedDtor() {
5568
2.23k
  if (this != internal_default_instance()) delete table_id_;
5569
2.23k
  if (this != internal_default_instance()) delete rename_table_;
5570
2.23k
}
5571
5572
0
void PgAlterTableRequestPB::SetCachedSize(int size) const {
5573
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5574
0
  _cached_size_ = size;
5575
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5576
0
}
5577
0
const ::google::protobuf::Descriptor* PgAlterTableRequestPB::descriptor() {
5578
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
5579
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
5580
0
}
5581
5582
0
const PgAlterTableRequestPB& PgAlterTableRequestPB::default_instance() {
5583
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgAlterTableRequestPB();
5584
0
  return *internal_default_instance();
5585
0
}
5586
5587
0
PgAlterTableRequestPB* PgAlterTableRequestPB::New(::google::protobuf::Arena* arena) const {
5588
0
  PgAlterTableRequestPB* n = new PgAlterTableRequestPB;
5589
0
  if (arena != NULL) {
5590
0
    arena->Own(n);
5591
0
  }
5592
0
  return n;
5593
0
}
5594
5595
522
void PgAlterTableRequestPB::Clear() {
5596
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgAlterTableRequestPB)
5597
522
  ::google::protobuf::uint32 cached_has_bits = 0;
5598
  // Prevent compiler warnings about cached_has_bits being unused
5599
522
  (void) cached_has_bits;
5600
5601
522
  add_columns_.Clear();
5602
522
  rename_columns_.Clear();
5603
522
  drop_columns_.Clear();
5604
522
  if (GetArenaNoVirtual() == NULL && table_id_ != NULL) {
5605
0
    delete table_id_;
5606
0
  }
5607
522
  table_id_ = NULL;
5608
522
  if (GetArenaNoVirtual() == NULL && rename_table_ != NULL) {
5609
0
    delete rename_table_;
5610
0
  }
5611
522
  rename_table_ = NULL;
5612
522
  ::memset(&session_id_, 0, static_cast<size_t>(
5613
522
      reinterpret_cast<char*>(&use_transaction_) -
5614
522
      reinterpret_cast<char*>(&session_id_)) + sizeof(use_transaction_));
5615
522
  _internal_metadata_.Clear();
5616
522
}
5617
5618
bool PgAlterTableRequestPB::MergePartialFromCodedStream(
5619
522
    ::google::protobuf::io::CodedInputStream* input) {
5620
2.28k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
5621
522
  ::google::protobuf::uint32 tag;
5622
  // @@protoc_insertion_point(parse_start:yb.tserver.PgAlterTableRequestPB)
5623
2.62k
  for (;;) {
5624
2.62k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5625
2.62k
    tag = p.first;
5626
2.62k
    if (!p.second) 
goto handle_unusual522
;
5627
2.10k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5628
      // uint64 session_id = 1;
5629
522
      case 1: {
5630
522
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5631
522
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
5632
5633
522
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5634
522
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
5635
522
                 input, &session_id_)));
5636
522
        } else {
5637
0
          goto handle_unusual;
5638
0
        }
5639
522
        break;
5640
522
      }
5641
5642
      // bool use_transaction = 2;
5643
522
      case 2: {
5644
522
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5645
522
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
5646
5647
522
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5648
522
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
5649
522
                 input, &use_transaction_)));
5650
522
        } else {
5651
0
          goto handle_unusual;
5652
0
        }
5653
522
        break;
5654
522
      }
5655
5656
      // .yb.tserver.PgObjectIdPB table_id = 3;
5657
522
      case 3: {
5658
522
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5659
522
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
5660
522
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5661
522
               input, mutable_table_id()));
5662
522
        } else {
5663
0
          goto handle_unusual;
5664
0
        }
5665
522
        break;
5666
522
      }
5667
5668
      // repeated .yb.tserver.PgCreateColumnPB add_columns = 4;
5669
522
      case 4: {
5670
234
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5671
234
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
5672
234
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_add_columns()));
5673
234
        } else {
5674
0
          goto handle_unusual;
5675
0
        }
5676
234
        break;
5677
234
      }
5678
5679
      // repeated .yb.tserver.PgRenameColumnPB rename_columns = 5;
5680
234
      case 5: {
5681
15
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5682
15
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
5683
15
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_rename_columns()));
5684
15
        } else {
5685
0
          goto handle_unusual;
5686
0
        }
5687
15
        break;
5688
15
      }
5689
5690
      // repeated string drop_columns = 6;
5691
177
      case 6: {
5692
177
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5693
177
            static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
5694
177
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
5695
177
                input, this->add_drop_columns()));
5696
177
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5697
177
            this->drop_columns(this->drop_columns_size() - 1).data(),
5698
177
            static_cast<int>(this->drop_columns(this->drop_columns_size() - 1).length()),
5699
177
            ::google::protobuf::internal::WireFormatLite::PARSE,
5700
177
            "yb.tserver.PgAlterTableRequestPB.drop_columns"));
5701
177
        } else {
5702
0
          goto handle_unusual;
5703
0
        }
5704
177
        break;
5705
177
      }
5706
5707
      // .yb.tserver.PgRenameTablePB rename_table = 7;
5708
177
      case 7: {
5709
115
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5710
115
            static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
5711
115
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5712
115
               input, mutable_rename_table()));
5713
115
        } else {
5714
0
          goto handle_unusual;
5715
0
        }
5716
115
        break;
5717
115
      }
5718
5719
115
      default: {
5720
522
      handle_unusual:
5721
522
        if (tag == 0) {
5722
522
          goto success;
5723
522
        }
5724
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
5725
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
5726
0
        break;
5727
0
      }
5728
2.10k
    }
5729
2.10k
  }
5730
522
success:
5731
  // @@protoc_insertion_point(parse_success:yb.tserver.PgAlterTableRequestPB)
5732
522
  return true;
5733
0
failure:
5734
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgAlterTableRequestPB)
5735
0
  return false;
5736
522
#undef DO_
5737
522
}
5738
5739
void PgAlterTableRequestPB::SerializeWithCachedSizes(
5740
0
    ::google::protobuf::io::CodedOutputStream* output) const {
5741
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgAlterTableRequestPB)
5742
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5743
0
  (void) cached_has_bits;
5744
5745
  // uint64 session_id = 1;
5746
0
  if (this->session_id() != 0) {
5747
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
5748
0
  }
5749
5750
  // bool use_transaction = 2;
5751
0
  if (this->use_transaction() != 0) {
5752
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->use_transaction(), output);
5753
0
  }
5754
5755
  // .yb.tserver.PgObjectIdPB table_id = 3;
5756
0
  if (this->has_table_id()) {
5757
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5758
0
      3, *this->table_id_, output);
5759
0
  }
5760
5761
  // repeated .yb.tserver.PgCreateColumnPB add_columns = 4;
5762
0
  for (unsigned int i = 0,
5763
0
      n = static_cast<unsigned int>(this->add_columns_size()); i < n; i++) {
5764
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5765
0
      4, this->add_columns(static_cast<int>(i)), output);
5766
0
  }
5767
5768
  // repeated .yb.tserver.PgRenameColumnPB rename_columns = 5;
5769
0
  for (unsigned int i = 0,
5770
0
      n = static_cast<unsigned int>(this->rename_columns_size()); i < n; i++) {
5771
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5772
0
      5, this->rename_columns(static_cast<int>(i)), output);
5773
0
  }
5774
5775
  // repeated string drop_columns = 6;
5776
0
  for (int i = 0, n = this->drop_columns_size(); i < n; i++) {
5777
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5778
0
      this->drop_columns(i).data(), static_cast<int>(this->drop_columns(i).length()),
5779
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
5780
0
      "yb.tserver.PgAlterTableRequestPB.drop_columns");
5781
0
    ::google::protobuf::internal::WireFormatLite::WriteString(
5782
0
      6, this->drop_columns(i), output);
5783
0
  }
5784
5785
  // .yb.tserver.PgRenameTablePB rename_table = 7;
5786
0
  if (this->has_rename_table()) {
5787
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5788
0
      7, *this->rename_table_, output);
5789
0
  }
5790
5791
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
5792
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5793
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
5794
0
  }
5795
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgAlterTableRequestPB)
5796
0
}
5797
5798
::google::protobuf::uint8* PgAlterTableRequestPB::InternalSerializeWithCachedSizesToArray(
5799
522
    bool deterministic, ::google::protobuf::uint8* target) const {
5800
522
  (void)deterministic; // Unused
5801
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgAlterTableRequestPB)
5802
522
  ::google::protobuf::uint32 cached_has_bits = 0;
5803
522
  (void) cached_has_bits;
5804
5805
  // uint64 session_id = 1;
5806
522
  if (this->session_id() != 0) {
5807
522
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
5808
522
  }
5809
5810
  // bool use_transaction = 2;
5811
522
  if (this->use_transaction() != 0) {
5812
522
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->use_transaction(), target);
5813
522
  }
5814
5815
  // .yb.tserver.PgObjectIdPB table_id = 3;
5816
522
  if (this->has_table_id()) {
5817
522
    target = ::google::protobuf::internal::WireFormatLite::
5818
522
      InternalWriteMessageToArray(
5819
522
        3, *this->table_id_, deterministic, target);
5820
522
  }
5821
5822
  // repeated .yb.tserver.PgCreateColumnPB add_columns = 4;
5823
522
  for (unsigned int i = 0,
5824
756
      n = static_cast<unsigned int>(this->add_columns_size()); i < n; 
i++234
) {
5825
234
    target = ::google::protobuf::internal::WireFormatLite::
5826
234
      InternalWriteMessageToArray(
5827
234
        4, this->add_columns(static_cast<int>(i)), deterministic, target);
5828
234
  }
5829
5830
  // repeated .yb.tserver.PgRenameColumnPB rename_columns = 5;
5831
522
  for (unsigned int i = 0,
5832
537
      n = static_cast<unsigned int>(this->rename_columns_size()); i < n; 
i++15
) {
5833
15
    target = ::google::protobuf::internal::WireFormatLite::
5834
15
      InternalWriteMessageToArray(
5835
15
        5, this->rename_columns(static_cast<int>(i)), deterministic, target);
5836
15
  }
5837
5838
  // repeated string drop_columns = 6;
5839
699
  for (int i = 0, n = this->drop_columns_size(); i < n; 
i++177
) {
5840
177
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5841
177
      this->drop_columns(i).data(), static_cast<int>(this->drop_columns(i).length()),
5842
177
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
5843
177
      "yb.tserver.PgAlterTableRequestPB.drop_columns");
5844
177
    target = ::google::protobuf::internal::WireFormatLite::
5845
177
      WriteStringToArray(6, this->drop_columns(i), target);
5846
177
  }
5847
5848
  // .yb.tserver.PgRenameTablePB rename_table = 7;
5849
522
  if (this->has_rename_table()) {
5850
115
    target = ::google::protobuf::internal::WireFormatLite::
5851
115
      InternalWriteMessageToArray(
5852
115
        7, *this->rename_table_, deterministic, target);
5853
115
  }
5854
5855
522
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
5856
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5857
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
5858
0
  }
5859
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgAlterTableRequestPB)
5860
522
  return target;
5861
522
}
5862
5863
1.04k
size_t PgAlterTableRequestPB::ByteSizeLong() const {
5864
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgAlterTableRequestPB)
5865
1.04k
  size_t total_size = 0;
5866
5867
1.04k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
5868
0
    total_size +=
5869
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5870
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
5871
0
  }
5872
  // repeated .yb.tserver.PgCreateColumnPB add_columns = 4;
5873
1.04k
  {
5874
1.04k
    unsigned int count = static_cast<unsigned int>(this->add_columns_size());
5875
1.04k
    total_size += 1UL * count;
5876
1.51k
    for (unsigned int i = 0; i < count; 
i++468
) {
5877
468
      total_size +=
5878
468
        ::google::protobuf::internal::WireFormatLite::MessageSize(
5879
468
          this->add_columns(static_cast<int>(i)));
5880
468
    }
5881
1.04k
  }
5882
5883
  // repeated .yb.tserver.PgRenameColumnPB rename_columns = 5;
5884
1.04k
  {
5885
1.04k
    unsigned int count = static_cast<unsigned int>(this->rename_columns_size());
5886
1.04k
    total_size += 1UL * count;
5887
1.07k
    for (unsigned int i = 0; i < count; 
i++30
) {
5888
30
      total_size +=
5889
30
        ::google::protobuf::internal::WireFormatLite::MessageSize(
5890
30
          this->rename_columns(static_cast<int>(i)));
5891
30
    }
5892
1.04k
  }
5893
5894
  // repeated string drop_columns = 6;
5895
1.04k
  total_size += 1 *
5896
1.04k
      ::google::protobuf::internal::FromIntSize(this->drop_columns_size());
5897
1.39k
  for (int i = 0, n = this->drop_columns_size(); i < n; 
i++354
) {
5898
354
    total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
5899
354
      this->drop_columns(i));
5900
354
  }
5901
5902
  // .yb.tserver.PgObjectIdPB table_id = 3;
5903
1.04k
  if (this->has_table_id()) {
5904
1.04k
    total_size += 1 +
5905
1.04k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
5906
1.04k
        *this->table_id_);
5907
1.04k
  }
5908
5909
  // .yb.tserver.PgRenameTablePB rename_table = 7;
5910
1.04k
  if (this->has_rename_table()) {
5911
230
    total_size += 1 +
5912
230
      ::google::protobuf::internal::WireFormatLite::MessageSize(
5913
230
        *this->rename_table_);
5914
230
  }
5915
5916
  // uint64 session_id = 1;
5917
1.04k
  if (this->session_id() != 0) {
5918
1.04k
    total_size += 1 +
5919
1.04k
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
5920
1.04k
        this->session_id());
5921
1.04k
  }
5922
5923
  // bool use_transaction = 2;
5924
1.04k
  if (this->use_transaction() != 0) {
5925
1.04k
    total_size += 1 + 1;
5926
1.04k
  }
5927
5928
1.04k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5929
1.04k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5930
1.04k
  _cached_size_ = cached_size;
5931
1.04k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5932
1.04k
  return total_size;
5933
1.04k
}
5934
5935
0
void PgAlterTableRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
5936
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgAlterTableRequestPB)
5937
0
  GOOGLE_DCHECK_NE(&from, this);
5938
0
  const PgAlterTableRequestPB* source =
5939
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgAlterTableRequestPB>(
5940
0
          &from);
5941
0
  if (source == NULL) {
5942
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgAlterTableRequestPB)
5943
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5944
0
  } else {
5945
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgAlterTableRequestPB)
5946
0
    MergeFrom(*source);
5947
0
  }
5948
0
}
5949
5950
0
void PgAlterTableRequestPB::MergeFrom(const PgAlterTableRequestPB& from) {
5951
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgAlterTableRequestPB)
5952
0
  GOOGLE_DCHECK_NE(&from, this);
5953
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5954
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5955
0
  (void) cached_has_bits;
5956
5957
0
  add_columns_.MergeFrom(from.add_columns_);
5958
0
  rename_columns_.MergeFrom(from.rename_columns_);
5959
0
  drop_columns_.MergeFrom(from.drop_columns_);
5960
0
  if (from.has_table_id()) {
5961
0
    mutable_table_id()->::yb::tserver::PgObjectIdPB::MergeFrom(from.table_id());
5962
0
  }
5963
0
  if (from.has_rename_table()) {
5964
0
    mutable_rename_table()->::yb::tserver::PgRenameTablePB::MergeFrom(from.rename_table());
5965
0
  }
5966
0
  if (from.session_id() != 0) {
5967
0
    set_session_id(from.session_id());
5968
0
  }
5969
0
  if (from.use_transaction() != 0) {
5970
0
    set_use_transaction(from.use_transaction());
5971
0
  }
5972
0
}
5973
5974
0
void PgAlterTableRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
5975
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgAlterTableRequestPB)
5976
0
  if (&from == this) return;
5977
0
  Clear();
5978
0
  MergeFrom(from);
5979
0
}
5980
5981
0
void PgAlterTableRequestPB::CopyFrom(const PgAlterTableRequestPB& from) {
5982
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgAlterTableRequestPB)
5983
0
  if (&from == this) return;
5984
0
  Clear();
5985
0
  MergeFrom(from);
5986
0
}
5987
5988
1.04k
bool PgAlterTableRequestPB::IsInitialized() const {
5989
1.04k
  return true;
5990
1.04k
}
5991
5992
0
void PgAlterTableRequestPB::Swap(PgAlterTableRequestPB* other) {
5993
0
  if (other == this) return;
5994
0
  InternalSwap(other);
5995
0
}
5996
0
void PgAlterTableRequestPB::InternalSwap(PgAlterTableRequestPB* other) {
5997
0
  using std::swap;
5998
0
  add_columns_.InternalSwap(&other->add_columns_);
5999
0
  rename_columns_.InternalSwap(&other->rename_columns_);
6000
0
  drop_columns_.InternalSwap(&other->drop_columns_);
6001
0
  swap(table_id_, other->table_id_);
6002
0
  swap(rename_table_, other->rename_table_);
6003
0
  swap(session_id_, other->session_id_);
6004
0
  swap(use_transaction_, other->use_transaction_);
6005
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
6006
0
  swap(_cached_size_, other->_cached_size_);
6007
0
}
6008
6009
522
::google::protobuf::Metadata PgAlterTableRequestPB::GetMetadata() const {
6010
522
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
6011
522
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
6012
522
}
6013
6014
6015
// ===================================================================
6016
6017
26.8k
void PgAlterTableResponsePB::InitAsDefaultInstance() {
6018
26.8k
  ::yb::tserver::_PgAlterTableResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
6019
26.8k
      ::yb::AppStatusPB::internal_default_instance());
6020
26.8k
}
6021
0
void PgAlterTableResponsePB::clear_status() {
6022
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
6023
0
    delete status_;
6024
0
  }
6025
0
  status_ = NULL;
6026
0
}
6027
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6028
const int PgAlterTableResponsePB::kStatusFieldNumber;
6029
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6030
6031
PgAlterTableResponsePB::PgAlterTableResponsePB()
6032
27.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6033
27.9k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6034
1.04k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgAlterTableResponsePB();
6035
1.04k
  }
6036
27.9k
  SharedCtor();
6037
  // @@protoc_insertion_point(constructor:yb.tserver.PgAlterTableResponsePB)
6038
27.9k
}
6039
PgAlterTableResponsePB::PgAlterTableResponsePB(const PgAlterTableResponsePB& from)
6040
  : ::google::protobuf::Message(),
6041
      _internal_metadata_(NULL),
6042
0
      _cached_size_(0) {
6043
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6044
0
  if (from.has_status()) {
6045
0
    status_ = new ::yb::AppStatusPB(*from.status_);
6046
0
  } else {
6047
0
    status_ = NULL;
6048
0
  }
6049
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgAlterTableResponsePB)
6050
0
}
6051
6052
27.9k
void PgAlterTableResponsePB::SharedCtor() {
6053
27.9k
  status_ = NULL;
6054
27.9k
  _cached_size_ = 0;
6055
27.9k
}
6056
6057
1.04k
PgAlterTableResponsePB::~PgAlterTableResponsePB() {
6058
  // @@protoc_insertion_point(destructor:yb.tserver.PgAlterTableResponsePB)
6059
1.04k
  SharedDtor();
6060
1.04k
}
6061
6062
1.04k
void PgAlterTableResponsePB::SharedDtor() {
6063
1.04k
  if (this != internal_default_instance()) delete status_;
6064
1.04k
}
6065
6066
0
void PgAlterTableResponsePB::SetCachedSize(int size) const {
6067
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6068
0
  _cached_size_ = size;
6069
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6070
0
}
6071
0
const ::google::protobuf::Descriptor* PgAlterTableResponsePB::descriptor() {
6072
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
6073
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6074
0
}
6075
6076
0
const PgAlterTableResponsePB& PgAlterTableResponsePB::default_instance() {
6077
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgAlterTableResponsePB();
6078
0
  return *internal_default_instance();
6079
0
}
6080
6081
0
PgAlterTableResponsePB* PgAlterTableResponsePB::New(::google::protobuf::Arena* arena) const {
6082
0
  PgAlterTableResponsePB* n = new PgAlterTableResponsePB;
6083
0
  if (arena != NULL) {
6084
0
    arena->Own(n);
6085
0
  }
6086
0
  return n;
6087
0
}
6088
6089
522
void PgAlterTableResponsePB::Clear() {
6090
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgAlterTableResponsePB)
6091
522
  ::google::protobuf::uint32 cached_has_bits = 0;
6092
  // Prevent compiler warnings about cached_has_bits being unused
6093
522
  (void) cached_has_bits;
6094
6095
522
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
6096
0
    delete status_;
6097
0
  }
6098
522
  status_ = NULL;
6099
522
  _internal_metadata_.Clear();
6100
522
}
6101
6102
bool PgAlterTableResponsePB::MergePartialFromCodedStream(
6103
522
    ::google::protobuf::io::CodedInputStream* input) {
6104
522
#define DO_(EXPRESSION) 
if (2
!GOOGLE_PREDICT_TRUE2
(EXPRESSION))
goto failure0
6105
522
  ::google::protobuf::uint32 tag;
6106
  // @@protoc_insertion_point(parse_start:yb.tserver.PgAlterTableResponsePB)
6107
524
  for (;;) {
6108
524
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6109
524
    tag = p.first;
6110
524
    if (!p.second) 
goto handle_unusual522
;
6111
2
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6112
      // .yb.AppStatusPB status = 1;
6113
2
      case 1: {
6114
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6115
2
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
6116
2
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
6117
2
               input, mutable_status()));
6118
2
        } else {
6119
0
          goto handle_unusual;
6120
0
        }
6121
2
        break;
6122
2
      }
6123
6124
2
      default: {
6125
522
      handle_unusual:
6126
522
        if (tag == 0) {
6127
522
          goto success;
6128
522
        }
6129
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
6130
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
6131
0
        break;
6132
0
      }
6133
2
    }
6134
2
  }
6135
522
success:
6136
  // @@protoc_insertion_point(parse_success:yb.tserver.PgAlterTableResponsePB)
6137
522
  return true;
6138
0
failure:
6139
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgAlterTableResponsePB)
6140
0
  return false;
6141
522
#undef DO_
6142
522
}
6143
6144
void PgAlterTableResponsePB::SerializeWithCachedSizes(
6145
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6146
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgAlterTableResponsePB)
6147
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6148
0
  (void) cached_has_bits;
6149
6150
  // .yb.AppStatusPB status = 1;
6151
0
  if (this->has_status()) {
6152
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6153
0
      1, *this->status_, output);
6154
0
  }
6155
6156
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
6157
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6158
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
6159
0
  }
6160
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgAlterTableResponsePB)
6161
0
}
6162
6163
::google::protobuf::uint8* PgAlterTableResponsePB::InternalSerializeWithCachedSizesToArray(
6164
522
    bool deterministic, ::google::protobuf::uint8* target) const {
6165
522
  (void)deterministic; // Unused
6166
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgAlterTableResponsePB)
6167
522
  ::google::protobuf::uint32 cached_has_bits = 0;
6168
522
  (void) cached_has_bits;
6169
6170
  // .yb.AppStatusPB status = 1;
6171
522
  if (this->has_status()) {
6172
2
    target = ::google::protobuf::internal::WireFormatLite::
6173
2
      InternalWriteMessageToArray(
6174
2
        1, *this->status_, deterministic, target);
6175
2
  }
6176
6177
522
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
6178
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6179
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
6180
0
  }
6181
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgAlterTableResponsePB)
6182
522
  return target;
6183
522
}
6184
6185
1.04k
size_t PgAlterTableResponsePB::ByteSizeLong() const {
6186
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgAlterTableResponsePB)
6187
1.04k
  size_t total_size = 0;
6188
6189
1.04k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
6190
0
    total_size +=
6191
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6192
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
6193
0
  }
6194
  // .yb.AppStatusPB status = 1;
6195
1.04k
  if (this->has_status()) {
6196
4
    total_size += 1 +
6197
4
      ::google::protobuf::internal::WireFormatLite::MessageSize(
6198
4
        *this->status_);
6199
4
  }
6200
6201
1.04k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6202
1.04k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6203
1.04k
  _cached_size_ = cached_size;
6204
1.04k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6205
1.04k
  return total_size;
6206
1.04k
}
6207
6208
0
void PgAlterTableResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
6209
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgAlterTableResponsePB)
6210
0
  GOOGLE_DCHECK_NE(&from, this);
6211
0
  const PgAlterTableResponsePB* source =
6212
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgAlterTableResponsePB>(
6213
0
          &from);
6214
0
  if (source == NULL) {
6215
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgAlterTableResponsePB)
6216
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6217
0
  } else {
6218
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgAlterTableResponsePB)
6219
0
    MergeFrom(*source);
6220
0
  }
6221
0
}
6222
6223
0
void PgAlterTableResponsePB::MergeFrom(const PgAlterTableResponsePB& from) {
6224
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgAlterTableResponsePB)
6225
0
  GOOGLE_DCHECK_NE(&from, this);
6226
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6227
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6228
0
  (void) cached_has_bits;
6229
6230
0
  if (from.has_status()) {
6231
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
6232
0
  }
6233
0
}
6234
6235
0
void PgAlterTableResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
6236
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgAlterTableResponsePB)
6237
0
  if (&from == this) return;
6238
0
  Clear();
6239
0
  MergeFrom(from);
6240
0
}
6241
6242
0
void PgAlterTableResponsePB::CopyFrom(const PgAlterTableResponsePB& from) {
6243
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgAlterTableResponsePB)
6244
0
  if (&from == this) return;
6245
0
  Clear();
6246
0
  MergeFrom(from);
6247
0
}
6248
6249
1.04k
bool PgAlterTableResponsePB::IsInitialized() const {
6250
1.04k
  if (has_status()) {
6251
4
    if (!this->status_->IsInitialized()) 
return false0
;
6252
4
  }
6253
1.04k
  return true;
6254
1.04k
}
6255
6256
0
void PgAlterTableResponsePB::Swap(PgAlterTableResponsePB* other) {
6257
0
  if (other == this) return;
6258
0
  InternalSwap(other);
6259
0
}
6260
0
void PgAlterTableResponsePB::InternalSwap(PgAlterTableResponsePB* other) {
6261
0
  using std::swap;
6262
0
  swap(status_, other->status_);
6263
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
6264
0
  swap(_cached_size_, other->_cached_size_);
6265
0
}
6266
6267
0
::google::protobuf::Metadata PgAlterTableResponsePB::GetMetadata() const {
6268
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
6269
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
6270
0
}
6271
6272
6273
// ===================================================================
6274
6275
26.8k
void PgCreateDatabaseRequestPB::InitAsDefaultInstance() {
6276
26.8k
}
6277
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6278
const int PgCreateDatabaseRequestPB::kSessionIdFieldNumber;
6279
const int PgCreateDatabaseRequestPB::kUseTransactionFieldNumber;
6280
const int PgCreateDatabaseRequestPB::kDatabaseNameFieldNumber;
6281
const int PgCreateDatabaseRequestPB::kDatabaseOidFieldNumber;
6282
const int PgCreateDatabaseRequestPB::kSourceDatabaseOidFieldNumber;
6283
const int PgCreateDatabaseRequestPB::kNextOidFieldNumber;
6284
const int PgCreateDatabaseRequestPB::kColocatedFieldNumber;
6285
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6286
6287
PgCreateDatabaseRequestPB::PgCreateDatabaseRequestPB()
6288
27.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6289
27.1k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6290
268
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateDatabaseRequestPB();
6291
268
  }
6292
27.1k
  SharedCtor();
6293
  // @@protoc_insertion_point(constructor:yb.tserver.PgCreateDatabaseRequestPB)
6294
27.1k
}
6295
PgCreateDatabaseRequestPB::PgCreateDatabaseRequestPB(const PgCreateDatabaseRequestPB& from)
6296
  : ::google::protobuf::Message(),
6297
      _internal_metadata_(NULL),
6298
0
      _cached_size_(0) {
6299
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6300
0
  database_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6301
0
  if (from.database_name().size() > 0) {
6302
0
    database_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.database_name_);
6303
0
  }
6304
0
  ::memcpy(&session_id_, &from.session_id_,
6305
0
    static_cast<size_t>(reinterpret_cast<char*>(&next_oid_) -
6306
0
    reinterpret_cast<char*>(&session_id_)) + sizeof(next_oid_));
6307
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgCreateDatabaseRequestPB)
6308
0
}
6309
6310
27.1k
void PgCreateDatabaseRequestPB::SharedCtor() {
6311
27.1k
  database_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6312
27.1k
  ::memset(&session_id_, 0, static_cast<size_t>(
6313
27.1k
      reinterpret_cast<char*>(&next_oid_) -
6314
27.1k
      reinterpret_cast<char*>(&session_id_)) + sizeof(next_oid_));
6315
27.1k
  _cached_size_ = 0;
6316
27.1k
}
6317
6318
268
PgCreateDatabaseRequestPB::~PgCreateDatabaseRequestPB() {
6319
  // @@protoc_insertion_point(destructor:yb.tserver.PgCreateDatabaseRequestPB)
6320
268
  SharedDtor();
6321
268
}
6322
6323
268
void PgCreateDatabaseRequestPB::SharedDtor() {
6324
268
  database_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6325
268
}
6326
6327
0
void PgCreateDatabaseRequestPB::SetCachedSize(int size) const {
6328
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6329
0
  _cached_size_ = size;
6330
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6331
0
}
6332
0
const ::google::protobuf::Descriptor* PgCreateDatabaseRequestPB::descriptor() {
6333
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
6334
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6335
0
}
6336
6337
0
const PgCreateDatabaseRequestPB& PgCreateDatabaseRequestPB::default_instance() {
6338
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateDatabaseRequestPB();
6339
0
  return *internal_default_instance();
6340
0
}
6341
6342
0
PgCreateDatabaseRequestPB* PgCreateDatabaseRequestPB::New(::google::protobuf::Arena* arena) const {
6343
0
  PgCreateDatabaseRequestPB* n = new PgCreateDatabaseRequestPB;
6344
0
  if (arena != NULL) {
6345
0
    arena->Own(n);
6346
0
  }
6347
0
  return n;
6348
0
}
6349
6350
134
void PgCreateDatabaseRequestPB::Clear() {
6351
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgCreateDatabaseRequestPB)
6352
134
  ::google::protobuf::uint32 cached_has_bits = 0;
6353
  // Prevent compiler warnings about cached_has_bits being unused
6354
134
  (void) cached_has_bits;
6355
6356
134
  database_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6357
134
  ::memset(&session_id_, 0, static_cast<size_t>(
6358
134
      reinterpret_cast<char*>(&next_oid_) -
6359
134
      reinterpret_cast<char*>(&session_id_)) + sizeof(next_oid_));
6360
134
  _internal_metadata_.Clear();
6361
134
}
6362
6363
bool PgCreateDatabaseRequestPB::MergePartialFromCodedStream(
6364
134
    ::google::protobuf::io::CodedInputStream* input) {
6365
789
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
6366
134
  ::google::protobuf::uint32 tag;
6367
  // @@protoc_insertion_point(parse_start:yb.tserver.PgCreateDatabaseRequestPB)
6368
789
  for (;;) {
6369
789
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6370
789
    tag = p.first;
6371
789
    if (!p.second) 
goto handle_unusual134
;
6372
655
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6373
      // uint64 session_id = 1;
6374
134
      case 1: {
6375
134
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6376
134
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
6377
6378
134
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6379
134
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
6380
134
                 input, &session_id_)));
6381
134
        } else {
6382
0
          goto handle_unusual;
6383
0
        }
6384
134
        break;
6385
134
      }
6386
6387
      // bool use_transaction = 2;
6388
134
      case 2: {
6389
114
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6390
114
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
6391
6392
114
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6393
114
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
6394
114
                 input, &use_transaction_)));
6395
114
        } else {
6396
0
          goto handle_unusual;
6397
0
        }
6398
114
        break;
6399
114
      }
6400
6401
      // string database_name = 3;
6402
134
      case 3: {
6403
134
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6404
134
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
6405
134
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
6406
134
                input, this->mutable_database_name()));
6407
134
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
6408
134
            this->database_name().data(), static_cast<int>(this->database_name().length()),
6409
134
            ::google::protobuf::internal::WireFormatLite::PARSE,
6410
134
            "yb.tserver.PgCreateDatabaseRequestPB.database_name"));
6411
134
        } else {
6412
0
          goto handle_unusual;
6413
0
        }
6414
134
        break;
6415
134
      }
6416
6417
      // uint32 database_oid = 4;
6418
134
      case 4: {
6419
134
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6420
134
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
6421
6422
134
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6423
134
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
6424
134
                 input, &database_oid_)));
6425
134
        } else {
6426
0
          goto handle_unusual;
6427
0
        }
6428
134
        break;
6429
134
      }
6430
6431
      // uint32 source_database_oid = 5;
6432
134
      case 5: {
6433
123
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6434
123
            static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
6435
6436
123
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6437
123
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
6438
123
                 input, &source_database_oid_)));
6439
123
        } else {
6440
0
          goto handle_unusual;
6441
0
        }
6442
123
        break;
6443
123
      }
6444
6445
      // uint32 next_oid = 6;
6446
123
      case 6: {
6447
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6448
3
            static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
6449
6450
3
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6451
3
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
6452
3
                 input, &next_oid_)));
6453
3
        } else {
6454
0
          goto handle_unusual;
6455
0
        }
6456
3
        break;
6457
3
      }
6458
6459
      // bool colocated = 7;
6460
13
      case 7: {
6461
13
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6462
13
            static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
6463
6464
13
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6465
13
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
6466
13
                 input, &colocated_)));
6467
13
        } else {
6468
0
          goto handle_unusual;
6469
0
        }
6470
13
        break;
6471
13
      }
6472
6473
13
      default: {
6474
134
      handle_unusual:
6475
134
        if (tag == 0) {
6476
134
          goto success;
6477
134
        }
6478
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
6479
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
6480
0
        break;
6481
0
      }
6482
655
    }
6483
655
  }
6484
134
success:
6485
  // @@protoc_insertion_point(parse_success:yb.tserver.PgCreateDatabaseRequestPB)
6486
134
  return true;
6487
0
failure:
6488
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgCreateDatabaseRequestPB)
6489
0
  return false;
6490
134
#undef DO_
6491
134
}
6492
6493
void PgCreateDatabaseRequestPB::SerializeWithCachedSizes(
6494
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6495
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgCreateDatabaseRequestPB)
6496
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6497
0
  (void) cached_has_bits;
6498
6499
  // uint64 session_id = 1;
6500
0
  if (this->session_id() != 0) {
6501
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
6502
0
  }
6503
6504
  // bool use_transaction = 2;
6505
0
  if (this->use_transaction() != 0) {
6506
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->use_transaction(), output);
6507
0
  }
6508
6509
  // string database_name = 3;
6510
0
  if (this->database_name().size() > 0) {
6511
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
6512
0
      this->database_name().data(), static_cast<int>(this->database_name().length()),
6513
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
6514
0
      "yb.tserver.PgCreateDatabaseRequestPB.database_name");
6515
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
6516
0
      3, this->database_name(), output);
6517
0
  }
6518
6519
  // uint32 database_oid = 4;
6520
0
  if (this->database_oid() != 0) {
6521
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->database_oid(), output);
6522
0
  }
6523
6524
  // uint32 source_database_oid = 5;
6525
0
  if (this->source_database_oid() != 0) {
6526
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->source_database_oid(), output);
6527
0
  }
6528
6529
  // uint32 next_oid = 6;
6530
0
  if (this->next_oid() != 0) {
6531
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->next_oid(), output);
6532
0
  }
6533
6534
  // bool colocated = 7;
6535
0
  if (this->colocated() != 0) {
6536
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->colocated(), output);
6537
0
  }
6538
6539
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
6540
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6541
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
6542
0
  }
6543
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgCreateDatabaseRequestPB)
6544
0
}
6545
6546
::google::protobuf::uint8* PgCreateDatabaseRequestPB::InternalSerializeWithCachedSizesToArray(
6547
134
    bool deterministic, ::google::protobuf::uint8* target) const {
6548
134
  (void)deterministic; // Unused
6549
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgCreateDatabaseRequestPB)
6550
134
  ::google::protobuf::uint32 cached_has_bits = 0;
6551
134
  (void) cached_has_bits;
6552
6553
  // uint64 session_id = 1;
6554
134
  if (this->session_id() != 0) {
6555
134
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
6556
134
  }
6557
6558
  // bool use_transaction = 2;
6559
134
  if (this->use_transaction() != 0) {
6560
114
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->use_transaction(), target);
6561
114
  }
6562
6563
  // string database_name = 3;
6564
134
  if (this->database_name().size() > 0) {
6565
134
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
6566
134
      this->database_name().data(), static_cast<int>(this->database_name().length()),
6567
134
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
6568
134
      "yb.tserver.PgCreateDatabaseRequestPB.database_name");
6569
134
    target =
6570
134
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
6571
134
        3, this->database_name(), target);
6572
134
  }
6573
6574
  // uint32 database_oid = 4;
6575
134
  if (this->database_oid() != 0) {
6576
134
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->database_oid(), target);
6577
134
  }
6578
6579
  // uint32 source_database_oid = 5;
6580
134
  if (this->source_database_oid() != 0) {
6581
123
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->source_database_oid(), target);
6582
123
  }
6583
6584
  // uint32 next_oid = 6;
6585
134
  if (this->next_oid() != 0) {
6586
3
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->next_oid(), target);
6587
3
  }
6588
6589
  // bool colocated = 7;
6590
134
  if (this->colocated() != 0) {
6591
13
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->colocated(), target);
6592
13
  }
6593
6594
134
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
6595
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6596
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
6597
0
  }
6598
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgCreateDatabaseRequestPB)
6599
134
  return target;
6600
134
}
6601
6602
268
size_t PgCreateDatabaseRequestPB::ByteSizeLong() const {
6603
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgCreateDatabaseRequestPB)
6604
268
  size_t total_size = 0;
6605
6606
268
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
6607
0
    total_size +=
6608
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6609
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
6610
0
  }
6611
  // string database_name = 3;
6612
268
  if (this->database_name().size() > 0) {
6613
268
    total_size += 1 +
6614
268
      ::google::protobuf::internal::WireFormatLite::StringSize(
6615
268
        this->database_name());
6616
268
  }
6617
6618
  // uint64 session_id = 1;
6619
268
  if (this->session_id() != 0) {
6620
268
    total_size += 1 +
6621
268
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
6622
268
        this->session_id());
6623
268
  }
6624
6625
  // uint32 database_oid = 4;
6626
268
  if (this->database_oid() != 0) {
6627
268
    total_size += 1 +
6628
268
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
6629
268
        this->database_oid());
6630
268
  }
6631
6632
  // bool use_transaction = 2;
6633
268
  if (this->use_transaction() != 0) {
6634
228
    total_size += 1 + 1;
6635
228
  }
6636
6637
  // bool colocated = 7;
6638
268
  if (this->colocated() != 0) {
6639
26
    total_size += 1 + 1;
6640
26
  }
6641
6642
  // uint32 source_database_oid = 5;
6643
268
  if (this->source_database_oid() != 0) {
6644
246
    total_size += 1 +
6645
246
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
6646
246
        this->source_database_oid());
6647
246
  }
6648
6649
  // uint32 next_oid = 6;
6650
268
  if (this->next_oid() != 0) {
6651
6
    total_size += 1 +
6652
6
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
6653
6
        this->next_oid());
6654
6
  }
6655
6656
268
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6657
268
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6658
268
  _cached_size_ = cached_size;
6659
268
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6660
268
  return total_size;
6661
268
}
6662
6663
0
void PgCreateDatabaseRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
6664
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgCreateDatabaseRequestPB)
6665
0
  GOOGLE_DCHECK_NE(&from, this);
6666
0
  const PgCreateDatabaseRequestPB* source =
6667
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgCreateDatabaseRequestPB>(
6668
0
          &from);
6669
0
  if (source == NULL) {
6670
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgCreateDatabaseRequestPB)
6671
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6672
0
  } else {
6673
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgCreateDatabaseRequestPB)
6674
0
    MergeFrom(*source);
6675
0
  }
6676
0
}
6677
6678
0
void PgCreateDatabaseRequestPB::MergeFrom(const PgCreateDatabaseRequestPB& from) {
6679
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgCreateDatabaseRequestPB)
6680
0
  GOOGLE_DCHECK_NE(&from, this);
6681
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6682
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6683
0
  (void) cached_has_bits;
6684
6685
0
  if (from.database_name().size() > 0) {
6686
6687
0
    database_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.database_name_);
6688
0
  }
6689
0
  if (from.session_id() != 0) {
6690
0
    set_session_id(from.session_id());
6691
0
  }
6692
0
  if (from.database_oid() != 0) {
6693
0
    set_database_oid(from.database_oid());
6694
0
  }
6695
0
  if (from.use_transaction() != 0) {
6696
0
    set_use_transaction(from.use_transaction());
6697
0
  }
6698
0
  if (from.colocated() != 0) {
6699
0
    set_colocated(from.colocated());
6700
0
  }
6701
0
  if (from.source_database_oid() != 0) {
6702
0
    set_source_database_oid(from.source_database_oid());
6703
0
  }
6704
0
  if (from.next_oid() != 0) {
6705
0
    set_next_oid(from.next_oid());
6706
0
  }
6707
0
}
6708
6709
0
void PgCreateDatabaseRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
6710
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgCreateDatabaseRequestPB)
6711
0
  if (&from == this) return;
6712
0
  Clear();
6713
0
  MergeFrom(from);
6714
0
}
6715
6716
0
void PgCreateDatabaseRequestPB::CopyFrom(const PgCreateDatabaseRequestPB& from) {
6717
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgCreateDatabaseRequestPB)
6718
0
  if (&from == this) return;
6719
0
  Clear();
6720
0
  MergeFrom(from);
6721
0
}
6722
6723
268
bool PgCreateDatabaseRequestPB::IsInitialized() const {
6724
268
  return true;
6725
268
}
6726
6727
0
void PgCreateDatabaseRequestPB::Swap(PgCreateDatabaseRequestPB* other) {
6728
0
  if (other == this) return;
6729
0
  InternalSwap(other);
6730
0
}
6731
0
void PgCreateDatabaseRequestPB::InternalSwap(PgCreateDatabaseRequestPB* other) {
6732
0
  using std::swap;
6733
0
  database_name_.Swap(&other->database_name_);
6734
0
  swap(session_id_, other->session_id_);
6735
0
  swap(database_oid_, other->database_oid_);
6736
0
  swap(use_transaction_, other->use_transaction_);
6737
0
  swap(colocated_, other->colocated_);
6738
0
  swap(source_database_oid_, other->source_database_oid_);
6739
0
  swap(next_oid_, other->next_oid_);
6740
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
6741
0
  swap(_cached_size_, other->_cached_size_);
6742
0
}
6743
6744
134
::google::protobuf::Metadata PgCreateDatabaseRequestPB::GetMetadata() const {
6745
134
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
6746
134
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
6747
134
}
6748
6749
6750
// ===================================================================
6751
6752
26.8k
void PgCreateDatabaseResponsePB::InitAsDefaultInstance() {
6753
26.8k
  ::yb::tserver::_PgCreateDatabaseResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
6754
26.8k
      ::yb::AppStatusPB::internal_default_instance());
6755
26.8k
}
6756
0
void PgCreateDatabaseResponsePB::clear_status() {
6757
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
6758
0
    delete status_;
6759
0
  }
6760
0
  status_ = NULL;
6761
0
}
6762
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6763
const int PgCreateDatabaseResponsePB::kStatusFieldNumber;
6764
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6765
6766
PgCreateDatabaseResponsePB::PgCreateDatabaseResponsePB()
6767
27.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6768
27.1k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6769
268
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateDatabaseResponsePB();
6770
268
  }
6771
27.1k
  SharedCtor();
6772
  // @@protoc_insertion_point(constructor:yb.tserver.PgCreateDatabaseResponsePB)
6773
27.1k
}
6774
PgCreateDatabaseResponsePB::PgCreateDatabaseResponsePB(const PgCreateDatabaseResponsePB& from)
6775
  : ::google::protobuf::Message(),
6776
      _internal_metadata_(NULL),
6777
0
      _cached_size_(0) {
6778
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6779
0
  if (from.has_status()) {
6780
0
    status_ = new ::yb::AppStatusPB(*from.status_);
6781
0
  } else {
6782
0
    status_ = NULL;
6783
0
  }
6784
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgCreateDatabaseResponsePB)
6785
0
}
6786
6787
27.1k
void PgCreateDatabaseResponsePB::SharedCtor() {
6788
27.1k
  status_ = NULL;
6789
27.1k
  _cached_size_ = 0;
6790
27.1k
}
6791
6792
268
PgCreateDatabaseResponsePB::~PgCreateDatabaseResponsePB() {
6793
  // @@protoc_insertion_point(destructor:yb.tserver.PgCreateDatabaseResponsePB)
6794
268
  SharedDtor();
6795
268
}
6796
6797
268
void PgCreateDatabaseResponsePB::SharedDtor() {
6798
268
  if (this != internal_default_instance()) delete status_;
6799
268
}
6800
6801
0
void PgCreateDatabaseResponsePB::SetCachedSize(int size) const {
6802
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6803
0
  _cached_size_ = size;
6804
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6805
0
}
6806
0
const ::google::protobuf::Descriptor* PgCreateDatabaseResponsePB::descriptor() {
6807
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
6808
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6809
0
}
6810
6811
0
const PgCreateDatabaseResponsePB& PgCreateDatabaseResponsePB::default_instance() {
6812
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateDatabaseResponsePB();
6813
0
  return *internal_default_instance();
6814
0
}
6815
6816
0
PgCreateDatabaseResponsePB* PgCreateDatabaseResponsePB::New(::google::protobuf::Arena* arena) const {
6817
0
  PgCreateDatabaseResponsePB* n = new PgCreateDatabaseResponsePB;
6818
0
  if (arena != NULL) {
6819
0
    arena->Own(n);
6820
0
  }
6821
0
  return n;
6822
0
}
6823
6824
132
void PgCreateDatabaseResponsePB::Clear() {
6825
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgCreateDatabaseResponsePB)
6826
132
  ::google::protobuf::uint32 cached_has_bits = 0;
6827
  // Prevent compiler warnings about cached_has_bits being unused
6828
132
  (void) cached_has_bits;
6829
6830
132
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
6831
0
    delete status_;
6832
0
  }
6833
132
  status_ = NULL;
6834
132
  _internal_metadata_.Clear();
6835
132
}
6836
6837
bool PgCreateDatabaseResponsePB::MergePartialFromCodedStream(
6838
132
    ::google::protobuf::io::CodedInputStream* input) {
6839
132
#define DO_(EXPRESSION) 
if (1
!GOOGLE_PREDICT_TRUE1
(EXPRESSION))
goto failure0
6840
132
  ::google::protobuf::uint32 tag;
6841
  // @@protoc_insertion_point(parse_start:yb.tserver.PgCreateDatabaseResponsePB)
6842
133
  for (;;) {
6843
133
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6844
133
    tag = p.first;
6845
133
    if (!p.second) 
goto handle_unusual132
;
6846
1
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6847
      // .yb.AppStatusPB status = 1;
6848
1
      case 1: {
6849
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6850
1
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
6851
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
6852
1
               input, mutable_status()));
6853
1
        } else {
6854
0
          goto handle_unusual;
6855
0
        }
6856
1
        break;
6857
1
      }
6858
6859
1
      default: {
6860
132
      handle_unusual:
6861
132
        if (tag == 0) {
6862
132
          goto success;
6863
132
        }
6864
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
6865
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
6866
0
        break;
6867
0
      }
6868
1
    }
6869
1
  }
6870
132
success:
6871
  // @@protoc_insertion_point(parse_success:yb.tserver.PgCreateDatabaseResponsePB)
6872
132
  return true;
6873
0
failure:
6874
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgCreateDatabaseResponsePB)
6875
0
  return false;
6876
132
#undef DO_
6877
132
}
6878
6879
void PgCreateDatabaseResponsePB::SerializeWithCachedSizes(
6880
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6881
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgCreateDatabaseResponsePB)
6882
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6883
0
  (void) cached_has_bits;
6884
6885
  // .yb.AppStatusPB status = 1;
6886
0
  if (this->has_status()) {
6887
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6888
0
      1, *this->status_, output);
6889
0
  }
6890
6891
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
6892
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6893
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
6894
0
  }
6895
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgCreateDatabaseResponsePB)
6896
0
}
6897
6898
::google::protobuf::uint8* PgCreateDatabaseResponsePB::InternalSerializeWithCachedSizesToArray(
6899
134
    bool deterministic, ::google::protobuf::uint8* target) const {
6900
134
  (void)deterministic; // Unused
6901
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgCreateDatabaseResponsePB)
6902
134
  ::google::protobuf::uint32 cached_has_bits = 0;
6903
134
  (void) cached_has_bits;
6904
6905
  // .yb.AppStatusPB status = 1;
6906
134
  if (this->has_status()) {
6907
3
    target = ::google::protobuf::internal::WireFormatLite::
6908
3
      InternalWriteMessageToArray(
6909
3
        1, *this->status_, deterministic, target);
6910
3
  }
6911
6912
134
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
6913
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6914
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
6915
0
  }
6916
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgCreateDatabaseResponsePB)
6917
134
  return target;
6918
134
}
6919
6920
268
size_t PgCreateDatabaseResponsePB::ByteSizeLong() const {
6921
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgCreateDatabaseResponsePB)
6922
268
  size_t total_size = 0;
6923
6924
268
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
6925
0
    total_size +=
6926
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6927
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
6928
0
  }
6929
  // .yb.AppStatusPB status = 1;
6930
268
  if (this->has_status()) {
6931
6
    total_size += 1 +
6932
6
      ::google::protobuf::internal::WireFormatLite::MessageSize(
6933
6
        *this->status_);
6934
6
  }
6935
6936
268
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6937
268
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6938
268
  _cached_size_ = cached_size;
6939
268
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6940
268
  return total_size;
6941
268
}
6942
6943
0
void PgCreateDatabaseResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
6944
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgCreateDatabaseResponsePB)
6945
0
  GOOGLE_DCHECK_NE(&from, this);
6946
0
  const PgCreateDatabaseResponsePB* source =
6947
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgCreateDatabaseResponsePB>(
6948
0
          &from);
6949
0
  if (source == NULL) {
6950
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgCreateDatabaseResponsePB)
6951
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6952
0
  } else {
6953
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgCreateDatabaseResponsePB)
6954
0
    MergeFrom(*source);
6955
0
  }
6956
0
}
6957
6958
0
void PgCreateDatabaseResponsePB::MergeFrom(const PgCreateDatabaseResponsePB& from) {
6959
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgCreateDatabaseResponsePB)
6960
0
  GOOGLE_DCHECK_NE(&from, this);
6961
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6962
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6963
0
  (void) cached_has_bits;
6964
6965
0
  if (from.has_status()) {
6966
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
6967
0
  }
6968
0
}
6969
6970
0
void PgCreateDatabaseResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
6971
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgCreateDatabaseResponsePB)
6972
0
  if (&from == this) return;
6973
0
  Clear();
6974
0
  MergeFrom(from);
6975
0
}
6976
6977
0
void PgCreateDatabaseResponsePB::CopyFrom(const PgCreateDatabaseResponsePB& from) {
6978
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgCreateDatabaseResponsePB)
6979
0
  if (&from == this) return;
6980
0
  Clear();
6981
0
  MergeFrom(from);
6982
0
}
6983
6984
266
bool PgCreateDatabaseResponsePB::IsInitialized() const {
6985
266
  if (has_status()) {
6986
4
    if (!this->status_->IsInitialized()) 
return false0
;
6987
4
  }
6988
266
  return true;
6989
266
}
6990
6991
0
void PgCreateDatabaseResponsePB::Swap(PgCreateDatabaseResponsePB* other) {
6992
0
  if (other == this) return;
6993
0
  InternalSwap(other);
6994
0
}
6995
0
void PgCreateDatabaseResponsePB::InternalSwap(PgCreateDatabaseResponsePB* other) {
6996
0
  using std::swap;
6997
0
  swap(status_, other->status_);
6998
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
6999
0
  swap(_cached_size_, other->_cached_size_);
7000
0
}
7001
7002
0
::google::protobuf::Metadata PgCreateDatabaseResponsePB::GetMetadata() const {
7003
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
7004
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
7005
0
}
7006
7007
7008
// ===================================================================
7009
7010
26.8k
void PgCreateSequencesDataTableRequestPB::InitAsDefaultInstance() {
7011
26.8k
}
7012
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7013
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7014
7015
PgCreateSequencesDataTableRequestPB::PgCreateSequencesDataTableRequestPB()
7016
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7017
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7018
0
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateSequencesDataTableRequestPB();
7019
0
  }
7020
26.8k
  SharedCtor();
7021
  // @@protoc_insertion_point(constructor:yb.tserver.PgCreateSequencesDataTableRequestPB)
7022
26.8k
}
7023
PgCreateSequencesDataTableRequestPB::PgCreateSequencesDataTableRequestPB(const PgCreateSequencesDataTableRequestPB& from)
7024
  : ::google::protobuf::Message(),
7025
      _internal_metadata_(NULL),
7026
0
      _cached_size_(0) {
7027
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7028
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgCreateSequencesDataTableRequestPB)
7029
0
}
7030
7031
26.8k
void PgCreateSequencesDataTableRequestPB::SharedCtor() {
7032
26.8k
  _cached_size_ = 0;
7033
26.8k
}
7034
7035
0
PgCreateSequencesDataTableRequestPB::~PgCreateSequencesDataTableRequestPB() {
7036
  // @@protoc_insertion_point(destructor:yb.tserver.PgCreateSequencesDataTableRequestPB)
7037
0
  SharedDtor();
7038
0
}
7039
7040
0
void PgCreateSequencesDataTableRequestPB::SharedDtor() {
7041
0
}
7042
7043
0
void PgCreateSequencesDataTableRequestPB::SetCachedSize(int size) const {
7044
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7045
0
  _cached_size_ = size;
7046
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7047
0
}
7048
0
const ::google::protobuf::Descriptor* PgCreateSequencesDataTableRequestPB::descriptor() {
7049
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
7050
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7051
0
}
7052
7053
0
const PgCreateSequencesDataTableRequestPB& PgCreateSequencesDataTableRequestPB::default_instance() {
7054
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateSequencesDataTableRequestPB();
7055
0
  return *internal_default_instance();
7056
0
}
7057
7058
0
PgCreateSequencesDataTableRequestPB* PgCreateSequencesDataTableRequestPB::New(::google::protobuf::Arena* arena) const {
7059
0
  PgCreateSequencesDataTableRequestPB* n = new PgCreateSequencesDataTableRequestPB;
7060
0
  if (arena != NULL) {
7061
0
    arena->Own(n);
7062
0
  }
7063
0
  return n;
7064
0
}
7065
7066
0
void PgCreateSequencesDataTableRequestPB::Clear() {
7067
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgCreateSequencesDataTableRequestPB)
7068
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7069
  // Prevent compiler warnings about cached_has_bits being unused
7070
0
  (void) cached_has_bits;
7071
7072
0
  _internal_metadata_.Clear();
7073
0
}
7074
7075
bool PgCreateSequencesDataTableRequestPB::MergePartialFromCodedStream(
7076
0
    ::google::protobuf::io::CodedInputStream* input) {
7077
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7078
0
  ::google::protobuf::uint32 tag;
7079
  // @@protoc_insertion_point(parse_start:yb.tserver.PgCreateSequencesDataTableRequestPB)
7080
0
  for (;;) {
7081
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7082
0
    tag = p.first;
7083
0
    if (!p.second) goto handle_unusual;
7084
0
  handle_unusual:
7085
0
    if (tag == 0) {
7086
0
      goto success;
7087
0
    }
7088
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
7089
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
7090
0
  }
7091
0
success:
7092
  // @@protoc_insertion_point(parse_success:yb.tserver.PgCreateSequencesDataTableRequestPB)
7093
0
  return true;
7094
0
failure:
7095
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgCreateSequencesDataTableRequestPB)
7096
0
  return false;
7097
0
#undef DO_
7098
0
}
7099
7100
void PgCreateSequencesDataTableRequestPB::SerializeWithCachedSizes(
7101
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7102
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgCreateSequencesDataTableRequestPB)
7103
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7104
0
  (void) cached_has_bits;
7105
7106
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
7107
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7108
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
7109
0
  }
7110
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgCreateSequencesDataTableRequestPB)
7111
0
}
7112
7113
::google::protobuf::uint8* PgCreateSequencesDataTableRequestPB::InternalSerializeWithCachedSizesToArray(
7114
0
    bool deterministic, ::google::protobuf::uint8* target) const {
7115
0
  (void)deterministic; // Unused
7116
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgCreateSequencesDataTableRequestPB)
7117
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7118
0
  (void) cached_has_bits;
7119
7120
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
7121
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7122
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
7123
0
  }
7124
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgCreateSequencesDataTableRequestPB)
7125
0
  return target;
7126
0
}
7127
7128
0
size_t PgCreateSequencesDataTableRequestPB::ByteSizeLong() const {
7129
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgCreateSequencesDataTableRequestPB)
7130
0
  size_t total_size = 0;
7131
7132
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
7133
0
    total_size +=
7134
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7135
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
7136
0
  }
7137
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7138
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7139
0
  _cached_size_ = cached_size;
7140
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7141
0
  return total_size;
7142
0
}
7143
7144
0
void PgCreateSequencesDataTableRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
7145
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgCreateSequencesDataTableRequestPB)
7146
0
  GOOGLE_DCHECK_NE(&from, this);
7147
0
  const PgCreateSequencesDataTableRequestPB* source =
7148
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgCreateSequencesDataTableRequestPB>(
7149
0
          &from);
7150
0
  if (source == NULL) {
7151
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgCreateSequencesDataTableRequestPB)
7152
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7153
0
  } else {
7154
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgCreateSequencesDataTableRequestPB)
7155
0
    MergeFrom(*source);
7156
0
  }
7157
0
}
7158
7159
0
void PgCreateSequencesDataTableRequestPB::MergeFrom(const PgCreateSequencesDataTableRequestPB& from) {
7160
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgCreateSequencesDataTableRequestPB)
7161
0
  GOOGLE_DCHECK_NE(&from, this);
7162
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7163
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7164
0
  (void) cached_has_bits;
7165
7166
0
}
7167
7168
0
void PgCreateSequencesDataTableRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
7169
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgCreateSequencesDataTableRequestPB)
7170
0
  if (&from == this) return;
7171
0
  Clear();
7172
0
  MergeFrom(from);
7173
0
}
7174
7175
0
void PgCreateSequencesDataTableRequestPB::CopyFrom(const PgCreateSequencesDataTableRequestPB& from) {
7176
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgCreateSequencesDataTableRequestPB)
7177
0
  if (&from == this) return;
7178
0
  Clear();
7179
0
  MergeFrom(from);
7180
0
}
7181
7182
0
bool PgCreateSequencesDataTableRequestPB::IsInitialized() const {
7183
0
  return true;
7184
0
}
7185
7186
0
void PgCreateSequencesDataTableRequestPB::Swap(PgCreateSequencesDataTableRequestPB* other) {
7187
0
  if (other == this) return;
7188
0
  InternalSwap(other);
7189
0
}
7190
0
void PgCreateSequencesDataTableRequestPB::InternalSwap(PgCreateSequencesDataTableRequestPB* other) {
7191
0
  using std::swap;
7192
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7193
0
  swap(_cached_size_, other->_cached_size_);
7194
0
}
7195
7196
0
::google::protobuf::Metadata PgCreateSequencesDataTableRequestPB::GetMetadata() const {
7197
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
7198
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
7199
0
}
7200
7201
7202
// ===================================================================
7203
7204
26.8k
void PgCreateSequencesDataTableResponsePB::InitAsDefaultInstance() {
7205
26.8k
  ::yb::tserver::_PgCreateSequencesDataTableResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
7206
26.8k
      ::yb::AppStatusPB::internal_default_instance());
7207
26.8k
}
7208
0
void PgCreateSequencesDataTableResponsePB::clear_status() {
7209
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
7210
0
    delete status_;
7211
0
  }
7212
0
  status_ = NULL;
7213
0
}
7214
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7215
const int PgCreateSequencesDataTableResponsePB::kStatusFieldNumber;
7216
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7217
7218
PgCreateSequencesDataTableResponsePB::PgCreateSequencesDataTableResponsePB()
7219
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7220
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7221
0
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateSequencesDataTableResponsePB();
7222
0
  }
7223
26.8k
  SharedCtor();
7224
  // @@protoc_insertion_point(constructor:yb.tserver.PgCreateSequencesDataTableResponsePB)
7225
26.8k
}
7226
PgCreateSequencesDataTableResponsePB::PgCreateSequencesDataTableResponsePB(const PgCreateSequencesDataTableResponsePB& from)
7227
  : ::google::protobuf::Message(),
7228
      _internal_metadata_(NULL),
7229
0
      _cached_size_(0) {
7230
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7231
0
  if (from.has_status()) {
7232
0
    status_ = new ::yb::AppStatusPB(*from.status_);
7233
0
  } else {
7234
0
    status_ = NULL;
7235
0
  }
7236
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgCreateSequencesDataTableResponsePB)
7237
0
}
7238
7239
26.8k
void PgCreateSequencesDataTableResponsePB::SharedCtor() {
7240
26.8k
  status_ = NULL;
7241
26.8k
  _cached_size_ = 0;
7242
26.8k
}
7243
7244
0
PgCreateSequencesDataTableResponsePB::~PgCreateSequencesDataTableResponsePB() {
7245
  // @@protoc_insertion_point(destructor:yb.tserver.PgCreateSequencesDataTableResponsePB)
7246
0
  SharedDtor();
7247
0
}
7248
7249
0
void PgCreateSequencesDataTableResponsePB::SharedDtor() {
7250
0
  if (this != internal_default_instance()) delete status_;
7251
0
}
7252
7253
0
void PgCreateSequencesDataTableResponsePB::SetCachedSize(int size) const {
7254
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7255
0
  _cached_size_ = size;
7256
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7257
0
}
7258
0
const ::google::protobuf::Descriptor* PgCreateSequencesDataTableResponsePB::descriptor() {
7259
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
7260
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7261
0
}
7262
7263
0
const PgCreateSequencesDataTableResponsePB& PgCreateSequencesDataTableResponsePB::default_instance() {
7264
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateSequencesDataTableResponsePB();
7265
0
  return *internal_default_instance();
7266
0
}
7267
7268
0
PgCreateSequencesDataTableResponsePB* PgCreateSequencesDataTableResponsePB::New(::google::protobuf::Arena* arena) const {
7269
0
  PgCreateSequencesDataTableResponsePB* n = new PgCreateSequencesDataTableResponsePB;
7270
0
  if (arena != NULL) {
7271
0
    arena->Own(n);
7272
0
  }
7273
0
  return n;
7274
0
}
7275
7276
0
void PgCreateSequencesDataTableResponsePB::Clear() {
7277
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgCreateSequencesDataTableResponsePB)
7278
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7279
  // Prevent compiler warnings about cached_has_bits being unused
7280
0
  (void) cached_has_bits;
7281
7282
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
7283
0
    delete status_;
7284
0
  }
7285
0
  status_ = NULL;
7286
0
  _internal_metadata_.Clear();
7287
0
}
7288
7289
bool PgCreateSequencesDataTableResponsePB::MergePartialFromCodedStream(
7290
0
    ::google::protobuf::io::CodedInputStream* input) {
7291
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7292
0
  ::google::protobuf::uint32 tag;
7293
  // @@protoc_insertion_point(parse_start:yb.tserver.PgCreateSequencesDataTableResponsePB)
7294
0
  for (;;) {
7295
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7296
0
    tag = p.first;
7297
0
    if (!p.second) goto handle_unusual;
7298
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7299
      // .yb.AppStatusPB status = 1;
7300
0
      case 1: {
7301
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7302
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7303
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
7304
0
               input, mutable_status()));
7305
0
        } else {
7306
0
          goto handle_unusual;
7307
0
        }
7308
0
        break;
7309
0
      }
7310
7311
0
      default: {
7312
0
      handle_unusual:
7313
0
        if (tag == 0) {
7314
0
          goto success;
7315
0
        }
7316
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
7317
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
7318
0
        break;
7319
0
      }
7320
0
    }
7321
0
  }
7322
0
success:
7323
  // @@protoc_insertion_point(parse_success:yb.tserver.PgCreateSequencesDataTableResponsePB)
7324
0
  return true;
7325
0
failure:
7326
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgCreateSequencesDataTableResponsePB)
7327
0
  return false;
7328
0
#undef DO_
7329
0
}
7330
7331
void PgCreateSequencesDataTableResponsePB::SerializeWithCachedSizes(
7332
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7333
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgCreateSequencesDataTableResponsePB)
7334
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7335
0
  (void) cached_has_bits;
7336
7337
  // .yb.AppStatusPB status = 1;
7338
0
  if (this->has_status()) {
7339
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7340
0
      1, *this->status_, output);
7341
0
  }
7342
7343
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
7344
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7345
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
7346
0
  }
7347
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgCreateSequencesDataTableResponsePB)
7348
0
}
7349
7350
::google::protobuf::uint8* PgCreateSequencesDataTableResponsePB::InternalSerializeWithCachedSizesToArray(
7351
0
    bool deterministic, ::google::protobuf::uint8* target) const {
7352
0
  (void)deterministic; // Unused
7353
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgCreateSequencesDataTableResponsePB)
7354
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7355
0
  (void) cached_has_bits;
7356
7357
  // .yb.AppStatusPB status = 1;
7358
0
  if (this->has_status()) {
7359
0
    target = ::google::protobuf::internal::WireFormatLite::
7360
0
      InternalWriteMessageToArray(
7361
0
        1, *this->status_, deterministic, target);
7362
0
  }
7363
7364
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
7365
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7366
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
7367
0
  }
7368
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgCreateSequencesDataTableResponsePB)
7369
0
  return target;
7370
0
}
7371
7372
0
size_t PgCreateSequencesDataTableResponsePB::ByteSizeLong() const {
7373
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgCreateSequencesDataTableResponsePB)
7374
0
  size_t total_size = 0;
7375
7376
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
7377
0
    total_size +=
7378
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7379
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
7380
0
  }
7381
  // .yb.AppStatusPB status = 1;
7382
0
  if (this->has_status()) {
7383
0
    total_size += 1 +
7384
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
7385
0
        *this->status_);
7386
0
  }
7387
7388
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7389
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7390
0
  _cached_size_ = cached_size;
7391
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7392
0
  return total_size;
7393
0
}
7394
7395
0
void PgCreateSequencesDataTableResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
7396
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgCreateSequencesDataTableResponsePB)
7397
0
  GOOGLE_DCHECK_NE(&from, this);
7398
0
  const PgCreateSequencesDataTableResponsePB* source =
7399
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgCreateSequencesDataTableResponsePB>(
7400
0
          &from);
7401
0
  if (source == NULL) {
7402
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgCreateSequencesDataTableResponsePB)
7403
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7404
0
  } else {
7405
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgCreateSequencesDataTableResponsePB)
7406
0
    MergeFrom(*source);
7407
0
  }
7408
0
}
7409
7410
0
void PgCreateSequencesDataTableResponsePB::MergeFrom(const PgCreateSequencesDataTableResponsePB& from) {
7411
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgCreateSequencesDataTableResponsePB)
7412
0
  GOOGLE_DCHECK_NE(&from, this);
7413
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7414
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7415
0
  (void) cached_has_bits;
7416
7417
0
  if (from.has_status()) {
7418
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
7419
0
  }
7420
0
}
7421
7422
0
void PgCreateSequencesDataTableResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
7423
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgCreateSequencesDataTableResponsePB)
7424
0
  if (&from == this) return;
7425
0
  Clear();
7426
0
  MergeFrom(from);
7427
0
}
7428
7429
0
void PgCreateSequencesDataTableResponsePB::CopyFrom(const PgCreateSequencesDataTableResponsePB& from) {
7430
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgCreateSequencesDataTableResponsePB)
7431
0
  if (&from == this) return;
7432
0
  Clear();
7433
0
  MergeFrom(from);
7434
0
}
7435
7436
0
bool PgCreateSequencesDataTableResponsePB::IsInitialized() const {
7437
0
  if (has_status()) {
7438
0
    if (!this->status_->IsInitialized()) return false;
7439
0
  }
7440
0
  return true;
7441
0
}
7442
7443
0
void PgCreateSequencesDataTableResponsePB::Swap(PgCreateSequencesDataTableResponsePB* other) {
7444
0
  if (other == this) return;
7445
0
  InternalSwap(other);
7446
0
}
7447
0
void PgCreateSequencesDataTableResponsePB::InternalSwap(PgCreateSequencesDataTableResponsePB* other) {
7448
0
  using std::swap;
7449
0
  swap(status_, other->status_);
7450
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7451
0
  swap(_cached_size_, other->_cached_size_);
7452
0
}
7453
7454
0
::google::protobuf::Metadata PgCreateSequencesDataTableResponsePB::GetMetadata() const {
7455
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
7456
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
7457
0
}
7458
7459
7460
// ===================================================================
7461
7462
26.8k
void PgCreateColumnPB::InitAsDefaultInstance() {
7463
26.8k
}
7464
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7465
const int PgCreateColumnPB::kAttrNameFieldNumber;
7466
const int PgCreateColumnPB::kAttrNumFieldNumber;
7467
const int PgCreateColumnPB::kAttrYbtypeFieldNumber;
7468
const int PgCreateColumnPB::kIsHashFieldNumber;
7469
const int PgCreateColumnPB::kIsRangeFieldNumber;
7470
const int PgCreateColumnPB::kSortingTypeFieldNumber;
7471
const int PgCreateColumnPB::kAttrPgoidFieldNumber;
7472
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7473
7474
PgCreateColumnPB::PgCreateColumnPB()
7475
55.2k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7476
55.2k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7477
28.4k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateColumnPB();
7478
28.4k
  }
7479
55.2k
  SharedCtor();
7480
  // @@protoc_insertion_point(constructor:yb.tserver.PgCreateColumnPB)
7481
55.2k
}
7482
PgCreateColumnPB::PgCreateColumnPB(const PgCreateColumnPB& from)
7483
  : ::google::protobuf::Message(),
7484
      _internal_metadata_(NULL),
7485
0
      _cached_size_(0) {
7486
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7487
0
  attr_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7488
0
  if (from.attr_name().size() > 0) {
7489
0
    attr_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.attr_name_);
7490
0
  }
7491
0
  ::memcpy(&attr_num_, &from.attr_num_,
7492
0
    static_cast<size_t>(reinterpret_cast<char*>(&attr_pgoid_) -
7493
0
    reinterpret_cast<char*>(&attr_num_)) + sizeof(attr_pgoid_));
7494
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgCreateColumnPB)
7495
0
}
7496
7497
55.2k
void PgCreateColumnPB::SharedCtor() {
7498
55.2k
  attr_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7499
55.2k
  ::memset(&attr_num_, 0, static_cast<size_t>(
7500
55.2k
      reinterpret_cast<char*>(&attr_pgoid_) -
7501
55.2k
      reinterpret_cast<char*>(&attr_num_)) + sizeof(attr_pgoid_));
7502
55.2k
  _cached_size_ = 0;
7503
55.2k
}
7504
7505
28.3k
PgCreateColumnPB::~PgCreateColumnPB() {
7506
  // @@protoc_insertion_point(destructor:yb.tserver.PgCreateColumnPB)
7507
28.3k
  SharedDtor();
7508
28.3k
}
7509
7510
28.3k
void PgCreateColumnPB::SharedDtor() {
7511
28.3k
  attr_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7512
28.3k
}
7513
7514
0
void PgCreateColumnPB::SetCachedSize(int size) const {
7515
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7516
0
  _cached_size_ = size;
7517
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7518
0
}
7519
0
const ::google::protobuf::Descriptor* PgCreateColumnPB::descriptor() {
7520
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
7521
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7522
0
}
7523
7524
0
const PgCreateColumnPB& PgCreateColumnPB::default_instance() {
7525
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateColumnPB();
7526
0
  return *internal_default_instance();
7527
0
}
7528
7529
0
PgCreateColumnPB* PgCreateColumnPB::New(::google::protobuf::Arena* arena) const {
7530
0
  PgCreateColumnPB* n = new PgCreateColumnPB;
7531
0
  if (arena != NULL) {
7532
0
    arena->Own(n);
7533
0
  }
7534
0
  return n;
7535
0
}
7536
7537
0
void PgCreateColumnPB::Clear() {
7538
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgCreateColumnPB)
7539
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7540
  // Prevent compiler warnings about cached_has_bits being unused
7541
0
  (void) cached_has_bits;
7542
7543
0
  attr_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7544
0
  ::memset(&attr_num_, 0, static_cast<size_t>(
7545
0
      reinterpret_cast<char*>(&attr_pgoid_) -
7546
0
      reinterpret_cast<char*>(&attr_num_)) + sizeof(attr_pgoid_));
7547
0
  _internal_metadata_.Clear();
7548
0
}
7549
7550
bool PgCreateColumnPB::MergePartialFromCodedStream(
7551
14.1k
    ::google::protobuf::io::CodedInputStream* input) {
7552
82.2k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
7553
14.1k
  ::google::protobuf::uint32 tag;
7554
  // @@protoc_insertion_point(parse_start:yb.tserver.PgCreateColumnPB)
7555
82.2k
  for (;;) {
7556
82.2k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7557
82.2k
    tag = p.first;
7558
82.2k
    if (!p.second) 
goto handle_unusual14.1k
;
7559
68.0k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7560
      // string attr_name = 1;
7561
14.1k
      case 1: {
7562
14.1k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7563
14.1k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7564
14.1k
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
7565
14.1k
                input, this->mutable_attr_name()));
7566
14.1k
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
7567
14.1k
            this->attr_name().data(), static_cast<int>(this->attr_name().length()),
7568
14.1k
            ::google::protobuf::internal::WireFormatLite::PARSE,
7569
14.1k
            "yb.tserver.PgCreateColumnPB.attr_name"));
7570
14.1k
        } else {
7571
0
          goto handle_unusual;
7572
0
        }
7573
14.1k
        break;
7574
14.1k
      }
7575
7576
      // int32 attr_num = 2;
7577
14.1k
      case 2: {
7578
14.1k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7579
14.1k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
7580
7581
14.1k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7582
14.1k
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
7583
14.1k
                 input, &attr_num_)));
7584
14.1k
        } else {
7585
0
          goto handle_unusual;
7586
0
        }
7587
14.1k
        break;
7588
14.1k
      }
7589
7590
      // int32 attr_ybtype = 3;
7591
14.1k
      case 3: {
7592
14.1k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7593
14.1k
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
7594
7595
14.1k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7596
14.1k
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
7597
14.1k
                 input, &attr_ybtype_)));
7598
14.1k
        } else {
7599
0
          goto handle_unusual;
7600
0
        }
7601
14.1k
        break;
7602
14.1k
      }
7603
7604
      // bool is_hash = 4;
7605
14.1k
      case 4: {
7606
4.37k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7607
4.37k
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
7608
7609
4.37k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7610
4.37k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
7611
4.37k
                 input, &is_hash_)));
7612
4.37k
        } else {
7613
0
          goto handle_unusual;
7614
0
        }
7615
4.37k
        break;
7616
4.37k
      }
7617
7618
      // bool is_range = 5;
7619
5.74k
      case 5: {
7620
5.74k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7621
5.74k
            static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
7622
7623
5.74k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7624
5.74k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
7625
5.74k
                 input, &is_range_)));
7626
5.74k
        } else {
7627
0
          goto handle_unusual;
7628
0
        }
7629
5.74k
        break;
7630
5.74k
      }
7631
7632
      // int32 sorting_type = 6;
7633
5.74k
      case 6: {
7634
1.28k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7635
1.28k
            static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
7636
7637
1.28k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7638
1.28k
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
7639
1.28k
                 input, &sorting_type_)));
7640
1.28k
        } else {
7641
0
          goto handle_unusual;
7642
0
        }
7643
1.28k
        break;
7644
1.28k
      }
7645
7646
      // int32 attr_pgoid = 7;
7647
14.1k
      case 7: {
7648
14.1k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7649
14.1k
            static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
7650
7651
14.1k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7652
14.1k
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
7653
14.1k
                 input, &attr_pgoid_)));
7654
14.1k
        } else {
7655
0
          goto handle_unusual;
7656
0
        }
7657
14.1k
        break;
7658
14.1k
      }
7659
7660
14.1k
      default: {
7661
14.1k
      handle_unusual:
7662
14.1k
        if (tag == 0) {
7663
14.1k
          goto success;
7664
14.1k
        }
7665
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
7666
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
7667
0
        break;
7668
0
      }
7669
68.0k
    }
7670
68.0k
  }
7671
14.1k
success:
7672
  // @@protoc_insertion_point(parse_success:yb.tserver.PgCreateColumnPB)
7673
14.1k
  return true;
7674
0
failure:
7675
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgCreateColumnPB)
7676
0
  return false;
7677
14.1k
#undef DO_
7678
14.1k
}
7679
7680
void PgCreateColumnPB::SerializeWithCachedSizes(
7681
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7682
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgCreateColumnPB)
7683
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7684
0
  (void) cached_has_bits;
7685
7686
  // string attr_name = 1;
7687
0
  if (this->attr_name().size() > 0) {
7688
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
7689
0
      this->attr_name().data(), static_cast<int>(this->attr_name().length()),
7690
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
7691
0
      "yb.tserver.PgCreateColumnPB.attr_name");
7692
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
7693
0
      1, this->attr_name(), output);
7694
0
  }
7695
7696
  // int32 attr_num = 2;
7697
0
  if (this->attr_num() != 0) {
7698
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->attr_num(), output);
7699
0
  }
7700
7701
  // int32 attr_ybtype = 3;
7702
0
  if (this->attr_ybtype() != 0) {
7703
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->attr_ybtype(), output);
7704
0
  }
7705
7706
  // bool is_hash = 4;
7707
0
  if (this->is_hash() != 0) {
7708
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->is_hash(), output);
7709
0
  }
7710
7711
  // bool is_range = 5;
7712
0
  if (this->is_range() != 0) {
7713
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->is_range(), output);
7714
0
  }
7715
7716
  // int32 sorting_type = 6;
7717
0
  if (this->sorting_type() != 0) {
7718
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->sorting_type(), output);
7719
0
  }
7720
7721
  // int32 attr_pgoid = 7;
7722
0
  if (this->attr_pgoid() != 0) {
7723
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->attr_pgoid(), output);
7724
0
  }
7725
7726
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
7727
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7728
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
7729
0
  }
7730
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgCreateColumnPB)
7731
0
}
7732
7733
::google::protobuf::uint8* PgCreateColumnPB::InternalSerializeWithCachedSizesToArray(
7734
14.1k
    bool deterministic, ::google::protobuf::uint8* target) const {
7735
14.1k
  (void)deterministic; // Unused
7736
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgCreateColumnPB)
7737
14.1k
  ::google::protobuf::uint32 cached_has_bits = 0;
7738
14.1k
  (void) cached_has_bits;
7739
7740
  // string attr_name = 1;
7741
14.1k
  if (this->attr_name().size() > 0) {
7742
14.1k
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
7743
14.1k
      this->attr_name().data(), static_cast<int>(this->attr_name().length()),
7744
14.1k
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
7745
14.1k
      "yb.tserver.PgCreateColumnPB.attr_name");
7746
14.1k
    target =
7747
14.1k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
7748
14.1k
        1, this->attr_name(), target);
7749
14.1k
  }
7750
7751
  // int32 attr_num = 2;
7752
14.1k
  if (this->attr_num() != 0) {
7753
14.1k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->attr_num(), target);
7754
14.1k
  }
7755
7756
  // int32 attr_ybtype = 3;
7757
14.1k
  if (this->attr_ybtype() != 0) {
7758
14.1k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->attr_ybtype(), target);
7759
14.1k
  }
7760
7761
  // bool is_hash = 4;
7762
14.1k
  if (this->is_hash() != 0) {
7763
4.37k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->is_hash(), target);
7764
4.37k
  }
7765
7766
  // bool is_range = 5;
7767
14.1k
  if (this->is_range() != 0) {
7768
5.74k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->is_range(), target);
7769
5.74k
  }
7770
7771
  // int32 sorting_type = 6;
7772
14.1k
  if (this->sorting_type() != 0) {
7773
1.28k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->sorting_type(), target);
7774
1.28k
  }
7775
7776
  // int32 attr_pgoid = 7;
7777
14.1k
  if (this->attr_pgoid() != 0) {
7778
14.1k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->attr_pgoid(), target);
7779
14.1k
  }
7780
7781
14.1k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
7782
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7783
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
7784
0
  }
7785
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgCreateColumnPB)
7786
14.1k
  return target;
7787
14.1k
}
7788
7789
28.3k
size_t PgCreateColumnPB::ByteSizeLong() const {
7790
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgCreateColumnPB)
7791
28.3k
  size_t total_size = 0;
7792
7793
28.3k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
7794
0
    total_size +=
7795
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7796
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
7797
0
  }
7798
  // string attr_name = 1;
7799
28.3k
  if (this->attr_name().size() > 0) {
7800
28.3k
    total_size += 1 +
7801
28.3k
      ::google::protobuf::internal::WireFormatLite::StringSize(
7802
28.3k
        this->attr_name());
7803
28.3k
  }
7804
7805
  // int32 attr_num = 2;
7806
28.3k
  if (this->attr_num() != 0) {
7807
28.3k
    total_size += 1 +
7808
28.3k
      ::google::protobuf::internal::WireFormatLite::Int32Size(
7809
28.3k
        this->attr_num());
7810
28.3k
  }
7811
7812
  // int32 attr_ybtype = 3;
7813
28.3k
  if (this->attr_ybtype() != 0) {
7814
28.3k
    total_size += 1 +
7815
28.3k
      ::google::protobuf::internal::WireFormatLite::Int32Size(
7816
28.3k
        this->attr_ybtype());
7817
28.3k
  }
7818
7819
  // bool is_hash = 4;
7820
28.3k
  if (this->is_hash() != 0) {
7821
8.74k
    total_size += 1 + 1;
7822
8.74k
  }
7823
7824
  // bool is_range = 5;
7825
28.3k
  if (this->is_range() != 0) {
7826
11.4k
    total_size += 1 + 1;
7827
11.4k
  }
7828
7829
  // int32 sorting_type = 6;
7830
28.3k
  if (this->sorting_type() != 0) {
7831
2.56k
    total_size += 1 +
7832
2.56k
      ::google::protobuf::internal::WireFormatLite::Int32Size(
7833
2.56k
        this->sorting_type());
7834
2.56k
  }
7835
7836
  // int32 attr_pgoid = 7;
7837
28.3k
  if (this->attr_pgoid() != 0) {
7838
28.2k
    total_size += 1 +
7839
28.2k
      ::google::protobuf::internal::WireFormatLite::Int32Size(
7840
28.2k
        this->attr_pgoid());
7841
28.2k
  }
7842
7843
28.3k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7844
28.3k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7845
28.3k
  _cached_size_ = cached_size;
7846
28.3k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7847
28.3k
  return total_size;
7848
28.3k
}
7849
7850
0
void PgCreateColumnPB::MergeFrom(const ::google::protobuf::Message& from) {
7851
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgCreateColumnPB)
7852
0
  GOOGLE_DCHECK_NE(&from, this);
7853
0
  const PgCreateColumnPB* source =
7854
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgCreateColumnPB>(
7855
0
          &from);
7856
0
  if (source == NULL) {
7857
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgCreateColumnPB)
7858
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7859
0
  } else {
7860
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgCreateColumnPB)
7861
0
    MergeFrom(*source);
7862
0
  }
7863
0
}
7864
7865
0
void PgCreateColumnPB::MergeFrom(const PgCreateColumnPB& from) {
7866
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgCreateColumnPB)
7867
0
  GOOGLE_DCHECK_NE(&from, this);
7868
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7869
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7870
0
  (void) cached_has_bits;
7871
7872
0
  if (from.attr_name().size() > 0) {
7873
7874
0
    attr_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.attr_name_);
7875
0
  }
7876
0
  if (from.attr_num() != 0) {
7877
0
    set_attr_num(from.attr_num());
7878
0
  }
7879
0
  if (from.attr_ybtype() != 0) {
7880
0
    set_attr_ybtype(from.attr_ybtype());
7881
0
  }
7882
0
  if (from.is_hash() != 0) {
7883
0
    set_is_hash(from.is_hash());
7884
0
  }
7885
0
  if (from.is_range() != 0) {
7886
0
    set_is_range(from.is_range());
7887
0
  }
7888
0
  if (from.sorting_type() != 0) {
7889
0
    set_sorting_type(from.sorting_type());
7890
0
  }
7891
0
  if (from.attr_pgoid() != 0) {
7892
0
    set_attr_pgoid(from.attr_pgoid());
7893
0
  }
7894
0
}
7895
7896
0
void PgCreateColumnPB::CopyFrom(const ::google::protobuf::Message& from) {
7897
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgCreateColumnPB)
7898
0
  if (&from == this) return;
7899
0
  Clear();
7900
0
  MergeFrom(from);
7901
0
}
7902
7903
0
void PgCreateColumnPB::CopyFrom(const PgCreateColumnPB& from) {
7904
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgCreateColumnPB)
7905
0
  if (&from == this) return;
7906
0
  Clear();
7907
0
  MergeFrom(from);
7908
0
}
7909
7910
0
bool PgCreateColumnPB::IsInitialized() const {
7911
0
  return true;
7912
0
}
7913
7914
0
void PgCreateColumnPB::Swap(PgCreateColumnPB* other) {
7915
0
  if (other == this) return;
7916
0
  InternalSwap(other);
7917
0
}
7918
0
void PgCreateColumnPB::InternalSwap(PgCreateColumnPB* other) {
7919
0
  using std::swap;
7920
0
  attr_name_.Swap(&other->attr_name_);
7921
0
  swap(attr_num_, other->attr_num_);
7922
0
  swap(attr_ybtype_, other->attr_ybtype_);
7923
0
  swap(is_hash_, other->is_hash_);
7924
0
  swap(is_range_, other->is_range_);
7925
0
  swap(sorting_type_, other->sorting_type_);
7926
0
  swap(attr_pgoid_, other->attr_pgoid_);
7927
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7928
0
  swap(_cached_size_, other->_cached_size_);
7929
0
}
7930
7931
14.1k
::google::protobuf::Metadata PgCreateColumnPB::GetMetadata() const {
7932
14.1k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
7933
14.1k
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
7934
14.1k
}
7935
7936
7937
// ===================================================================
7938
7939
26.8k
void PgCreateSplitBoundaryPB::InitAsDefaultInstance() {
7940
26.8k
}
7941
0
void PgCreateSplitBoundaryPB::clear_values() {
7942
0
  values_.Clear();
7943
0
}
7944
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7945
const int PgCreateSplitBoundaryPB::kValuesFieldNumber;
7946
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7947
7948
PgCreateSplitBoundaryPB::PgCreateSplitBoundaryPB()
7949
27.2k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7950
27.2k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7951
361
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateSplitBoundaryPB();
7952
361
  }
7953
27.2k
  SharedCtor();
7954
  // @@protoc_insertion_point(constructor:yb.tserver.PgCreateSplitBoundaryPB)
7955
27.2k
}
7956
PgCreateSplitBoundaryPB::PgCreateSplitBoundaryPB(const PgCreateSplitBoundaryPB& from)
7957
  : ::google::protobuf::Message(),
7958
      _internal_metadata_(NULL),
7959
      values_(from.values_),
7960
0
      _cached_size_(0) {
7961
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7962
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgCreateSplitBoundaryPB)
7963
0
}
7964
7965
27.2k
void PgCreateSplitBoundaryPB::SharedCtor() {
7966
27.2k
  _cached_size_ = 0;
7967
27.2k
}
7968
7969
357
PgCreateSplitBoundaryPB::~PgCreateSplitBoundaryPB() {
7970
  // @@protoc_insertion_point(destructor:yb.tserver.PgCreateSplitBoundaryPB)
7971
357
  SharedDtor();
7972
357
}
7973
7974
357
void PgCreateSplitBoundaryPB::SharedDtor() {
7975
357
}
7976
7977
0
void PgCreateSplitBoundaryPB::SetCachedSize(int size) const {
7978
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7979
0
  _cached_size_ = size;
7980
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7981
0
}
7982
0
const ::google::protobuf::Descriptor* PgCreateSplitBoundaryPB::descriptor() {
7983
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
7984
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7985
0
}
7986
7987
0
const PgCreateSplitBoundaryPB& PgCreateSplitBoundaryPB::default_instance() {
7988
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateSplitBoundaryPB();
7989
0
  return *internal_default_instance();
7990
0
}
7991
7992
0
PgCreateSplitBoundaryPB* PgCreateSplitBoundaryPB::New(::google::protobuf::Arena* arena) const {
7993
0
  PgCreateSplitBoundaryPB* n = new PgCreateSplitBoundaryPB;
7994
0
  if (arena != NULL) {
7995
0
    arena->Own(n);
7996
0
  }
7997
0
  return n;
7998
0
}
7999
8000
0
void PgCreateSplitBoundaryPB::Clear() {
8001
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgCreateSplitBoundaryPB)
8002
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8003
  // Prevent compiler warnings about cached_has_bits being unused
8004
0
  (void) cached_has_bits;
8005
8006
0
  values_.Clear();
8007
0
  _internal_metadata_.Clear();
8008
0
}
8009
8010
bool PgCreateSplitBoundaryPB::MergePartialFromCodedStream(
8011
180
    ::google::protobuf::io::CodedInputStream* input) {
8012
277
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
8013
180
  ::google::protobuf::uint32 tag;
8014
  // @@protoc_insertion_point(parse_start:yb.tserver.PgCreateSplitBoundaryPB)
8015
457
  for (;;) {
8016
457
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8017
457
    tag = p.first;
8018
457
    if (!p.second) 
goto handle_unusual180
;
8019
277
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8020
      // repeated .yb.QLValuePB values = 1;
8021
277
      case 1: {
8022
277
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8023
277
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
8024
277
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_values()));
8025
277
        } else {
8026
0
          goto handle_unusual;
8027
0
        }
8028
277
        break;
8029
277
      }
8030
8031
277
      default: {
8032
180
      handle_unusual:
8033
180
        if (tag == 0) {
8034
180
          goto success;
8035
180
        }
8036
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
8037
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
8038
0
        break;
8039
0
      }
8040
277
    }
8041
277
  }
8042
180
success:
8043
  // @@protoc_insertion_point(parse_success:yb.tserver.PgCreateSplitBoundaryPB)
8044
180
  return true;
8045
0
failure:
8046
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgCreateSplitBoundaryPB)
8047
0
  return false;
8048
180
#undef DO_
8049
180
}
8050
8051
void PgCreateSplitBoundaryPB::SerializeWithCachedSizes(
8052
0
    ::google::protobuf::io::CodedOutputStream* output) const {
8053
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgCreateSplitBoundaryPB)
8054
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8055
0
  (void) cached_has_bits;
8056
8057
  // repeated .yb.QLValuePB values = 1;
8058
0
  for (unsigned int i = 0,
8059
0
      n = static_cast<unsigned int>(this->values_size()); i < n; i++) {
8060
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8061
0
      1, this->values(static_cast<int>(i)), output);
8062
0
  }
8063
8064
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
8065
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8066
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
8067
0
  }
8068
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgCreateSplitBoundaryPB)
8069
0
}
8070
8071
::google::protobuf::uint8* PgCreateSplitBoundaryPB::InternalSerializeWithCachedSizesToArray(
8072
180
    bool deterministic, ::google::protobuf::uint8* target) const {
8073
180
  (void)deterministic; // Unused
8074
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgCreateSplitBoundaryPB)
8075
180
  ::google::protobuf::uint32 cached_has_bits = 0;
8076
180
  (void) cached_has_bits;
8077
8078
  // repeated .yb.QLValuePB values = 1;
8079
180
  for (unsigned int i = 0,
8080
457
      n = static_cast<unsigned int>(this->values_size()); i < n; 
i++277
) {
8081
277
    target = ::google::protobuf::internal::WireFormatLite::
8082
277
      InternalWriteMessageToArray(
8083
277
        1, this->values(static_cast<int>(i)), deterministic, target);
8084
277
  }
8085
8086
180
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
8087
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8088
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
8089
0
  }
8090
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgCreateSplitBoundaryPB)
8091
180
  return target;
8092
180
}
8093
8094
360
size_t PgCreateSplitBoundaryPB::ByteSizeLong() const {
8095
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgCreateSplitBoundaryPB)
8096
360
  size_t total_size = 0;
8097
8098
360
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
8099
0
    total_size +=
8100
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8101
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
8102
0
  }
8103
  // repeated .yb.QLValuePB values = 1;
8104
360
  {
8105
360
    unsigned int count = static_cast<unsigned int>(this->values_size());
8106
360
    total_size += 1UL * count;
8107
914
    for (unsigned int i = 0; i < count; 
i++554
) {
8108
554
      total_size +=
8109
554
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8110
554
          this->values(static_cast<int>(i)));
8111
554
    }
8112
360
  }
8113
8114
360
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8115
360
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8116
360
  _cached_size_ = cached_size;
8117
360
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8118
360
  return total_size;
8119
360
}
8120
8121
0
void PgCreateSplitBoundaryPB::MergeFrom(const ::google::protobuf::Message& from) {
8122
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgCreateSplitBoundaryPB)
8123
0
  GOOGLE_DCHECK_NE(&from, this);
8124
0
  const PgCreateSplitBoundaryPB* source =
8125
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgCreateSplitBoundaryPB>(
8126
0
          &from);
8127
0
  if (source == NULL) {
8128
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgCreateSplitBoundaryPB)
8129
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8130
0
  } else {
8131
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgCreateSplitBoundaryPB)
8132
0
    MergeFrom(*source);
8133
0
  }
8134
0
}
8135
8136
0
void PgCreateSplitBoundaryPB::MergeFrom(const PgCreateSplitBoundaryPB& from) {
8137
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgCreateSplitBoundaryPB)
8138
0
  GOOGLE_DCHECK_NE(&from, this);
8139
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8140
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8141
0
  (void) cached_has_bits;
8142
8143
0
  values_.MergeFrom(from.values_);
8144
0
}
8145
8146
0
void PgCreateSplitBoundaryPB::CopyFrom(const ::google::protobuf::Message& from) {
8147
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgCreateSplitBoundaryPB)
8148
0
  if (&from == this) return;
8149
0
  Clear();
8150
0
  MergeFrom(from);
8151
0
}
8152
8153
0
void PgCreateSplitBoundaryPB::CopyFrom(const PgCreateSplitBoundaryPB& from) {
8154
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgCreateSplitBoundaryPB)
8155
0
  if (&from == this) return;
8156
0
  Clear();
8157
0
  MergeFrom(from);
8158
0
}
8159
8160
0
bool PgCreateSplitBoundaryPB::IsInitialized() const {
8161
0
  return true;
8162
0
}
8163
8164
0
void PgCreateSplitBoundaryPB::Swap(PgCreateSplitBoundaryPB* other) {
8165
0
  if (other == this) return;
8166
0
  InternalSwap(other);
8167
0
}
8168
0
void PgCreateSplitBoundaryPB::InternalSwap(PgCreateSplitBoundaryPB* other) {
8169
0
  using std::swap;
8170
0
  values_.InternalSwap(&other->values_);
8171
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
8172
0
  swap(_cached_size_, other->_cached_size_);
8173
0
}
8174
8175
180
::google::protobuf::Metadata PgCreateSplitBoundaryPB::GetMetadata() const {
8176
180
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
8177
180
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
8178
180
}
8179
8180
8181
// ===================================================================
8182
8183
26.8k
void PgCreateTableRequestPB::InitAsDefaultInstance() {
8184
26.8k
  ::yb::tserver::_PgCreateTableRequestPB_default_instance_._instance.get_mutable()->table_id_ = const_cast< ::yb::tserver::PgObjectIdPB*>(
8185
26.8k
      ::yb::tserver::PgObjectIdPB::internal_default_instance());
8186
26.8k
  ::yb::tserver::_PgCreateTableRequestPB_default_instance_._instance.get_mutable()->tablegroup_oid_ = const_cast< ::yb::tserver::PgObjectIdPB*>(
8187
26.8k
      ::yb::tserver::PgObjectIdPB::internal_default_instance());
8188
26.8k
  ::yb::tserver::_PgCreateTableRequestPB_default_instance_.colocation_id_ = 0u;
8189
26.8k
  ::yb::tserver::_PgCreateTableRequestPB_default_instance_._instance.get_mutable()->tablespace_oid_ = const_cast< ::yb::tserver::PgObjectIdPB*>(
8190
26.8k
      ::yb::tserver::PgObjectIdPB::internal_default_instance());
8191
26.8k
  ::yb::tserver::_PgCreateTableRequestPB_default_instance_._instance.get_mutable()->base_table_id_ = const_cast< ::yb::tserver::PgObjectIdPB*>(
8192
26.8k
      ::yb::tserver::PgObjectIdPB::internal_default_instance());
8193
26.8k
  ::yb::tserver::_PgCreateTableRequestPB_default_instance_._instance.get_mutable()->matview_pg_table_oid_ = const_cast< ::yb::tserver::PgObjectIdPB*>(
8194
26.8k
      ::yb::tserver::PgObjectIdPB::internal_default_instance());
8195
26.8k
}
8196
#if !defined(_MSC_VER) || _MSC_VER >= 1900
8197
const int PgCreateTableRequestPB::kSessionIdFieldNumber;
8198
const int PgCreateTableRequestPB::kUseTransactionFieldNumber;
8199
const int PgCreateTableRequestPB::kTableIdFieldNumber;
8200
const int PgCreateTableRequestPB::kDatabaseNameFieldNumber;
8201
const int PgCreateTableRequestPB::kTableNameFieldNumber;
8202
const int PgCreateTableRequestPB::kNumTabletsFieldNumber;
8203
const int PgCreateTableRequestPB::kIsPgCatalogTableFieldNumber;
8204
const int PgCreateTableRequestPB::kIsSharedTableFieldNumber;
8205
const int PgCreateTableRequestPB::kIfNotExistFieldNumber;
8206
const int PgCreateTableRequestPB::kColocatedFieldNumber;
8207
const int PgCreateTableRequestPB::kTablegroupOidFieldNumber;
8208
const int PgCreateTableRequestPB::kColocationIdFieldNumber;
8209
const int PgCreateTableRequestPB::kTablespaceOidFieldNumber;
8210
const int PgCreateTableRequestPB::kCreateColumnsFieldNumber;
8211
const int PgCreateTableRequestPB::kSplitBoundsFieldNumber;
8212
const int PgCreateTableRequestPB::kBaseTableIdFieldNumber;
8213
const int PgCreateTableRequestPB::kIsUniqueIndexFieldNumber;
8214
const int PgCreateTableRequestPB::kSkipIndexBackfillFieldNumber;
8215
const int PgCreateTableRequestPB::kMatviewPgTableOidFieldNumber;
8216
const int PgCreateTableRequestPB::kSchemaNameFieldNumber;
8217
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
8218
8219
PgCreateTableRequestPB::PgCreateTableRequestPB()
8220
37.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8221
37.0k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
8222
10.2k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateTableRequestPB();
8223
10.2k
  }
8224
37.0k
  SharedCtor();
8225
  // @@protoc_insertion_point(constructor:yb.tserver.PgCreateTableRequestPB)
8226
37.0k
}
8227
PgCreateTableRequestPB::PgCreateTableRequestPB(const PgCreateTableRequestPB& from)
8228
  : ::google::protobuf::Message(),
8229
      _internal_metadata_(NULL),
8230
      create_columns_(from.create_columns_),
8231
      split_bounds_(from.split_bounds_),
8232
0
      _cached_size_(0) {
8233
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8234
0
  database_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8235
0
  if (from.database_name().size() > 0) {
8236
0
    database_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.database_name_);
8237
0
  }
8238
0
  table_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8239
0
  if (from.table_name().size() > 0) {
8240
0
    table_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_name_);
8241
0
  }
8242
0
  schema_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8243
0
  if (from.schema_name().size() > 0) {
8244
0
    schema_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.schema_name_);
8245
0
  }
8246
0
  if (from.has_table_id()) {
8247
0
    table_id_ = new ::yb::tserver::PgObjectIdPB(*from.table_id_);
8248
0
  } else {
8249
0
    table_id_ = NULL;
8250
0
  }
8251
0
  if (from.has_tablegroup_oid()) {
8252
0
    tablegroup_oid_ = new ::yb::tserver::PgObjectIdPB(*from.tablegroup_oid_);
8253
0
  } else {
8254
0
    tablegroup_oid_ = NULL;
8255
0
  }
8256
0
  if (from.has_tablespace_oid()) {
8257
0
    tablespace_oid_ = new ::yb::tserver::PgObjectIdPB(*from.tablespace_oid_);
8258
0
  } else {
8259
0
    tablespace_oid_ = NULL;
8260
0
  }
8261
0
  if (from.has_base_table_id()) {
8262
0
    base_table_id_ = new ::yb::tserver::PgObjectIdPB(*from.base_table_id_);
8263
0
  } else {
8264
0
    base_table_id_ = NULL;
8265
0
  }
8266
0
  if (from.has_matview_pg_table_oid()) {
8267
0
    matview_pg_table_oid_ = new ::yb::tserver::PgObjectIdPB(*from.matview_pg_table_oid_);
8268
0
  } else {
8269
0
    matview_pg_table_oid_ = NULL;
8270
0
  }
8271
0
  ::memcpy(&session_id_, &from.session_id_,
8272
0
    static_cast<size_t>(reinterpret_cast<char*>(&skip_index_backfill_) -
8273
0
    reinterpret_cast<char*>(&session_id_)) + sizeof(skip_index_backfill_));
8274
0
  clear_has_optional_colocation_id();
8275
0
  switch (from.optional_colocation_id_case()) {
8276
0
    case kColocationId: {
8277
0
      set_colocation_id(from.colocation_id());
8278
0
      break;
8279
0
    }
8280
0
    case OPTIONAL_COLOCATION_ID_NOT_SET: {
8281
0
      break;
8282
0
    }
8283
0
  }
8284
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgCreateTableRequestPB)
8285
0
}
8286
8287
37.0k
void PgCreateTableRequestPB::SharedCtor() {
8288
37.0k
  database_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8289
37.0k
  table_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8290
37.0k
  schema_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8291
37.0k
  ::memset(&table_id_, 0, static_cast<size_t>(
8292
37.0k
      reinterpret_cast<char*>(&skip_index_backfill_) -
8293
37.0k
      reinterpret_cast<char*>(&table_id_)) + sizeof(skip_index_backfill_));
8294
37.0k
  clear_has_optional_colocation_id();
8295
37.0k
  _cached_size_ = 0;
8296
37.0k
}
8297
8298
10.2k
PgCreateTableRequestPB::~PgCreateTableRequestPB() {
8299
  // @@protoc_insertion_point(destructor:yb.tserver.PgCreateTableRequestPB)
8300
10.2k
  SharedDtor();
8301
10.2k
}
8302
8303
10.2k
void PgCreateTableRequestPB::SharedDtor() {
8304
10.2k
  database_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8305
10.2k
  table_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8306
10.2k
  schema_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8307
10.2k
  if (this != internal_default_instance()) delete table_id_;
8308
10.2k
  if (this != internal_default_instance()) delete tablegroup_oid_;
8309
10.2k
  if (this != internal_default_instance()) delete tablespace_oid_;
8310
10.2k
  if (this != internal_default_instance()) delete base_table_id_;
8311
10.2k
  if (this != internal_default_instance()) delete matview_pg_table_oid_;
8312
10.2k
  if (has_optional_colocation_id()) {
8313
48
    clear_optional_colocation_id();
8314
48
  }
8315
10.2k
}
8316
8317
0
void PgCreateTableRequestPB::SetCachedSize(int size) const {
8318
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8319
0
  _cached_size_ = size;
8320
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8321
0
}
8322
0
const ::google::protobuf::Descriptor* PgCreateTableRequestPB::descriptor() {
8323
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
8324
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
8325
0
}
8326
8327
0
const PgCreateTableRequestPB& PgCreateTableRequestPB::default_instance() {
8328
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateTableRequestPB();
8329
0
  return *internal_default_instance();
8330
0
}
8331
8332
0
PgCreateTableRequestPB* PgCreateTableRequestPB::New(::google::protobuf::Arena* arena) const {
8333
0
  PgCreateTableRequestPB* n = new PgCreateTableRequestPB;
8334
0
  if (arena != NULL) {
8335
0
    arena->Own(n);
8336
0
  }
8337
0
  return n;
8338
0
}
8339
8340
5.15k
void PgCreateTableRequestPB::clear_optional_colocation_id() {
8341
// @@protoc_insertion_point(one_of_clear_start:yb.tserver.PgCreateTableRequestPB)
8342
5.15k
  switch (optional_colocation_id_case()) {
8343
48
    case kColocationId: {
8344
      // No need to clear
8345
48
      break;
8346
0
    }
8347
5.10k
    case OPTIONAL_COLOCATION_ID_NOT_SET: {
8348
5.10k
      break;
8349
0
    }
8350
5.15k
  }
8351
5.15k
  _oneof_case_[0] = OPTIONAL_COLOCATION_ID_NOT_SET;
8352
5.15k
}
8353
8354
8355
5.05k
void PgCreateTableRequestPB::Clear() {
8356
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgCreateTableRequestPB)
8357
5.05k
  ::google::protobuf::uint32 cached_has_bits = 0;
8358
  // Prevent compiler warnings about cached_has_bits being unused
8359
5.05k
  (void) cached_has_bits;
8360
8361
5.05k
  create_columns_.Clear();
8362
5.05k
  split_bounds_.Clear();
8363
5.05k
  database_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8364
5.05k
  table_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8365
5.05k
  schema_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8366
5.05k
  if (GetArenaNoVirtual() == NULL && table_id_ != NULL) {
8367
0
    delete table_id_;
8368
0
  }
8369
5.05k
  table_id_ = NULL;
8370
5.05k
  if (GetArenaNoVirtual() == NULL && tablegroup_oid_ != NULL) {
8371
0
    delete tablegroup_oid_;
8372
0
  }
8373
5.05k
  tablegroup_oid_ = NULL;
8374
5.05k
  if (GetArenaNoVirtual() == NULL && tablespace_oid_ != NULL) {
8375
0
    delete tablespace_oid_;
8376
0
  }
8377
5.05k
  tablespace_oid_ = NULL;
8378
5.05k
  if (GetArenaNoVirtual() == NULL && base_table_id_ != NULL) {
8379
0
    delete base_table_id_;
8380
0
  }
8381
5.05k
  base_table_id_ = NULL;
8382
5.05k
  if (GetArenaNoVirtual() == NULL && matview_pg_table_oid_ != NULL) {
8383
0
    delete matview_pg_table_oid_;
8384
0
  }
8385
5.05k
  matview_pg_table_oid_ = NULL;
8386
5.05k
  ::memset(&session_id_, 0, static_cast<size_t>(
8387
5.05k
      reinterpret_cast<char*>(&skip_index_backfill_) -
8388
5.05k
      reinterpret_cast<char*>(&session_id_)) + sizeof(skip_index_backfill_));
8389
5.05k
  clear_optional_colocation_id();
8390
5.05k
  _internal_metadata_.Clear();
8391
5.05k
}
8392
8393
bool PgCreateTableRequestPB::MergePartialFromCodedStream(
8394
5.05k
    ::google::protobuf::io::CodedInputStream* input) {
8395
82.5k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
8396
5.05k
  ::google::protobuf::uint32 tag;
8397
  // @@protoc_insertion_point(parse_start:yb.tserver.PgCreateTableRequestPB)
8398
72.4k
  for (;;) {
8399
72.4k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u);
8400
72.4k
    tag = p.first;
8401
72.4k
    if (!p.second) 
goto handle_unusual5.05k
;
8402
67.3k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8403
      // uint64 session_id = 1;
8404
5.05k
      case 1: {
8405
5.05k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8406
5.05k
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
8407
8408
5.05k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8409
5.05k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
8410
5.05k
                 input, &session_id_)));
8411
5.05k
        } else {
8412
0
          goto handle_unusual;
8413
0
        }
8414
5.05k
        break;
8415
5.05k
      }
8416
8417
      // bool use_transaction = 2;
8418
5.05k
      case 2: {
8419
4.79k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8420
4.79k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
8421
8422
4.79k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8423
4.79k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
8424
4.79k
                 input, &use_transaction_)));
8425
4.79k
        } else {
8426
0
          goto handle_unusual;
8427
0
        }
8428
4.79k
        break;
8429
4.79k
      }
8430
8431
      // .yb.tserver.PgObjectIdPB table_id = 3;
8432
5.05k
      case 3: {
8433
5.05k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8434
5.05k
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
8435
5.05k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8436
5.05k
               input, mutable_table_id()));
8437
5.05k
        } else {
8438
0
          goto handle_unusual;
8439
0
        }
8440
5.05k
        break;
8441
5.05k
      }
8442
8443
      // string database_name = 4;
8444
5.05k
      case 4: {
8445
5.05k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8446
5.05k
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
8447
5.05k
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
8448
5.05k
                input, this->mutable_database_name()));
8449
5.05k
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
8450
5.05k
            this->database_name().data(), static_cast<int>(this->database_name().length()),
8451
5.05k
            ::google::protobuf::internal::WireFormatLite::PARSE,
8452
5.05k
            "yb.tserver.PgCreateTableRequestPB.database_name"));
8453
5.05k
        } else {
8454
0
          goto handle_unusual;
8455
0
        }
8456
5.05k
        break;
8457
5.05k
      }
8458
8459
      // string table_name = 5;
8460
5.05k
      case 5: {
8461
5.05k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8462
5.05k
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
8463
5.05k
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
8464
5.05k
                input, this->mutable_table_name()));
8465
5.05k
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
8466
5.05k
            this->table_name().data(), static_cast<int>(this->table_name().length()),
8467
5.05k
            ::google::protobuf::internal::WireFormatLite::PARSE,
8468
5.05k
            "yb.tserver.PgCreateTableRequestPB.table_name"));
8469
5.05k
        } else {
8470
0
          goto handle_unusual;
8471
0
        }
8472
5.05k
        break;
8473
5.05k
      }
8474
8475
      // int32 num_tablets = 6;
8476
5.05k
      case 6: {
8477
5.05k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8478
5.05k
            static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
8479
8480
5.05k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8481
5.05k
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
8482
5.05k
                 input, &num_tablets_)));
8483
5.05k
        } else {
8484
0
          goto handle_unusual;
8485
0
        }
8486
5.05k
        break;
8487
5.05k
      }
8488
8489
      // bool is_pg_catalog_table = 7;
8490
5.05k
      case 7: {
8491
313
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8492
313
            static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
8493
8494
313
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8495
313
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
8496
313
                 input, &is_pg_catalog_table_)));
8497
313
        } else {
8498
0
          goto handle_unusual;
8499
0
        }
8500
313
        break;
8501
313
      }
8502
8503
      // bool is_shared_table = 8;
8504
313
      case 8: {
8505
50
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8506
50
            static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
8507
8508
50
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8509
50
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
8510
50
                 input, &is_shared_table_)));
8511
50
        } else {
8512
0
          goto handle_unusual;
8513
0
        }
8514
50
        break;
8515
50
      }
8516
8517
      // bool if_not_exist = 9;
8518
50
      case 9: {
8519
7
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8520
7
            static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
8521
8522
7
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8523
7
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
8524
7
                 input, &if_not_exist_)));
8525
7
        } else {
8526
0
          goto handle_unusual;
8527
0
        }
8528
7
        break;
8529
7
      }
8530
8531
      // bool colocated = 10;
8532
1.00k
      case 10: {
8533
1.00k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8534
1.00k
            static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
8535
8536
1.00k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8537
1.00k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
8538
1.00k
                 input, &colocated_)));
8539
1.00k
        } else {
8540
0
          goto handle_unusual;
8541
0
        }
8542
1.00k
        break;
8543
1.00k
      }
8544
8545
      // .yb.tserver.PgObjectIdPB tablegroup_oid = 11;
8546
5.05k
      case 11: {
8547
5.05k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8548
5.05k
            static_cast< ::google::protobuf::uint8>(90u /* 90 & 0xFF */)) {
8549
5.05k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8550
5.05k
               input, mutable_tablegroup_oid()));
8551
5.05k
        } else {
8552
0
          goto handle_unusual;
8553
0
        }
8554
5.05k
        break;
8555
5.05k
      }
8556
8557
      // .yb.tserver.PgObjectIdPB tablespace_oid = 12;
8558
5.05k
      case 12: {
8559
5.05k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8560
5.05k
            static_cast< ::google::protobuf::uint8>(98u /* 98 & 0xFF */)) {
8561
5.05k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8562
5.05k
               input, mutable_tablespace_oid()));
8563
5.05k
        } else {
8564
0
          goto handle_unusual;
8565
0
        }
8566
5.05k
        break;
8567
5.05k
      }
8568
8569
      // repeated .yb.tserver.PgCreateColumnPB create_columns = 13;
8570
13.9k
      case 13: {
8571
13.9k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8572
13.9k
            static_cast< ::google::protobuf::uint8>(106u /* 106 & 0xFF */)) {
8573
13.9k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_create_columns()));
8574
13.9k
        } else {
8575
0
          goto handle_unusual;
8576
0
        }
8577
13.9k
        break;
8578
13.9k
      }
8579
8580
      // repeated .yb.tserver.PgCreateSplitBoundaryPB split_bounds = 14;
8581
13.9k
      case 14: {
8582
180
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8583
180
            static_cast< ::google::protobuf::uint8>(114u /* 114 & 0xFF */)) {
8584
180
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_split_bounds()));
8585
180
        } else {
8586
0
          goto handle_unusual;
8587
0
        }
8588
180
        break;
8589
180
      }
8590
8591
      // .yb.tserver.PgObjectIdPB base_table_id = 15;
8592
862
      case 15: {
8593
862
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8594
862
            static_cast< ::google::protobuf::uint8>(122u /* 122 & 0xFF */)) {
8595
862
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8596
862
               input, mutable_base_table_id()));
8597
862
        } else {
8598
0
          goto handle_unusual;
8599
0
        }
8600
862
        break;
8601
862
      }
8602
8603
      // bool is_unique_index = 16;
8604
862
      case 16: {
8605
365
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8606
365
            static_cast< ::google::protobuf::uint8>(128u /* 128 & 0xFF */)) {
8607
8608
365
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8609
365
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
8610
365
                 input, &is_unique_index_)));
8611
365
        } else {
8612
0
          goto handle_unusual;
8613
0
        }
8614
365
        break;
8615
365
      }
8616
8617
      // bool skip_index_backfill = 17;
8618
365
      case 17: {
8619
307
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8620
307
            static_cast< ::google::protobuf::uint8>(136u /* 136 & 0xFF */)) {
8621
8622
307
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8623
307
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
8624
307
                 input, &skip_index_backfill_)));
8625
307
        } else {
8626
0
          goto handle_unusual;
8627
0
        }
8628
307
        break;
8629
307
      }
8630
8631
      // .yb.tserver.PgObjectIdPB matview_pg_table_oid = 18;
8632
5.05k
      case 18: {
8633
5.05k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8634
5.05k
            static_cast< ::google::protobuf::uint8>(146u /* 146 & 0xFF */)) {
8635
5.05k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8636
5.05k
               input, mutable_matview_pg_table_oid()));
8637
5.05k
        } else {
8638
0
          goto handle_unusual;
8639
0
        }
8640
5.05k
        break;
8641
5.05k
      }
8642
8643
      // string schema_name = 19;
8644
5.05k
      case 19: {
8645
5.05k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8646
5.05k
            static_cast< ::google::protobuf::uint8>(154u /* 154 & 0xFF */)) {
8647
5.05k
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
8648
5.05k
                input, this->mutable_schema_name()));
8649
5.05k
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
8650
5.05k
            this->schema_name().data(), static_cast<int>(this->schema_name().length()),
8651
5.05k
            ::google::protobuf::internal::WireFormatLite::PARSE,
8652
5.05k
            "yb.tserver.PgCreateTableRequestPB.schema_name"));
8653
5.05k
        } else {
8654
0
          goto handle_unusual;
8655
0
        }
8656
5.05k
        break;
8657
5.05k
      }
8658
8659
      // uint32 colocation_id = 20;
8660
5.05k
      case 20: {
8661
24
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8662
24
            static_cast< ::google::protobuf::uint8>(160u /* 160 & 0xFF */)) {
8663
24
          clear_optional_colocation_id();
8664
24
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8665
24
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
8666
24
                 input, &optional_colocation_id_.colocation_id_)));
8667
24
          set_has_colocation_id();
8668
24
        } else {
8669
0
          goto handle_unusual;
8670
0
        }
8671
24
        break;
8672
24
      }
8673
8674
24
      default: {
8675
5.05k
      handle_unusual:
8676
5.05k
        if (tag == 0) {
8677
5.05k
          goto success;
8678
5.05k
        }
8679
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
8680
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
8681
0
        break;
8682
0
      }
8683
67.3k
    }
8684
67.3k
  }
8685
5.05k
success:
8686
  // @@protoc_insertion_point(parse_success:yb.tserver.PgCreateTableRequestPB)
8687
5.05k
  return true;
8688
0
failure:
8689
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgCreateTableRequestPB)
8690
0
  return false;
8691
5.05k
#undef DO_
8692
5.05k
}
8693
8694
void PgCreateTableRequestPB::SerializeWithCachedSizes(
8695
0
    ::google::protobuf::io::CodedOutputStream* output) const {
8696
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgCreateTableRequestPB)
8697
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8698
0
  (void) cached_has_bits;
8699
8700
  // uint64 session_id = 1;
8701
0
  if (this->session_id() != 0) {
8702
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
8703
0
  }
8704
8705
  // bool use_transaction = 2;
8706
0
  if (this->use_transaction() != 0) {
8707
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->use_transaction(), output);
8708
0
  }
8709
8710
  // .yb.tserver.PgObjectIdPB table_id = 3;
8711
0
  if (this->has_table_id()) {
8712
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8713
0
      3, *this->table_id_, output);
8714
0
  }
8715
8716
  // string database_name = 4;
8717
0
  if (this->database_name().size() > 0) {
8718
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
8719
0
      this->database_name().data(), static_cast<int>(this->database_name().length()),
8720
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
8721
0
      "yb.tserver.PgCreateTableRequestPB.database_name");
8722
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
8723
0
      4, this->database_name(), output);
8724
0
  }
8725
8726
  // string table_name = 5;
8727
0
  if (this->table_name().size() > 0) {
8728
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
8729
0
      this->table_name().data(), static_cast<int>(this->table_name().length()),
8730
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
8731
0
      "yb.tserver.PgCreateTableRequestPB.table_name");
8732
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
8733
0
      5, this->table_name(), output);
8734
0
  }
8735
8736
  // int32 num_tablets = 6;
8737
0
  if (this->num_tablets() != 0) {
8738
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->num_tablets(), output);
8739
0
  }
8740
8741
  // bool is_pg_catalog_table = 7;
8742
0
  if (this->is_pg_catalog_table() != 0) {
8743
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->is_pg_catalog_table(), output);
8744
0
  }
8745
8746
  // bool is_shared_table = 8;
8747
0
  if (this->is_shared_table() != 0) {
8748
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(8, this->is_shared_table(), output);
8749
0
  }
8750
8751
  // bool if_not_exist = 9;
8752
0
  if (this->if_not_exist() != 0) {
8753
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(9, this->if_not_exist(), output);
8754
0
  }
8755
8756
  // bool colocated = 10;
8757
0
  if (this->colocated() != 0) {
8758
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->colocated(), output);
8759
0
  }
8760
8761
  // .yb.tserver.PgObjectIdPB tablegroup_oid = 11;
8762
0
  if (this->has_tablegroup_oid()) {
8763
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8764
0
      11, *this->tablegroup_oid_, output);
8765
0
  }
8766
8767
  // .yb.tserver.PgObjectIdPB tablespace_oid = 12;
8768
0
  if (this->has_tablespace_oid()) {
8769
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8770
0
      12, *this->tablespace_oid_, output);
8771
0
  }
8772
8773
  // repeated .yb.tserver.PgCreateColumnPB create_columns = 13;
8774
0
  for (unsigned int i = 0,
8775
0
      n = static_cast<unsigned int>(this->create_columns_size()); i < n; i++) {
8776
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8777
0
      13, this->create_columns(static_cast<int>(i)), output);
8778
0
  }
8779
8780
  // repeated .yb.tserver.PgCreateSplitBoundaryPB split_bounds = 14;
8781
0
  for (unsigned int i = 0,
8782
0
      n = static_cast<unsigned int>(this->split_bounds_size()); i < n; i++) {
8783
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8784
0
      14, this->split_bounds(static_cast<int>(i)), output);
8785
0
  }
8786
8787
  // .yb.tserver.PgObjectIdPB base_table_id = 15;
8788
0
  if (this->has_base_table_id()) {
8789
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8790
0
      15, *this->base_table_id_, output);
8791
0
  }
8792
8793
  // bool is_unique_index = 16;
8794
0
  if (this->is_unique_index() != 0) {
8795
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(16, this->is_unique_index(), output);
8796
0
  }
8797
8798
  // bool skip_index_backfill = 17;
8799
0
  if (this->skip_index_backfill() != 0) {
8800
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(17, this->skip_index_backfill(), output);
8801
0
  }
8802
8803
  // .yb.tserver.PgObjectIdPB matview_pg_table_oid = 18;
8804
0
  if (this->has_matview_pg_table_oid()) {
8805
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8806
0
      18, *this->matview_pg_table_oid_, output);
8807
0
  }
8808
8809
  // string schema_name = 19;
8810
0
  if (this->schema_name().size() > 0) {
8811
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
8812
0
      this->schema_name().data(), static_cast<int>(this->schema_name().length()),
8813
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
8814
0
      "yb.tserver.PgCreateTableRequestPB.schema_name");
8815
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
8816
0
      19, this->schema_name(), output);
8817
0
  }
8818
8819
  // uint32 colocation_id = 20;
8820
0
  if (has_colocation_id()) {
8821
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(20, this->colocation_id(), output);
8822
0
  }
8823
8824
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
8825
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8826
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
8827
0
  }
8828
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgCreateTableRequestPB)
8829
0
}
8830
8831
::google::protobuf::uint8* PgCreateTableRequestPB::InternalSerializeWithCachedSizesToArray(
8832
5.05k
    bool deterministic, ::google::protobuf::uint8* target) const {
8833
5.05k
  (void)deterministic; // Unused
8834
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgCreateTableRequestPB)
8835
5.05k
  ::google::protobuf::uint32 cached_has_bits = 0;
8836
5.05k
  (void) cached_has_bits;
8837
8838
  // uint64 session_id = 1;
8839
5.05k
  if (this->session_id() != 0) {
8840
5.05k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
8841
5.05k
  }
8842
8843
  // bool use_transaction = 2;
8844
5.05k
  if (this->use_transaction() != 0) {
8845
4.79k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->use_transaction(), target);
8846
4.79k
  }
8847
8848
  // .yb.tserver.PgObjectIdPB table_id = 3;
8849
5.05k
  if (this->has_table_id()) {
8850
5.05k
    target = ::google::protobuf::internal::WireFormatLite::
8851
5.05k
      InternalWriteMessageToArray(
8852
5.05k
        3, *this->table_id_, deterministic, target);
8853
5.05k
  }
8854
8855
  // string database_name = 4;
8856
5.05k
  if (this->database_name().size() > 0) {
8857
5.05k
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
8858
5.05k
      this->database_name().data(), static_cast<int>(this->database_name().length()),
8859
5.05k
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
8860
5.05k
      "yb.tserver.PgCreateTableRequestPB.database_name");
8861
5.05k
    target =
8862
5.05k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
8863
5.05k
        4, this->database_name(), target);
8864
5.05k
  }
8865
8866
  // string table_name = 5;
8867
5.05k
  if (this->table_name().size() > 0) {
8868
5.05k
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
8869
5.05k
      this->table_name().data(), static_cast<int>(this->table_name().length()),
8870
5.05k
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
8871
5.05k
      "yb.tserver.PgCreateTableRequestPB.table_name");
8872
5.05k
    target =
8873
5.05k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
8874
5.05k
        5, this->table_name(), target);
8875
5.05k
  }
8876
8877
  // int32 num_tablets = 6;
8878
5.05k
  if (this->num_tablets() != 0) {
8879
5.05k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->num_tablets(), target);
8880
5.05k
  }
8881
8882
  // bool is_pg_catalog_table = 7;
8883
5.05k
  if (this->is_pg_catalog_table() != 0) {
8884
313
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->is_pg_catalog_table(), target);
8885
313
  }
8886
8887
  // bool is_shared_table = 8;
8888
5.05k
  if (this->is_shared_table() != 0) {
8889
50
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(8, this->is_shared_table(), target);
8890
50
  }
8891
8892
  // bool if_not_exist = 9;
8893
5.05k
  if (this->if_not_exist() != 0) {
8894
7
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(9, this->if_not_exist(), target);
8895
7
  }
8896
8897
  // bool colocated = 10;
8898
5.05k
  if (this->colocated() != 0) {
8899
1.00k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(10, this->colocated(), target);
8900
1.00k
  }
8901
8902
  // .yb.tserver.PgObjectIdPB tablegroup_oid = 11;
8903
5.05k
  if (this->has_tablegroup_oid()) {
8904
5.05k
    target = ::google::protobuf::internal::WireFormatLite::
8905
5.05k
      InternalWriteMessageToArray(
8906
5.05k
        11, *this->tablegroup_oid_, deterministic, target);
8907
5.05k
  }
8908
8909
  // .yb.tserver.PgObjectIdPB tablespace_oid = 12;
8910
5.05k
  if (this->has_tablespace_oid()) {
8911
5.05k
    target = ::google::protobuf::internal::WireFormatLite::
8912
5.05k
      InternalWriteMessageToArray(
8913
5.05k
        12, *this->tablespace_oid_, deterministic, target);
8914
5.05k
  }
8915
8916
  // repeated .yb.tserver.PgCreateColumnPB create_columns = 13;
8917
5.05k
  for (unsigned int i = 0,
8918
19.0k
      n = static_cast<unsigned int>(this->create_columns_size()); i < n; 
i++13.9k
) {
8919
13.9k
    target = ::google::protobuf::internal::WireFormatLite::
8920
13.9k
      InternalWriteMessageToArray(
8921
13.9k
        13, this->create_columns(static_cast<int>(i)), deterministic, target);
8922
13.9k
  }
8923
8924
  // repeated .yb.tserver.PgCreateSplitBoundaryPB split_bounds = 14;
8925
5.05k
  for (unsigned int i = 0,
8926
5.23k
      n = static_cast<unsigned int>(this->split_bounds_size()); i < n; 
i++180
) {
8927
180
    target = ::google::protobuf::internal::WireFormatLite::
8928
180
      InternalWriteMessageToArray(
8929
180
        14, this->split_bounds(static_cast<int>(i)), deterministic, target);
8930
180
  }
8931
8932
  // .yb.tserver.PgObjectIdPB base_table_id = 15;
8933
5.05k
  if (this->has_base_table_id()) {
8934
862
    target = ::google::protobuf::internal::WireFormatLite::
8935
862
      InternalWriteMessageToArray(
8936
862
        15, *this->base_table_id_, deterministic, target);
8937
862
  }
8938
8939
  // bool is_unique_index = 16;
8940
5.05k
  if (this->is_unique_index() != 0) {
8941
365
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(16, this->is_unique_index(), target);
8942
365
  }
8943
8944
  // bool skip_index_backfill = 17;
8945
5.05k
  if (this->skip_index_backfill() != 0) {
8946
307
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(17, this->skip_index_backfill(), target);
8947
307
  }
8948
8949
  // .yb.tserver.PgObjectIdPB matview_pg_table_oid = 18;
8950
5.05k
  if (this->has_matview_pg_table_oid()) {
8951
5.05k
    target = ::google::protobuf::internal::WireFormatLite::
8952
5.05k
      InternalWriteMessageToArray(
8953
5.05k
        18, *this->matview_pg_table_oid_, deterministic, target);
8954
5.05k
  }
8955
8956
  // string schema_name = 19;
8957
5.05k
  if (this->schema_name().size() > 0) {
8958
5.05k
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
8959
5.05k
      this->schema_name().data(), static_cast<int>(this->schema_name().length()),
8960
5.05k
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
8961
5.05k
      "yb.tserver.PgCreateTableRequestPB.schema_name");
8962
5.05k
    target =
8963
5.05k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
8964
5.05k
        19, this->schema_name(), target);
8965
5.05k
  }
8966
8967
  // uint32 colocation_id = 20;
8968
5.05k
  if (has_colocation_id()) {
8969
24
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(20, this->colocation_id(), target);
8970
24
  }
8971
8972
5.05k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
8973
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8974
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
8975
0
  }
8976
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgCreateTableRequestPB)
8977
5.05k
  return target;
8978
5.05k
}
8979
8980
10.1k
size_t PgCreateTableRequestPB::ByteSizeLong() const {
8981
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgCreateTableRequestPB)
8982
10.1k
  size_t total_size = 0;
8983
8984
10.1k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
8985
0
    total_size +=
8986
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8987
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
8988
0
  }
8989
  // repeated .yb.tserver.PgCreateColumnPB create_columns = 13;
8990
10.1k
  {
8991
10.1k
    unsigned int count = static_cast<unsigned int>(this->create_columns_size());
8992
10.1k
    total_size += 1UL * count;
8993
38.0k
    for (unsigned int i = 0; i < count; 
i++27.9k
) {
8994
27.9k
      total_size +=
8995
27.9k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8996
27.9k
          this->create_columns(static_cast<int>(i)));
8997
27.9k
    }
8998
10.1k
  }
8999
9000
  // repeated .yb.tserver.PgCreateSplitBoundaryPB split_bounds = 14;
9001
10.1k
  {
9002
10.1k
    unsigned int count = static_cast<unsigned int>(this->split_bounds_size());
9003
10.1k
    total_size += 1UL * count;
9004
10.4k
    for (unsigned int i = 0; i < count; 
i++360
) {
9005
360
      total_size +=
9006
360
        ::google::protobuf::internal::WireFormatLite::MessageSize(
9007
360
          this->split_bounds(static_cast<int>(i)));
9008
360
    }
9009
10.1k
  }
9010
9011
  // string database_name = 4;
9012
10.1k
  if (this->database_name().size() > 0) {
9013
10.1k
    total_size += 1 +
9014
10.1k
      ::google::protobuf::internal::WireFormatLite::StringSize(
9015
10.1k
        this->database_name());
9016
10.1k
  }
9017
9018
  // string table_name = 5;
9019
10.1k
  if (this->table_name().size() > 0) {
9020
10.1k
    total_size += 1 +
9021
10.1k
      ::google::protobuf::internal::WireFormatLite::StringSize(
9022
10.1k
        this->table_name());
9023
10.1k
  }
9024
9025
  // string schema_name = 19;
9026
10.1k
  if (this->schema_name().size() > 0) {
9027
10.1k
    total_size += 2 +
9028
10.1k
      ::google::protobuf::internal::WireFormatLite::StringSize(
9029
10.1k
        this->schema_name());
9030
10.1k
  }
9031
9032
  // .yb.tserver.PgObjectIdPB table_id = 3;
9033
10.1k
  if (this->has_table_id()) {
9034
10.1k
    total_size += 1 +
9035
10.1k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
9036
10.1k
        *this->table_id_);
9037
10.1k
  }
9038
9039
  // .yb.tserver.PgObjectIdPB tablegroup_oid = 11;
9040
10.1k
  if (this->has_tablegroup_oid()) {
9041
10.1k
    total_size += 1 +
9042
10.1k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
9043
10.1k
        *this->tablegroup_oid_);
9044
10.1k
  }
9045
9046
  // .yb.tserver.PgObjectIdPB tablespace_oid = 12;
9047
10.1k
  if (this->has_tablespace_oid()) {
9048
10.1k
    total_size += 1 +
9049
10.1k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
9050
10.1k
        *this->tablespace_oid_);
9051
10.1k
  }
9052
9053
  // .yb.tserver.PgObjectIdPB base_table_id = 15;
9054
10.1k
  if (this->has_base_table_id()) {
9055
1.72k
    total_size += 1 +
9056
1.72k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
9057
1.72k
        *this->base_table_id_);
9058
1.72k
  }
9059
9060
  // .yb.tserver.PgObjectIdPB matview_pg_table_oid = 18;
9061
10.1k
  if (this->has_matview_pg_table_oid()) {
9062
10.1k
    total_size += 2 +
9063
10.1k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
9064
10.1k
        *this->matview_pg_table_oid_);
9065
10.1k
  }
9066
9067
  // uint64 session_id = 1;
9068
10.1k
  if (this->session_id() != 0) {
9069
10.1k
    total_size += 1 +
9070
10.1k
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
9071
10.1k
        this->session_id());
9072
10.1k
  }
9073
9074
  // int32 num_tablets = 6;
9075
10.1k
  if (this->num_tablets() != 0) {
9076
10.1k
    total_size += 1 +
9077
10.1k
      ::google::protobuf::internal::WireFormatLite::Int32Size(
9078
10.1k
        this->num_tablets());
9079
10.1k
  }
9080
9081
  // bool use_transaction = 2;
9082
10.1k
  if (this->use_transaction() != 0) {
9083
9.58k
    total_size += 1 + 1;
9084
9.58k
  }
9085
9086
  // bool is_pg_catalog_table = 7;
9087
10.1k
  if (this->is_pg_catalog_table() != 0) {
9088
626
    total_size += 1 + 1;
9089
626
  }
9090
9091
  // bool is_shared_table = 8;
9092
10.1k
  if (this->is_shared_table() != 0) {
9093
100
    total_size += 1 + 1;
9094
100
  }
9095
9096
  // bool if_not_exist = 9;
9097
10.1k
  if (this->if_not_exist() != 0) {
9098
14
    total_size += 1 + 1;
9099
14
  }
9100
9101
  // bool colocated = 10;
9102
10.1k
  if (this->colocated() != 0) {
9103
2.01k
    total_size += 1 + 1;
9104
2.01k
  }
9105
9106
  // bool is_unique_index = 16;
9107
10.1k
  if (this->is_unique_index() != 0) {
9108
730
    total_size += 2 + 1;
9109
730
  }
9110
9111
  // bool skip_index_backfill = 17;
9112
10.1k
  if (this->skip_index_backfill() != 0) {
9113
614
    total_size += 2 + 1;
9114
614
  }
9115
9116
10.1k
  switch (optional_colocation_id_case()) {
9117
    // uint32 colocation_id = 20;
9118
48
    case kColocationId: {
9119
48
      total_size += 2 +
9120
48
        ::google::protobuf::internal::WireFormatLite::UInt32Size(
9121
48
          this->colocation_id());
9122
48
      break;
9123
0
    }
9124
10.0k
    case OPTIONAL_COLOCATION_ID_NOT_SET: {
9125
10.0k
      break;
9126
0
    }
9127
10.1k
  }
9128
10.1k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9129
10.1k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9130
10.1k
  _cached_size_ = cached_size;
9131
10.1k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9132
10.1k
  return total_size;
9133
10.1k
}
9134
9135
0
void PgCreateTableRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
9136
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgCreateTableRequestPB)
9137
0
  GOOGLE_DCHECK_NE(&from, this);
9138
0
  const PgCreateTableRequestPB* source =
9139
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgCreateTableRequestPB>(
9140
0
          &from);
9141
0
  if (source == NULL) {
9142
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgCreateTableRequestPB)
9143
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9144
0
  } else {
9145
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgCreateTableRequestPB)
9146
0
    MergeFrom(*source);
9147
0
  }
9148
0
}
9149
9150
0
void PgCreateTableRequestPB::MergeFrom(const PgCreateTableRequestPB& from) {
9151
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgCreateTableRequestPB)
9152
0
  GOOGLE_DCHECK_NE(&from, this);
9153
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9154
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9155
0
  (void) cached_has_bits;
9156
9157
0
  create_columns_.MergeFrom(from.create_columns_);
9158
0
  split_bounds_.MergeFrom(from.split_bounds_);
9159
0
  if (from.database_name().size() > 0) {
9160
9161
0
    database_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.database_name_);
9162
0
  }
9163
0
  if (from.table_name().size() > 0) {
9164
9165
0
    table_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_name_);
9166
0
  }
9167
0
  if (from.schema_name().size() > 0) {
9168
9169
0
    schema_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.schema_name_);
9170
0
  }
9171
0
  if (from.has_table_id()) {
9172
0
    mutable_table_id()->::yb::tserver::PgObjectIdPB::MergeFrom(from.table_id());
9173
0
  }
9174
0
  if (from.has_tablegroup_oid()) {
9175
0
    mutable_tablegroup_oid()->::yb::tserver::PgObjectIdPB::MergeFrom(from.tablegroup_oid());
9176
0
  }
9177
0
  if (from.has_tablespace_oid()) {
9178
0
    mutable_tablespace_oid()->::yb::tserver::PgObjectIdPB::MergeFrom(from.tablespace_oid());
9179
0
  }
9180
0
  if (from.has_base_table_id()) {
9181
0
    mutable_base_table_id()->::yb::tserver::PgObjectIdPB::MergeFrom(from.base_table_id());
9182
0
  }
9183
0
  if (from.has_matview_pg_table_oid()) {
9184
0
    mutable_matview_pg_table_oid()->::yb::tserver::PgObjectIdPB::MergeFrom(from.matview_pg_table_oid());
9185
0
  }
9186
0
  if (from.session_id() != 0) {
9187
0
    set_session_id(from.session_id());
9188
0
  }
9189
0
  if (from.num_tablets() != 0) {
9190
0
    set_num_tablets(from.num_tablets());
9191
0
  }
9192
0
  if (from.use_transaction() != 0) {
9193
0
    set_use_transaction(from.use_transaction());
9194
0
  }
9195
0
  if (from.is_pg_catalog_table() != 0) {
9196
0
    set_is_pg_catalog_table(from.is_pg_catalog_table());
9197
0
  }
9198
0
  if (from.is_shared_table() != 0) {
9199
0
    set_is_shared_table(from.is_shared_table());
9200
0
  }
9201
0
  if (from.if_not_exist() != 0) {
9202
0
    set_if_not_exist(from.if_not_exist());
9203
0
  }
9204
0
  if (from.colocated() != 0) {
9205
0
    set_colocated(from.colocated());
9206
0
  }
9207
0
  if (from.is_unique_index() != 0) {
9208
0
    set_is_unique_index(from.is_unique_index());
9209
0
  }
9210
0
  if (from.skip_index_backfill() != 0) {
9211
0
    set_skip_index_backfill(from.skip_index_backfill());
9212
0
  }
9213
0
  switch (from.optional_colocation_id_case()) {
9214
0
    case kColocationId: {
9215
0
      set_colocation_id(from.colocation_id());
9216
0
      break;
9217
0
    }
9218
0
    case OPTIONAL_COLOCATION_ID_NOT_SET: {
9219
0
      break;
9220
0
    }
9221
0
  }
9222
0
}
9223
9224
0
void PgCreateTableRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
9225
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgCreateTableRequestPB)
9226
0
  if (&from == this) return;
9227
0
  Clear();
9228
0
  MergeFrom(from);
9229
0
}
9230
9231
0
void PgCreateTableRequestPB::CopyFrom(const PgCreateTableRequestPB& from) {
9232
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgCreateTableRequestPB)
9233
0
  if (&from == this) return;
9234
0
  Clear();
9235
0
  MergeFrom(from);
9236
0
}
9237
9238
10.1k
bool PgCreateTableRequestPB::IsInitialized() const {
9239
10.1k
  return true;
9240
10.1k
}
9241
9242
0
void PgCreateTableRequestPB::Swap(PgCreateTableRequestPB* other) {
9243
0
  if (other == this) return;
9244
0
  InternalSwap(other);
9245
0
}
9246
0
void PgCreateTableRequestPB::InternalSwap(PgCreateTableRequestPB* other) {
9247
0
  using std::swap;
9248
0
  create_columns_.InternalSwap(&other->create_columns_);
9249
0
  split_bounds_.InternalSwap(&other->split_bounds_);
9250
0
  database_name_.Swap(&other->database_name_);
9251
0
  table_name_.Swap(&other->table_name_);
9252
0
  schema_name_.Swap(&other->schema_name_);
9253
0
  swap(table_id_, other->table_id_);
9254
0
  swap(tablegroup_oid_, other->tablegroup_oid_);
9255
0
  swap(tablespace_oid_, other->tablespace_oid_);
9256
0
  swap(base_table_id_, other->base_table_id_);
9257
0
  swap(matview_pg_table_oid_, other->matview_pg_table_oid_);
9258
0
  swap(session_id_, other->session_id_);
9259
0
  swap(num_tablets_, other->num_tablets_);
9260
0
  swap(use_transaction_, other->use_transaction_);
9261
0
  swap(is_pg_catalog_table_, other->is_pg_catalog_table_);
9262
0
  swap(is_shared_table_, other->is_shared_table_);
9263
0
  swap(if_not_exist_, other->if_not_exist_);
9264
0
  swap(colocated_, other->colocated_);
9265
0
  swap(is_unique_index_, other->is_unique_index_);
9266
0
  swap(skip_index_backfill_, other->skip_index_backfill_);
9267
0
  swap(optional_colocation_id_, other->optional_colocation_id_);
9268
0
  swap(_oneof_case_[0], other->_oneof_case_[0]);
9269
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
9270
0
  swap(_cached_size_, other->_cached_size_);
9271
0
}
9272
9273
5.05k
::google::protobuf::Metadata PgCreateTableRequestPB::GetMetadata() const {
9274
5.05k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
9275
5.05k
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
9276
5.05k
}
9277
9278
9279
// ===================================================================
9280
9281
26.8k
void PgCreateTableResponsePB::InitAsDefaultInstance() {
9282
26.8k
  ::yb::tserver::_PgCreateTableResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
9283
26.8k
      ::yb::AppStatusPB::internal_default_instance());
9284
26.8k
}
9285
0
void PgCreateTableResponsePB::clear_status() {
9286
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
9287
0
    delete status_;
9288
0
  }
9289
0
  status_ = NULL;
9290
0
}
9291
#if !defined(_MSC_VER) || _MSC_VER >= 1900
9292
const int PgCreateTableResponsePB::kStatusFieldNumber;
9293
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
9294
9295
PgCreateTableResponsePB::PgCreateTableResponsePB()
9296
36.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9297
36.9k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
9298
10.1k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateTableResponsePB();
9299
10.1k
  }
9300
36.9k
  SharedCtor();
9301
  // @@protoc_insertion_point(constructor:yb.tserver.PgCreateTableResponsePB)
9302
36.9k
}
9303
PgCreateTableResponsePB::PgCreateTableResponsePB(const PgCreateTableResponsePB& from)
9304
  : ::google::protobuf::Message(),
9305
      _internal_metadata_(NULL),
9306
0
      _cached_size_(0) {
9307
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9308
0
  if (from.has_status()) {
9309
0
    status_ = new ::yb::AppStatusPB(*from.status_);
9310
0
  } else {
9311
0
    status_ = NULL;
9312
0
  }
9313
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgCreateTableResponsePB)
9314
0
}
9315
9316
36.9k
void PgCreateTableResponsePB::SharedCtor() {
9317
36.9k
  status_ = NULL;
9318
36.9k
  _cached_size_ = 0;
9319
36.9k
}
9320
9321
10.1k
PgCreateTableResponsePB::~PgCreateTableResponsePB() {
9322
  // @@protoc_insertion_point(destructor:yb.tserver.PgCreateTableResponsePB)
9323
10.1k
  SharedDtor();
9324
10.1k
}
9325
9326
10.1k
void PgCreateTableResponsePB::SharedDtor() {
9327
10.1k
  if (this != internal_default_instance()) delete status_;
9328
10.1k
}
9329
9330
0
void PgCreateTableResponsePB::SetCachedSize(int size) const {
9331
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9332
0
  _cached_size_ = size;
9333
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9334
0
}
9335
0
const ::google::protobuf::Descriptor* PgCreateTableResponsePB::descriptor() {
9336
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
9337
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9338
0
}
9339
9340
0
const PgCreateTableResponsePB& PgCreateTableResponsePB::default_instance() {
9341
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateTableResponsePB();
9342
0
  return *internal_default_instance();
9343
0
}
9344
9345
0
PgCreateTableResponsePB* PgCreateTableResponsePB::New(::google::protobuf::Arena* arena) const {
9346
0
  PgCreateTableResponsePB* n = new PgCreateTableResponsePB;
9347
0
  if (arena != NULL) {
9348
0
    arena->Own(n);
9349
0
  }
9350
0
  return n;
9351
0
}
9352
9353
5.05k
void PgCreateTableResponsePB::Clear() {
9354
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgCreateTableResponsePB)
9355
5.05k
  ::google::protobuf::uint32 cached_has_bits = 0;
9356
  // Prevent compiler warnings about cached_has_bits being unused
9357
5.05k
  (void) cached_has_bits;
9358
9359
5.05k
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
9360
0
    delete status_;
9361
0
  }
9362
5.05k
  status_ = NULL;
9363
5.05k
  _internal_metadata_.Clear();
9364
5.05k
}
9365
9366
bool PgCreateTableResponsePB::MergePartialFromCodedStream(
9367
5.05k
    ::google::protobuf::io::CodedInputStream* input) {
9368
5.05k
#define DO_(EXPRESSION) 
if (22
!GOOGLE_PREDICT_TRUE22
(EXPRESSION))
goto failure0
9369
5.05k
  ::google::protobuf::uint32 tag;
9370
  // @@protoc_insertion_point(parse_start:yb.tserver.PgCreateTableResponsePB)
9371
5.07k
  for (;;) {
9372
5.07k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9373
5.07k
    tag = p.first;
9374
5.07k
    if (!p.second) 
goto handle_unusual5.05k
;
9375
22
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9376
      // .yb.AppStatusPB status = 1;
9377
22
      case 1: {
9378
22
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9379
22
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
9380
22
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
9381
22
               input, mutable_status()));
9382
22
        } else {
9383
0
          goto handle_unusual;
9384
0
        }
9385
22
        break;
9386
22
      }
9387
9388
22
      default: {
9389
5.05k
      handle_unusual:
9390
5.05k
        if (tag == 0) {
9391
5.05k
          goto success;
9392
5.05k
        }
9393
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
9394
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
9395
0
        break;
9396
0
      }
9397
22
    }
9398
22
  }
9399
5.05k
success:
9400
  // @@protoc_insertion_point(parse_success:yb.tserver.PgCreateTableResponsePB)
9401
5.05k
  return true;
9402
0
failure:
9403
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgCreateTableResponsePB)
9404
0
  return false;
9405
5.05k
#undef DO_
9406
5.05k
}
9407
9408
void PgCreateTableResponsePB::SerializeWithCachedSizes(
9409
0
    ::google::protobuf::io::CodedOutputStream* output) const {
9410
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgCreateTableResponsePB)
9411
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9412
0
  (void) cached_has_bits;
9413
9414
  // .yb.AppStatusPB status = 1;
9415
0
  if (this->has_status()) {
9416
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9417
0
      1, *this->status_, output);
9418
0
  }
9419
9420
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
9421
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9422
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
9423
0
  }
9424
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgCreateTableResponsePB)
9425
0
}
9426
9427
::google::protobuf::uint8* PgCreateTableResponsePB::InternalSerializeWithCachedSizesToArray(
9428
5.05k
    bool deterministic, ::google::protobuf::uint8* target) const {
9429
5.05k
  (void)deterministic; // Unused
9430
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgCreateTableResponsePB)
9431
5.05k
  ::google::protobuf::uint32 cached_has_bits = 0;
9432
5.05k
  (void) cached_has_bits;
9433
9434
  // .yb.AppStatusPB status = 1;
9435
5.05k
  if (this->has_status()) {
9436
27
    target = ::google::protobuf::internal::WireFormatLite::
9437
27
      InternalWriteMessageToArray(
9438
27
        1, *this->status_, deterministic, target);
9439
27
  }
9440
9441
5.05k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
9442
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9443
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
9444
0
  }
9445
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgCreateTableResponsePB)
9446
5.05k
  return target;
9447
5.05k
}
9448
9449
10.1k
size_t PgCreateTableResponsePB::ByteSizeLong() const {
9450
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgCreateTableResponsePB)
9451
10.1k
  size_t total_size = 0;
9452
9453
10.1k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
9454
0
    total_size +=
9455
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9456
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
9457
0
  }
9458
  // .yb.AppStatusPB status = 1;
9459
10.1k
  if (this->has_status()) {
9460
54
    total_size += 1 +
9461
54
      ::google::protobuf::internal::WireFormatLite::MessageSize(
9462
54
        *this->status_);
9463
54
  }
9464
9465
10.1k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9466
10.1k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9467
10.1k
  _cached_size_ = cached_size;
9468
10.1k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9469
10.1k
  return total_size;
9470
10.1k
}
9471
9472
0
void PgCreateTableResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
9473
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgCreateTableResponsePB)
9474
0
  GOOGLE_DCHECK_NE(&from, this);
9475
0
  const PgCreateTableResponsePB* source =
9476
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgCreateTableResponsePB>(
9477
0
          &from);
9478
0
  if (source == NULL) {
9479
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgCreateTableResponsePB)
9480
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9481
0
  } else {
9482
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgCreateTableResponsePB)
9483
0
    MergeFrom(*source);
9484
0
  }
9485
0
}
9486
9487
0
void PgCreateTableResponsePB::MergeFrom(const PgCreateTableResponsePB& from) {
9488
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgCreateTableResponsePB)
9489
0
  GOOGLE_DCHECK_NE(&from, this);
9490
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9491
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9492
0
  (void) cached_has_bits;
9493
9494
0
  if (from.has_status()) {
9495
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
9496
0
  }
9497
0
}
9498
9499
0
void PgCreateTableResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
9500
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgCreateTableResponsePB)
9501
0
  if (&from == this) return;
9502
0
  Clear();
9503
0
  MergeFrom(from);
9504
0
}
9505
9506
0
void PgCreateTableResponsePB::CopyFrom(const PgCreateTableResponsePB& from) {
9507
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgCreateTableResponsePB)
9508
0
  if (&from == this) return;
9509
0
  Clear();
9510
0
  MergeFrom(from);
9511
0
}
9512
9513
10.1k
bool PgCreateTableResponsePB::IsInitialized() const {
9514
10.1k
  if (has_status()) {
9515
49
    if (!this->status_->IsInitialized()) 
return false0
;
9516
49
  }
9517
10.1k
  return true;
9518
10.1k
}
9519
9520
0
void PgCreateTableResponsePB::Swap(PgCreateTableResponsePB* other) {
9521
0
  if (other == this) return;
9522
0
  InternalSwap(other);
9523
0
}
9524
0
void PgCreateTableResponsePB::InternalSwap(PgCreateTableResponsePB* other) {
9525
0
  using std::swap;
9526
0
  swap(status_, other->status_);
9527
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
9528
0
  swap(_cached_size_, other->_cached_size_);
9529
0
}
9530
9531
0
::google::protobuf::Metadata PgCreateTableResponsePB::GetMetadata() const {
9532
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
9533
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
9534
0
}
9535
9536
9537
// ===================================================================
9538
9539
26.8k
void PgCreateTablegroupRequestPB::InitAsDefaultInstance() {
9540
26.8k
  ::yb::tserver::_PgCreateTablegroupRequestPB_default_instance_._instance.get_mutable()->tablegroup_id_ = const_cast< ::yb::tserver::PgObjectIdPB*>(
9541
26.8k
      ::yb::tserver::PgObjectIdPB::internal_default_instance());
9542
26.8k
  ::yb::tserver::_PgCreateTablegroupRequestPB_default_instance_._instance.get_mutable()->tablespace_id_ = const_cast< ::yb::tserver::PgObjectIdPB*>(
9543
26.8k
      ::yb::tserver::PgObjectIdPB::internal_default_instance());
9544
26.8k
}
9545
#if !defined(_MSC_VER) || _MSC_VER >= 1900
9546
const int PgCreateTablegroupRequestPB::kSessionIdFieldNumber;
9547
const int PgCreateTablegroupRequestPB::kDatabaseNameFieldNumber;
9548
const int PgCreateTablegroupRequestPB::kTablegroupIdFieldNumber;
9549
const int PgCreateTablegroupRequestPB::kTablespaceIdFieldNumber;
9550
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
9551
9552
PgCreateTablegroupRequestPB::PgCreateTablegroupRequestPB()
9553
26.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9554
26.9k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
9555
108
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateTablegroupRequestPB();
9556
108
  }
9557
26.9k
  SharedCtor();
9558
  // @@protoc_insertion_point(constructor:yb.tserver.PgCreateTablegroupRequestPB)
9559
26.9k
}
9560
PgCreateTablegroupRequestPB::PgCreateTablegroupRequestPB(const PgCreateTablegroupRequestPB& from)
9561
  : ::google::protobuf::Message(),
9562
      _internal_metadata_(NULL),
9563
0
      _cached_size_(0) {
9564
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9565
0
  database_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9566
0
  if (from.database_name().size() > 0) {
9567
0
    database_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.database_name_);
9568
0
  }
9569
0
  if (from.has_tablegroup_id()) {
9570
0
    tablegroup_id_ = new ::yb::tserver::PgObjectIdPB(*from.tablegroup_id_);
9571
0
  } else {
9572
0
    tablegroup_id_ = NULL;
9573
0
  }
9574
0
  if (from.has_tablespace_id()) {
9575
0
    tablespace_id_ = new ::yb::tserver::PgObjectIdPB(*from.tablespace_id_);
9576
0
  } else {
9577
0
    tablespace_id_ = NULL;
9578
0
  }
9579
0
  session_id_ = from.session_id_;
9580
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgCreateTablegroupRequestPB)
9581
0
}
9582
9583
26.9k
void PgCreateTablegroupRequestPB::SharedCtor() {
9584
26.9k
  database_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9585
26.9k
  ::memset(&tablegroup_id_, 0, static_cast<size_t>(
9586
26.9k
      reinterpret_cast<char*>(&session_id_) -
9587
26.9k
      reinterpret_cast<char*>(&tablegroup_id_)) + sizeof(session_id_));
9588
26.9k
  _cached_size_ = 0;
9589
26.9k
}
9590
9591
108
PgCreateTablegroupRequestPB::~PgCreateTablegroupRequestPB() {
9592
  // @@protoc_insertion_point(destructor:yb.tserver.PgCreateTablegroupRequestPB)
9593
108
  SharedDtor();
9594
108
}
9595
9596
108
void PgCreateTablegroupRequestPB::SharedDtor() {
9597
108
  database_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9598
108
  if (this != internal_default_instance()) delete tablegroup_id_;
9599
108
  if (this != internal_default_instance()) delete tablespace_id_;
9600
108
}
9601
9602
0
void PgCreateTablegroupRequestPB::SetCachedSize(int size) const {
9603
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9604
0
  _cached_size_ = size;
9605
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9606
0
}
9607
0
const ::google::protobuf::Descriptor* PgCreateTablegroupRequestPB::descriptor() {
9608
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
9609
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9610
0
}
9611
9612
0
const PgCreateTablegroupRequestPB& PgCreateTablegroupRequestPB::default_instance() {
9613
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateTablegroupRequestPB();
9614
0
  return *internal_default_instance();
9615
0
}
9616
9617
0
PgCreateTablegroupRequestPB* PgCreateTablegroupRequestPB::New(::google::protobuf::Arena* arena) const {
9618
0
  PgCreateTablegroupRequestPB* n = new PgCreateTablegroupRequestPB;
9619
0
  if (arena != NULL) {
9620
0
    arena->Own(n);
9621
0
  }
9622
0
  return n;
9623
0
}
9624
9625
54
void PgCreateTablegroupRequestPB::Clear() {
9626
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgCreateTablegroupRequestPB)
9627
54
  ::google::protobuf::uint32 cached_has_bits = 0;
9628
  // Prevent compiler warnings about cached_has_bits being unused
9629
54
  (void) cached_has_bits;
9630
9631
54
  database_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9632
54
  if (GetArenaNoVirtual() == NULL && tablegroup_id_ != NULL) {
9633
0
    delete tablegroup_id_;
9634
0
  }
9635
54
  tablegroup_id_ = NULL;
9636
54
  if (GetArenaNoVirtual() == NULL && tablespace_id_ != NULL) {
9637
0
    delete tablespace_id_;
9638
0
  }
9639
54
  tablespace_id_ = NULL;
9640
54
  session_id_ = GOOGLE_ULONGLONG(0);
9641
54
  _internal_metadata_.Clear();
9642
54
}
9643
9644
bool PgCreateTablegroupRequestPB::MergePartialFromCodedStream(
9645
54
    ::google::protobuf::io::CodedInputStream* input) {
9646
270
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
9647
54
  ::google::protobuf::uint32 tag;
9648
  // @@protoc_insertion_point(parse_start:yb.tserver.PgCreateTablegroupRequestPB)
9649
270
  for (;;) {
9650
270
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9651
270
    tag = p.first;
9652
270
    if (!p.second) 
goto handle_unusual54
;
9653
216
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9654
      // uint64 session_id = 1;
9655
54
      case 1: {
9656
54
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9657
54
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
9658
9659
54
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9660
54
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
9661
54
                 input, &session_id_)));
9662
54
        } else {
9663
0
          goto handle_unusual;
9664
0
        }
9665
54
        break;
9666
54
      }
9667
9668
      // string database_name = 2;
9669
54
      case 2: {
9670
54
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9671
54
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
9672
54
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
9673
54
                input, this->mutable_database_name()));
9674
54
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
9675
54
            this->database_name().data(), static_cast<int>(this->database_name().length()),
9676
54
            ::google::protobuf::internal::WireFormatLite::PARSE,
9677
54
            "yb.tserver.PgCreateTablegroupRequestPB.database_name"));
9678
54
        } else {
9679
0
          goto handle_unusual;
9680
0
        }
9681
54
        break;
9682
54
      }
9683
9684
      // .yb.tserver.PgObjectIdPB tablegroup_id = 3;
9685
54
      case 3: {
9686
54
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9687
54
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
9688
54
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
9689
54
               input, mutable_tablegroup_id()));
9690
54
        } else {
9691
0
          goto handle_unusual;
9692
0
        }
9693
54
        break;
9694
54
      }
9695
9696
      // .yb.tserver.PgObjectIdPB tablespace_id = 4;
9697
54
      case 4: {
9698
54
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9699
54
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
9700
54
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
9701
54
               input, mutable_tablespace_id()));
9702
54
        } else {
9703
0
          goto handle_unusual;
9704
0
        }
9705
54
        break;
9706
54
      }
9707
9708
54
      default: {
9709
54
      handle_unusual:
9710
54
        if (tag == 0) {
9711
54
          goto success;
9712
54
        }
9713
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
9714
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
9715
0
        break;
9716
0
      }
9717
216
    }
9718
216
  }
9719
54
success:
9720
  // @@protoc_insertion_point(parse_success:yb.tserver.PgCreateTablegroupRequestPB)
9721
54
  return true;
9722
0
failure:
9723
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgCreateTablegroupRequestPB)
9724
0
  return false;
9725
54
#undef DO_
9726
54
}
9727
9728
void PgCreateTablegroupRequestPB::SerializeWithCachedSizes(
9729
0
    ::google::protobuf::io::CodedOutputStream* output) const {
9730
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgCreateTablegroupRequestPB)
9731
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9732
0
  (void) cached_has_bits;
9733
9734
  // uint64 session_id = 1;
9735
0
  if (this->session_id() != 0) {
9736
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
9737
0
  }
9738
9739
  // string database_name = 2;
9740
0
  if (this->database_name().size() > 0) {
9741
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
9742
0
      this->database_name().data(), static_cast<int>(this->database_name().length()),
9743
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
9744
0
      "yb.tserver.PgCreateTablegroupRequestPB.database_name");
9745
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
9746
0
      2, this->database_name(), output);
9747
0
  }
9748
9749
  // .yb.tserver.PgObjectIdPB tablegroup_id = 3;
9750
0
  if (this->has_tablegroup_id()) {
9751
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9752
0
      3, *this->tablegroup_id_, output);
9753
0
  }
9754
9755
  // .yb.tserver.PgObjectIdPB tablespace_id = 4;
9756
0
  if (this->has_tablespace_id()) {
9757
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9758
0
      4, *this->tablespace_id_, output);
9759
0
  }
9760
9761
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
9762
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9763
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
9764
0
  }
9765
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgCreateTablegroupRequestPB)
9766
0
}
9767
9768
::google::protobuf::uint8* PgCreateTablegroupRequestPB::InternalSerializeWithCachedSizesToArray(
9769
54
    bool deterministic, ::google::protobuf::uint8* target) const {
9770
54
  (void)deterministic; // Unused
9771
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgCreateTablegroupRequestPB)
9772
54
  ::google::protobuf::uint32 cached_has_bits = 0;
9773
54
  (void) cached_has_bits;
9774
9775
  // uint64 session_id = 1;
9776
54
  if (this->session_id() != 0) {
9777
54
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
9778
54
  }
9779
9780
  // string database_name = 2;
9781
54
  if (this->database_name().size() > 0) {
9782
54
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
9783
54
      this->database_name().data(), static_cast<int>(this->database_name().length()),
9784
54
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
9785
54
      "yb.tserver.PgCreateTablegroupRequestPB.database_name");
9786
54
    target =
9787
54
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
9788
54
        2, this->database_name(), target);
9789
54
  }
9790
9791
  // .yb.tserver.PgObjectIdPB tablegroup_id = 3;
9792
54
  if (this->has_tablegroup_id()) {
9793
54
    target = ::google::protobuf::internal::WireFormatLite::
9794
54
      InternalWriteMessageToArray(
9795
54
        3, *this->tablegroup_id_, deterministic, target);
9796
54
  }
9797
9798
  // .yb.tserver.PgObjectIdPB tablespace_id = 4;
9799
54
  if (this->has_tablespace_id()) {
9800
54
    target = ::google::protobuf::internal::WireFormatLite::
9801
54
      InternalWriteMessageToArray(
9802
54
        4, *this->tablespace_id_, deterministic, target);
9803
54
  }
9804
9805
54
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
9806
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9807
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
9808
0
  }
9809
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgCreateTablegroupRequestPB)
9810
54
  return target;
9811
54
}
9812
9813
108
size_t PgCreateTablegroupRequestPB::ByteSizeLong() const {
9814
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgCreateTablegroupRequestPB)
9815
108
  size_t total_size = 0;
9816
9817
108
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
9818
0
    total_size +=
9819
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9820
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
9821
0
  }
9822
  // string database_name = 2;
9823
108
  if (this->database_name().size() > 0) {
9824
108
    total_size += 1 +
9825
108
      ::google::protobuf::internal::WireFormatLite::StringSize(
9826
108
        this->database_name());
9827
108
  }
9828
9829
  // .yb.tserver.PgObjectIdPB tablegroup_id = 3;
9830
108
  if (this->has_tablegroup_id()) {
9831
108
    total_size += 1 +
9832
108
      ::google::protobuf::internal::WireFormatLite::MessageSize(
9833
108
        *this->tablegroup_id_);
9834
108
  }
9835
9836
  // .yb.tserver.PgObjectIdPB tablespace_id = 4;
9837
108
  if (this->has_tablespace_id()) {
9838
108
    total_size += 1 +
9839
108
      ::google::protobuf::internal::WireFormatLite::MessageSize(
9840
108
        *this->tablespace_id_);
9841
108
  }
9842
9843
  // uint64 session_id = 1;
9844
108
  if (this->session_id() != 0) {
9845
108
    total_size += 1 +
9846
108
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
9847
108
        this->session_id());
9848
108
  }
9849
9850
108
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9851
108
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9852
108
  _cached_size_ = cached_size;
9853
108
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9854
108
  return total_size;
9855
108
}
9856
9857
0
void PgCreateTablegroupRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
9858
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgCreateTablegroupRequestPB)
9859
0
  GOOGLE_DCHECK_NE(&from, this);
9860
0
  const PgCreateTablegroupRequestPB* source =
9861
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgCreateTablegroupRequestPB>(
9862
0
          &from);
9863
0
  if (source == NULL) {
9864
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgCreateTablegroupRequestPB)
9865
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9866
0
  } else {
9867
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgCreateTablegroupRequestPB)
9868
0
    MergeFrom(*source);
9869
0
  }
9870
0
}
9871
9872
0
void PgCreateTablegroupRequestPB::MergeFrom(const PgCreateTablegroupRequestPB& from) {
9873
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgCreateTablegroupRequestPB)
9874
0
  GOOGLE_DCHECK_NE(&from, this);
9875
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9876
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9877
0
  (void) cached_has_bits;
9878
9879
0
  if (from.database_name().size() > 0) {
9880
9881
0
    database_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.database_name_);
9882
0
  }
9883
0
  if (from.has_tablegroup_id()) {
9884
0
    mutable_tablegroup_id()->::yb::tserver::PgObjectIdPB::MergeFrom(from.tablegroup_id());
9885
0
  }
9886
0
  if (from.has_tablespace_id()) {
9887
0
    mutable_tablespace_id()->::yb::tserver::PgObjectIdPB::MergeFrom(from.tablespace_id());
9888
0
  }
9889
0
  if (from.session_id() != 0) {
9890
0
    set_session_id(from.session_id());
9891
0
  }
9892
0
}
9893
9894
0
void PgCreateTablegroupRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
9895
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgCreateTablegroupRequestPB)
9896
0
  if (&from == this) return;
9897
0
  Clear();
9898
0
  MergeFrom(from);
9899
0
}
9900
9901
0
void PgCreateTablegroupRequestPB::CopyFrom(const PgCreateTablegroupRequestPB& from) {
9902
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgCreateTablegroupRequestPB)
9903
0
  if (&from == this) return;
9904
0
  Clear();
9905
0
  MergeFrom(from);
9906
0
}
9907
9908
108
bool PgCreateTablegroupRequestPB::IsInitialized() const {
9909
108
  return true;
9910
108
}
9911
9912
0
void PgCreateTablegroupRequestPB::Swap(PgCreateTablegroupRequestPB* other) {
9913
0
  if (other == this) return;
9914
0
  InternalSwap(other);
9915
0
}
9916
0
void PgCreateTablegroupRequestPB::InternalSwap(PgCreateTablegroupRequestPB* other) {
9917
0
  using std::swap;
9918
0
  database_name_.Swap(&other->database_name_);
9919
0
  swap(tablegroup_id_, other->tablegroup_id_);
9920
0
  swap(tablespace_id_, other->tablespace_id_);
9921
0
  swap(session_id_, other->session_id_);
9922
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
9923
0
  swap(_cached_size_, other->_cached_size_);
9924
0
}
9925
9926
54
::google::protobuf::Metadata PgCreateTablegroupRequestPB::GetMetadata() const {
9927
54
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
9928
54
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
9929
54
}
9930
9931
9932
// ===================================================================
9933
9934
26.8k
void PgCreateTablegroupResponsePB::InitAsDefaultInstance() {
9935
26.8k
  ::yb::tserver::_PgCreateTablegroupResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
9936
26.8k
      ::yb::AppStatusPB::internal_default_instance());
9937
26.8k
}
9938
0
void PgCreateTablegroupResponsePB::clear_status() {
9939
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
9940
0
    delete status_;
9941
0
  }
9942
0
  status_ = NULL;
9943
0
}
9944
#if !defined(_MSC_VER) || _MSC_VER >= 1900
9945
const int PgCreateTablegroupResponsePB::kStatusFieldNumber;
9946
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
9947
9948
PgCreateTablegroupResponsePB::PgCreateTablegroupResponsePB()
9949
26.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9950
26.9k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
9951
108
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateTablegroupResponsePB();
9952
108
  }
9953
26.9k
  SharedCtor();
9954
  // @@protoc_insertion_point(constructor:yb.tserver.PgCreateTablegroupResponsePB)
9955
26.9k
}
9956
PgCreateTablegroupResponsePB::PgCreateTablegroupResponsePB(const PgCreateTablegroupResponsePB& from)
9957
  : ::google::protobuf::Message(),
9958
      _internal_metadata_(NULL),
9959
0
      _cached_size_(0) {
9960
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9961
0
  if (from.has_status()) {
9962
0
    status_ = new ::yb::AppStatusPB(*from.status_);
9963
0
  } else {
9964
0
    status_ = NULL;
9965
0
  }
9966
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgCreateTablegroupResponsePB)
9967
0
}
9968
9969
26.9k
void PgCreateTablegroupResponsePB::SharedCtor() {
9970
26.9k
  status_ = NULL;
9971
26.9k
  _cached_size_ = 0;
9972
26.9k
}
9973
9974
108
PgCreateTablegroupResponsePB::~PgCreateTablegroupResponsePB() {
9975
  // @@protoc_insertion_point(destructor:yb.tserver.PgCreateTablegroupResponsePB)
9976
108
  SharedDtor();
9977
108
}
9978
9979
108
void PgCreateTablegroupResponsePB::SharedDtor() {
9980
108
  if (this != internal_default_instance()) delete status_;
9981
108
}
9982
9983
0
void PgCreateTablegroupResponsePB::SetCachedSize(int size) const {
9984
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9985
0
  _cached_size_ = size;
9986
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9987
0
}
9988
0
const ::google::protobuf::Descriptor* PgCreateTablegroupResponsePB::descriptor() {
9989
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
9990
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9991
0
}
9992
9993
0
const PgCreateTablegroupResponsePB& PgCreateTablegroupResponsePB::default_instance() {
9994
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgCreateTablegroupResponsePB();
9995
0
  return *internal_default_instance();
9996
0
}
9997
9998
0
PgCreateTablegroupResponsePB* PgCreateTablegroupResponsePB::New(::google::protobuf::Arena* arena) const {
9999
0
  PgCreateTablegroupResponsePB* n = new PgCreateTablegroupResponsePB;
10000
0
  if (arena != NULL) {
10001
0
    arena->Own(n);
10002
0
  }
10003
0
  return n;
10004
0
}
10005
10006
54
void PgCreateTablegroupResponsePB::Clear() {
10007
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgCreateTablegroupResponsePB)
10008
54
  ::google::protobuf::uint32 cached_has_bits = 0;
10009
  // Prevent compiler warnings about cached_has_bits being unused
10010
54
  (void) cached_has_bits;
10011
10012
54
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
10013
0
    delete status_;
10014
0
  }
10015
54
  status_ = NULL;
10016
54
  _internal_metadata_.Clear();
10017
54
}
10018
10019
bool PgCreateTablegroupResponsePB::MergePartialFromCodedStream(
10020
54
    ::google::protobuf::io::CodedInputStream* input) {
10021
54
#define DO_(EXPRESSION) 
if (2
!GOOGLE_PREDICT_TRUE2
(EXPRESSION))
goto failure0
10022
54
  ::google::protobuf::uint32 tag;
10023
  // @@protoc_insertion_point(parse_start:yb.tserver.PgCreateTablegroupResponsePB)
10024
56
  for (;;) {
10025
56
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10026
56
    tag = p.first;
10027
56
    if (!p.second) 
goto handle_unusual54
;
10028
2
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10029
      // .yb.AppStatusPB status = 1;
10030
2
      case 1: {
10031
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10032
2
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
10033
2
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
10034
2
               input, mutable_status()));
10035
2
        } else {
10036
0
          goto handle_unusual;
10037
0
        }
10038
2
        break;
10039
2
      }
10040
10041
2
      default: {
10042
54
      handle_unusual:
10043
54
        if (tag == 0) {
10044
54
          goto success;
10045
54
        }
10046
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
10047
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
10048
0
        break;
10049
0
      }
10050
2
    }
10051
2
  }
10052
54
success:
10053
  // @@protoc_insertion_point(parse_success:yb.tserver.PgCreateTablegroupResponsePB)
10054
54
  return true;
10055
0
failure:
10056
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgCreateTablegroupResponsePB)
10057
0
  return false;
10058
54
#undef DO_
10059
54
}
10060
10061
void PgCreateTablegroupResponsePB::SerializeWithCachedSizes(
10062
0
    ::google::protobuf::io::CodedOutputStream* output) const {
10063
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgCreateTablegroupResponsePB)
10064
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10065
0
  (void) cached_has_bits;
10066
10067
  // .yb.AppStatusPB status = 1;
10068
0
  if (this->has_status()) {
10069
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
10070
0
      1, *this->status_, output);
10071
0
  }
10072
10073
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
10074
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10075
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
10076
0
  }
10077
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgCreateTablegroupResponsePB)
10078
0
}
10079
10080
::google::protobuf::uint8* PgCreateTablegroupResponsePB::InternalSerializeWithCachedSizesToArray(
10081
54
    bool deterministic, ::google::protobuf::uint8* target) const {
10082
54
  (void)deterministic; // Unused
10083
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgCreateTablegroupResponsePB)
10084
54
  ::google::protobuf::uint32 cached_has_bits = 0;
10085
54
  (void) cached_has_bits;
10086
10087
  // .yb.AppStatusPB status = 1;
10088
54
  if (this->has_status()) {
10089
2
    target = ::google::protobuf::internal::WireFormatLite::
10090
2
      InternalWriteMessageToArray(
10091
2
        1, *this->status_, deterministic, target);
10092
2
  }
10093
10094
54
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
10095
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
10096
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
10097
0
  }
10098
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgCreateTablegroupResponsePB)
10099
54
  return target;
10100
54
}
10101
10102
108
size_t PgCreateTablegroupResponsePB::ByteSizeLong() const {
10103
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgCreateTablegroupResponsePB)
10104
108
  size_t total_size = 0;
10105
10106
108
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
10107
0
    total_size +=
10108
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
10109
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
10110
0
  }
10111
  // .yb.AppStatusPB status = 1;
10112
108
  if (this->has_status()) {
10113
4
    total_size += 1 +
10114
4
      ::google::protobuf::internal::WireFormatLite::MessageSize(
10115
4
        *this->status_);
10116
4
  }
10117
10118
108
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
10119
108
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10120
108
  _cached_size_ = cached_size;
10121
108
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10122
108
  return total_size;
10123
108
}
10124
10125
0
void PgCreateTablegroupResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
10126
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgCreateTablegroupResponsePB)
10127
0
  GOOGLE_DCHECK_NE(&from, this);
10128
0
  const PgCreateTablegroupResponsePB* source =
10129
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgCreateTablegroupResponsePB>(
10130
0
          &from);
10131
0
  if (source == NULL) {
10132
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgCreateTablegroupResponsePB)
10133
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
10134
0
  } else {
10135
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgCreateTablegroupResponsePB)
10136
0
    MergeFrom(*source);
10137
0
  }
10138
0
}
10139
10140
0
void PgCreateTablegroupResponsePB::MergeFrom(const PgCreateTablegroupResponsePB& from) {
10141
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgCreateTablegroupResponsePB)
10142
0
  GOOGLE_DCHECK_NE(&from, this);
10143
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10144
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10145
0
  (void) cached_has_bits;
10146
10147
0
  if (from.has_status()) {
10148
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
10149
0
  }
10150
0
}
10151
10152
0
void PgCreateTablegroupResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
10153
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgCreateTablegroupResponsePB)
10154
0
  if (&from == this) return;
10155
0
  Clear();
10156
0
  MergeFrom(from);
10157
0
}
10158
10159
0
void PgCreateTablegroupResponsePB::CopyFrom(const PgCreateTablegroupResponsePB& from) {
10160
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgCreateTablegroupResponsePB)
10161
0
  if (&from == this) return;
10162
0
  Clear();
10163
0
  MergeFrom(from);
10164
0
}
10165
10166
108
bool PgCreateTablegroupResponsePB::IsInitialized() const {
10167
108
  if (has_status()) {
10168
4
    if (!this->status_->IsInitialized()) 
return false0
;
10169
4
  }
10170
108
  return true;
10171
108
}
10172
10173
0
void PgCreateTablegroupResponsePB::Swap(PgCreateTablegroupResponsePB* other) {
10174
0
  if (other == this) return;
10175
0
  InternalSwap(other);
10176
0
}
10177
0
void PgCreateTablegroupResponsePB::InternalSwap(PgCreateTablegroupResponsePB* other) {
10178
0
  using std::swap;
10179
0
  swap(status_, other->status_);
10180
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
10181
0
  swap(_cached_size_, other->_cached_size_);
10182
0
}
10183
10184
0
::google::protobuf::Metadata PgCreateTablegroupResponsePB::GetMetadata() const {
10185
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
10186
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
10187
0
}
10188
10189
10190
// ===================================================================
10191
10192
26.8k
void PgDropDatabaseRequestPB::InitAsDefaultInstance() {
10193
26.8k
}
10194
#if !defined(_MSC_VER) || _MSC_VER >= 1900
10195
const int PgDropDatabaseRequestPB::kSessionIdFieldNumber;
10196
const int PgDropDatabaseRequestPB::kDatabaseNameFieldNumber;
10197
const int PgDropDatabaseRequestPB::kDatabaseOidFieldNumber;
10198
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
10199
10200
PgDropDatabaseRequestPB::PgDropDatabaseRequestPB()
10201
27.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
10202
27.0k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
10203
144
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDropDatabaseRequestPB();
10204
144
  }
10205
27.0k
  SharedCtor();
10206
  // @@protoc_insertion_point(constructor:yb.tserver.PgDropDatabaseRequestPB)
10207
27.0k
}
10208
PgDropDatabaseRequestPB::PgDropDatabaseRequestPB(const PgDropDatabaseRequestPB& from)
10209
  : ::google::protobuf::Message(),
10210
      _internal_metadata_(NULL),
10211
0
      _cached_size_(0) {
10212
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10213
0
  database_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10214
0
  if (from.database_name().size() > 0) {
10215
0
    database_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.database_name_);
10216
0
  }
10217
0
  ::memcpy(&session_id_, &from.session_id_,
10218
0
    static_cast<size_t>(reinterpret_cast<char*>(&database_oid_) -
10219
0
    reinterpret_cast<char*>(&session_id_)) + sizeof(database_oid_));
10220
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgDropDatabaseRequestPB)
10221
0
}
10222
10223
27.0k
void PgDropDatabaseRequestPB::SharedCtor() {
10224
27.0k
  database_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10225
27.0k
  ::memset(&session_id_, 0, static_cast<size_t>(
10226
27.0k
      reinterpret_cast<char*>(&database_oid_) -
10227
27.0k
      reinterpret_cast<char*>(&session_id_)) + sizeof(database_oid_));
10228
27.0k
  _cached_size_ = 0;
10229
27.0k
}
10230
10231
144
PgDropDatabaseRequestPB::~PgDropDatabaseRequestPB() {
10232
  // @@protoc_insertion_point(destructor:yb.tserver.PgDropDatabaseRequestPB)
10233
144
  SharedDtor();
10234
144
}
10235
10236
144
void PgDropDatabaseRequestPB::SharedDtor() {
10237
144
  database_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10238
144
}
10239
10240
0
void PgDropDatabaseRequestPB::SetCachedSize(int size) const {
10241
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10242
0
  _cached_size_ = size;
10243
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10244
0
}
10245
0
const ::google::protobuf::Descriptor* PgDropDatabaseRequestPB::descriptor() {
10246
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
10247
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
10248
0
}
10249
10250
0
const PgDropDatabaseRequestPB& PgDropDatabaseRequestPB::default_instance() {
10251
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDropDatabaseRequestPB();
10252
0
  return *internal_default_instance();
10253
0
}
10254
10255
0
PgDropDatabaseRequestPB* PgDropDatabaseRequestPB::New(::google::protobuf::Arena* arena) const {
10256
0
  PgDropDatabaseRequestPB* n = new PgDropDatabaseRequestPB;
10257
0
  if (arena != NULL) {
10258
0
    arena->Own(n);
10259
0
  }
10260
0
  return n;
10261
0
}
10262
10263
72
void PgDropDatabaseRequestPB::Clear() {
10264
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgDropDatabaseRequestPB)
10265
72
  ::google::protobuf::uint32 cached_has_bits = 0;
10266
  // Prevent compiler warnings about cached_has_bits being unused
10267
72
  (void) cached_has_bits;
10268
10269
72
  database_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10270
72
  ::memset(&session_id_, 0, static_cast<size_t>(
10271
72
      reinterpret_cast<char*>(&database_oid_) -
10272
72
      reinterpret_cast<char*>(&session_id_)) + sizeof(database_oid_));
10273
72
  _internal_metadata_.Clear();
10274
72
}
10275
10276
bool PgDropDatabaseRequestPB::MergePartialFromCodedStream(
10277
72
    ::google::protobuf::io::CodedInputStream* input) {
10278
288
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
10279
72
  ::google::protobuf::uint32 tag;
10280
  // @@protoc_insertion_point(parse_start:yb.tserver.PgDropDatabaseRequestPB)
10281
288
  for (;;) {
10282
288
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10283
288
    tag = p.first;
10284
288
    if (!p.second) 
goto handle_unusual72
;
10285
216
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10286
      // uint64 session_id = 1;
10287
72
      case 1: {
10288
72
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10289
72
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
10290
10291
72
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
10292
72
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
10293
72
                 input, &session_id_)));
10294
72
        } else {
10295
0
          goto handle_unusual;
10296
0
        }
10297
72
        break;
10298
72
      }
10299
10300
      // string database_name = 3;
10301
72
      case 3: {
10302
72
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10303
72
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
10304
72
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
10305
72
                input, this->mutable_database_name()));
10306
72
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
10307
72
            this->database_name().data(), static_cast<int>(this->database_name().length()),
10308
72
            ::google::protobuf::internal::WireFormatLite::PARSE,
10309
72
            "yb.tserver.PgDropDatabaseRequestPB.database_name"));
10310
72
        } else {
10311
0
          goto handle_unusual;
10312
0
        }
10313
72
        break;
10314
72
      }
10315
10316
      // uint32 database_oid = 4;
10317
72
      case 4: {
10318
72
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10319
72
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
10320
10321
72
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
10322
72
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
10323
72
                 input, &database_oid_)));
10324
72
        } else {
10325
0
          goto handle_unusual;
10326
0
        }
10327
72
        break;
10328
72
      }
10329
10330
72
      default: {
10331
72
      handle_unusual:
10332
72
        if (tag == 0) {
10333
72
          goto success;
10334
72
        }
10335
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
10336
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
10337
0
        break;
10338
0
      }
10339
216
    }
10340
216
  }
10341
72
success:
10342
  // @@protoc_insertion_point(parse_success:yb.tserver.PgDropDatabaseRequestPB)
10343
72
  return true;
10344
0
failure:
10345
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgDropDatabaseRequestPB)
10346
0
  return false;
10347
72
#undef DO_
10348
72
}
10349
10350
void PgDropDatabaseRequestPB::SerializeWithCachedSizes(
10351
0
    ::google::protobuf::io::CodedOutputStream* output) const {
10352
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgDropDatabaseRequestPB)
10353
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10354
0
  (void) cached_has_bits;
10355
10356
  // uint64 session_id = 1;
10357
0
  if (this->session_id() != 0) {
10358
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
10359
0
  }
10360
10361
  // string database_name = 3;
10362
0
  if (this->database_name().size() > 0) {
10363
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
10364
0
      this->database_name().data(), static_cast<int>(this->database_name().length()),
10365
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
10366
0
      "yb.tserver.PgDropDatabaseRequestPB.database_name");
10367
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
10368
0
      3, this->database_name(), output);
10369
0
  }
10370
10371
  // uint32 database_oid = 4;
10372
0
  if (this->database_oid() != 0) {
10373
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->database_oid(), output);
10374
0
  }
10375
10376
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
10377
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10378
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
10379
0
  }
10380
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgDropDatabaseRequestPB)
10381
0
}
10382
10383
::google::protobuf::uint8* PgDropDatabaseRequestPB::InternalSerializeWithCachedSizesToArray(
10384
72
    bool deterministic, ::google::protobuf::uint8* target) const {
10385
72
  (void)deterministic; // Unused
10386
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgDropDatabaseRequestPB)
10387
72
  ::google::protobuf::uint32 cached_has_bits = 0;
10388
72
  (void) cached_has_bits;
10389
10390
  // uint64 session_id = 1;
10391
72
  if (this->session_id() != 0) {
10392
72
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
10393
72
  }
10394
10395
  // string database_name = 3;
10396
72
  if (this->database_name().size() > 0) {
10397
72
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
10398
72
      this->database_name().data(), static_cast<int>(this->database_name().length()),
10399
72
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
10400
72
      "yb.tserver.PgDropDatabaseRequestPB.database_name");
10401
72
    target =
10402
72
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
10403
72
        3, this->database_name(), target);
10404
72
  }
10405
10406
  // uint32 database_oid = 4;
10407
72
  if (this->database_oid() != 0) {
10408
72
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->database_oid(), target);
10409
72
  }
10410
10411
72
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
10412
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
10413
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
10414
0
  }
10415
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgDropDatabaseRequestPB)
10416
72
  return target;
10417
72
}
10418
10419
144
size_t PgDropDatabaseRequestPB::ByteSizeLong() const {
10420
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgDropDatabaseRequestPB)
10421
144
  size_t total_size = 0;
10422
10423
144
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
10424
0
    total_size +=
10425
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
10426
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
10427
0
  }
10428
  // string database_name = 3;
10429
144
  if (this->database_name().size() > 0) {
10430
144
    total_size += 1 +
10431
144
      ::google::protobuf::internal::WireFormatLite::StringSize(
10432
144
        this->database_name());
10433
144
  }
10434
10435
  // uint64 session_id = 1;
10436
144
  if (this->session_id() != 0) {
10437
144
    total_size += 1 +
10438
144
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
10439
144
        this->session_id());
10440
144
  }
10441
10442
  // uint32 database_oid = 4;
10443
144
  if (this->database_oid() != 0) {
10444
144
    total_size += 1 +
10445
144
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
10446
144
        this->database_oid());
10447
144
  }
10448
10449
144
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
10450
144
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10451
144
  _cached_size_ = cached_size;
10452
144
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10453
144
  return total_size;
10454
144
}
10455
10456
0
void PgDropDatabaseRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
10457
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgDropDatabaseRequestPB)
10458
0
  GOOGLE_DCHECK_NE(&from, this);
10459
0
  const PgDropDatabaseRequestPB* source =
10460
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgDropDatabaseRequestPB>(
10461
0
          &from);
10462
0
  if (source == NULL) {
10463
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgDropDatabaseRequestPB)
10464
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
10465
0
  } else {
10466
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgDropDatabaseRequestPB)
10467
0
    MergeFrom(*source);
10468
0
  }
10469
0
}
10470
10471
0
void PgDropDatabaseRequestPB::MergeFrom(const PgDropDatabaseRequestPB& from) {
10472
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgDropDatabaseRequestPB)
10473
0
  GOOGLE_DCHECK_NE(&from, this);
10474
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10475
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10476
0
  (void) cached_has_bits;
10477
10478
0
  if (from.database_name().size() > 0) {
10479
10480
0
    database_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.database_name_);
10481
0
  }
10482
0
  if (from.session_id() != 0) {
10483
0
    set_session_id(from.session_id());
10484
0
  }
10485
0
  if (from.database_oid() != 0) {
10486
0
    set_database_oid(from.database_oid());
10487
0
  }
10488
0
}
10489
10490
0
void PgDropDatabaseRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
10491
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgDropDatabaseRequestPB)
10492
0
  if (&from == this) return;
10493
0
  Clear();
10494
0
  MergeFrom(from);
10495
0
}
10496
10497
0
void PgDropDatabaseRequestPB::CopyFrom(const PgDropDatabaseRequestPB& from) {
10498
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgDropDatabaseRequestPB)
10499
0
  if (&from == this) return;
10500
0
  Clear();
10501
0
  MergeFrom(from);
10502
0
}
10503
10504
144
bool PgDropDatabaseRequestPB::IsInitialized() const {
10505
144
  return true;
10506
144
}
10507
10508
0
void PgDropDatabaseRequestPB::Swap(PgDropDatabaseRequestPB* other) {
10509
0
  if (other == this) return;
10510
0
  InternalSwap(other);
10511
0
}
10512
0
void PgDropDatabaseRequestPB::InternalSwap(PgDropDatabaseRequestPB* other) {
10513
0
  using std::swap;
10514
0
  database_name_.Swap(&other->database_name_);
10515
0
  swap(session_id_, other->session_id_);
10516
0
  swap(database_oid_, other->database_oid_);
10517
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
10518
0
  swap(_cached_size_, other->_cached_size_);
10519
0
}
10520
10521
72
::google::protobuf::Metadata PgDropDatabaseRequestPB::GetMetadata() const {
10522
72
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
10523
72
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
10524
72
}
10525
10526
10527
// ===================================================================
10528
10529
26.8k
void PgDropDatabaseResponsePB::InitAsDefaultInstance() {
10530
26.8k
  ::yb::tserver::_PgDropDatabaseResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
10531
26.8k
      ::yb::AppStatusPB::internal_default_instance());
10532
26.8k
}
10533
0
void PgDropDatabaseResponsePB::clear_status() {
10534
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
10535
0
    delete status_;
10536
0
  }
10537
0
  status_ = NULL;
10538
0
}
10539
#if !defined(_MSC_VER) || _MSC_VER >= 1900
10540
const int PgDropDatabaseResponsePB::kStatusFieldNumber;
10541
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
10542
10543
PgDropDatabaseResponsePB::PgDropDatabaseResponsePB()
10544
27.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
10545
27.0k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
10546
144
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDropDatabaseResponsePB();
10547
144
  }
10548
27.0k
  SharedCtor();
10549
  // @@protoc_insertion_point(constructor:yb.tserver.PgDropDatabaseResponsePB)
10550
27.0k
}
10551
PgDropDatabaseResponsePB::PgDropDatabaseResponsePB(const PgDropDatabaseResponsePB& from)
10552
  : ::google::protobuf::Message(),
10553
      _internal_metadata_(NULL),
10554
0
      _cached_size_(0) {
10555
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10556
0
  if (from.has_status()) {
10557
0
    status_ = new ::yb::AppStatusPB(*from.status_);
10558
0
  } else {
10559
0
    status_ = NULL;
10560
0
  }
10561
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgDropDatabaseResponsePB)
10562
0
}
10563
10564
27.0k
void PgDropDatabaseResponsePB::SharedCtor() {
10565
27.0k
  status_ = NULL;
10566
27.0k
  _cached_size_ = 0;
10567
27.0k
}
10568
10569
144
PgDropDatabaseResponsePB::~PgDropDatabaseResponsePB() {
10570
  // @@protoc_insertion_point(destructor:yb.tserver.PgDropDatabaseResponsePB)
10571
144
  SharedDtor();
10572
144
}
10573
10574
144
void PgDropDatabaseResponsePB::SharedDtor() {
10575
144
  if (this != internal_default_instance()) delete status_;
10576
144
}
10577
10578
0
void PgDropDatabaseResponsePB::SetCachedSize(int size) const {
10579
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10580
0
  _cached_size_ = size;
10581
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10582
0
}
10583
0
const ::google::protobuf::Descriptor* PgDropDatabaseResponsePB::descriptor() {
10584
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
10585
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
10586
0
}
10587
10588
0
const PgDropDatabaseResponsePB& PgDropDatabaseResponsePB::default_instance() {
10589
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDropDatabaseResponsePB();
10590
0
  return *internal_default_instance();
10591
0
}
10592
10593
0
PgDropDatabaseResponsePB* PgDropDatabaseResponsePB::New(::google::protobuf::Arena* arena) const {
10594
0
  PgDropDatabaseResponsePB* n = new PgDropDatabaseResponsePB;
10595
0
  if (arena != NULL) {
10596
0
    arena->Own(n);
10597
0
  }
10598
0
  return n;
10599
0
}
10600
10601
72
void PgDropDatabaseResponsePB::Clear() {
10602
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgDropDatabaseResponsePB)
10603
72
  ::google::protobuf::uint32 cached_has_bits = 0;
10604
  // Prevent compiler warnings about cached_has_bits being unused
10605
72
  (void) cached_has_bits;
10606
10607
72
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
10608
0
    delete status_;
10609
0
  }
10610
72
  status_ = NULL;
10611
72
  _internal_metadata_.Clear();
10612
72
}
10613
10614
bool PgDropDatabaseResponsePB::MergePartialFromCodedStream(
10615
72
    ::google::protobuf::io::CodedInputStream* input) {
10616
72
#define DO_(EXPRESSION) 
if (1
!GOOGLE_PREDICT_TRUE1
(EXPRESSION))
goto failure0
10617
72
  ::google::protobuf::uint32 tag;
10618
  // @@protoc_insertion_point(parse_start:yb.tserver.PgDropDatabaseResponsePB)
10619
73
  for (;;) {
10620
73
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10621
73
    tag = p.first;
10622
73
    if (!p.second) 
goto handle_unusual72
;
10623
1
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10624
      // .yb.AppStatusPB status = 1;
10625
1
      case 1: {
10626
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10627
1
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
10628
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
10629
1
               input, mutable_status()));
10630
1
        } else {
10631
0
          goto handle_unusual;
10632
0
        }
10633
1
        break;
10634
1
      }
10635
10636
1
      default: {
10637
72
      handle_unusual:
10638
72
        if (tag == 0) {
10639
72
          goto success;
10640
72
        }
10641
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
10642
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
10643
0
        break;
10644
0
      }
10645
1
    }
10646
1
  }
10647
72
success:
10648
  // @@protoc_insertion_point(parse_success:yb.tserver.PgDropDatabaseResponsePB)
10649
72
  return true;
10650
0
failure:
10651
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgDropDatabaseResponsePB)
10652
0
  return false;
10653
72
#undef DO_
10654
72
}
10655
10656
void PgDropDatabaseResponsePB::SerializeWithCachedSizes(
10657
0
    ::google::protobuf::io::CodedOutputStream* output) const {
10658
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgDropDatabaseResponsePB)
10659
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10660
0
  (void) cached_has_bits;
10661
10662
  // .yb.AppStatusPB status = 1;
10663
0
  if (this->has_status()) {
10664
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
10665
0
      1, *this->status_, output);
10666
0
  }
10667
10668
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
10669
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10670
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
10671
0
  }
10672
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgDropDatabaseResponsePB)
10673
0
}
10674
10675
::google::protobuf::uint8* PgDropDatabaseResponsePB::InternalSerializeWithCachedSizesToArray(
10676
72
    bool deterministic, ::google::protobuf::uint8* target) const {
10677
72
  (void)deterministic; // Unused
10678
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgDropDatabaseResponsePB)
10679
72
  ::google::protobuf::uint32 cached_has_bits = 0;
10680
72
  (void) cached_has_bits;
10681
10682
  // .yb.AppStatusPB status = 1;
10683
72
  if (this->has_status()) {
10684
1
    target = ::google::protobuf::internal::WireFormatLite::
10685
1
      InternalWriteMessageToArray(
10686
1
        1, *this->status_, deterministic, target);
10687
1
  }
10688
10689
72
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
10690
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
10691
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
10692
0
  }
10693
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgDropDatabaseResponsePB)
10694
72
  return target;
10695
72
}
10696
10697
144
size_t PgDropDatabaseResponsePB::ByteSizeLong() const {
10698
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgDropDatabaseResponsePB)
10699
144
  size_t total_size = 0;
10700
10701
144
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
10702
0
    total_size +=
10703
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
10704
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
10705
0
  }
10706
  // .yb.AppStatusPB status = 1;
10707
144
  if (this->has_status()) {
10708
2
    total_size += 1 +
10709
2
      ::google::protobuf::internal::WireFormatLite::MessageSize(
10710
2
        *this->status_);
10711
2
  }
10712
10713
144
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
10714
144
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10715
144
  _cached_size_ = cached_size;
10716
144
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10717
144
  return total_size;
10718
144
}
10719
10720
0
void PgDropDatabaseResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
10721
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgDropDatabaseResponsePB)
10722
0
  GOOGLE_DCHECK_NE(&from, this);
10723
0
  const PgDropDatabaseResponsePB* source =
10724
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgDropDatabaseResponsePB>(
10725
0
          &from);
10726
0
  if (source == NULL) {
10727
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgDropDatabaseResponsePB)
10728
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
10729
0
  } else {
10730
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgDropDatabaseResponsePB)
10731
0
    MergeFrom(*source);
10732
0
  }
10733
0
}
10734
10735
0
void PgDropDatabaseResponsePB::MergeFrom(const PgDropDatabaseResponsePB& from) {
10736
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgDropDatabaseResponsePB)
10737
0
  GOOGLE_DCHECK_NE(&from, this);
10738
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10739
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10740
0
  (void) cached_has_bits;
10741
10742
0
  if (from.has_status()) {
10743
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
10744
0
  }
10745
0
}
10746
10747
0
void PgDropDatabaseResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
10748
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgDropDatabaseResponsePB)
10749
0
  if (&from == this) return;
10750
0
  Clear();
10751
0
  MergeFrom(from);
10752
0
}
10753
10754
0
void PgDropDatabaseResponsePB::CopyFrom(const PgDropDatabaseResponsePB& from) {
10755
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgDropDatabaseResponsePB)
10756
0
  if (&from == this) return;
10757
0
  Clear();
10758
0
  MergeFrom(from);
10759
0
}
10760
10761
144
bool PgDropDatabaseResponsePB::IsInitialized() const {
10762
144
  if (has_status()) {
10763
2
    if (!this->status_->IsInitialized()) 
return false0
;
10764
2
  }
10765
144
  return true;
10766
144
}
10767
10768
0
void PgDropDatabaseResponsePB::Swap(PgDropDatabaseResponsePB* other) {
10769
0
  if (other == this) return;
10770
0
  InternalSwap(other);
10771
0
}
10772
0
void PgDropDatabaseResponsePB::InternalSwap(PgDropDatabaseResponsePB* other) {
10773
0
  using std::swap;
10774
0
  swap(status_, other->status_);
10775
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
10776
0
  swap(_cached_size_, other->_cached_size_);
10777
0
}
10778
10779
0
::google::protobuf::Metadata PgDropDatabaseResponsePB::GetMetadata() const {
10780
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
10781
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
10782
0
}
10783
10784
10785
// ===================================================================
10786
10787
26.8k
void PgDropTableRequestPB::InitAsDefaultInstance() {
10788
26.8k
  ::yb::tserver::_PgDropTableRequestPB_default_instance_._instance.get_mutable()->table_id_ = const_cast< ::yb::tserver::PgObjectIdPB*>(
10789
26.8k
      ::yb::tserver::PgObjectIdPB::internal_default_instance());
10790
26.8k
}
10791
#if !defined(_MSC_VER) || _MSC_VER >= 1900
10792
const int PgDropTableRequestPB::kSessionIdFieldNumber;
10793
const int PgDropTableRequestPB::kTableIdFieldNumber;
10794
const int PgDropTableRequestPB::kIndexFieldNumber;
10795
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
10796
10797
PgDropTableRequestPB::PgDropTableRequestPB()
10798
35.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
10799
35.1k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
10800
8.29k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDropTableRequestPB();
10801
8.29k
  }
10802
35.1k
  SharedCtor();
10803
  // @@protoc_insertion_point(constructor:yb.tserver.PgDropTableRequestPB)
10804
35.1k
}
10805
PgDropTableRequestPB::PgDropTableRequestPB(const PgDropTableRequestPB& from)
10806
  : ::google::protobuf::Message(),
10807
      _internal_metadata_(NULL),
10808
0
      _cached_size_(0) {
10809
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10810
0
  if (from.has_table_id()) {
10811
0
    table_id_ = new ::yb::tserver::PgObjectIdPB(*from.table_id_);
10812
0
  } else {
10813
0
    table_id_ = NULL;
10814
0
  }
10815
0
  ::memcpy(&session_id_, &from.session_id_,
10816
0
    static_cast<size_t>(reinterpret_cast<char*>(&index_) -
10817
0
    reinterpret_cast<char*>(&session_id_)) + sizeof(index_));
10818
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgDropTableRequestPB)
10819
0
}
10820
10821
35.1k
void PgDropTableRequestPB::SharedCtor() {
10822
35.1k
  ::memset(&table_id_, 0, static_cast<size_t>(
10823
35.1k
      reinterpret_cast<char*>(&index_) -
10824
35.1k
      reinterpret_cast<char*>(&table_id_)) + sizeof(index_));
10825
35.1k
  _cached_size_ = 0;
10826
35.1k
}
10827
10828
8.29k
PgDropTableRequestPB::~PgDropTableRequestPB() {
10829
  // @@protoc_insertion_point(destructor:yb.tserver.PgDropTableRequestPB)
10830
8.29k
  SharedDtor();
10831
8.29k
}
10832
10833
8.29k
void PgDropTableRequestPB::SharedDtor() {
10834
8.29k
  if (this != internal_default_instance()) delete table_id_;
10835
8.29k
}
10836
10837
0
void PgDropTableRequestPB::SetCachedSize(int size) const {
10838
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10839
0
  _cached_size_ = size;
10840
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10841
0
}
10842
0
const ::google::protobuf::Descriptor* PgDropTableRequestPB::descriptor() {
10843
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
10844
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
10845
0
}
10846
10847
0
const PgDropTableRequestPB& PgDropTableRequestPB::default_instance() {
10848
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDropTableRequestPB();
10849
0
  return *internal_default_instance();
10850
0
}
10851
10852
0
PgDropTableRequestPB* PgDropTableRequestPB::New(::google::protobuf::Arena* arena) const {
10853
0
  PgDropTableRequestPB* n = new PgDropTableRequestPB;
10854
0
  if (arena != NULL) {
10855
0
    arena->Own(n);
10856
0
  }
10857
0
  return n;
10858
0
}
10859
10860
4.14k
void PgDropTableRequestPB::Clear() {
10861
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgDropTableRequestPB)
10862
4.14k
  ::google::protobuf::uint32 cached_has_bits = 0;
10863
  // Prevent compiler warnings about cached_has_bits being unused
10864
4.14k
  (void) cached_has_bits;
10865
10866
4.14k
  if (GetArenaNoVirtual() == NULL && table_id_ != NULL) {
10867
0
    delete table_id_;
10868
0
  }
10869
4.14k
  table_id_ = NULL;
10870
4.14k
  ::memset(&session_id_, 0, static_cast<size_t>(
10871
4.14k
      reinterpret_cast<char*>(&index_) -
10872
4.14k
      reinterpret_cast<char*>(&session_id_)) + sizeof(index_));
10873
4.14k
  _internal_metadata_.Clear();
10874
4.14k
}
10875
10876
bool PgDropTableRequestPB::MergePartialFromCodedStream(
10877
4.14k
    ::google::protobuf::io::CodedInputStream* input) {
10878
8.96k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
10879
4.14k
  ::google::protobuf::uint32 tag;
10880
  // @@protoc_insertion_point(parse_start:yb.tserver.PgDropTableRequestPB)
10881
13.1k
  for (;;) {
10882
13.1k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10883
13.1k
    tag = p.first;
10884
13.1k
    if (!p.second) 
goto handle_unusual4.14k
;
10885
8.96k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10886
      // uint64 session_id = 1;
10887
4.14k
      case 1: {
10888
4.14k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10889
4.14k
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
10890
10891
4.14k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
10892
4.14k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
10893
4.14k
                 input, &session_id_)));
10894
4.14k
        } else {
10895
0
          goto handle_unusual;
10896
0
        }
10897
4.14k
        break;
10898
4.14k
      }
10899
10900
      // .yb.tserver.PgObjectIdPB table_id = 2;
10901
4.14k
      case 2: {
10902
4.14k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10903
4.14k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
10904
4.14k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
10905
4.14k
               input, mutable_table_id()));
10906
4.14k
        } else {
10907
0
          goto handle_unusual;
10908
0
        }
10909
4.14k
        break;
10910
4.14k
      }
10911
10912
      // bool index = 3;
10913
4.14k
      case 3: {
10914
669
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10915
669
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
10916
10917
669
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
10918
669
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
10919
669
                 input, &index_)));
10920
669
        } else {
10921
0
          goto handle_unusual;
10922
0
        }
10923
669
        break;
10924
669
      }
10925
10926
669
      default: {
10927
4.14k
      handle_unusual:
10928
4.14k
        if (tag == 0) {
10929
4.14k
          goto success;
10930
4.14k
        }
10931
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
10932
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
10933
0
        break;
10934
0
      }
10935
8.96k
    }
10936
8.96k
  }
10937
4.14k
success:
10938
  // @@protoc_insertion_point(parse_success:yb.tserver.PgDropTableRequestPB)
10939
4.14k
  return true;
10940
0
failure:
10941
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgDropTableRequestPB)
10942
0
  return false;
10943
4.14k
#undef DO_
10944
4.14k
}
10945
10946
void PgDropTableRequestPB::SerializeWithCachedSizes(
10947
0
    ::google::protobuf::io::CodedOutputStream* output) const {
10948
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgDropTableRequestPB)
10949
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10950
0
  (void) cached_has_bits;
10951
10952
  // uint64 session_id = 1;
10953
0
  if (this->session_id() != 0) {
10954
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
10955
0
  }
10956
10957
  // .yb.tserver.PgObjectIdPB table_id = 2;
10958
0
  if (this->has_table_id()) {
10959
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
10960
0
      2, *this->table_id_, output);
10961
0
  }
10962
10963
  // bool index = 3;
10964
0
  if (this->index() != 0) {
10965
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->index(), output);
10966
0
  }
10967
10968
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
10969
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10970
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
10971
0
  }
10972
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgDropTableRequestPB)
10973
0
}
10974
10975
::google::protobuf::uint8* PgDropTableRequestPB::InternalSerializeWithCachedSizesToArray(
10976
4.14k
    bool deterministic, ::google::protobuf::uint8* target) const {
10977
4.14k
  (void)deterministic; // Unused
10978
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgDropTableRequestPB)
10979
4.14k
  ::google::protobuf::uint32 cached_has_bits = 0;
10980
4.14k
  (void) cached_has_bits;
10981
10982
  // uint64 session_id = 1;
10983
4.14k
  if (this->session_id() != 0) {
10984
4.14k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
10985
4.14k
  }
10986
10987
  // .yb.tserver.PgObjectIdPB table_id = 2;
10988
4.14k
  if (this->has_table_id()) {
10989
4.14k
    target = ::google::protobuf::internal::WireFormatLite::
10990
4.14k
      InternalWriteMessageToArray(
10991
4.14k
        2, *this->table_id_, deterministic, target);
10992
4.14k
  }
10993
10994
  // bool index = 3;
10995
4.14k
  if (this->index() != 0) {
10996
669
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->index(), target);
10997
669
  }
10998
10999
4.14k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
11000
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
11001
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
11002
0
  }
11003
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgDropTableRequestPB)
11004
4.14k
  return target;
11005
4.14k
}
11006
11007
8.29k
size_t PgDropTableRequestPB::ByteSizeLong() const {
11008
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgDropTableRequestPB)
11009
8.29k
  size_t total_size = 0;
11010
11011
8.29k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
11012
0
    total_size +=
11013
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
11014
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
11015
0
  }
11016
  // .yb.tserver.PgObjectIdPB table_id = 2;
11017
8.29k
  if (this->has_table_id()) {
11018
8.29k
    total_size += 1 +
11019
8.29k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
11020
8.29k
        *this->table_id_);
11021
8.29k
  }
11022
11023
  // uint64 session_id = 1;
11024
8.29k
  if (this->session_id() != 0) {
11025
8.29k
    total_size += 1 +
11026
8.29k
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
11027
8.29k
        this->session_id());
11028
8.29k
  }
11029
11030
  // bool index = 3;
11031
8.29k
  if (this->index() != 0) {
11032
1.33k
    total_size += 1 + 1;
11033
1.33k
  }
11034
11035
8.29k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
11036
8.29k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11037
8.29k
  _cached_size_ = cached_size;
11038
8.29k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11039
8.29k
  return total_size;
11040
8.29k
}
11041
11042
0
void PgDropTableRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
11043
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgDropTableRequestPB)
11044
0
  GOOGLE_DCHECK_NE(&from, this);
11045
0
  const PgDropTableRequestPB* source =
11046
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgDropTableRequestPB>(
11047
0
          &from);
11048
0
  if (source == NULL) {
11049
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgDropTableRequestPB)
11050
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
11051
0
  } else {
11052
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgDropTableRequestPB)
11053
0
    MergeFrom(*source);
11054
0
  }
11055
0
}
11056
11057
0
void PgDropTableRequestPB::MergeFrom(const PgDropTableRequestPB& from) {
11058
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgDropTableRequestPB)
11059
0
  GOOGLE_DCHECK_NE(&from, this);
11060
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11061
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11062
0
  (void) cached_has_bits;
11063
11064
0
  if (from.has_table_id()) {
11065
0
    mutable_table_id()->::yb::tserver::PgObjectIdPB::MergeFrom(from.table_id());
11066
0
  }
11067
0
  if (from.session_id() != 0) {
11068
0
    set_session_id(from.session_id());
11069
0
  }
11070
0
  if (from.index() != 0) {
11071
0
    set_index(from.index());
11072
0
  }
11073
0
}
11074
11075
0
void PgDropTableRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
11076
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgDropTableRequestPB)
11077
0
  if (&from == this) return;
11078
0
  Clear();
11079
0
  MergeFrom(from);
11080
0
}
11081
11082
0
void PgDropTableRequestPB::CopyFrom(const PgDropTableRequestPB& from) {
11083
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgDropTableRequestPB)
11084
0
  if (&from == this) return;
11085
0
  Clear();
11086
0
  MergeFrom(from);
11087
0
}
11088
11089
8.29k
bool PgDropTableRequestPB::IsInitialized() const {
11090
8.29k
  return true;
11091
8.29k
}
11092
11093
0
void PgDropTableRequestPB::Swap(PgDropTableRequestPB* other) {
11094
0
  if (other == this) return;
11095
0
  InternalSwap(other);
11096
0
}
11097
0
void PgDropTableRequestPB::InternalSwap(PgDropTableRequestPB* other) {
11098
0
  using std::swap;
11099
0
  swap(table_id_, other->table_id_);
11100
0
  swap(session_id_, other->session_id_);
11101
0
  swap(index_, other->index_);
11102
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
11103
0
  swap(_cached_size_, other->_cached_size_);
11104
0
}
11105
11106
4.14k
::google::protobuf::Metadata PgDropTableRequestPB::GetMetadata() const {
11107
4.14k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
11108
4.14k
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
11109
4.14k
}
11110
11111
11112
// ===================================================================
11113
11114
26.8k
void PgDropTableResponsePB::InitAsDefaultInstance() {
11115
26.8k
  ::yb::tserver::_PgDropTableResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
11116
26.8k
      ::yb::AppStatusPB::internal_default_instance());
11117
26.8k
  ::yb::tserver::_PgDropTableResponsePB_default_instance_._instance.get_mutable()->indexed_table_ = const_cast< ::yb::master::TableIdentifierPB*>(
11118
26.8k
      ::yb::master::TableIdentifierPB::internal_default_instance());
11119
26.8k
}
11120
0
void PgDropTableResponsePB::clear_status() {
11121
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
11122
0
    delete status_;
11123
0
  }
11124
0
  status_ = NULL;
11125
0
}
11126
0
void PgDropTableResponsePB::clear_indexed_table() {
11127
0
  if (GetArenaNoVirtual() == NULL && indexed_table_ != NULL) {
11128
0
    delete indexed_table_;
11129
0
  }
11130
0
  indexed_table_ = NULL;
11131
0
}
11132
#if !defined(_MSC_VER) || _MSC_VER >= 1900
11133
const int PgDropTableResponsePB::kStatusFieldNumber;
11134
const int PgDropTableResponsePB::kIndexedTableFieldNumber;
11135
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
11136
11137
PgDropTableResponsePB::PgDropTableResponsePB()
11138
35.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
11139
35.1k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
11140
8.29k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDropTableResponsePB();
11141
8.29k
  }
11142
35.1k
  SharedCtor();
11143
  // @@protoc_insertion_point(constructor:yb.tserver.PgDropTableResponsePB)
11144
35.1k
}
11145
PgDropTableResponsePB::PgDropTableResponsePB(const PgDropTableResponsePB& from)
11146
  : ::google::protobuf::Message(),
11147
      _internal_metadata_(NULL),
11148
0
      _cached_size_(0) {
11149
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11150
0
  if (from.has_status()) {
11151
0
    status_ = new ::yb::AppStatusPB(*from.status_);
11152
0
  } else {
11153
0
    status_ = NULL;
11154
0
  }
11155
0
  if (from.has_indexed_table()) {
11156
0
    indexed_table_ = new ::yb::master::TableIdentifierPB(*from.indexed_table_);
11157
0
  } else {
11158
0
    indexed_table_ = NULL;
11159
0
  }
11160
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgDropTableResponsePB)
11161
0
}
11162
11163
35.1k
void PgDropTableResponsePB::SharedCtor() {
11164
35.1k
  ::memset(&status_, 0, static_cast<size_t>(
11165
35.1k
      reinterpret_cast<char*>(&indexed_table_) -
11166
35.1k
      reinterpret_cast<char*>(&status_)) + sizeof(indexed_table_));
11167
35.1k
  _cached_size_ = 0;
11168
35.1k
}
11169
11170
8.29k
PgDropTableResponsePB::~PgDropTableResponsePB() {
11171
  // @@protoc_insertion_point(destructor:yb.tserver.PgDropTableResponsePB)
11172
8.29k
  SharedDtor();
11173
8.29k
}
11174
11175
8.29k
void PgDropTableResponsePB::SharedDtor() {
11176
8.29k
  if (this != internal_default_instance()) delete status_;
11177
8.29k
  if (this != internal_default_instance()) delete indexed_table_;
11178
8.29k
}
11179
11180
0
void PgDropTableResponsePB::SetCachedSize(int size) const {
11181
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11182
0
  _cached_size_ = size;
11183
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11184
0
}
11185
0
const ::google::protobuf::Descriptor* PgDropTableResponsePB::descriptor() {
11186
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
11187
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
11188
0
}
11189
11190
0
const PgDropTableResponsePB& PgDropTableResponsePB::default_instance() {
11191
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDropTableResponsePB();
11192
0
  return *internal_default_instance();
11193
0
}
11194
11195
0
PgDropTableResponsePB* PgDropTableResponsePB::New(::google::protobuf::Arena* arena) const {
11196
0
  PgDropTableResponsePB* n = new PgDropTableResponsePB;
11197
0
  if (arena != NULL) {
11198
0
    arena->Own(n);
11199
0
  }
11200
0
  return n;
11201
0
}
11202
11203
4.14k
void PgDropTableResponsePB::Clear() {
11204
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgDropTableResponsePB)
11205
4.14k
  ::google::protobuf::uint32 cached_has_bits = 0;
11206
  // Prevent compiler warnings about cached_has_bits being unused
11207
4.14k
  (void) cached_has_bits;
11208
11209
4.14k
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
11210
0
    delete status_;
11211
0
  }
11212
4.14k
  status_ = NULL;
11213
4.14k
  if (GetArenaNoVirtual() == NULL && indexed_table_ != NULL) {
11214
0
    delete indexed_table_;
11215
0
  }
11216
4.14k
  indexed_table_ = NULL;
11217
4.14k
  _internal_metadata_.Clear();
11218
4.14k
}
11219
11220
bool PgDropTableResponsePB::MergePartialFromCodedStream(
11221
4.14k
    ::google::protobuf::io::CodedInputStream* input) {
11222
4.14k
#define DO_(EXPRESSION) 
if (673
!GOOGLE_PREDICT_TRUE673
(EXPRESSION))
goto failure0
11223
4.14k
  ::google::protobuf::uint32 tag;
11224
  // @@protoc_insertion_point(parse_start:yb.tserver.PgDropTableResponsePB)
11225
4.82k
  for (;;) {
11226
4.82k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
11227
4.82k
    tag = p.first;
11228
4.82k
    if (!p.second) 
goto handle_unusual4.14k
;
11229
673
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
11230
      // .yb.AppStatusPB status = 1;
11231
6
      case 1: {
11232
6
        if (static_cast< ::google::protobuf::uint8>(tag) ==
11233
6
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
11234
6
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
11235
6
               input, mutable_status()));
11236
6
        } else {
11237
0
          goto handle_unusual;
11238
0
        }
11239
6
        break;
11240
6
      }
11241
11242
      // .yb.master.TableIdentifierPB indexed_table = 2;
11243
667
      case 2: {
11244
667
        if (static_cast< ::google::protobuf::uint8>(tag) ==
11245
667
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
11246
667
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
11247
667
               input, mutable_indexed_table()));
11248
667
        } else {
11249
0
          goto handle_unusual;
11250
0
        }
11251
667
        break;
11252
667
      }
11253
11254
667
      default: {
11255
4.14k
      handle_unusual:
11256
4.14k
        if (tag == 0) {
11257
4.14k
          goto success;
11258
4.14k
        }
11259
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
11260
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
11261
0
        break;
11262
0
      }
11263
673
    }
11264
673
  }
11265
4.14k
success:
11266
  // @@protoc_insertion_point(parse_success:yb.tserver.PgDropTableResponsePB)
11267
4.14k
  return true;
11268
0
failure:
11269
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgDropTableResponsePB)
11270
0
  return false;
11271
4.14k
#undef DO_
11272
4.14k
}
11273
11274
void PgDropTableResponsePB::SerializeWithCachedSizes(
11275
0
    ::google::protobuf::io::CodedOutputStream* output) const {
11276
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgDropTableResponsePB)
11277
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11278
0
  (void) cached_has_bits;
11279
11280
  // .yb.AppStatusPB status = 1;
11281
0
  if (this->has_status()) {
11282
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
11283
0
      1, *this->status_, output);
11284
0
  }
11285
11286
  // .yb.master.TableIdentifierPB indexed_table = 2;
11287
0
  if (this->has_indexed_table()) {
11288
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
11289
0
      2, *this->indexed_table_, output);
11290
0
  }
11291
11292
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
11293
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
11294
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
11295
0
  }
11296
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgDropTableResponsePB)
11297
0
}
11298
11299
::google::protobuf::uint8* PgDropTableResponsePB::InternalSerializeWithCachedSizesToArray(
11300
4.14k
    bool deterministic, ::google::protobuf::uint8* target) const {
11301
4.14k
  (void)deterministic; // Unused
11302
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgDropTableResponsePB)
11303
4.14k
  ::google::protobuf::uint32 cached_has_bits = 0;
11304
4.14k
  (void) cached_has_bits;
11305
11306
  // .yb.AppStatusPB status = 1;
11307
4.14k
  if (this->has_status()) {
11308
7
    target = ::google::protobuf::internal::WireFormatLite::
11309
7
      InternalWriteMessageToArray(
11310
7
        1, *this->status_, deterministic, target);
11311
7
  }
11312
11313
  // .yb.master.TableIdentifierPB indexed_table = 2;
11314
4.14k
  if (this->has_indexed_table()) {
11315
667
    target = ::google::protobuf::internal::WireFormatLite::
11316
667
      InternalWriteMessageToArray(
11317
667
        2, *this->indexed_table_, deterministic, target);
11318
667
  }
11319
11320
4.14k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
11321
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
11322
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
11323
0
  }
11324
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgDropTableResponsePB)
11325
4.14k
  return target;
11326
4.14k
}
11327
11328
8.29k
size_t PgDropTableResponsePB::ByteSizeLong() const {
11329
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgDropTableResponsePB)
11330
8.29k
  size_t total_size = 0;
11331
11332
8.29k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
11333
0
    total_size +=
11334
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
11335
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
11336
0
  }
11337
  // .yb.AppStatusPB status = 1;
11338
8.29k
  if (this->has_status()) {
11339
14
    total_size += 1 +
11340
14
      ::google::protobuf::internal::WireFormatLite::MessageSize(
11341
14
        *this->status_);
11342
14
  }
11343
11344
  // .yb.master.TableIdentifierPB indexed_table = 2;
11345
8.29k
  if (this->has_indexed_table()) {
11346
1.33k
    total_size += 1 +
11347
1.33k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
11348
1.33k
        *this->indexed_table_);
11349
1.33k
  }
11350
11351
8.29k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
11352
8.29k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11353
8.29k
  _cached_size_ = cached_size;
11354
8.29k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11355
8.29k
  return total_size;
11356
8.29k
}
11357
11358
0
void PgDropTableResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
11359
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgDropTableResponsePB)
11360
0
  GOOGLE_DCHECK_NE(&from, this);
11361
0
  const PgDropTableResponsePB* source =
11362
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgDropTableResponsePB>(
11363
0
          &from);
11364
0
  if (source == NULL) {
11365
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgDropTableResponsePB)
11366
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
11367
0
  } else {
11368
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgDropTableResponsePB)
11369
0
    MergeFrom(*source);
11370
0
  }
11371
0
}
11372
11373
0
void PgDropTableResponsePB::MergeFrom(const PgDropTableResponsePB& from) {
11374
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgDropTableResponsePB)
11375
0
  GOOGLE_DCHECK_NE(&from, this);
11376
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11377
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11378
0
  (void) cached_has_bits;
11379
11380
0
  if (from.has_status()) {
11381
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
11382
0
  }
11383
0
  if (from.has_indexed_table()) {
11384
0
    mutable_indexed_table()->::yb::master::TableIdentifierPB::MergeFrom(from.indexed_table());
11385
0
  }
11386
0
}
11387
11388
0
void PgDropTableResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
11389
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgDropTableResponsePB)
11390
0
  if (&from == this) return;
11391
0
  Clear();
11392
0
  MergeFrom(from);
11393
0
}
11394
11395
0
void PgDropTableResponsePB::CopyFrom(const PgDropTableResponsePB& from) {
11396
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgDropTableResponsePB)
11397
0
  if (&from == this) return;
11398
0
  Clear();
11399
0
  MergeFrom(from);
11400
0
}
11401
11402
8.29k
bool PgDropTableResponsePB::IsInitialized() const {
11403
8.29k
  if (has_status()) {
11404
13
    if (!this->status_->IsInitialized()) 
return false0
;
11405
13
  }
11406
8.29k
  return true;
11407
8.29k
}
11408
11409
0
void PgDropTableResponsePB::Swap(PgDropTableResponsePB* other) {
11410
0
  if (other == this) return;
11411
0
  InternalSwap(other);
11412
0
}
11413
0
void PgDropTableResponsePB::InternalSwap(PgDropTableResponsePB* other) {
11414
0
  using std::swap;
11415
0
  swap(status_, other->status_);
11416
0
  swap(indexed_table_, other->indexed_table_);
11417
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
11418
0
  swap(_cached_size_, other->_cached_size_);
11419
0
}
11420
11421
0
::google::protobuf::Metadata PgDropTableResponsePB::GetMetadata() const {
11422
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
11423
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
11424
0
}
11425
11426
11427
// ===================================================================
11428
11429
26.8k
void PgDropTablegroupRequestPB::InitAsDefaultInstance() {
11430
26.8k
  ::yb::tserver::_PgDropTablegroupRequestPB_default_instance_._instance.get_mutable()->tablegroup_id_ = const_cast< ::yb::tserver::PgObjectIdPB*>(
11431
26.8k
      ::yb::tserver::PgObjectIdPB::internal_default_instance());
11432
26.8k
}
11433
#if !defined(_MSC_VER) || _MSC_VER >= 1900
11434
const int PgDropTablegroupRequestPB::kSessionIdFieldNumber;
11435
const int PgDropTablegroupRequestPB::kTablegroupIdFieldNumber;
11436
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
11437
11438
PgDropTablegroupRequestPB::PgDropTablegroupRequestPB()
11439
26.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
11440
26.9k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
11441
78
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDropTablegroupRequestPB();
11442
78
  }
11443
26.9k
  SharedCtor();
11444
  // @@protoc_insertion_point(constructor:yb.tserver.PgDropTablegroupRequestPB)
11445
26.9k
}
11446
PgDropTablegroupRequestPB::PgDropTablegroupRequestPB(const PgDropTablegroupRequestPB& from)
11447
  : ::google::protobuf::Message(),
11448
      _internal_metadata_(NULL),
11449
0
      _cached_size_(0) {
11450
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11451
0
  if (from.has_tablegroup_id()) {
11452
0
    tablegroup_id_ = new ::yb::tserver::PgObjectIdPB(*from.tablegroup_id_);
11453
0
  } else {
11454
0
    tablegroup_id_ = NULL;
11455
0
  }
11456
0
  session_id_ = from.session_id_;
11457
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgDropTablegroupRequestPB)
11458
0
}
11459
11460
26.9k
void PgDropTablegroupRequestPB::SharedCtor() {
11461
26.9k
  ::memset(&tablegroup_id_, 0, static_cast<size_t>(
11462
26.9k
      reinterpret_cast<char*>(&session_id_) -
11463
26.9k
      reinterpret_cast<char*>(&tablegroup_id_)) + sizeof(session_id_));
11464
26.9k
  _cached_size_ = 0;
11465
26.9k
}
11466
11467
78
PgDropTablegroupRequestPB::~PgDropTablegroupRequestPB() {
11468
  // @@protoc_insertion_point(destructor:yb.tserver.PgDropTablegroupRequestPB)
11469
78
  SharedDtor();
11470
78
}
11471
11472
78
void PgDropTablegroupRequestPB::SharedDtor() {
11473
78
  if (this != internal_default_instance()) delete tablegroup_id_;
11474
78
}
11475
11476
0
void PgDropTablegroupRequestPB::SetCachedSize(int size) const {
11477
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11478
0
  _cached_size_ = size;
11479
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11480
0
}
11481
0
const ::google::protobuf::Descriptor* PgDropTablegroupRequestPB::descriptor() {
11482
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
11483
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
11484
0
}
11485
11486
0
const PgDropTablegroupRequestPB& PgDropTablegroupRequestPB::default_instance() {
11487
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDropTablegroupRequestPB();
11488
0
  return *internal_default_instance();
11489
0
}
11490
11491
0
PgDropTablegroupRequestPB* PgDropTablegroupRequestPB::New(::google::protobuf::Arena* arena) const {
11492
0
  PgDropTablegroupRequestPB* n = new PgDropTablegroupRequestPB;
11493
0
  if (arena != NULL) {
11494
0
    arena->Own(n);
11495
0
  }
11496
0
  return n;
11497
0
}
11498
11499
39
void PgDropTablegroupRequestPB::Clear() {
11500
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgDropTablegroupRequestPB)
11501
39
  ::google::protobuf::uint32 cached_has_bits = 0;
11502
  // Prevent compiler warnings about cached_has_bits being unused
11503
39
  (void) cached_has_bits;
11504
11505
39
  if (GetArenaNoVirtual() == NULL && tablegroup_id_ != NULL) {
11506
0
    delete tablegroup_id_;
11507
0
  }
11508
39
  tablegroup_id_ = NULL;
11509
39
  session_id_ = GOOGLE_ULONGLONG(0);
11510
39
  _internal_metadata_.Clear();
11511
39
}
11512
11513
bool PgDropTablegroupRequestPB::MergePartialFromCodedStream(
11514
39
    ::google::protobuf::io::CodedInputStream* input) {
11515
78
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
11516
39
  ::google::protobuf::uint32 tag;
11517
  // @@protoc_insertion_point(parse_start:yb.tserver.PgDropTablegroupRequestPB)
11518
117
  for (;;) {
11519
117
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
11520
117
    tag = p.first;
11521
117
    if (!p.second) 
goto handle_unusual39
;
11522
78
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
11523
      // uint64 session_id = 1;
11524
39
      case 1: {
11525
39
        if (static_cast< ::google::protobuf::uint8>(tag) ==
11526
39
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
11527
11528
39
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
11529
39
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
11530
39
                 input, &session_id_)));
11531
39
        } else {
11532
0
          goto handle_unusual;
11533
0
        }
11534
39
        break;
11535
39
      }
11536
11537
      // .yb.tserver.PgObjectIdPB tablegroup_id = 2;
11538
39
      case 2: {
11539
39
        if (static_cast< ::google::protobuf::uint8>(tag) ==
11540
39
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
11541
39
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
11542
39
               input, mutable_tablegroup_id()));
11543
39
        } else {
11544
0
          goto handle_unusual;
11545
0
        }
11546
39
        break;
11547
39
      }
11548
11549
39
      default: {
11550
39
      handle_unusual:
11551
39
        if (tag == 0) {
11552
39
          goto success;
11553
39
        }
11554
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
11555
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
11556
0
        break;
11557
0
      }
11558
78
    }
11559
78
  }
11560
39
success:
11561
  // @@protoc_insertion_point(parse_success:yb.tserver.PgDropTablegroupRequestPB)
11562
39
  return true;
11563
0
failure:
11564
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgDropTablegroupRequestPB)
11565
0
  return false;
11566
39
#undef DO_
11567
39
}
11568
11569
void PgDropTablegroupRequestPB::SerializeWithCachedSizes(
11570
0
    ::google::protobuf::io::CodedOutputStream* output) const {
11571
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgDropTablegroupRequestPB)
11572
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11573
0
  (void) cached_has_bits;
11574
11575
  // uint64 session_id = 1;
11576
0
  if (this->session_id() != 0) {
11577
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
11578
0
  }
11579
11580
  // .yb.tserver.PgObjectIdPB tablegroup_id = 2;
11581
0
  if (this->has_tablegroup_id()) {
11582
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
11583
0
      2, *this->tablegroup_id_, output);
11584
0
  }
11585
11586
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
11587
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
11588
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
11589
0
  }
11590
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgDropTablegroupRequestPB)
11591
0
}
11592
11593
::google::protobuf::uint8* PgDropTablegroupRequestPB::InternalSerializeWithCachedSizesToArray(
11594
39
    bool deterministic, ::google::protobuf::uint8* target) const {
11595
39
  (void)deterministic; // Unused
11596
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgDropTablegroupRequestPB)
11597
39
  ::google::protobuf::uint32 cached_has_bits = 0;
11598
39
  (void) cached_has_bits;
11599
11600
  // uint64 session_id = 1;
11601
39
  if (this->session_id() != 0) {
11602
39
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
11603
39
  }
11604
11605
  // .yb.tserver.PgObjectIdPB tablegroup_id = 2;
11606
39
  if (this->has_tablegroup_id()) {
11607
39
    target = ::google::protobuf::internal::WireFormatLite::
11608
39
      InternalWriteMessageToArray(
11609
39
        2, *this->tablegroup_id_, deterministic, target);
11610
39
  }
11611
11612
39
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
11613
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
11614
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
11615
0
  }
11616
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgDropTablegroupRequestPB)
11617
39
  return target;
11618
39
}
11619
11620
78
size_t PgDropTablegroupRequestPB::ByteSizeLong() const {
11621
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgDropTablegroupRequestPB)
11622
78
  size_t total_size = 0;
11623
11624
78
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
11625
0
    total_size +=
11626
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
11627
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
11628
0
  }
11629
  // .yb.tserver.PgObjectIdPB tablegroup_id = 2;
11630
78
  if (this->has_tablegroup_id()) {
11631
78
    total_size += 1 +
11632
78
      ::google::protobuf::internal::WireFormatLite::MessageSize(
11633
78
        *this->tablegroup_id_);
11634
78
  }
11635
11636
  // uint64 session_id = 1;
11637
78
  if (this->session_id() != 0) {
11638
78
    total_size += 1 +
11639
78
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
11640
78
        this->session_id());
11641
78
  }
11642
11643
78
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
11644
78
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11645
78
  _cached_size_ = cached_size;
11646
78
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11647
78
  return total_size;
11648
78
}
11649
11650
0
void PgDropTablegroupRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
11651
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgDropTablegroupRequestPB)
11652
0
  GOOGLE_DCHECK_NE(&from, this);
11653
0
  const PgDropTablegroupRequestPB* source =
11654
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgDropTablegroupRequestPB>(
11655
0
          &from);
11656
0
  if (source == NULL) {
11657
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgDropTablegroupRequestPB)
11658
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
11659
0
  } else {
11660
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgDropTablegroupRequestPB)
11661
0
    MergeFrom(*source);
11662
0
  }
11663
0
}
11664
11665
0
void PgDropTablegroupRequestPB::MergeFrom(const PgDropTablegroupRequestPB& from) {
11666
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgDropTablegroupRequestPB)
11667
0
  GOOGLE_DCHECK_NE(&from, this);
11668
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11669
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11670
0
  (void) cached_has_bits;
11671
11672
0
  if (from.has_tablegroup_id()) {
11673
0
    mutable_tablegroup_id()->::yb::tserver::PgObjectIdPB::MergeFrom(from.tablegroup_id());
11674
0
  }
11675
0
  if (from.session_id() != 0) {
11676
0
    set_session_id(from.session_id());
11677
0
  }
11678
0
}
11679
11680
0
void PgDropTablegroupRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
11681
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgDropTablegroupRequestPB)
11682
0
  if (&from == this) return;
11683
0
  Clear();
11684
0
  MergeFrom(from);
11685
0
}
11686
11687
0
void PgDropTablegroupRequestPB::CopyFrom(const PgDropTablegroupRequestPB& from) {
11688
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgDropTablegroupRequestPB)
11689
0
  if (&from == this) return;
11690
0
  Clear();
11691
0
  MergeFrom(from);
11692
0
}
11693
11694
78
bool PgDropTablegroupRequestPB::IsInitialized() const {
11695
78
  return true;
11696
78
}
11697
11698
0
void PgDropTablegroupRequestPB::Swap(PgDropTablegroupRequestPB* other) {
11699
0
  if (other == this) return;
11700
0
  InternalSwap(other);
11701
0
}
11702
0
void PgDropTablegroupRequestPB::InternalSwap(PgDropTablegroupRequestPB* other) {
11703
0
  using std::swap;
11704
0
  swap(tablegroup_id_, other->tablegroup_id_);
11705
0
  swap(session_id_, other->session_id_);
11706
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
11707
0
  swap(_cached_size_, other->_cached_size_);
11708
0
}
11709
11710
39
::google::protobuf::Metadata PgDropTablegroupRequestPB::GetMetadata() const {
11711
39
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
11712
39
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
11713
39
}
11714
11715
11716
// ===================================================================
11717
11718
26.8k
void PgDropTablegroupResponsePB::InitAsDefaultInstance() {
11719
26.8k
  ::yb::tserver::_PgDropTablegroupResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
11720
26.8k
      ::yb::AppStatusPB::internal_default_instance());
11721
26.8k
}
11722
0
void PgDropTablegroupResponsePB::clear_status() {
11723
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
11724
0
    delete status_;
11725
0
  }
11726
0
  status_ = NULL;
11727
0
}
11728
#if !defined(_MSC_VER) || _MSC_VER >= 1900
11729
const int PgDropTablegroupResponsePB::kStatusFieldNumber;
11730
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
11731
11732
PgDropTablegroupResponsePB::PgDropTablegroupResponsePB()
11733
26.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
11734
26.9k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
11735
78
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDropTablegroupResponsePB();
11736
78
  }
11737
26.9k
  SharedCtor();
11738
  // @@protoc_insertion_point(constructor:yb.tserver.PgDropTablegroupResponsePB)
11739
26.9k
}
11740
PgDropTablegroupResponsePB::PgDropTablegroupResponsePB(const PgDropTablegroupResponsePB& from)
11741
  : ::google::protobuf::Message(),
11742
      _internal_metadata_(NULL),
11743
0
      _cached_size_(0) {
11744
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11745
0
  if (from.has_status()) {
11746
0
    status_ = new ::yb::AppStatusPB(*from.status_);
11747
0
  } else {
11748
0
    status_ = NULL;
11749
0
  }
11750
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgDropTablegroupResponsePB)
11751
0
}
11752
11753
26.9k
void PgDropTablegroupResponsePB::SharedCtor() {
11754
26.9k
  status_ = NULL;
11755
26.9k
  _cached_size_ = 0;
11756
26.9k
}
11757
11758
78
PgDropTablegroupResponsePB::~PgDropTablegroupResponsePB() {
11759
  // @@protoc_insertion_point(destructor:yb.tserver.PgDropTablegroupResponsePB)
11760
78
  SharedDtor();
11761
78
}
11762
11763
78
void PgDropTablegroupResponsePB::SharedDtor() {
11764
78
  if (this != internal_default_instance()) delete status_;
11765
78
}
11766
11767
0
void PgDropTablegroupResponsePB::SetCachedSize(int size) const {
11768
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11769
0
  _cached_size_ = size;
11770
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11771
0
}
11772
0
const ::google::protobuf::Descriptor* PgDropTablegroupResponsePB::descriptor() {
11773
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
11774
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
11775
0
}
11776
11777
0
const PgDropTablegroupResponsePB& PgDropTablegroupResponsePB::default_instance() {
11778
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDropTablegroupResponsePB();
11779
0
  return *internal_default_instance();
11780
0
}
11781
11782
0
PgDropTablegroupResponsePB* PgDropTablegroupResponsePB::New(::google::protobuf::Arena* arena) const {
11783
0
  PgDropTablegroupResponsePB* n = new PgDropTablegroupResponsePB;
11784
0
  if (arena != NULL) {
11785
0
    arena->Own(n);
11786
0
  }
11787
0
  return n;
11788
0
}
11789
11790
39
void PgDropTablegroupResponsePB::Clear() {
11791
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgDropTablegroupResponsePB)
11792
39
  ::google::protobuf::uint32 cached_has_bits = 0;
11793
  // Prevent compiler warnings about cached_has_bits being unused
11794
39
  (void) cached_has_bits;
11795
11796
39
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
11797
0
    delete status_;
11798
0
  }
11799
39
  status_ = NULL;
11800
39
  _internal_metadata_.Clear();
11801
39
}
11802
11803
bool PgDropTablegroupResponsePB::MergePartialFromCodedStream(
11804
39
    ::google::protobuf::io::CodedInputStream* input) {
11805
39
#define DO_(EXPRESSION) 
if (0
!GOOGLE_PREDICT_TRUE0
(EXPRESSION))
goto failure0
11806
39
  ::google::protobuf::uint32 tag;
11807
  // @@protoc_insertion_point(parse_start:yb.tserver.PgDropTablegroupResponsePB)
11808
39
  for (;;) {
11809
39
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
11810
39
    tag = p.first;
11811
39
    if (!p.second) goto handle_unusual;
11812
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
11813
      // .yb.AppStatusPB status = 1;
11814
0
      case 1: {
11815
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
11816
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
11817
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
11818
0
               input, mutable_status()));
11819
0
        } else {
11820
0
          goto handle_unusual;
11821
0
        }
11822
0
        break;
11823
0
      }
11824
11825
0
      default: {
11826
39
      handle_unusual:
11827
39
        if (tag == 0) {
11828
39
          goto success;
11829
39
        }
11830
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
11831
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
11832
0
        break;
11833
0
      }
11834
0
    }
11835
0
  }
11836
39
success:
11837
  // @@protoc_insertion_point(parse_success:yb.tserver.PgDropTablegroupResponsePB)
11838
39
  return true;
11839
0
failure:
11840
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgDropTablegroupResponsePB)
11841
0
  return false;
11842
39
#undef DO_
11843
39
}
11844
11845
void PgDropTablegroupResponsePB::SerializeWithCachedSizes(
11846
0
    ::google::protobuf::io::CodedOutputStream* output) const {
11847
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgDropTablegroupResponsePB)
11848
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11849
0
  (void) cached_has_bits;
11850
11851
  // .yb.AppStatusPB status = 1;
11852
0
  if (this->has_status()) {
11853
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
11854
0
      1, *this->status_, output);
11855
0
  }
11856
11857
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
11858
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
11859
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
11860
0
  }
11861
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgDropTablegroupResponsePB)
11862
0
}
11863
11864
::google::protobuf::uint8* PgDropTablegroupResponsePB::InternalSerializeWithCachedSizesToArray(
11865
39
    bool deterministic, ::google::protobuf::uint8* target) const {
11866
39
  (void)deterministic; // Unused
11867
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgDropTablegroupResponsePB)
11868
39
  ::google::protobuf::uint32 cached_has_bits = 0;
11869
39
  (void) cached_has_bits;
11870
11871
  // .yb.AppStatusPB status = 1;
11872
39
  if (this->has_status()) {
11873
0
    target = ::google::protobuf::internal::WireFormatLite::
11874
0
      InternalWriteMessageToArray(
11875
0
        1, *this->status_, deterministic, target);
11876
0
  }
11877
11878
39
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
11879
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
11880
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
11881
0
  }
11882
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgDropTablegroupResponsePB)
11883
39
  return target;
11884
39
}
11885
11886
78
size_t PgDropTablegroupResponsePB::ByteSizeLong() const {
11887
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgDropTablegroupResponsePB)
11888
78
  size_t total_size = 0;
11889
11890
78
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
11891
0
    total_size +=
11892
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
11893
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
11894
0
  }
11895
  // .yb.AppStatusPB status = 1;
11896
78
  if (this->has_status()) {
11897
0
    total_size += 1 +
11898
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
11899
0
        *this->status_);
11900
0
  }
11901
11902
78
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
11903
78
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11904
78
  _cached_size_ = cached_size;
11905
78
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
11906
78
  return total_size;
11907
78
}
11908
11909
0
void PgDropTablegroupResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
11910
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgDropTablegroupResponsePB)
11911
0
  GOOGLE_DCHECK_NE(&from, this);
11912
0
  const PgDropTablegroupResponsePB* source =
11913
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgDropTablegroupResponsePB>(
11914
0
          &from);
11915
0
  if (source == NULL) {
11916
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgDropTablegroupResponsePB)
11917
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
11918
0
  } else {
11919
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgDropTablegroupResponsePB)
11920
0
    MergeFrom(*source);
11921
0
  }
11922
0
}
11923
11924
0
void PgDropTablegroupResponsePB::MergeFrom(const PgDropTablegroupResponsePB& from) {
11925
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgDropTablegroupResponsePB)
11926
0
  GOOGLE_DCHECK_NE(&from, this);
11927
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11928
0
  ::google::protobuf::uint32 cached_has_bits = 0;
11929
0
  (void) cached_has_bits;
11930
11931
0
  if (from.has_status()) {
11932
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
11933
0
  }
11934
0
}
11935
11936
0
void PgDropTablegroupResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
11937
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgDropTablegroupResponsePB)
11938
0
  if (&from == this) return;
11939
0
  Clear();
11940
0
  MergeFrom(from);
11941
0
}
11942
11943
0
void PgDropTablegroupResponsePB::CopyFrom(const PgDropTablegroupResponsePB& from) {
11944
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgDropTablegroupResponsePB)
11945
0
  if (&from == this) return;
11946
0
  Clear();
11947
0
  MergeFrom(from);
11948
0
}
11949
11950
78
bool PgDropTablegroupResponsePB::IsInitialized() const {
11951
78
  if (has_status()) {
11952
0
    if (!this->status_->IsInitialized()) return false;
11953
0
  }
11954
78
  return true;
11955
78
}
11956
11957
0
void PgDropTablegroupResponsePB::Swap(PgDropTablegroupResponsePB* other) {
11958
0
  if (other == this) return;
11959
0
  InternalSwap(other);
11960
0
}
11961
0
void PgDropTablegroupResponsePB::InternalSwap(PgDropTablegroupResponsePB* other) {
11962
0
  using std::swap;
11963
0
  swap(status_, other->status_);
11964
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
11965
0
  swap(_cached_size_, other->_cached_size_);
11966
0
}
11967
11968
0
::google::protobuf::Metadata PgDropTablegroupResponsePB::GetMetadata() const {
11969
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
11970
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
11971
0
}
11972
11973
11974
// ===================================================================
11975
11976
26.8k
void PgGetCatalogMasterVersionRequestPB::InitAsDefaultInstance() {
11977
26.8k
}
11978
#if !defined(_MSC_VER) || _MSC_VER >= 1900
11979
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
11980
11981
PgGetCatalogMasterVersionRequestPB::PgGetCatalogMasterVersionRequestPB()
11982
26.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
11983
26.9k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
11984
44
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgGetCatalogMasterVersionRequestPB();
11985
44
  }
11986
26.9k
  SharedCtor();
11987
  // @@protoc_insertion_point(constructor:yb.tserver.PgGetCatalogMasterVersionRequestPB)
11988
26.9k
}
11989
PgGetCatalogMasterVersionRequestPB::PgGetCatalogMasterVersionRequestPB(const PgGetCatalogMasterVersionRequestPB& from)
11990
  : ::google::protobuf::Message(),
11991
      _internal_metadata_(NULL),
11992
0
      _cached_size_(0) {
11993
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
11994
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgGetCatalogMasterVersionRequestPB)
11995
0
}
11996
11997
26.9k
void PgGetCatalogMasterVersionRequestPB::SharedCtor() {
11998
26.9k
  _cached_size_ = 0;
11999
26.9k
}
12000
12001
44
PgGetCatalogMasterVersionRequestPB::~PgGetCatalogMasterVersionRequestPB() {
12002
  // @@protoc_insertion_point(destructor:yb.tserver.PgGetCatalogMasterVersionRequestPB)
12003
44
  SharedDtor();
12004
44
}
12005
12006
44
void PgGetCatalogMasterVersionRequestPB::SharedDtor() {
12007
44
}
12008
12009
0
void PgGetCatalogMasterVersionRequestPB::SetCachedSize(int size) const {
12010
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12011
0
  _cached_size_ = size;
12012
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12013
0
}
12014
0
const ::google::protobuf::Descriptor* PgGetCatalogMasterVersionRequestPB::descriptor() {
12015
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
12016
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
12017
0
}
12018
12019
0
const PgGetCatalogMasterVersionRequestPB& PgGetCatalogMasterVersionRequestPB::default_instance() {
12020
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgGetCatalogMasterVersionRequestPB();
12021
0
  return *internal_default_instance();
12022
0
}
12023
12024
0
PgGetCatalogMasterVersionRequestPB* PgGetCatalogMasterVersionRequestPB::New(::google::protobuf::Arena* arena) const {
12025
0
  PgGetCatalogMasterVersionRequestPB* n = new PgGetCatalogMasterVersionRequestPB;
12026
0
  if (arena != NULL) {
12027
0
    arena->Own(n);
12028
0
  }
12029
0
  return n;
12030
0
}
12031
12032
22
void PgGetCatalogMasterVersionRequestPB::Clear() {
12033
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgGetCatalogMasterVersionRequestPB)
12034
22
  ::google::protobuf::uint32 cached_has_bits = 0;
12035
  // Prevent compiler warnings about cached_has_bits being unused
12036
22
  (void) cached_has_bits;
12037
12038
22
  _internal_metadata_.Clear();
12039
22
}
12040
12041
bool PgGetCatalogMasterVersionRequestPB::MergePartialFromCodedStream(
12042
22
    ::google::protobuf::io::CodedInputStream* input) {
12043
22
#define DO_(EXPRESSION) 
if (0
!GOOGLE_PREDICT_TRUE0
(EXPRESSION))
goto failure0
12044
22
  ::google::protobuf::uint32 tag;
12045
  // @@protoc_insertion_point(parse_start:yb.tserver.PgGetCatalogMasterVersionRequestPB)
12046
22
  for (;;) {
12047
22
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
12048
22
    tag = p.first;
12049
22
    if (!p.second) goto handle_unusual;
12050
22
  handle_unusual:
12051
22
    if (tag == 0) {
12052
22
      goto success;
12053
22
    }
12054
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
12055
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
12056
0
  }
12057
22
success:
12058
  // @@protoc_insertion_point(parse_success:yb.tserver.PgGetCatalogMasterVersionRequestPB)
12059
22
  return true;
12060
0
failure:
12061
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgGetCatalogMasterVersionRequestPB)
12062
0
  return false;
12063
22
#undef DO_
12064
22
}
12065
12066
void PgGetCatalogMasterVersionRequestPB::SerializeWithCachedSizes(
12067
0
    ::google::protobuf::io::CodedOutputStream* output) const {
12068
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgGetCatalogMasterVersionRequestPB)
12069
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12070
0
  (void) cached_has_bits;
12071
12072
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
12073
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
12074
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
12075
0
  }
12076
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgGetCatalogMasterVersionRequestPB)
12077
0
}
12078
12079
::google::protobuf::uint8* PgGetCatalogMasterVersionRequestPB::InternalSerializeWithCachedSizesToArray(
12080
22
    bool deterministic, ::google::protobuf::uint8* target) const {
12081
22
  (void)deterministic; // Unused
12082
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgGetCatalogMasterVersionRequestPB)
12083
22
  ::google::protobuf::uint32 cached_has_bits = 0;
12084
22
  (void) cached_has_bits;
12085
12086
22
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
12087
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
12088
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
12089
0
  }
12090
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgGetCatalogMasterVersionRequestPB)
12091
22
  return target;
12092
22
}
12093
12094
44
size_t PgGetCatalogMasterVersionRequestPB::ByteSizeLong() const {
12095
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgGetCatalogMasterVersionRequestPB)
12096
44
  size_t total_size = 0;
12097
12098
44
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
12099
0
    total_size +=
12100
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
12101
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
12102
0
  }
12103
44
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
12104
44
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12105
44
  _cached_size_ = cached_size;
12106
44
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12107
44
  return total_size;
12108
44
}
12109
12110
0
void PgGetCatalogMasterVersionRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
12111
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgGetCatalogMasterVersionRequestPB)
12112
0
  GOOGLE_DCHECK_NE(&from, this);
12113
0
  const PgGetCatalogMasterVersionRequestPB* source =
12114
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgGetCatalogMasterVersionRequestPB>(
12115
0
          &from);
12116
0
  if (source == NULL) {
12117
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgGetCatalogMasterVersionRequestPB)
12118
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
12119
0
  } else {
12120
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgGetCatalogMasterVersionRequestPB)
12121
0
    MergeFrom(*source);
12122
0
  }
12123
0
}
12124
12125
0
void PgGetCatalogMasterVersionRequestPB::MergeFrom(const PgGetCatalogMasterVersionRequestPB& from) {
12126
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgGetCatalogMasterVersionRequestPB)
12127
0
  GOOGLE_DCHECK_NE(&from, this);
12128
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12129
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12130
0
  (void) cached_has_bits;
12131
12132
0
}
12133
12134
0
void PgGetCatalogMasterVersionRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
12135
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgGetCatalogMasterVersionRequestPB)
12136
0
  if (&from == this) return;
12137
0
  Clear();
12138
0
  MergeFrom(from);
12139
0
}
12140
12141
0
void PgGetCatalogMasterVersionRequestPB::CopyFrom(const PgGetCatalogMasterVersionRequestPB& from) {
12142
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgGetCatalogMasterVersionRequestPB)
12143
0
  if (&from == this) return;
12144
0
  Clear();
12145
0
  MergeFrom(from);
12146
0
}
12147
12148
44
bool PgGetCatalogMasterVersionRequestPB::IsInitialized() const {
12149
44
  return true;
12150
44
}
12151
12152
0
void PgGetCatalogMasterVersionRequestPB::Swap(PgGetCatalogMasterVersionRequestPB* other) {
12153
0
  if (other == this) return;
12154
0
  InternalSwap(other);
12155
0
}
12156
0
void PgGetCatalogMasterVersionRequestPB::InternalSwap(PgGetCatalogMasterVersionRequestPB* other) {
12157
0
  using std::swap;
12158
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
12159
0
  swap(_cached_size_, other->_cached_size_);
12160
0
}
12161
12162
22
::google::protobuf::Metadata PgGetCatalogMasterVersionRequestPB::GetMetadata() const {
12163
22
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
12164
22
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
12165
22
}
12166
12167
12168
// ===================================================================
12169
12170
26.8k
void PgFinishTransactionRequestPB::InitAsDefaultInstance() {
12171
26.8k
}
12172
#if !defined(_MSC_VER) || _MSC_VER >= 1900
12173
const int PgFinishTransactionRequestPB::kSessionIdFieldNumber;
12174
const int PgFinishTransactionRequestPB::kCommitFieldNumber;
12175
const int PgFinishTransactionRequestPB::kDdlModeFieldNumber;
12176
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
12177
12178
PgFinishTransactionRequestPB::PgFinishTransactionRequestPB()
12179
463k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
12180
463k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
12181
436k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgFinishTransactionRequestPB();
12182
436k
  }
12183
463k
  SharedCtor();
12184
  // @@protoc_insertion_point(constructor:yb.tserver.PgFinishTransactionRequestPB)
12185
463k
}
12186
PgFinishTransactionRequestPB::PgFinishTransactionRequestPB(const PgFinishTransactionRequestPB& from)
12187
  : ::google::protobuf::Message(),
12188
      _internal_metadata_(NULL),
12189
0
      _cached_size_(0) {
12190
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12191
0
  ::memcpy(&session_id_, &from.session_id_,
12192
0
    static_cast<size_t>(reinterpret_cast<char*>(&ddl_mode_) -
12193
0
    reinterpret_cast<char*>(&session_id_)) + sizeof(ddl_mode_));
12194
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgFinishTransactionRequestPB)
12195
0
}
12196
12197
463k
void PgFinishTransactionRequestPB::SharedCtor() {
12198
463k
  ::memset(&session_id_, 0, static_cast<size_t>(
12199
463k
      reinterpret_cast<char*>(&ddl_mode_) -
12200
463k
      reinterpret_cast<char*>(&session_id_)) + sizeof(ddl_mode_));
12201
463k
  _cached_size_ = 0;
12202
463k
}
12203
12204
437k
PgFinishTransactionRequestPB::~PgFinishTransactionRequestPB() {
12205
  // @@protoc_insertion_point(destructor:yb.tserver.PgFinishTransactionRequestPB)
12206
437k
  SharedDtor();
12207
437k
}
12208
12209
437k
void PgFinishTransactionRequestPB::SharedDtor() {
12210
437k
}
12211
12212
0
void PgFinishTransactionRequestPB::SetCachedSize(int size) const {
12213
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12214
0
  _cached_size_ = size;
12215
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12216
0
}
12217
0
const ::google::protobuf::Descriptor* PgFinishTransactionRequestPB::descriptor() {
12218
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
12219
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
12220
0
}
12221
12222
0
const PgFinishTransactionRequestPB& PgFinishTransactionRequestPB::default_instance() {
12223
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgFinishTransactionRequestPB();
12224
0
  return *internal_default_instance();
12225
0
}
12226
12227
0
PgFinishTransactionRequestPB* PgFinishTransactionRequestPB::New(::google::protobuf::Arena* arena) const {
12228
0
  PgFinishTransactionRequestPB* n = new PgFinishTransactionRequestPB;
12229
0
  if (arena != NULL) {
12230
0
    arena->Own(n);
12231
0
  }
12232
0
  return n;
12233
0
}
12234
12235
218k
void PgFinishTransactionRequestPB::Clear() {
12236
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgFinishTransactionRequestPB)
12237
218k
  ::google::protobuf::uint32 cached_has_bits = 0;
12238
  // Prevent compiler warnings about cached_has_bits being unused
12239
218k
  (void) cached_has_bits;
12240
12241
218k
  ::memset(&session_id_, 0, static_cast<size_t>(
12242
218k
      reinterpret_cast<char*>(&ddl_mode_) -
12243
218k
      reinterpret_cast<char*>(&session_id_)) + sizeof(ddl_mode_));
12244
218k
  _internal_metadata_.Clear();
12245
218k
}
12246
12247
bool PgFinishTransactionRequestPB::MergePartialFromCodedStream(
12248
218k
    ::google::protobuf::io::CodedInputStream* input) {
12249
431k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
12250
218k
  ::google::protobuf::uint32 tag;
12251
  // @@protoc_insertion_point(parse_start:yb.tserver.PgFinishTransactionRequestPB)
12252
650k
  for (;;) {
12253
650k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
12254
650k
    tag = p.first;
12255
650k
    if (!p.second) 
goto handle_unusual218k
;
12256
431k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
12257
      // uint64 session_id = 1;
12258
218k
      case 1: {
12259
218k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12260
218k
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
12261
12262
218k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
12263
218k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
12264
218k
                 input, &session_id_)));
12265
18.4E
        } else {
12266
18.4E
          goto handle_unusual;
12267
18.4E
        }
12268
218k
        break;
12269
218k
      }
12270
12271
      // bool commit = 2;
12272
218k
      case 2: {
12273
192k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12274
192k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
12275
12276
192k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
12277
192k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
12278
192k
                 input, &commit_)));
12279
18.4E
        } else {
12280
18.4E
          goto handle_unusual;
12281
18.4E
        }
12282
192k
        break;
12283
192k
      }
12284
12285
      // bool ddl_mode = 3;
12286
192k
      case 3: {
12287
20.3k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12288
20.3k
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
12289
12290
20.3k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
12291
20.3k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
12292
20.3k
                 input, &ddl_mode_)));
12293
20.3k
        } else {
12294
0
          goto handle_unusual;
12295
0
        }
12296
20.3k
        break;
12297
20.3k
      }
12298
12299
20.3k
      default: {
12300
218k
      handle_unusual:
12301
218k
        if (
tag == 0218k
) {
12302
218k
          goto success;
12303
218k
        }
12304
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
12305
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
12306
18.4E
        break;
12307
18.4E
      }
12308
431k
    }
12309
431k
  }
12310
18.4E
success:
12311
  // @@protoc_insertion_point(parse_success:yb.tserver.PgFinishTransactionRequestPB)
12312
218k
  return true;
12313
0
failure:
12314
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgFinishTransactionRequestPB)
12315
0
  return false;
12316
218k
#undef DO_
12317
218k
}
12318
12319
void PgFinishTransactionRequestPB::SerializeWithCachedSizes(
12320
0
    ::google::protobuf::io::CodedOutputStream* output) const {
12321
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgFinishTransactionRequestPB)
12322
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12323
0
  (void) cached_has_bits;
12324
12325
  // uint64 session_id = 1;
12326
0
  if (this->session_id() != 0) {
12327
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
12328
0
  }
12329
12330
  // bool commit = 2;
12331
0
  if (this->commit() != 0) {
12332
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->commit(), output);
12333
0
  }
12334
12335
  // bool ddl_mode = 3;
12336
0
  if (this->ddl_mode() != 0) {
12337
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->ddl_mode(), output);
12338
0
  }
12339
12340
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
12341
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
12342
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
12343
0
  }
12344
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgFinishTransactionRequestPB)
12345
0
}
12346
12347
::google::protobuf::uint8* PgFinishTransactionRequestPB::InternalSerializeWithCachedSizesToArray(
12348
218k
    bool deterministic, ::google::protobuf::uint8* target) const {
12349
218k
  (void)deterministic; // Unused
12350
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgFinishTransactionRequestPB)
12351
218k
  ::google::protobuf::uint32 cached_has_bits = 0;
12352
218k
  (void) cached_has_bits;
12353
12354
  // uint64 session_id = 1;
12355
218k
  if (this->session_id() != 0) {
12356
218k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
12357
218k
  }
12358
12359
  // bool commit = 2;
12360
218k
  if (this->commit() != 0) {
12361
192k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->commit(), target);
12362
192k
  }
12363
12364
  // bool ddl_mode = 3;
12365
218k
  if (this->ddl_mode() != 0) {
12366
20.3k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->ddl_mode(), target);
12367
20.3k
  }
12368
12369
218k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
12370
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
12371
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
12372
0
  }
12373
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgFinishTransactionRequestPB)
12374
218k
  return target;
12375
218k
}
12376
12377
436k
size_t PgFinishTransactionRequestPB::ByteSizeLong() const {
12378
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgFinishTransactionRequestPB)
12379
436k
  size_t total_size = 0;
12380
12381
436k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
12382
0
    total_size +=
12383
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
12384
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
12385
0
  }
12386
  // uint64 session_id = 1;
12387
436k
  if (this->session_id() != 0) {
12388
436k
    total_size += 1 +
12389
436k
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
12390
436k
        this->session_id());
12391
436k
  }
12392
12393
  // bool commit = 2;
12394
436k
  if (this->commit() != 0) {
12395
385k
    total_size += 1 + 1;
12396
385k
  }
12397
12398
  // bool ddl_mode = 3;
12399
436k
  if (this->ddl_mode() != 0) {
12400
40.7k
    total_size += 1 + 1;
12401
40.7k
  }
12402
12403
436k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
12404
436k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12405
436k
  _cached_size_ = cached_size;
12406
436k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12407
436k
  return total_size;
12408
436k
}
12409
12410
0
void PgFinishTransactionRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
12411
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgFinishTransactionRequestPB)
12412
0
  GOOGLE_DCHECK_NE(&from, this);
12413
0
  const PgFinishTransactionRequestPB* source =
12414
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgFinishTransactionRequestPB>(
12415
0
          &from);
12416
0
  if (source == NULL) {
12417
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgFinishTransactionRequestPB)
12418
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
12419
0
  } else {
12420
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgFinishTransactionRequestPB)
12421
0
    MergeFrom(*source);
12422
0
  }
12423
0
}
12424
12425
0
void PgFinishTransactionRequestPB::MergeFrom(const PgFinishTransactionRequestPB& from) {
12426
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgFinishTransactionRequestPB)
12427
0
  GOOGLE_DCHECK_NE(&from, this);
12428
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12429
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12430
0
  (void) cached_has_bits;
12431
12432
0
  if (from.session_id() != 0) {
12433
0
    set_session_id(from.session_id());
12434
0
  }
12435
0
  if (from.commit() != 0) {
12436
0
    set_commit(from.commit());
12437
0
  }
12438
0
  if (from.ddl_mode() != 0) {
12439
0
    set_ddl_mode(from.ddl_mode());
12440
0
  }
12441
0
}
12442
12443
0
void PgFinishTransactionRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
12444
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgFinishTransactionRequestPB)
12445
0
  if (&from == this) return;
12446
0
  Clear();
12447
0
  MergeFrom(from);
12448
0
}
12449
12450
0
void PgFinishTransactionRequestPB::CopyFrom(const PgFinishTransactionRequestPB& from) {
12451
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgFinishTransactionRequestPB)
12452
0
  if (&from == this) return;
12453
0
  Clear();
12454
0
  MergeFrom(from);
12455
0
}
12456
12457
436k
bool PgFinishTransactionRequestPB::IsInitialized() const {
12458
436k
  return true;
12459
436k
}
12460
12461
0
void PgFinishTransactionRequestPB::Swap(PgFinishTransactionRequestPB* other) {
12462
0
  if (other == this) return;
12463
0
  InternalSwap(other);
12464
0
}
12465
0
void PgFinishTransactionRequestPB::InternalSwap(PgFinishTransactionRequestPB* other) {
12466
0
  using std::swap;
12467
0
  swap(session_id_, other->session_id_);
12468
0
  swap(commit_, other->commit_);
12469
0
  swap(ddl_mode_, other->ddl_mode_);
12470
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
12471
0
  swap(_cached_size_, other->_cached_size_);
12472
0
}
12473
12474
218k
::google::protobuf::Metadata PgFinishTransactionRequestPB::GetMetadata() const {
12475
218k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
12476
218k
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
12477
218k
}
12478
12479
12480
// ===================================================================
12481
12482
26.8k
void PgFinishTransactionResponsePB::InitAsDefaultInstance() {
12483
26.8k
  ::yb::tserver::_PgFinishTransactionResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
12484
26.8k
      ::yb::AppStatusPB::internal_default_instance());
12485
26.8k
}
12486
0
void PgFinishTransactionResponsePB::clear_status() {
12487
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
12488
0
    delete status_;
12489
0
  }
12490
0
  status_ = NULL;
12491
0
}
12492
#if !defined(_MSC_VER) || _MSC_VER >= 1900
12493
const int PgFinishTransactionResponsePB::kStatusFieldNumber;
12494
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
12495
12496
PgFinishTransactionResponsePB::PgFinishTransactionResponsePB()
12497
463k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
12498
463k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
12499
436k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgFinishTransactionResponsePB();
12500
436k
  }
12501
463k
  SharedCtor();
12502
  // @@protoc_insertion_point(constructor:yb.tserver.PgFinishTransactionResponsePB)
12503
463k
}
12504
PgFinishTransactionResponsePB::PgFinishTransactionResponsePB(const PgFinishTransactionResponsePB& from)
12505
  : ::google::protobuf::Message(),
12506
      _internal_metadata_(NULL),
12507
0
      _cached_size_(0) {
12508
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12509
0
  if (from.has_status()) {
12510
0
    status_ = new ::yb::AppStatusPB(*from.status_);
12511
0
  } else {
12512
0
    status_ = NULL;
12513
0
  }
12514
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgFinishTransactionResponsePB)
12515
0
}
12516
12517
463k
void PgFinishTransactionResponsePB::SharedCtor() {
12518
463k
  status_ = NULL;
12519
463k
  _cached_size_ = 0;
12520
463k
}
12521
12522
437k
PgFinishTransactionResponsePB::~PgFinishTransactionResponsePB() {
12523
  // @@protoc_insertion_point(destructor:yb.tserver.PgFinishTransactionResponsePB)
12524
437k
  SharedDtor();
12525
437k
}
12526
12527
437k
void PgFinishTransactionResponsePB::SharedDtor() {
12528
437k
  if (this != internal_default_instance()) 
delete status_436k
;
12529
437k
}
12530
12531
0
void PgFinishTransactionResponsePB::SetCachedSize(int size) const {
12532
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12533
0
  _cached_size_ = size;
12534
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12535
0
}
12536
0
const ::google::protobuf::Descriptor* PgFinishTransactionResponsePB::descriptor() {
12537
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
12538
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
12539
0
}
12540
12541
0
const PgFinishTransactionResponsePB& PgFinishTransactionResponsePB::default_instance() {
12542
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgFinishTransactionResponsePB();
12543
0
  return *internal_default_instance();
12544
0
}
12545
12546
0
PgFinishTransactionResponsePB* PgFinishTransactionResponsePB::New(::google::protobuf::Arena* arena) const {
12547
0
  PgFinishTransactionResponsePB* n = new PgFinishTransactionResponsePB;
12548
0
  if (arena != NULL) {
12549
0
    arena->Own(n);
12550
0
  }
12551
0
  return n;
12552
0
}
12553
12554
218k
void PgFinishTransactionResponsePB::Clear() {
12555
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgFinishTransactionResponsePB)
12556
218k
  ::google::protobuf::uint32 cached_has_bits = 0;
12557
  // Prevent compiler warnings about cached_has_bits being unused
12558
218k
  (void) cached_has_bits;
12559
12560
218k
  if (GetArenaNoVirtual() == NULL && 
status_ != NULL218k
) {
12561
0
    delete status_;
12562
0
  }
12563
218k
  status_ = NULL;
12564
218k
  _internal_metadata_.Clear();
12565
218k
}
12566
12567
bool PgFinishTransactionResponsePB::MergePartialFromCodedStream(
12568
218k
    ::google::protobuf::io::CodedInputStream* input) {
12569
218k
#define DO_(EXPRESSION) 
if (16.0k
!GOOGLE_PREDICT_TRUE16.0k
(EXPRESSION))
goto failure0
12570
218k
  ::google::protobuf::uint32 tag;
12571
  // @@protoc_insertion_point(parse_start:yb.tserver.PgFinishTransactionResponsePB)
12572
234k
  for (;;) {
12573
234k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
12574
234k
    tag = p.first;
12575
234k
    if (!p.second) 
goto handle_unusual218k
;
12576
16.1k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
12577
      // .yb.AppStatusPB status = 1;
12578
16.0k
      case 1: {
12579
16.0k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12580
16.0k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
12581
16.0k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
12582
16.0k
               input, mutable_status()));
12583
16.0k
        } else {
12584
0
          goto handle_unusual;
12585
0
        }
12586
16.0k
        break;
12587
16.0k
      }
12588
12589
16.0k
      default: {
12590
218k
      handle_unusual:
12591
218k
        if (
tag == 0218k
) {
12592
218k
          goto success;
12593
218k
        }
12594
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
12595
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
12596
18.4E
        break;
12597
18.4E
      }
12598
16.1k
    }
12599
16.1k
  }
12600
18.4E
success:
12601
  // @@protoc_insertion_point(parse_success:yb.tserver.PgFinishTransactionResponsePB)
12602
218k
  return true;
12603
0
failure:
12604
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgFinishTransactionResponsePB)
12605
0
  return false;
12606
218k
#undef DO_
12607
218k
}
12608
12609
void PgFinishTransactionResponsePB::SerializeWithCachedSizes(
12610
0
    ::google::protobuf::io::CodedOutputStream* output) const {
12611
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgFinishTransactionResponsePB)
12612
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12613
0
  (void) cached_has_bits;
12614
12615
  // .yb.AppStatusPB status = 1;
12616
0
  if (this->has_status()) {
12617
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
12618
0
      1, *this->status_, output);
12619
0
  }
12620
12621
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
12622
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
12623
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
12624
0
  }
12625
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgFinishTransactionResponsePB)
12626
0
}
12627
12628
::google::protobuf::uint8* PgFinishTransactionResponsePB::InternalSerializeWithCachedSizesToArray(
12629
218k
    bool deterministic, ::google::protobuf::uint8* target) const {
12630
218k
  (void)deterministic; // Unused
12631
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgFinishTransactionResponsePB)
12632
218k
  ::google::protobuf::uint32 cached_has_bits = 0;
12633
218k
  (void) cached_has_bits;
12634
12635
  // .yb.AppStatusPB status = 1;
12636
218k
  if (this->has_status()) {
12637
16.0k
    target = ::google::protobuf::internal::WireFormatLite::
12638
16.0k
      InternalWriteMessageToArray(
12639
16.0k
        1, *this->status_, deterministic, target);
12640
16.0k
  }
12641
12642
218k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
12643
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
12644
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
12645
0
  }
12646
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgFinishTransactionResponsePB)
12647
218k
  return target;
12648
218k
}
12649
12650
437k
size_t PgFinishTransactionResponsePB::ByteSizeLong() const {
12651
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgFinishTransactionResponsePB)
12652
437k
  size_t total_size = 0;
12653
12654
437k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
12655
0
    total_size +=
12656
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
12657
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
12658
0
  }
12659
  // .yb.AppStatusPB status = 1;
12660
437k
  if (this->has_status()) {
12661
32.1k
    total_size += 1 +
12662
32.1k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
12663
32.1k
        *this->status_);
12664
32.1k
  }
12665
12666
437k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
12667
437k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12668
437k
  _cached_size_ = cached_size;
12669
437k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12670
437k
  return total_size;
12671
437k
}
12672
12673
0
void PgFinishTransactionResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
12674
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgFinishTransactionResponsePB)
12675
0
  GOOGLE_DCHECK_NE(&from, this);
12676
0
  const PgFinishTransactionResponsePB* source =
12677
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgFinishTransactionResponsePB>(
12678
0
          &from);
12679
0
  if (source == NULL) {
12680
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgFinishTransactionResponsePB)
12681
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
12682
0
  } else {
12683
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgFinishTransactionResponsePB)
12684
0
    MergeFrom(*source);
12685
0
  }
12686
0
}
12687
12688
0
void PgFinishTransactionResponsePB::MergeFrom(const PgFinishTransactionResponsePB& from) {
12689
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgFinishTransactionResponsePB)
12690
0
  GOOGLE_DCHECK_NE(&from, this);
12691
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12692
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12693
0
  (void) cached_has_bits;
12694
12695
0
  if (from.has_status()) {
12696
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
12697
0
  }
12698
0
}
12699
12700
0
void PgFinishTransactionResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
12701
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgFinishTransactionResponsePB)
12702
0
  if (&from == this) return;
12703
0
  Clear();
12704
0
  MergeFrom(from);
12705
0
}
12706
12707
0
void PgFinishTransactionResponsePB::CopyFrom(const PgFinishTransactionResponsePB& from) {
12708
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgFinishTransactionResponsePB)
12709
0
  if (&from == this) return;
12710
0
  Clear();
12711
0
  MergeFrom(from);
12712
0
}
12713
12714
437k
bool PgFinishTransactionResponsePB::IsInitialized() const {
12715
437k
  if (has_status()) {
12716
32.1k
    if (!this->status_->IsInitialized()) 
return false0
;
12717
32.1k
  }
12718
437k
  return true;
12719
437k
}
12720
12721
0
void PgFinishTransactionResponsePB::Swap(PgFinishTransactionResponsePB* other) {
12722
0
  if (other == this) return;
12723
0
  InternalSwap(other);
12724
0
}
12725
0
void PgFinishTransactionResponsePB::InternalSwap(PgFinishTransactionResponsePB* other) {
12726
0
  using std::swap;
12727
0
  swap(status_, other->status_);
12728
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
12729
0
  swap(_cached_size_, other->_cached_size_);
12730
0
}
12731
12732
0
::google::protobuf::Metadata PgFinishTransactionResponsePB::GetMetadata() const {
12733
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
12734
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
12735
0
}
12736
12737
12738
// ===================================================================
12739
12740
26.8k
void PgGetCatalogMasterVersionResponsePB::InitAsDefaultInstance() {
12741
26.8k
  ::yb::tserver::_PgGetCatalogMasterVersionResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
12742
26.8k
      ::yb::AppStatusPB::internal_default_instance());
12743
26.8k
}
12744
0
void PgGetCatalogMasterVersionResponsePB::clear_status() {
12745
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
12746
0
    delete status_;
12747
0
  }
12748
0
  status_ = NULL;
12749
0
}
12750
#if !defined(_MSC_VER) || _MSC_VER >= 1900
12751
const int PgGetCatalogMasterVersionResponsePB::kStatusFieldNumber;
12752
const int PgGetCatalogMasterVersionResponsePB::kVersionFieldNumber;
12753
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
12754
12755
PgGetCatalogMasterVersionResponsePB::PgGetCatalogMasterVersionResponsePB()
12756
26.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
12757
26.9k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
12758
44
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgGetCatalogMasterVersionResponsePB();
12759
44
  }
12760
26.9k
  SharedCtor();
12761
  // @@protoc_insertion_point(constructor:yb.tserver.PgGetCatalogMasterVersionResponsePB)
12762
26.9k
}
12763
PgGetCatalogMasterVersionResponsePB::PgGetCatalogMasterVersionResponsePB(const PgGetCatalogMasterVersionResponsePB& from)
12764
  : ::google::protobuf::Message(),
12765
      _internal_metadata_(NULL),
12766
0
      _cached_size_(0) {
12767
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12768
0
  if (from.has_status()) {
12769
0
    status_ = new ::yb::AppStatusPB(*from.status_);
12770
0
  } else {
12771
0
    status_ = NULL;
12772
0
  }
12773
0
  version_ = from.version_;
12774
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgGetCatalogMasterVersionResponsePB)
12775
0
}
12776
12777
26.9k
void PgGetCatalogMasterVersionResponsePB::SharedCtor() {
12778
26.9k
  ::memset(&status_, 0, static_cast<size_t>(
12779
26.9k
      reinterpret_cast<char*>(&version_) -
12780
26.9k
      reinterpret_cast<char*>(&status_)) + sizeof(version_));
12781
26.9k
  _cached_size_ = 0;
12782
26.9k
}
12783
12784
44
PgGetCatalogMasterVersionResponsePB::~PgGetCatalogMasterVersionResponsePB() {
12785
  // @@protoc_insertion_point(destructor:yb.tserver.PgGetCatalogMasterVersionResponsePB)
12786
44
  SharedDtor();
12787
44
}
12788
12789
44
void PgGetCatalogMasterVersionResponsePB::SharedDtor() {
12790
44
  if (this != internal_default_instance()) delete status_;
12791
44
}
12792
12793
0
void PgGetCatalogMasterVersionResponsePB::SetCachedSize(int size) const {
12794
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12795
0
  _cached_size_ = size;
12796
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12797
0
}
12798
0
const ::google::protobuf::Descriptor* PgGetCatalogMasterVersionResponsePB::descriptor() {
12799
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
12800
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
12801
0
}
12802
12803
0
const PgGetCatalogMasterVersionResponsePB& PgGetCatalogMasterVersionResponsePB::default_instance() {
12804
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgGetCatalogMasterVersionResponsePB();
12805
0
  return *internal_default_instance();
12806
0
}
12807
12808
0
PgGetCatalogMasterVersionResponsePB* PgGetCatalogMasterVersionResponsePB::New(::google::protobuf::Arena* arena) const {
12809
0
  PgGetCatalogMasterVersionResponsePB* n = new PgGetCatalogMasterVersionResponsePB;
12810
0
  if (arena != NULL) {
12811
0
    arena->Own(n);
12812
0
  }
12813
0
  return n;
12814
0
}
12815
12816
22
void PgGetCatalogMasterVersionResponsePB::Clear() {
12817
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgGetCatalogMasterVersionResponsePB)
12818
22
  ::google::protobuf::uint32 cached_has_bits = 0;
12819
  // Prevent compiler warnings about cached_has_bits being unused
12820
22
  (void) cached_has_bits;
12821
12822
22
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
12823
0
    delete status_;
12824
0
  }
12825
22
  status_ = NULL;
12826
22
  version_ = GOOGLE_ULONGLONG(0);
12827
22
  _internal_metadata_.Clear();
12828
22
}
12829
12830
bool PgGetCatalogMasterVersionResponsePB::MergePartialFromCodedStream(
12831
22
    ::google::protobuf::io::CodedInputStream* input) {
12832
22
#define DO_(EXPRESSION) 
if (2
!GOOGLE_PREDICT_TRUE2
(EXPRESSION))
goto failure0
12833
22
  ::google::protobuf::uint32 tag;
12834
  // @@protoc_insertion_point(parse_start:yb.tserver.PgGetCatalogMasterVersionResponsePB)
12835
24
  for (;;) {
12836
24
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
12837
24
    tag = p.first;
12838
24
    if (!p.second) 
goto handle_unusual22
;
12839
2
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
12840
      // .yb.AppStatusPB status = 1;
12841
0
      case 1: {
12842
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12843
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
12844
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
12845
0
               input, mutable_status()));
12846
0
        } else {
12847
0
          goto handle_unusual;
12848
0
        }
12849
0
        break;
12850
0
      }
12851
12852
      // uint64 version = 2;
12853
2
      case 2: {
12854
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
12855
2
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
12856
12857
2
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
12858
2
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
12859
2
                 input, &version_)));
12860
2
        } else {
12861
0
          goto handle_unusual;
12862
0
        }
12863
2
        break;
12864
2
      }
12865
12866
2
      default: {
12867
22
      handle_unusual:
12868
22
        if (tag == 0) {
12869
22
          goto success;
12870
22
        }
12871
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
12872
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
12873
0
        break;
12874
0
      }
12875
2
    }
12876
2
  }
12877
22
success:
12878
  // @@protoc_insertion_point(parse_success:yb.tserver.PgGetCatalogMasterVersionResponsePB)
12879
22
  return true;
12880
0
failure:
12881
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgGetCatalogMasterVersionResponsePB)
12882
0
  return false;
12883
22
#undef DO_
12884
22
}
12885
12886
void PgGetCatalogMasterVersionResponsePB::SerializeWithCachedSizes(
12887
0
    ::google::protobuf::io::CodedOutputStream* output) const {
12888
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgGetCatalogMasterVersionResponsePB)
12889
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12890
0
  (void) cached_has_bits;
12891
12892
  // .yb.AppStatusPB status = 1;
12893
0
  if (this->has_status()) {
12894
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
12895
0
      1, *this->status_, output);
12896
0
  }
12897
12898
  // uint64 version = 2;
12899
0
  if (this->version() != 0) {
12900
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->version(), output);
12901
0
  }
12902
12903
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
12904
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
12905
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
12906
0
  }
12907
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgGetCatalogMasterVersionResponsePB)
12908
0
}
12909
12910
::google::protobuf::uint8* PgGetCatalogMasterVersionResponsePB::InternalSerializeWithCachedSizesToArray(
12911
22
    bool deterministic, ::google::protobuf::uint8* target) const {
12912
22
  (void)deterministic; // Unused
12913
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgGetCatalogMasterVersionResponsePB)
12914
22
  ::google::protobuf::uint32 cached_has_bits = 0;
12915
22
  (void) cached_has_bits;
12916
12917
  // .yb.AppStatusPB status = 1;
12918
22
  if (this->has_status()) {
12919
0
    target = ::google::protobuf::internal::WireFormatLite::
12920
0
      InternalWriteMessageToArray(
12921
0
        1, *this->status_, deterministic, target);
12922
0
  }
12923
12924
  // uint64 version = 2;
12925
22
  if (this->version() != 0) {
12926
2
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->version(), target);
12927
2
  }
12928
12929
22
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
12930
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
12931
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
12932
0
  }
12933
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgGetCatalogMasterVersionResponsePB)
12934
22
  return target;
12935
22
}
12936
12937
44
size_t PgGetCatalogMasterVersionResponsePB::ByteSizeLong() const {
12938
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgGetCatalogMasterVersionResponsePB)
12939
44
  size_t total_size = 0;
12940
12941
44
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
12942
0
    total_size +=
12943
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
12944
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
12945
0
  }
12946
  // .yb.AppStatusPB status = 1;
12947
44
  if (this->has_status()) {
12948
0
    total_size += 1 +
12949
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
12950
0
        *this->status_);
12951
0
  }
12952
12953
  // uint64 version = 2;
12954
44
  if (this->version() != 0) {
12955
4
    total_size += 1 +
12956
4
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
12957
4
        this->version());
12958
4
  }
12959
12960
44
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
12961
44
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12962
44
  _cached_size_ = cached_size;
12963
44
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
12964
44
  return total_size;
12965
44
}
12966
12967
0
void PgGetCatalogMasterVersionResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
12968
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgGetCatalogMasterVersionResponsePB)
12969
0
  GOOGLE_DCHECK_NE(&from, this);
12970
0
  const PgGetCatalogMasterVersionResponsePB* source =
12971
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgGetCatalogMasterVersionResponsePB>(
12972
0
          &from);
12973
0
  if (source == NULL) {
12974
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgGetCatalogMasterVersionResponsePB)
12975
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
12976
0
  } else {
12977
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgGetCatalogMasterVersionResponsePB)
12978
0
    MergeFrom(*source);
12979
0
  }
12980
0
}
12981
12982
0
void PgGetCatalogMasterVersionResponsePB::MergeFrom(const PgGetCatalogMasterVersionResponsePB& from) {
12983
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgGetCatalogMasterVersionResponsePB)
12984
0
  GOOGLE_DCHECK_NE(&from, this);
12985
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
12986
0
  ::google::protobuf::uint32 cached_has_bits = 0;
12987
0
  (void) cached_has_bits;
12988
12989
0
  if (from.has_status()) {
12990
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
12991
0
  }
12992
0
  if (from.version() != 0) {
12993
0
    set_version(from.version());
12994
0
  }
12995
0
}
12996
12997
0
void PgGetCatalogMasterVersionResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
12998
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgGetCatalogMasterVersionResponsePB)
12999
0
  if (&from == this) return;
13000
0
  Clear();
13001
0
  MergeFrom(from);
13002
0
}
13003
13004
0
void PgGetCatalogMasterVersionResponsePB::CopyFrom(const PgGetCatalogMasterVersionResponsePB& from) {
13005
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgGetCatalogMasterVersionResponsePB)
13006
0
  if (&from == this) return;
13007
0
  Clear();
13008
0
  MergeFrom(from);
13009
0
}
13010
13011
44
bool PgGetCatalogMasterVersionResponsePB::IsInitialized() const {
13012
44
  if (has_status()) {
13013
0
    if (!this->status_->IsInitialized()) return false;
13014
0
  }
13015
44
  return true;
13016
44
}
13017
13018
0
void PgGetCatalogMasterVersionResponsePB::Swap(PgGetCatalogMasterVersionResponsePB* other) {
13019
0
  if (other == this) return;
13020
0
  InternalSwap(other);
13021
0
}
13022
0
void PgGetCatalogMasterVersionResponsePB::InternalSwap(PgGetCatalogMasterVersionResponsePB* other) {
13023
0
  using std::swap;
13024
0
  swap(status_, other->status_);
13025
0
  swap(version_, other->version_);
13026
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
13027
0
  swap(_cached_size_, other->_cached_size_);
13028
0
}
13029
13030
0
::google::protobuf::Metadata PgGetCatalogMasterVersionResponsePB::GetMetadata() const {
13031
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
13032
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
13033
0
}
13034
13035
13036
// ===================================================================
13037
13038
26.8k
void PgGetDatabaseInfoRequestPB::InitAsDefaultInstance() {
13039
26.8k
}
13040
#if !defined(_MSC_VER) || _MSC_VER >= 1900
13041
const int PgGetDatabaseInfoRequestPB::kOidFieldNumber;
13042
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
13043
13044
PgGetDatabaseInfoRequestPB::PgGetDatabaseInfoRequestPB()
13045
38.3k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
13046
38.3k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
13047
11.4k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgGetDatabaseInfoRequestPB();
13048
11.4k
  }
13049
38.3k
  SharedCtor();
13050
  // @@protoc_insertion_point(constructor:yb.tserver.PgGetDatabaseInfoRequestPB)
13051
38.3k
}
13052
PgGetDatabaseInfoRequestPB::PgGetDatabaseInfoRequestPB(const PgGetDatabaseInfoRequestPB& from)
13053
  : ::google::protobuf::Message(),
13054
      _internal_metadata_(NULL),
13055
0
      _cached_size_(0) {
13056
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
13057
0
  oid_ = from.oid_;
13058
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgGetDatabaseInfoRequestPB)
13059
0
}
13060
13061
38.2k
void PgGetDatabaseInfoRequestPB::SharedCtor() {
13062
38.2k
  oid_ = 0u;
13063
38.2k
  _cached_size_ = 0;
13064
38.2k
}
13065
13066
11.4k
PgGetDatabaseInfoRequestPB::~PgGetDatabaseInfoRequestPB() {
13067
  // @@protoc_insertion_point(destructor:yb.tserver.PgGetDatabaseInfoRequestPB)
13068
11.4k
  SharedDtor();
13069
11.4k
}
13070
13071
11.4k
void PgGetDatabaseInfoRequestPB::SharedDtor() {
13072
11.4k
}
13073
13074
0
void PgGetDatabaseInfoRequestPB::SetCachedSize(int size) const {
13075
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13076
0
  _cached_size_ = size;
13077
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
13078
0
}
13079
0
const ::google::protobuf::Descriptor* PgGetDatabaseInfoRequestPB::descriptor() {
13080
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
13081
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
13082
0
}
13083
13084
0
const PgGetDatabaseInfoRequestPB& PgGetDatabaseInfoRequestPB::default_instance() {
13085
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgGetDatabaseInfoRequestPB();
13086
0
  return *internal_default_instance();
13087
0
}
13088
13089
0
PgGetDatabaseInfoRequestPB* PgGetDatabaseInfoRequestPB::New(::google::protobuf::Arena* arena) const {
13090
0
  PgGetDatabaseInfoRequestPB* n = new PgGetDatabaseInfoRequestPB;
13091
0
  if (arena != NULL) {
13092
0
    arena->Own(n);
13093
0
  }
13094
0
  return n;
13095
0
}
13096
13097
5.72k
void PgGetDatabaseInfoRequestPB::Clear() {
13098
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgGetDatabaseInfoRequestPB)
13099
5.72k
  ::google::protobuf::uint32 cached_has_bits = 0;
13100
  // Prevent compiler warnings about cached_has_bits being unused
13101
5.72k
  (void) cached_has_bits;
13102
13103
5.72k
  oid_ = 0u;
13104
5.72k
  _internal_metadata_.Clear();
13105
5.72k
}
13106
13107
bool PgGetDatabaseInfoRequestPB::MergePartialFromCodedStream(
13108
5.71k
    ::google::protobuf::io::CodedInputStream* input) {
13109
5.71k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
13110
5.71k
  ::google::protobuf::uint32 tag;
13111
  // @@protoc_insertion_point(parse_start:yb.tserver.PgGetDatabaseInfoRequestPB)
13112
11.4k
  for (;;) {
13113
11.4k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
13114
11.4k
    tag = p.first;
13115
11.4k
    if (!p.second) 
goto handle_unusual5.72k
;
13116
5.71k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
13117
      // uint32 oid = 1;
13118
5.71k
      case 1: {
13119
5.71k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13120
5.71k
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
13121
13122
5.71k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
13123
5.71k
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
13124
5.71k
                 input, &oid_)));
13125
5.71k
        } else {
13126
0
          goto handle_unusual;
13127
0
        }
13128
5.71k
        break;
13129
5.71k
      }
13130
13131
5.71k
      default: {
13132
5.72k
      handle_unusual:
13133
5.72k
        if (tag == 0) {
13134
5.72k
          goto success;
13135
5.72k
        }
13136
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
13137
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
13138
0
        break;
13139
0
      }
13140
5.71k
    }
13141
5.71k
  }
13142
5.72k
success:
13143
  // @@protoc_insertion_point(parse_success:yb.tserver.PgGetDatabaseInfoRequestPB)
13144
5.72k
  return true;
13145
0
failure:
13146
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgGetDatabaseInfoRequestPB)
13147
0
  return false;
13148
5.71k
#undef DO_
13149
5.71k
}
13150
13151
void PgGetDatabaseInfoRequestPB::SerializeWithCachedSizes(
13152
0
    ::google::protobuf::io::CodedOutputStream* output) const {
13153
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgGetDatabaseInfoRequestPB)
13154
0
  ::google::protobuf::uint32 cached_has_bits = 0;
13155
0
  (void) cached_has_bits;
13156
13157
  // uint32 oid = 1;
13158
0
  if (this->oid() != 0) {
13159
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->oid(), output);
13160
0
  }
13161
13162
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
13163
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
13164
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
13165
0
  }
13166
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgGetDatabaseInfoRequestPB)
13167
0
}
13168
13169
::google::protobuf::uint8* PgGetDatabaseInfoRequestPB::InternalSerializeWithCachedSizesToArray(
13170
5.72k
    bool deterministic, ::google::protobuf::uint8* target) const {
13171
5.72k
  (void)deterministic; // Unused
13172
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgGetDatabaseInfoRequestPB)
13173
5.72k
  ::google::protobuf::uint32 cached_has_bits = 0;
13174
5.72k
  (void) cached_has_bits;
13175
13176
  // uint32 oid = 1;
13177
5.72k
  if (this->oid() != 0) {
13178
5.72k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->oid(), target);
13179
5.72k
  }
13180
13181
5.72k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
13182
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
13183
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
13184
0
  }
13185
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgGetDatabaseInfoRequestPB)
13186
5.72k
  return target;
13187
5.72k
}
13188
13189
11.4k
size_t PgGetDatabaseInfoRequestPB::ByteSizeLong() const {
13190
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgGetDatabaseInfoRequestPB)
13191
11.4k
  size_t total_size = 0;
13192
13193
11.4k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
13194
0
    total_size +=
13195
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
13196
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
13197
0
  }
13198
  // uint32 oid = 1;
13199
11.4k
  if (
this->oid() != 011.4k
) {
13200
11.4k
    total_size += 1 +
13201
11.4k
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
13202
11.4k
        this->oid());
13203
11.4k
  }
13204
13205
11.4k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
13206
11.4k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13207
11.4k
  _cached_size_ = cached_size;
13208
11.4k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
13209
11.4k
  return total_size;
13210
11.4k
}
13211
13212
0
void PgGetDatabaseInfoRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
13213
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgGetDatabaseInfoRequestPB)
13214
0
  GOOGLE_DCHECK_NE(&from, this);
13215
0
  const PgGetDatabaseInfoRequestPB* source =
13216
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgGetDatabaseInfoRequestPB>(
13217
0
          &from);
13218
0
  if (source == NULL) {
13219
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgGetDatabaseInfoRequestPB)
13220
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
13221
0
  } else {
13222
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgGetDatabaseInfoRequestPB)
13223
0
    MergeFrom(*source);
13224
0
  }
13225
0
}
13226
13227
0
void PgGetDatabaseInfoRequestPB::MergeFrom(const PgGetDatabaseInfoRequestPB& from) {
13228
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgGetDatabaseInfoRequestPB)
13229
0
  GOOGLE_DCHECK_NE(&from, this);
13230
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
13231
0
  ::google::protobuf::uint32 cached_has_bits = 0;
13232
0
  (void) cached_has_bits;
13233
13234
0
  if (from.oid() != 0) {
13235
0
    set_oid(from.oid());
13236
0
  }
13237
0
}
13238
13239
0
void PgGetDatabaseInfoRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
13240
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgGetDatabaseInfoRequestPB)
13241
0
  if (&from == this) return;
13242
0
  Clear();
13243
0
  MergeFrom(from);
13244
0
}
13245
13246
0
void PgGetDatabaseInfoRequestPB::CopyFrom(const PgGetDatabaseInfoRequestPB& from) {
13247
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgGetDatabaseInfoRequestPB)
13248
0
  if (&from == this) return;
13249
0
  Clear();
13250
0
  MergeFrom(from);
13251
0
}
13252
13253
11.4k
bool PgGetDatabaseInfoRequestPB::IsInitialized() const {
13254
11.4k
  return true;
13255
11.4k
}
13256
13257
0
void PgGetDatabaseInfoRequestPB::Swap(PgGetDatabaseInfoRequestPB* other) {
13258
0
  if (other == this) return;
13259
0
  InternalSwap(other);
13260
0
}
13261
0
void PgGetDatabaseInfoRequestPB::InternalSwap(PgGetDatabaseInfoRequestPB* other) {
13262
0
  using std::swap;
13263
0
  swap(oid_, other->oid_);
13264
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
13265
0
  swap(_cached_size_, other->_cached_size_);
13266
0
}
13267
13268
5.72k
::google::protobuf::Metadata PgGetDatabaseInfoRequestPB::GetMetadata() const {
13269
5.72k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
13270
5.72k
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
13271
5.72k
}
13272
13273
13274
// ===================================================================
13275
13276
26.8k
void PgGetDatabaseInfoResponsePB::InitAsDefaultInstance() {
13277
26.8k
  ::yb::tserver::_PgGetDatabaseInfoResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
13278
26.8k
      ::yb::AppStatusPB::internal_default_instance());
13279
26.8k
  ::yb::tserver::_PgGetDatabaseInfoResponsePB_default_instance_._instance.get_mutable()->info_ = const_cast< ::yb::master::GetNamespaceInfoResponsePB*>(
13280
26.8k
      ::yb::master::GetNamespaceInfoResponsePB::internal_default_instance());
13281
26.8k
}
13282
0
void PgGetDatabaseInfoResponsePB::clear_status() {
13283
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
13284
0
    delete status_;
13285
0
  }
13286
0
  status_ = NULL;
13287
0
}
13288
0
void PgGetDatabaseInfoResponsePB::clear_info() {
13289
0
  if (GetArenaNoVirtual() == NULL && info_ != NULL) {
13290
0
    delete info_;
13291
0
  }
13292
0
  info_ = NULL;
13293
0
}
13294
#if !defined(_MSC_VER) || _MSC_VER >= 1900
13295
const int PgGetDatabaseInfoResponsePB::kStatusFieldNumber;
13296
const int PgGetDatabaseInfoResponsePB::kInfoFieldNumber;
13297
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
13298
13299
PgGetDatabaseInfoResponsePB::PgGetDatabaseInfoResponsePB()
13300
38.3k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
13301
38.3k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
13302
11.4k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgGetDatabaseInfoResponsePB();
13303
11.4k
  }
13304
38.3k
  SharedCtor();
13305
  // @@protoc_insertion_point(constructor:yb.tserver.PgGetDatabaseInfoResponsePB)
13306
38.3k
}
13307
PgGetDatabaseInfoResponsePB::PgGetDatabaseInfoResponsePB(const PgGetDatabaseInfoResponsePB& from)
13308
  : ::google::protobuf::Message(),
13309
      _internal_metadata_(NULL),
13310
0
      _cached_size_(0) {
13311
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
13312
0
  if (from.has_status()) {
13313
0
    status_ = new ::yb::AppStatusPB(*from.status_);
13314
0
  } else {
13315
0
    status_ = NULL;
13316
0
  }
13317
0
  if (from.has_info()) {
13318
0
    info_ = new ::yb::master::GetNamespaceInfoResponsePB(*from.info_);
13319
0
  } else {
13320
0
    info_ = NULL;
13321
0
  }
13322
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgGetDatabaseInfoResponsePB)
13323
0
}
13324
13325
38.2k
void PgGetDatabaseInfoResponsePB::SharedCtor() {
13326
38.2k
  ::memset(&status_, 0, static_cast<size_t>(
13327
38.2k
      reinterpret_cast<char*>(&info_) -
13328
38.2k
      reinterpret_cast<char*>(&status_)) + sizeof(info_));
13329
38.2k
  _cached_size_ = 0;
13330
38.2k
}
13331
13332
11.4k
PgGetDatabaseInfoResponsePB::~PgGetDatabaseInfoResponsePB() {
13333
  // @@protoc_insertion_point(destructor:yb.tserver.PgGetDatabaseInfoResponsePB)
13334
11.4k
  SharedDtor();
13335
11.4k
}
13336
13337
11.4k
void PgGetDatabaseInfoResponsePB::SharedDtor() {
13338
11.4k
  if (this != internal_default_instance()) 
delete status_11.4k
;
13339
11.4k
  if (this != internal_default_instance()) delete info_;
13340
11.4k
}
13341
13342
0
void PgGetDatabaseInfoResponsePB::SetCachedSize(int size) const {
13343
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13344
0
  _cached_size_ = size;
13345
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
13346
0
}
13347
0
const ::google::protobuf::Descriptor* PgGetDatabaseInfoResponsePB::descriptor() {
13348
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
13349
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
13350
0
}
13351
13352
0
const PgGetDatabaseInfoResponsePB& PgGetDatabaseInfoResponsePB::default_instance() {
13353
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgGetDatabaseInfoResponsePB();
13354
0
  return *internal_default_instance();
13355
0
}
13356
13357
0
PgGetDatabaseInfoResponsePB* PgGetDatabaseInfoResponsePB::New(::google::protobuf::Arena* arena) const {
13358
0
  PgGetDatabaseInfoResponsePB* n = new PgGetDatabaseInfoResponsePB;
13359
0
  if (arena != NULL) {
13360
0
    arena->Own(n);
13361
0
  }
13362
0
  return n;
13363
0
}
13364
13365
5.72k
void PgGetDatabaseInfoResponsePB::Clear() {
13366
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgGetDatabaseInfoResponsePB)
13367
5.72k
  ::google::protobuf::uint32 cached_has_bits = 0;
13368
  // Prevent compiler warnings about cached_has_bits being unused
13369
5.72k
  (void) cached_has_bits;
13370
13371
5.72k
  if (GetArenaNoVirtual() == NULL && 
status_ != NULL5.72k
) {
13372
0
    delete status_;
13373
0
  }
13374
5.72k
  status_ = NULL;
13375
5.72k
  if (GetArenaNoVirtual() == NULL && 
info_ != NULL5.72k
) {
13376
0
    delete info_;
13377
0
  }
13378
5.72k
  info_ = NULL;
13379
5.72k
  _internal_metadata_.Clear();
13380
5.72k
}
13381
13382
bool PgGetDatabaseInfoResponsePB::MergePartialFromCodedStream(
13383
5.72k
    ::google::protobuf::io::CodedInputStream* input) {
13384
5.72k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
13385
5.72k
  ::google::protobuf::uint32 tag;
13386
  // @@protoc_insertion_point(parse_start:yb.tserver.PgGetDatabaseInfoResponsePB)
13387
11.4k
  for (;;) {
13388
11.4k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
13389
11.4k
    tag = p.first;
13390
11.4k
    if (!p.second) 
goto handle_unusual5.71k
;
13391
5.72k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
13392
      // .yb.AppStatusPB status = 1;
13393
0
      case 1: {
13394
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13395
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
13396
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
13397
0
               input, mutable_status()));
13398
0
        } else {
13399
0
          goto handle_unusual;
13400
0
        }
13401
0
        break;
13402
0
      }
13403
13404
      // .yb.master.GetNamespaceInfoResponsePB info = 2;
13405
5.72k
      case 2: {
13406
5.72k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13407
5.72k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
13408
5.72k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
13409
5.72k
               input, mutable_info()));
13410
5.72k
        } else {
13411
0
          goto handle_unusual;
13412
0
        }
13413
5.72k
        break;
13414
5.72k
      }
13415
13416
5.72k
      default: {
13417
5.71k
      handle_unusual:
13418
5.71k
        if (tag == 0) {
13419
5.71k
          goto success;
13420
5.71k
        }
13421
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
13422
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
13423
0
        break;
13424
0
      }
13425
5.72k
    }
13426
5.72k
  }
13427
5.71k
success:
13428
  // @@protoc_insertion_point(parse_success:yb.tserver.PgGetDatabaseInfoResponsePB)
13429
5.71k
  return true;
13430
0
failure:
13431
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgGetDatabaseInfoResponsePB)
13432
0
  return false;
13433
5.72k
#undef DO_
13434
5.72k
}
13435
13436
void PgGetDatabaseInfoResponsePB::SerializeWithCachedSizes(
13437
0
    ::google::protobuf::io::CodedOutputStream* output) const {
13438
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgGetDatabaseInfoResponsePB)
13439
0
  ::google::protobuf::uint32 cached_has_bits = 0;
13440
0
  (void) cached_has_bits;
13441
13442
  // .yb.AppStatusPB status = 1;
13443
0
  if (this->has_status()) {
13444
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
13445
0
      1, *this->status_, output);
13446
0
  }
13447
13448
  // .yb.master.GetNamespaceInfoResponsePB info = 2;
13449
0
  if (this->has_info()) {
13450
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
13451
0
      2, *this->info_, output);
13452
0
  }
13453
13454
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
13455
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
13456
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
13457
0
  }
13458
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgGetDatabaseInfoResponsePB)
13459
0
}
13460
13461
::google::protobuf::uint8* PgGetDatabaseInfoResponsePB::InternalSerializeWithCachedSizesToArray(
13462
5.72k
    bool deterministic, ::google::protobuf::uint8* target) const {
13463
5.72k
  (void)deterministic; // Unused
13464
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgGetDatabaseInfoResponsePB)
13465
5.72k
  ::google::protobuf::uint32 cached_has_bits = 0;
13466
5.72k
  (void) cached_has_bits;
13467
13468
  // .yb.AppStatusPB status = 1;
13469
5.72k
  if (this->has_status()) {
13470
0
    target = ::google::protobuf::internal::WireFormatLite::
13471
0
      InternalWriteMessageToArray(
13472
0
        1, *this->status_, deterministic, target);
13473
0
  }
13474
13475
  // .yb.master.GetNamespaceInfoResponsePB info = 2;
13476
5.72k
  if (this->has_info()) {
13477
5.71k
    target = ::google::protobuf::internal::WireFormatLite::
13478
5.71k
      InternalWriteMessageToArray(
13479
5.71k
        2, *this->info_, deterministic, target);
13480
5.71k
  }
13481
13482
5.72k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
13483
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
13484
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
13485
0
  }
13486
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgGetDatabaseInfoResponsePB)
13487
5.72k
  return target;
13488
5.72k
}
13489
13490
11.4k
size_t PgGetDatabaseInfoResponsePB::ByteSizeLong() const {
13491
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgGetDatabaseInfoResponsePB)
13492
11.4k
  size_t total_size = 0;
13493
13494
11.4k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
13495
0
    total_size +=
13496
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
13497
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
13498
0
  }
13499
  // .yb.AppStatusPB status = 1;
13500
11.4k
  if (this->has_status()) {
13501
0
    total_size += 1 +
13502
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
13503
0
        *this->status_);
13504
0
  }
13505
13506
  // .yb.master.GetNamespaceInfoResponsePB info = 2;
13507
11.4k
  if (this->has_info()) {
13508
11.4k
    total_size += 1 +
13509
11.4k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
13510
11.4k
        *this->info_);
13511
11.4k
  }
13512
13513
11.4k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
13514
11.4k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13515
11.4k
  _cached_size_ = cached_size;
13516
11.4k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
13517
11.4k
  return total_size;
13518
11.4k
}
13519
13520
0
void PgGetDatabaseInfoResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
13521
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgGetDatabaseInfoResponsePB)
13522
0
  GOOGLE_DCHECK_NE(&from, this);
13523
0
  const PgGetDatabaseInfoResponsePB* source =
13524
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgGetDatabaseInfoResponsePB>(
13525
0
          &from);
13526
0
  if (source == NULL) {
13527
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgGetDatabaseInfoResponsePB)
13528
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
13529
0
  } else {
13530
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgGetDatabaseInfoResponsePB)
13531
0
    MergeFrom(*source);
13532
0
  }
13533
0
}
13534
13535
0
void PgGetDatabaseInfoResponsePB::MergeFrom(const PgGetDatabaseInfoResponsePB& from) {
13536
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgGetDatabaseInfoResponsePB)
13537
0
  GOOGLE_DCHECK_NE(&from, this);
13538
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
13539
0
  ::google::protobuf::uint32 cached_has_bits = 0;
13540
0
  (void) cached_has_bits;
13541
13542
0
  if (from.has_status()) {
13543
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
13544
0
  }
13545
0
  if (from.has_info()) {
13546
0
    mutable_info()->::yb::master::GetNamespaceInfoResponsePB::MergeFrom(from.info());
13547
0
  }
13548
0
}
13549
13550
0
void PgGetDatabaseInfoResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
13551
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgGetDatabaseInfoResponsePB)
13552
0
  if (&from == this) return;
13553
0
  Clear();
13554
0
  MergeFrom(from);
13555
0
}
13556
13557
0
void PgGetDatabaseInfoResponsePB::CopyFrom(const PgGetDatabaseInfoResponsePB& from) {
13558
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgGetDatabaseInfoResponsePB)
13559
0
  if (&from == this) return;
13560
0
  Clear();
13561
0
  MergeFrom(from);
13562
0
}
13563
13564
11.4k
bool PgGetDatabaseInfoResponsePB::IsInitialized() const {
13565
11.4k
  if (has_status()) {
13566
0
    if (!this->status_->IsInitialized()) return false;
13567
0
  }
13568
11.4k
  if (has_info()) {
13569
11.4k
    if (!this->info_->IsInitialized()) 
return false0
;
13570
11.4k
  }
13571
11.4k
  return true;
13572
11.4k
}
13573
13574
0
void PgGetDatabaseInfoResponsePB::Swap(PgGetDatabaseInfoResponsePB* other) {
13575
0
  if (other == this) return;
13576
0
  InternalSwap(other);
13577
0
}
13578
0
void PgGetDatabaseInfoResponsePB::InternalSwap(PgGetDatabaseInfoResponsePB* other) {
13579
0
  using std::swap;
13580
0
  swap(status_, other->status_);
13581
0
  swap(info_, other->info_);
13582
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
13583
0
  swap(_cached_size_, other->_cached_size_);
13584
0
}
13585
13586
0
::google::protobuf::Metadata PgGetDatabaseInfoResponsePB::GetMetadata() const {
13587
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
13588
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
13589
0
}
13590
13591
13592
// ===================================================================
13593
13594
26.8k
void PgIsInitDbDoneRequestPB::InitAsDefaultInstance() {
13595
26.8k
}
13596
#if !defined(_MSC_VER) || _MSC_VER >= 1900
13597
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
13598
13599
PgIsInitDbDoneRequestPB::PgIsInitDbDoneRequestPB()
13600
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
13601
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
13602
4
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgIsInitDbDoneRequestPB();
13603
4
  }
13604
26.8k
  SharedCtor();
13605
  // @@protoc_insertion_point(constructor:yb.tserver.PgIsInitDbDoneRequestPB)
13606
26.8k
}
13607
PgIsInitDbDoneRequestPB::PgIsInitDbDoneRequestPB(const PgIsInitDbDoneRequestPB& from)
13608
  : ::google::protobuf::Message(),
13609
      _internal_metadata_(NULL),
13610
0
      _cached_size_(0) {
13611
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
13612
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgIsInitDbDoneRequestPB)
13613
0
}
13614
13615
26.8k
void PgIsInitDbDoneRequestPB::SharedCtor() {
13616
26.8k
  _cached_size_ = 0;
13617
26.8k
}
13618
13619
4
PgIsInitDbDoneRequestPB::~PgIsInitDbDoneRequestPB() {
13620
  // @@protoc_insertion_point(destructor:yb.tserver.PgIsInitDbDoneRequestPB)
13621
4
  SharedDtor();
13622
4
}
13623
13624
4
void PgIsInitDbDoneRequestPB::SharedDtor() {
13625
4
}
13626
13627
0
void PgIsInitDbDoneRequestPB::SetCachedSize(int size) const {
13628
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13629
0
  _cached_size_ = size;
13630
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
13631
0
}
13632
0
const ::google::protobuf::Descriptor* PgIsInitDbDoneRequestPB::descriptor() {
13633
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
13634
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
13635
0
}
13636
13637
0
const PgIsInitDbDoneRequestPB& PgIsInitDbDoneRequestPB::default_instance() {
13638
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgIsInitDbDoneRequestPB();
13639
0
  return *internal_default_instance();
13640
0
}
13641
13642
0
PgIsInitDbDoneRequestPB* PgIsInitDbDoneRequestPB::New(::google::protobuf::Arena* arena) const {
13643
0
  PgIsInitDbDoneRequestPB* n = new PgIsInitDbDoneRequestPB;
13644
0
  if (arena != NULL) {
13645
0
    arena->Own(n);
13646
0
  }
13647
0
  return n;
13648
0
}
13649
13650
2
void PgIsInitDbDoneRequestPB::Clear() {
13651
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgIsInitDbDoneRequestPB)
13652
2
  ::google::protobuf::uint32 cached_has_bits = 0;
13653
  // Prevent compiler warnings about cached_has_bits being unused
13654
2
  (void) cached_has_bits;
13655
13656
2
  _internal_metadata_.Clear();
13657
2
}
13658
13659
bool PgIsInitDbDoneRequestPB::MergePartialFromCodedStream(
13660
2
    ::google::protobuf::io::CodedInputStream* input) {
13661
2
#define DO_(EXPRESSION) 
if (0
!GOOGLE_PREDICT_TRUE0
(EXPRESSION))
goto failure0
13662
2
  ::google::protobuf::uint32 tag;
13663
  // @@protoc_insertion_point(parse_start:yb.tserver.PgIsInitDbDoneRequestPB)
13664
2
  for (;;) {
13665
2
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
13666
2
    tag = p.first;
13667
2
    if (!p.second) goto handle_unusual;
13668
2
  handle_unusual:
13669
2
    if (tag == 0) {
13670
2
      goto success;
13671
2
    }
13672
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
13673
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
13674
0
  }
13675
2
success:
13676
  // @@protoc_insertion_point(parse_success:yb.tserver.PgIsInitDbDoneRequestPB)
13677
2
  return true;
13678
0
failure:
13679
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgIsInitDbDoneRequestPB)
13680
0
  return false;
13681
2
#undef DO_
13682
2
}
13683
13684
void PgIsInitDbDoneRequestPB::SerializeWithCachedSizes(
13685
0
    ::google::protobuf::io::CodedOutputStream* output) const {
13686
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgIsInitDbDoneRequestPB)
13687
0
  ::google::protobuf::uint32 cached_has_bits = 0;
13688
0
  (void) cached_has_bits;
13689
13690
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
13691
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
13692
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
13693
0
  }
13694
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgIsInitDbDoneRequestPB)
13695
0
}
13696
13697
::google::protobuf::uint8* PgIsInitDbDoneRequestPB::InternalSerializeWithCachedSizesToArray(
13698
2
    bool deterministic, ::google::protobuf::uint8* target) const {
13699
2
  (void)deterministic; // Unused
13700
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgIsInitDbDoneRequestPB)
13701
2
  ::google::protobuf::uint32 cached_has_bits = 0;
13702
2
  (void) cached_has_bits;
13703
13704
2
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
13705
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
13706
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
13707
0
  }
13708
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgIsInitDbDoneRequestPB)
13709
2
  return target;
13710
2
}
13711
13712
4
size_t PgIsInitDbDoneRequestPB::ByteSizeLong() const {
13713
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgIsInitDbDoneRequestPB)
13714
4
  size_t total_size = 0;
13715
13716
4
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
13717
0
    total_size +=
13718
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
13719
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
13720
0
  }
13721
4
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
13722
4
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13723
4
  _cached_size_ = cached_size;
13724
4
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
13725
4
  return total_size;
13726
4
}
13727
13728
0
void PgIsInitDbDoneRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
13729
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgIsInitDbDoneRequestPB)
13730
0
  GOOGLE_DCHECK_NE(&from, this);
13731
0
  const PgIsInitDbDoneRequestPB* source =
13732
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgIsInitDbDoneRequestPB>(
13733
0
          &from);
13734
0
  if (source == NULL) {
13735
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgIsInitDbDoneRequestPB)
13736
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
13737
0
  } else {
13738
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgIsInitDbDoneRequestPB)
13739
0
    MergeFrom(*source);
13740
0
  }
13741
0
}
13742
13743
0
void PgIsInitDbDoneRequestPB::MergeFrom(const PgIsInitDbDoneRequestPB& from) {
13744
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgIsInitDbDoneRequestPB)
13745
0
  GOOGLE_DCHECK_NE(&from, this);
13746
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
13747
0
  ::google::protobuf::uint32 cached_has_bits = 0;
13748
0
  (void) cached_has_bits;
13749
13750
0
}
13751
13752
0
void PgIsInitDbDoneRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
13753
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgIsInitDbDoneRequestPB)
13754
0
  if (&from == this) return;
13755
0
  Clear();
13756
0
  MergeFrom(from);
13757
0
}
13758
13759
0
void PgIsInitDbDoneRequestPB::CopyFrom(const PgIsInitDbDoneRequestPB& from) {
13760
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgIsInitDbDoneRequestPB)
13761
0
  if (&from == this) return;
13762
0
  Clear();
13763
0
  MergeFrom(from);
13764
0
}
13765
13766
4
bool PgIsInitDbDoneRequestPB::IsInitialized() const {
13767
4
  return true;
13768
4
}
13769
13770
0
void PgIsInitDbDoneRequestPB::Swap(PgIsInitDbDoneRequestPB* other) {
13771
0
  if (other == this) return;
13772
0
  InternalSwap(other);
13773
0
}
13774
0
void PgIsInitDbDoneRequestPB::InternalSwap(PgIsInitDbDoneRequestPB* other) {
13775
0
  using std::swap;
13776
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
13777
0
  swap(_cached_size_, other->_cached_size_);
13778
0
}
13779
13780
2
::google::protobuf::Metadata PgIsInitDbDoneRequestPB::GetMetadata() const {
13781
2
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
13782
2
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
13783
2
}
13784
13785
13786
// ===================================================================
13787
13788
26.8k
void PgIsInitDbDoneResponsePB::InitAsDefaultInstance() {
13789
26.8k
  ::yb::tserver::_PgIsInitDbDoneResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
13790
26.8k
      ::yb::AppStatusPB::internal_default_instance());
13791
26.8k
}
13792
0
void PgIsInitDbDoneResponsePB::clear_status() {
13793
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
13794
0
    delete status_;
13795
0
  }
13796
0
  status_ = NULL;
13797
0
}
13798
#if !defined(_MSC_VER) || _MSC_VER >= 1900
13799
const int PgIsInitDbDoneResponsePB::kStatusFieldNumber;
13800
const int PgIsInitDbDoneResponsePB::kDoneFieldNumber;
13801
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
13802
13803
PgIsInitDbDoneResponsePB::PgIsInitDbDoneResponsePB()
13804
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
13805
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
13806
4
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgIsInitDbDoneResponsePB();
13807
4
  }
13808
26.8k
  SharedCtor();
13809
  // @@protoc_insertion_point(constructor:yb.tserver.PgIsInitDbDoneResponsePB)
13810
26.8k
}
13811
PgIsInitDbDoneResponsePB::PgIsInitDbDoneResponsePB(const PgIsInitDbDoneResponsePB& from)
13812
  : ::google::protobuf::Message(),
13813
      _internal_metadata_(NULL),
13814
0
      _cached_size_(0) {
13815
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
13816
0
  if (from.has_status()) {
13817
0
    status_ = new ::yb::AppStatusPB(*from.status_);
13818
0
  } else {
13819
0
    status_ = NULL;
13820
0
  }
13821
0
  done_ = from.done_;
13822
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgIsInitDbDoneResponsePB)
13823
0
}
13824
13825
26.8k
void PgIsInitDbDoneResponsePB::SharedCtor() {
13826
26.8k
  ::memset(&status_, 0, static_cast<size_t>(
13827
26.8k
      reinterpret_cast<char*>(&done_) -
13828
26.8k
      reinterpret_cast<char*>(&status_)) + sizeof(done_));
13829
26.8k
  _cached_size_ = 0;
13830
26.8k
}
13831
13832
4
PgIsInitDbDoneResponsePB::~PgIsInitDbDoneResponsePB() {
13833
  // @@protoc_insertion_point(destructor:yb.tserver.PgIsInitDbDoneResponsePB)
13834
4
  SharedDtor();
13835
4
}
13836
13837
4
void PgIsInitDbDoneResponsePB::SharedDtor() {
13838
4
  if (this != internal_default_instance()) delete status_;
13839
4
}
13840
13841
0
void PgIsInitDbDoneResponsePB::SetCachedSize(int size) const {
13842
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13843
0
  _cached_size_ = size;
13844
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
13845
0
}
13846
0
const ::google::protobuf::Descriptor* PgIsInitDbDoneResponsePB::descriptor() {
13847
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
13848
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
13849
0
}
13850
13851
0
const PgIsInitDbDoneResponsePB& PgIsInitDbDoneResponsePB::default_instance() {
13852
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgIsInitDbDoneResponsePB();
13853
0
  return *internal_default_instance();
13854
0
}
13855
13856
0
PgIsInitDbDoneResponsePB* PgIsInitDbDoneResponsePB::New(::google::protobuf::Arena* arena) const {
13857
0
  PgIsInitDbDoneResponsePB* n = new PgIsInitDbDoneResponsePB;
13858
0
  if (arena != NULL) {
13859
0
    arena->Own(n);
13860
0
  }
13861
0
  return n;
13862
0
}
13863
13864
2
void PgIsInitDbDoneResponsePB::Clear() {
13865
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgIsInitDbDoneResponsePB)
13866
2
  ::google::protobuf::uint32 cached_has_bits = 0;
13867
  // Prevent compiler warnings about cached_has_bits being unused
13868
2
  (void) cached_has_bits;
13869
13870
2
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
13871
0
    delete status_;
13872
0
  }
13873
2
  status_ = NULL;
13874
2
  done_ = false;
13875
2
  _internal_metadata_.Clear();
13876
2
}
13877
13878
bool PgIsInitDbDoneResponsePB::MergePartialFromCodedStream(
13879
2
    ::google::protobuf::io::CodedInputStream* input) {
13880
2
#define DO_(EXPRESSION) 
if (0
!GOOGLE_PREDICT_TRUE0
(EXPRESSION))
goto failure0
13881
2
  ::google::protobuf::uint32 tag;
13882
  // @@protoc_insertion_point(parse_start:yb.tserver.PgIsInitDbDoneResponsePB)
13883
2
  for (;;) {
13884
2
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
13885
2
    tag = p.first;
13886
2
    if (!p.second) goto handle_unusual;
13887
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
13888
      // .yb.AppStatusPB status = 1;
13889
0
      case 1: {
13890
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13891
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
13892
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
13893
0
               input, mutable_status()));
13894
0
        } else {
13895
0
          goto handle_unusual;
13896
0
        }
13897
0
        break;
13898
0
      }
13899
13900
      // bool done = 2;
13901
0
      case 2: {
13902
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
13903
0
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
13904
13905
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
13906
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
13907
0
                 input, &done_)));
13908
0
        } else {
13909
0
          goto handle_unusual;
13910
0
        }
13911
0
        break;
13912
0
      }
13913
13914
0
      default: {
13915
2
      handle_unusual:
13916
2
        if (tag == 0) {
13917
2
          goto success;
13918
2
        }
13919
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
13920
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
13921
0
        break;
13922
0
      }
13923
0
    }
13924
0
  }
13925
2
success:
13926
  // @@protoc_insertion_point(parse_success:yb.tserver.PgIsInitDbDoneResponsePB)
13927
2
  return true;
13928
0
failure:
13929
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgIsInitDbDoneResponsePB)
13930
0
  return false;
13931
2
#undef DO_
13932
2
}
13933
13934
void PgIsInitDbDoneResponsePB::SerializeWithCachedSizes(
13935
0
    ::google::protobuf::io::CodedOutputStream* output) const {
13936
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgIsInitDbDoneResponsePB)
13937
0
  ::google::protobuf::uint32 cached_has_bits = 0;
13938
0
  (void) cached_has_bits;
13939
13940
  // .yb.AppStatusPB status = 1;
13941
0
  if (this->has_status()) {
13942
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
13943
0
      1, *this->status_, output);
13944
0
  }
13945
13946
  // bool done = 2;
13947
0
  if (this->done() != 0) {
13948
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->done(), output);
13949
0
  }
13950
13951
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
13952
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
13953
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
13954
0
  }
13955
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgIsInitDbDoneResponsePB)
13956
0
}
13957
13958
::google::protobuf::uint8* PgIsInitDbDoneResponsePB::InternalSerializeWithCachedSizesToArray(
13959
2
    bool deterministic, ::google::protobuf::uint8* target) const {
13960
2
  (void)deterministic; // Unused
13961
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgIsInitDbDoneResponsePB)
13962
2
  ::google::protobuf::uint32 cached_has_bits = 0;
13963
2
  (void) cached_has_bits;
13964
13965
  // .yb.AppStatusPB status = 1;
13966
2
  if (this->has_status()) {
13967
0
    target = ::google::protobuf::internal::WireFormatLite::
13968
0
      InternalWriteMessageToArray(
13969
0
        1, *this->status_, deterministic, target);
13970
0
  }
13971
13972
  // bool done = 2;
13973
2
  if (this->done() != 0) {
13974
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->done(), target);
13975
0
  }
13976
13977
2
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
13978
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
13979
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
13980
0
  }
13981
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgIsInitDbDoneResponsePB)
13982
2
  return target;
13983
2
}
13984
13985
4
size_t PgIsInitDbDoneResponsePB::ByteSizeLong() const {
13986
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgIsInitDbDoneResponsePB)
13987
4
  size_t total_size = 0;
13988
13989
4
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
13990
0
    total_size +=
13991
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
13992
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
13993
0
  }
13994
  // .yb.AppStatusPB status = 1;
13995
4
  if (this->has_status()) {
13996
0
    total_size += 1 +
13997
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
13998
0
        *this->status_);
13999
0
  }
14000
14001
  // bool done = 2;
14002
4
  if (this->done() != 0) {
14003
0
    total_size += 1 + 1;
14004
0
  }
14005
14006
4
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
14007
4
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14008
4
  _cached_size_ = cached_size;
14009
4
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
14010
4
  return total_size;
14011
4
}
14012
14013
0
void PgIsInitDbDoneResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
14014
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgIsInitDbDoneResponsePB)
14015
0
  GOOGLE_DCHECK_NE(&from, this);
14016
0
  const PgIsInitDbDoneResponsePB* source =
14017
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgIsInitDbDoneResponsePB>(
14018
0
          &from);
14019
0
  if (source == NULL) {
14020
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgIsInitDbDoneResponsePB)
14021
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
14022
0
  } else {
14023
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgIsInitDbDoneResponsePB)
14024
0
    MergeFrom(*source);
14025
0
  }
14026
0
}
14027
14028
0
void PgIsInitDbDoneResponsePB::MergeFrom(const PgIsInitDbDoneResponsePB& from) {
14029
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgIsInitDbDoneResponsePB)
14030
0
  GOOGLE_DCHECK_NE(&from, this);
14031
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
14032
0
  ::google::protobuf::uint32 cached_has_bits = 0;
14033
0
  (void) cached_has_bits;
14034
14035
0
  if (from.has_status()) {
14036
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
14037
0
  }
14038
0
  if (from.done() != 0) {
14039
0
    set_done(from.done());
14040
0
  }
14041
0
}
14042
14043
0
void PgIsInitDbDoneResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
14044
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgIsInitDbDoneResponsePB)
14045
0
  if (&from == this) return;
14046
0
  Clear();
14047
0
  MergeFrom(from);
14048
0
}
14049
14050
0
void PgIsInitDbDoneResponsePB::CopyFrom(const PgIsInitDbDoneResponsePB& from) {
14051
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgIsInitDbDoneResponsePB)
14052
0
  if (&from == this) return;
14053
0
  Clear();
14054
0
  MergeFrom(from);
14055
0
}
14056
14057
4
bool PgIsInitDbDoneResponsePB::IsInitialized() const {
14058
4
  if (has_status()) {
14059
0
    if (!this->status_->IsInitialized()) return false;
14060
0
  }
14061
4
  return true;
14062
4
}
14063
14064
0
void PgIsInitDbDoneResponsePB::Swap(PgIsInitDbDoneResponsePB* other) {
14065
0
  if (other == this) return;
14066
0
  InternalSwap(other);
14067
0
}
14068
0
void PgIsInitDbDoneResponsePB::InternalSwap(PgIsInitDbDoneResponsePB* other) {
14069
0
  using std::swap;
14070
0
  swap(status_, other->status_);
14071
0
  swap(done_, other->done_);
14072
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
14073
0
  swap(_cached_size_, other->_cached_size_);
14074
0
}
14075
14076
0
::google::protobuf::Metadata PgIsInitDbDoneResponsePB::GetMetadata() const {
14077
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
14078
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
14079
0
}
14080
14081
14082
// ===================================================================
14083
14084
26.8k
void PgListLiveTabletServersRequestPB::InitAsDefaultInstance() {
14085
26.8k
}
14086
#if !defined(_MSC_VER) || _MSC_VER >= 1900
14087
const int PgListLiveTabletServersRequestPB::kPrimaryOnlyFieldNumber;
14088
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
14089
14090
PgListLiveTabletServersRequestPB::PgListLiveTabletServersRequestPB()
14091
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
14092
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
14093
8
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgListLiveTabletServersRequestPB();
14094
8
  }
14095
26.8k
  SharedCtor();
14096
  // @@protoc_insertion_point(constructor:yb.tserver.PgListLiveTabletServersRequestPB)
14097
26.8k
}
14098
PgListLiveTabletServersRequestPB::PgListLiveTabletServersRequestPB(const PgListLiveTabletServersRequestPB& from)
14099
  : ::google::protobuf::Message(),
14100
      _internal_metadata_(NULL),
14101
0
      _cached_size_(0) {
14102
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
14103
0
  primary_only_ = from.primary_only_;
14104
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgListLiveTabletServersRequestPB)
14105
0
}
14106
14107
26.8k
void PgListLiveTabletServersRequestPB::SharedCtor() {
14108
26.8k
  primary_only_ = false;
14109
26.8k
  _cached_size_ = 0;
14110
26.8k
}
14111
14112
8
PgListLiveTabletServersRequestPB::~PgListLiveTabletServersRequestPB() {
14113
  // @@protoc_insertion_point(destructor:yb.tserver.PgListLiveTabletServersRequestPB)
14114
8
  SharedDtor();
14115
8
}
14116
14117
8
void PgListLiveTabletServersRequestPB::SharedDtor() {
14118
8
}
14119
14120
0
void PgListLiveTabletServersRequestPB::SetCachedSize(int size) const {
14121
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14122
0
  _cached_size_ = size;
14123
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
14124
0
}
14125
0
const ::google::protobuf::Descriptor* PgListLiveTabletServersRequestPB::descriptor() {
14126
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
14127
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
14128
0
}
14129
14130
0
const PgListLiveTabletServersRequestPB& PgListLiveTabletServersRequestPB::default_instance() {
14131
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgListLiveTabletServersRequestPB();
14132
0
  return *internal_default_instance();
14133
0
}
14134
14135
0
PgListLiveTabletServersRequestPB* PgListLiveTabletServersRequestPB::New(::google::protobuf::Arena* arena) const {
14136
0
  PgListLiveTabletServersRequestPB* n = new PgListLiveTabletServersRequestPB;
14137
0
  if (arena != NULL) {
14138
0
    arena->Own(n);
14139
0
  }
14140
0
  return n;
14141
0
}
14142
14143
4
void PgListLiveTabletServersRequestPB::Clear() {
14144
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgListLiveTabletServersRequestPB)
14145
4
  ::google::protobuf::uint32 cached_has_bits = 0;
14146
  // Prevent compiler warnings about cached_has_bits being unused
14147
4
  (void) cached_has_bits;
14148
14149
4
  primary_only_ = false;
14150
4
  _internal_metadata_.Clear();
14151
4
}
14152
14153
bool PgListLiveTabletServersRequestPB::MergePartialFromCodedStream(
14154
4
    ::google::protobuf::io::CodedInputStream* input) {
14155
4
#define DO_(EXPRESSION) 
if (0
!GOOGLE_PREDICT_TRUE0
(EXPRESSION))
goto failure0
14156
4
  ::google::protobuf::uint32 tag;
14157
  // @@protoc_insertion_point(parse_start:yb.tserver.PgListLiveTabletServersRequestPB)
14158
4
  for (;;) {
14159
4
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
14160
4
    tag = p.first;
14161
4
    if (!p.second) goto handle_unusual;
14162
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
14163
      // bool primary_only = 1;
14164
0
      case 1: {
14165
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
14166
0
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
14167
14168
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
14169
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
14170
0
                 input, &primary_only_)));
14171
0
        } else {
14172
0
          goto handle_unusual;
14173
0
        }
14174
0
        break;
14175
0
      }
14176
14177
0
      default: {
14178
4
      handle_unusual:
14179
4
        if (tag == 0) {
14180
4
          goto success;
14181
4
        }
14182
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
14183
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
14184
0
        break;
14185
0
      }
14186
0
    }
14187
0
  }
14188
4
success:
14189
  // @@protoc_insertion_point(parse_success:yb.tserver.PgListLiveTabletServersRequestPB)
14190
4
  return true;
14191
0
failure:
14192
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgListLiveTabletServersRequestPB)
14193
0
  return false;
14194
4
#undef DO_
14195
4
}
14196
14197
void PgListLiveTabletServersRequestPB::SerializeWithCachedSizes(
14198
0
    ::google::protobuf::io::CodedOutputStream* output) const {
14199
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgListLiveTabletServersRequestPB)
14200
0
  ::google::protobuf::uint32 cached_has_bits = 0;
14201
0
  (void) cached_has_bits;
14202
14203
  // bool primary_only = 1;
14204
0
  if (this->primary_only() != 0) {
14205
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->primary_only(), output);
14206
0
  }
14207
14208
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
14209
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
14210
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
14211
0
  }
14212
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgListLiveTabletServersRequestPB)
14213
0
}
14214
14215
::google::protobuf::uint8* PgListLiveTabletServersRequestPB::InternalSerializeWithCachedSizesToArray(
14216
4
    bool deterministic, ::google::protobuf::uint8* target) const {
14217
4
  (void)deterministic; // Unused
14218
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgListLiveTabletServersRequestPB)
14219
4
  ::google::protobuf::uint32 cached_has_bits = 0;
14220
4
  (void) cached_has_bits;
14221
14222
  // bool primary_only = 1;
14223
4
  if (this->primary_only() != 0) {
14224
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->primary_only(), target);
14225
0
  }
14226
14227
4
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
14228
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
14229
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
14230
0
  }
14231
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgListLiveTabletServersRequestPB)
14232
4
  return target;
14233
4
}
14234
14235
8
size_t PgListLiveTabletServersRequestPB::ByteSizeLong() const {
14236
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgListLiveTabletServersRequestPB)
14237
8
  size_t total_size = 0;
14238
14239
8
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
14240
0
    total_size +=
14241
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
14242
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
14243
0
  }
14244
  // bool primary_only = 1;
14245
8
  if (this->primary_only() != 0) {
14246
0
    total_size += 1 + 1;
14247
0
  }
14248
14249
8
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
14250
8
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14251
8
  _cached_size_ = cached_size;
14252
8
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
14253
8
  return total_size;
14254
8
}
14255
14256
0
void PgListLiveTabletServersRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
14257
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgListLiveTabletServersRequestPB)
14258
0
  GOOGLE_DCHECK_NE(&from, this);
14259
0
  const PgListLiveTabletServersRequestPB* source =
14260
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgListLiveTabletServersRequestPB>(
14261
0
          &from);
14262
0
  if (source == NULL) {
14263
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgListLiveTabletServersRequestPB)
14264
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
14265
0
  } else {
14266
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgListLiveTabletServersRequestPB)
14267
0
    MergeFrom(*source);
14268
0
  }
14269
0
}
14270
14271
0
void PgListLiveTabletServersRequestPB::MergeFrom(const PgListLiveTabletServersRequestPB& from) {
14272
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgListLiveTabletServersRequestPB)
14273
0
  GOOGLE_DCHECK_NE(&from, this);
14274
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
14275
0
  ::google::protobuf::uint32 cached_has_bits = 0;
14276
0
  (void) cached_has_bits;
14277
14278
0
  if (from.primary_only() != 0) {
14279
0
    set_primary_only(from.primary_only());
14280
0
  }
14281
0
}
14282
14283
0
void PgListLiveTabletServersRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
14284
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgListLiveTabletServersRequestPB)
14285
0
  if (&from == this) return;
14286
0
  Clear();
14287
0
  MergeFrom(from);
14288
0
}
14289
14290
0
void PgListLiveTabletServersRequestPB::CopyFrom(const PgListLiveTabletServersRequestPB& from) {
14291
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgListLiveTabletServersRequestPB)
14292
0
  if (&from == this) return;
14293
0
  Clear();
14294
0
  MergeFrom(from);
14295
0
}
14296
14297
8
bool PgListLiveTabletServersRequestPB::IsInitialized() const {
14298
8
  return true;
14299
8
}
14300
14301
0
void PgListLiveTabletServersRequestPB::Swap(PgListLiveTabletServersRequestPB* other) {
14302
0
  if (other == this) return;
14303
0
  InternalSwap(other);
14304
0
}
14305
0
void PgListLiveTabletServersRequestPB::InternalSwap(PgListLiveTabletServersRequestPB* other) {
14306
0
  using std::swap;
14307
0
  swap(primary_only_, other->primary_only_);
14308
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
14309
0
  swap(_cached_size_, other->_cached_size_);
14310
0
}
14311
14312
4
::google::protobuf::Metadata PgListLiveTabletServersRequestPB::GetMetadata() const {
14313
4
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
14314
4
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
14315
4
}
14316
14317
14318
// ===================================================================
14319
14320
26.8k
void PgLiveTabletServerPB::InitAsDefaultInstance() {
14321
26.8k
}
14322
#if !defined(_MSC_VER) || _MSC_VER >= 1900
14323
const int PgLiveTabletServerPB::kUuidFieldNumber;
14324
const int PgLiveTabletServerPB::kHostnameFieldNumber;
14325
const int PgLiveTabletServerPB::kPlacementUuidFieldNumber;
14326
const int PgLiveTabletServerPB::kCloudFieldNumber;
14327
const int PgLiveTabletServerPB::kRegionFieldNumber;
14328
const int PgLiveTabletServerPB::kZoneFieldNumber;
14329
const int PgLiveTabletServerPB::kIsPrimaryFieldNumber;
14330
const int PgLiveTabletServerPB::kPublicIpFieldNumber;
14331
const int PgLiveTabletServerPB::kPgPortFieldNumber;
14332
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
14333
14334
PgLiveTabletServerPB::PgLiveTabletServerPB()
14335
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
14336
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
14337
24
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgLiveTabletServerPB();
14338
24
  }
14339
26.8k
  SharedCtor();
14340
  // @@protoc_insertion_point(constructor:yb.tserver.PgLiveTabletServerPB)
14341
26.8k
}
14342
PgLiveTabletServerPB::PgLiveTabletServerPB(const PgLiveTabletServerPB& from)
14343
  : ::google::protobuf::Message(),
14344
      _internal_metadata_(NULL),
14345
0
      _cached_size_(0) {
14346
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
14347
0
  uuid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14348
0
  if (from.uuid().size() > 0) {
14349
0
    uuid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uuid_);
14350
0
  }
14351
0
  hostname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14352
0
  if (from.hostname().size() > 0) {
14353
0
    hostname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.hostname_);
14354
0
  }
14355
0
  placement_uuid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14356
0
  if (from.placement_uuid().size() > 0) {
14357
0
    placement_uuid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.placement_uuid_);
14358
0
  }
14359
0
  cloud_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14360
0
  if (from.cloud().size() > 0) {
14361
0
    cloud_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cloud_);
14362
0
  }
14363
0
  region_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14364
0
  if (from.region().size() > 0) {
14365
0
    region_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.region_);
14366
0
  }
14367
0
  zone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14368
0
  if (from.zone().size() > 0) {
14369
0
    zone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.zone_);
14370
0
  }
14371
0
  public_ip_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14372
0
  if (from.public_ip().size() > 0) {
14373
0
    public_ip_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.public_ip_);
14374
0
  }
14375
0
  ::memcpy(&is_primary_, &from.is_primary_,
14376
0
    static_cast<size_t>(reinterpret_cast<char*>(&pg_port_) -
14377
0
    reinterpret_cast<char*>(&is_primary_)) + sizeof(pg_port_));
14378
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgLiveTabletServerPB)
14379
0
}
14380
14381
26.8k
void PgLiveTabletServerPB::SharedCtor() {
14382
26.8k
  uuid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14383
26.8k
  hostname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14384
26.8k
  placement_uuid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14385
26.8k
  cloud_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14386
26.8k
  region_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14387
26.8k
  zone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14388
26.8k
  public_ip_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14389
26.8k
  ::memset(&is_primary_, 0, static_cast<size_t>(
14390
26.8k
      reinterpret_cast<char*>(&pg_port_) -
14391
26.8k
      reinterpret_cast<char*>(&is_primary_)) + sizeof(pg_port_));
14392
26.8k
  _cached_size_ = 0;
14393
26.8k
}
14394
14395
24
PgLiveTabletServerPB::~PgLiveTabletServerPB() {
14396
  // @@protoc_insertion_point(destructor:yb.tserver.PgLiveTabletServerPB)
14397
24
  SharedDtor();
14398
24
}
14399
14400
24
void PgLiveTabletServerPB::SharedDtor() {
14401
24
  uuid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14402
24
  hostname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14403
24
  placement_uuid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14404
24
  cloud_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14405
24
  region_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14406
24
  zone_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14407
24
  public_ip_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14408
24
}
14409
14410
0
void PgLiveTabletServerPB::SetCachedSize(int size) const {
14411
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14412
0
  _cached_size_ = size;
14413
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
14414
0
}
14415
0
const ::google::protobuf::Descriptor* PgLiveTabletServerPB::descriptor() {
14416
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
14417
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
14418
0
}
14419
14420
0
const PgLiveTabletServerPB& PgLiveTabletServerPB::default_instance() {
14421
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgLiveTabletServerPB();
14422
0
  return *internal_default_instance();
14423
0
}
14424
14425
0
PgLiveTabletServerPB* PgLiveTabletServerPB::New(::google::protobuf::Arena* arena) const {
14426
0
  PgLiveTabletServerPB* n = new PgLiveTabletServerPB;
14427
0
  if (arena != NULL) {
14428
0
    arena->Own(n);
14429
0
  }
14430
0
  return n;
14431
0
}
14432
14433
0
void PgLiveTabletServerPB::Clear() {
14434
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgLiveTabletServerPB)
14435
0
  ::google::protobuf::uint32 cached_has_bits = 0;
14436
  // Prevent compiler warnings about cached_has_bits being unused
14437
0
  (void) cached_has_bits;
14438
14439
0
  uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14440
0
  hostname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14441
0
  placement_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14442
0
  cloud_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14443
0
  region_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14444
0
  zone_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14445
0
  public_ip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14446
0
  ::memset(&is_primary_, 0, static_cast<size_t>(
14447
0
      reinterpret_cast<char*>(&pg_port_) -
14448
0
      reinterpret_cast<char*>(&is_primary_)) + sizeof(pg_port_));
14449
0
  _internal_metadata_.Clear();
14450
0
}
14451
14452
bool PgLiveTabletServerPB::MergePartialFromCodedStream(
14453
12
    ::google::protobuf::io::CodedInputStream* input) {
14454
144
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
14455
12
  ::google::protobuf::uint32 tag;
14456
  // @@protoc_insertion_point(parse_start:yb.tserver.PgLiveTabletServerPB)
14457
96
  for (;;) {
14458
96
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
14459
96
    tag = p.first;
14460
96
    if (!p.second) 
goto handle_unusual12
;
14461
84
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
14462
      // string uuid = 1;
14463
12
      case 1: {
14464
12
        if (static_cast< ::google::protobuf::uint8>(tag) ==
14465
12
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
14466
12
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
14467
12
                input, this->mutable_uuid()));
14468
12
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14469
12
            this->uuid().data(), static_cast<int>(this->uuid().length()),
14470
12
            ::google::protobuf::internal::WireFormatLite::PARSE,
14471
12
            "yb.tserver.PgLiveTabletServerPB.uuid"));
14472
12
        } else {
14473
0
          goto handle_unusual;
14474
0
        }
14475
12
        break;
14476
12
      }
14477
14478
      // string hostname = 2;
14479
12
      case 2: {
14480
12
        if (static_cast< ::google::protobuf::uint8>(tag) ==
14481
12
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
14482
12
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
14483
12
                input, this->mutable_hostname()));
14484
12
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14485
12
            this->hostname().data(), static_cast<int>(this->hostname().length()),
14486
12
            ::google::protobuf::internal::WireFormatLite::PARSE,
14487
12
            "yb.tserver.PgLiveTabletServerPB.hostname"));
14488
12
        } else {
14489
0
          goto handle_unusual;
14490
0
        }
14491
12
        break;
14492
12
      }
14493
14494
      // string placement_uuid = 3;
14495
12
      case 3: {
14496
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
14497
0
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
14498
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
14499
0
                input, this->mutable_placement_uuid()));
14500
0
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14501
0
            this->placement_uuid().data(), static_cast<int>(this->placement_uuid().length()),
14502
0
            ::google::protobuf::internal::WireFormatLite::PARSE,
14503
0
            "yb.tserver.PgLiveTabletServerPB.placement_uuid"));
14504
0
        } else {
14505
0
          goto handle_unusual;
14506
0
        }
14507
0
        break;
14508
0
      }
14509
14510
      // string cloud = 4;
14511
12
      case 4: {
14512
12
        if (static_cast< ::google::protobuf::uint8>(tag) ==
14513
12
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
14514
12
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
14515
12
                input, this->mutable_cloud()));
14516
12
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14517
12
            this->cloud().data(), static_cast<int>(this->cloud().length()),
14518
12
            ::google::protobuf::internal::WireFormatLite::PARSE,
14519
12
            "yb.tserver.PgLiveTabletServerPB.cloud"));
14520
12
        } else {
14521
0
          goto handle_unusual;
14522
0
        }
14523
12
        break;
14524
12
      }
14525
14526
      // string region = 5;
14527
12
      case 5: {
14528
12
        if (static_cast< ::google::protobuf::uint8>(tag) ==
14529
12
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
14530
12
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
14531
12
                input, this->mutable_region()));
14532
12
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14533
12
            this->region().data(), static_cast<int>(this->region().length()),
14534
12
            ::google::protobuf::internal::WireFormatLite::PARSE,
14535
12
            "yb.tserver.PgLiveTabletServerPB.region"));
14536
12
        } else {
14537
0
          goto handle_unusual;
14538
0
        }
14539
12
        break;
14540
12
      }
14541
14542
      // string zone = 6;
14543
12
      case 6: {
14544
12
        if (static_cast< ::google::protobuf::uint8>(tag) ==
14545
12
            static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
14546
12
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
14547
12
                input, this->mutable_zone()));
14548
12
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14549
12
            this->zone().data(), static_cast<int>(this->zone().length()),
14550
12
            ::google::protobuf::internal::WireFormatLite::PARSE,
14551
12
            "yb.tserver.PgLiveTabletServerPB.zone"));
14552
12
        } else {
14553
0
          goto handle_unusual;
14554
0
        }
14555
12
        break;
14556
12
      }
14557
14558
      // bool is_primary = 7;
14559
12
      case 7: {
14560
12
        if (static_cast< ::google::protobuf::uint8>(tag) ==
14561
12
            static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
14562
14563
12
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
14564
12
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
14565
12
                 input, &is_primary_)));
14566
12
        } else {
14567
0
          goto handle_unusual;
14568
0
        }
14569
12
        break;
14570
12
      }
14571
14572
      // string public_ip = 8;
14573
12
      case 8: {
14574
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
14575
0
            static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
14576
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
14577
0
                input, this->mutable_public_ip()));
14578
0
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14579
0
            this->public_ip().data(), static_cast<int>(this->public_ip().length()),
14580
0
            ::google::protobuf::internal::WireFormatLite::PARSE,
14581
0
            "yb.tserver.PgLiveTabletServerPB.public_ip"));
14582
0
        } else {
14583
0
          goto handle_unusual;
14584
0
        }
14585
0
        break;
14586
0
      }
14587
14588
      // uint32 pg_port = 9;
14589
12
      case 9: {
14590
12
        if (static_cast< ::google::protobuf::uint8>(tag) ==
14591
12
            static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
14592
14593
12
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
14594
12
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
14595
12
                 input, &pg_port_)));
14596
12
        } else {
14597
0
          goto handle_unusual;
14598
0
        }
14599
12
        break;
14600
12
      }
14601
14602
12
      default: {
14603
12
      handle_unusual:
14604
12
        if (tag == 0) {
14605
12
          goto success;
14606
12
        }
14607
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
14608
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
14609
0
        break;
14610
0
      }
14611
84
    }
14612
84
  }
14613
12
success:
14614
  // @@protoc_insertion_point(parse_success:yb.tserver.PgLiveTabletServerPB)
14615
12
  return true;
14616
0
failure:
14617
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgLiveTabletServerPB)
14618
0
  return false;
14619
12
#undef DO_
14620
12
}
14621
14622
void PgLiveTabletServerPB::SerializeWithCachedSizes(
14623
0
    ::google::protobuf::io::CodedOutputStream* output) const {
14624
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgLiveTabletServerPB)
14625
0
  ::google::protobuf::uint32 cached_has_bits = 0;
14626
0
  (void) cached_has_bits;
14627
14628
  // string uuid = 1;
14629
0
  if (this->uuid().size() > 0) {
14630
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14631
0
      this->uuid().data(), static_cast<int>(this->uuid().length()),
14632
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
14633
0
      "yb.tserver.PgLiveTabletServerPB.uuid");
14634
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
14635
0
      1, this->uuid(), output);
14636
0
  }
14637
14638
  // string hostname = 2;
14639
0
  if (this->hostname().size() > 0) {
14640
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14641
0
      this->hostname().data(), static_cast<int>(this->hostname().length()),
14642
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
14643
0
      "yb.tserver.PgLiveTabletServerPB.hostname");
14644
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
14645
0
      2, this->hostname(), output);
14646
0
  }
14647
14648
  // string placement_uuid = 3;
14649
0
  if (this->placement_uuid().size() > 0) {
14650
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14651
0
      this->placement_uuid().data(), static_cast<int>(this->placement_uuid().length()),
14652
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
14653
0
      "yb.tserver.PgLiveTabletServerPB.placement_uuid");
14654
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
14655
0
      3, this->placement_uuid(), output);
14656
0
  }
14657
14658
  // string cloud = 4;
14659
0
  if (this->cloud().size() > 0) {
14660
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14661
0
      this->cloud().data(), static_cast<int>(this->cloud().length()),
14662
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
14663
0
      "yb.tserver.PgLiveTabletServerPB.cloud");
14664
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
14665
0
      4, this->cloud(), output);
14666
0
  }
14667
14668
  // string region = 5;
14669
0
  if (this->region().size() > 0) {
14670
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14671
0
      this->region().data(), static_cast<int>(this->region().length()),
14672
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
14673
0
      "yb.tserver.PgLiveTabletServerPB.region");
14674
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
14675
0
      5, this->region(), output);
14676
0
  }
14677
14678
  // string zone = 6;
14679
0
  if (this->zone().size() > 0) {
14680
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14681
0
      this->zone().data(), static_cast<int>(this->zone().length()),
14682
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
14683
0
      "yb.tserver.PgLiveTabletServerPB.zone");
14684
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
14685
0
      6, this->zone(), output);
14686
0
  }
14687
14688
  // bool is_primary = 7;
14689
0
  if (this->is_primary() != 0) {
14690
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->is_primary(), output);
14691
0
  }
14692
14693
  // string public_ip = 8;
14694
0
  if (this->public_ip().size() > 0) {
14695
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14696
0
      this->public_ip().data(), static_cast<int>(this->public_ip().length()),
14697
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
14698
0
      "yb.tserver.PgLiveTabletServerPB.public_ip");
14699
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
14700
0
      8, this->public_ip(), output);
14701
0
  }
14702
14703
  // uint32 pg_port = 9;
14704
0
  if (this->pg_port() != 0) {
14705
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(9, this->pg_port(), output);
14706
0
  }
14707
14708
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
14709
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
14710
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
14711
0
  }
14712
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgLiveTabletServerPB)
14713
0
}
14714
14715
::google::protobuf::uint8* PgLiveTabletServerPB::InternalSerializeWithCachedSizesToArray(
14716
12
    bool deterministic, ::google::protobuf::uint8* target) const {
14717
12
  (void)deterministic; // Unused
14718
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgLiveTabletServerPB)
14719
12
  ::google::protobuf::uint32 cached_has_bits = 0;
14720
12
  (void) cached_has_bits;
14721
14722
  // string uuid = 1;
14723
12
  if (this->uuid().size() > 0) {
14724
12
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14725
12
      this->uuid().data(), static_cast<int>(this->uuid().length()),
14726
12
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
14727
12
      "yb.tserver.PgLiveTabletServerPB.uuid");
14728
12
    target =
14729
12
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
14730
12
        1, this->uuid(), target);
14731
12
  }
14732
14733
  // string hostname = 2;
14734
12
  if (this->hostname().size() > 0) {
14735
12
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14736
12
      this->hostname().data(), static_cast<int>(this->hostname().length()),
14737
12
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
14738
12
      "yb.tserver.PgLiveTabletServerPB.hostname");
14739
12
    target =
14740
12
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
14741
12
        2, this->hostname(), target);
14742
12
  }
14743
14744
  // string placement_uuid = 3;
14745
12
  if (this->placement_uuid().size() > 0) {
14746
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14747
0
      this->placement_uuid().data(), static_cast<int>(this->placement_uuid().length()),
14748
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
14749
0
      "yb.tserver.PgLiveTabletServerPB.placement_uuid");
14750
0
    target =
14751
0
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
14752
0
        3, this->placement_uuid(), target);
14753
0
  }
14754
14755
  // string cloud = 4;
14756
12
  if (this->cloud().size() > 0) {
14757
12
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14758
12
      this->cloud().data(), static_cast<int>(this->cloud().length()),
14759
12
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
14760
12
      "yb.tserver.PgLiveTabletServerPB.cloud");
14761
12
    target =
14762
12
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
14763
12
        4, this->cloud(), target);
14764
12
  }
14765
14766
  // string region = 5;
14767
12
  if (this->region().size() > 0) {
14768
12
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14769
12
      this->region().data(), static_cast<int>(this->region().length()),
14770
12
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
14771
12
      "yb.tserver.PgLiveTabletServerPB.region");
14772
12
    target =
14773
12
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
14774
12
        5, this->region(), target);
14775
12
  }
14776
14777
  // string zone = 6;
14778
12
  if (this->zone().size() > 0) {
14779
12
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14780
12
      this->zone().data(), static_cast<int>(this->zone().length()),
14781
12
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
14782
12
      "yb.tserver.PgLiveTabletServerPB.zone");
14783
12
    target =
14784
12
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
14785
12
        6, this->zone(), target);
14786
12
  }
14787
14788
  // bool is_primary = 7;
14789
12
  if (this->is_primary() != 0) {
14790
12
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->is_primary(), target);
14791
12
  }
14792
14793
  // string public_ip = 8;
14794
12
  if (this->public_ip().size() > 0) {
14795
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14796
0
      this->public_ip().data(), static_cast<int>(this->public_ip().length()),
14797
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
14798
0
      "yb.tserver.PgLiveTabletServerPB.public_ip");
14799
0
    target =
14800
0
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
14801
0
        8, this->public_ip(), target);
14802
0
  }
14803
14804
  // uint32 pg_port = 9;
14805
12
  if (this->pg_port() != 0) {
14806
12
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(9, this->pg_port(), target);
14807
12
  }
14808
14809
12
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
14810
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
14811
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
14812
0
  }
14813
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgLiveTabletServerPB)
14814
12
  return target;
14815
12
}
14816
14817
24
size_t PgLiveTabletServerPB::ByteSizeLong() const {
14818
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgLiveTabletServerPB)
14819
24
  size_t total_size = 0;
14820
14821
24
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
14822
0
    total_size +=
14823
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
14824
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
14825
0
  }
14826
  // string uuid = 1;
14827
24
  if (this->uuid().size() > 0) {
14828
24
    total_size += 1 +
14829
24
      ::google::protobuf::internal::WireFormatLite::StringSize(
14830
24
        this->uuid());
14831
24
  }
14832
14833
  // string hostname = 2;
14834
24
  if (this->hostname().size() > 0) {
14835
24
    total_size += 1 +
14836
24
      ::google::protobuf::internal::WireFormatLite::StringSize(
14837
24
        this->hostname());
14838
24
  }
14839
14840
  // string placement_uuid = 3;
14841
24
  if (this->placement_uuid().size() > 0) {
14842
0
    total_size += 1 +
14843
0
      ::google::protobuf::internal::WireFormatLite::StringSize(
14844
0
        this->placement_uuid());
14845
0
  }
14846
14847
  // string cloud = 4;
14848
24
  if (this->cloud().size() > 0) {
14849
24
    total_size += 1 +
14850
24
      ::google::protobuf::internal::WireFormatLite::StringSize(
14851
24
        this->cloud());
14852
24
  }
14853
14854
  // string region = 5;
14855
24
  if (this->region().size() > 0) {
14856
24
    total_size += 1 +
14857
24
      ::google::protobuf::internal::WireFormatLite::StringSize(
14858
24
        this->region());
14859
24
  }
14860
14861
  // string zone = 6;
14862
24
  if (this->zone().size() > 0) {
14863
24
    total_size += 1 +
14864
24
      ::google::protobuf::internal::WireFormatLite::StringSize(
14865
24
        this->zone());
14866
24
  }
14867
14868
  // string public_ip = 8;
14869
24
  if (this->public_ip().size() > 0) {
14870
0
    total_size += 1 +
14871
0
      ::google::protobuf::internal::WireFormatLite::StringSize(
14872
0
        this->public_ip());
14873
0
  }
14874
14875
  // bool is_primary = 7;
14876
24
  if (this->is_primary() != 0) {
14877
24
    total_size += 1 + 1;
14878
24
  }
14879
14880
  // uint32 pg_port = 9;
14881
24
  if (this->pg_port() != 0) {
14882
24
    total_size += 1 +
14883
24
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
14884
24
        this->pg_port());
14885
24
  }
14886
14887
24
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
14888
24
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14889
24
  _cached_size_ = cached_size;
14890
24
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
14891
24
  return total_size;
14892
24
}
14893
14894
0
void PgLiveTabletServerPB::MergeFrom(const ::google::protobuf::Message& from) {
14895
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgLiveTabletServerPB)
14896
0
  GOOGLE_DCHECK_NE(&from, this);
14897
0
  const PgLiveTabletServerPB* source =
14898
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgLiveTabletServerPB>(
14899
0
          &from);
14900
0
  if (source == NULL) {
14901
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgLiveTabletServerPB)
14902
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
14903
0
  } else {
14904
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgLiveTabletServerPB)
14905
0
    MergeFrom(*source);
14906
0
  }
14907
0
}
14908
14909
0
void PgLiveTabletServerPB::MergeFrom(const PgLiveTabletServerPB& from) {
14910
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgLiveTabletServerPB)
14911
0
  GOOGLE_DCHECK_NE(&from, this);
14912
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
14913
0
  ::google::protobuf::uint32 cached_has_bits = 0;
14914
0
  (void) cached_has_bits;
14915
14916
0
  if (from.uuid().size() > 0) {
14917
14918
0
    uuid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uuid_);
14919
0
  }
14920
0
  if (from.hostname().size() > 0) {
14921
14922
0
    hostname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.hostname_);
14923
0
  }
14924
0
  if (from.placement_uuid().size() > 0) {
14925
14926
0
    placement_uuid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.placement_uuid_);
14927
0
  }
14928
0
  if (from.cloud().size() > 0) {
14929
14930
0
    cloud_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cloud_);
14931
0
  }
14932
0
  if (from.region().size() > 0) {
14933
14934
0
    region_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.region_);
14935
0
  }
14936
0
  if (from.zone().size() > 0) {
14937
14938
0
    zone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.zone_);
14939
0
  }
14940
0
  if (from.public_ip().size() > 0) {
14941
14942
0
    public_ip_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.public_ip_);
14943
0
  }
14944
0
  if (from.is_primary() != 0) {
14945
0
    set_is_primary(from.is_primary());
14946
0
  }
14947
0
  if (from.pg_port() != 0) {
14948
0
    set_pg_port(from.pg_port());
14949
0
  }
14950
0
}
14951
14952
0
void PgLiveTabletServerPB::CopyFrom(const ::google::protobuf::Message& from) {
14953
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgLiveTabletServerPB)
14954
0
  if (&from == this) return;
14955
0
  Clear();
14956
0
  MergeFrom(from);
14957
0
}
14958
14959
0
void PgLiveTabletServerPB::CopyFrom(const PgLiveTabletServerPB& from) {
14960
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgLiveTabletServerPB)
14961
0
  if (&from == this) return;
14962
0
  Clear();
14963
0
  MergeFrom(from);
14964
0
}
14965
14966
0
bool PgLiveTabletServerPB::IsInitialized() const {
14967
0
  return true;
14968
0
}
14969
14970
0
void PgLiveTabletServerPB::Swap(PgLiveTabletServerPB* other) {
14971
0
  if (other == this) return;
14972
0
  InternalSwap(other);
14973
0
}
14974
0
void PgLiveTabletServerPB::InternalSwap(PgLiveTabletServerPB* other) {
14975
0
  using std::swap;
14976
0
  uuid_.Swap(&other->uuid_);
14977
0
  hostname_.Swap(&other->hostname_);
14978
0
  placement_uuid_.Swap(&other->placement_uuid_);
14979
0
  cloud_.Swap(&other->cloud_);
14980
0
  region_.Swap(&other->region_);
14981
0
  zone_.Swap(&other->zone_);
14982
0
  public_ip_.Swap(&other->public_ip_);
14983
0
  swap(is_primary_, other->is_primary_);
14984
0
  swap(pg_port_, other->pg_port_);
14985
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
14986
0
  swap(_cached_size_, other->_cached_size_);
14987
0
}
14988
14989
0
::google::protobuf::Metadata PgLiveTabletServerPB::GetMetadata() const {
14990
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
14991
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
14992
0
}
14993
14994
14995
// ===================================================================
14996
14997
26.8k
void PgListLiveTabletServersResponsePB::InitAsDefaultInstance() {
14998
26.8k
  ::yb::tserver::_PgListLiveTabletServersResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
14999
26.8k
      ::yb::AppStatusPB::internal_default_instance());
15000
26.8k
}
15001
0
void PgListLiveTabletServersResponsePB::clear_status() {
15002
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
15003
0
    delete status_;
15004
0
  }
15005
0
  status_ = NULL;
15006
0
}
15007
#if !defined(_MSC_VER) || _MSC_VER >= 1900
15008
const int PgListLiveTabletServersResponsePB::kStatusFieldNumber;
15009
const int PgListLiveTabletServersResponsePB::kServersFieldNumber;
15010
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
15011
15012
PgListLiveTabletServersResponsePB::PgListLiveTabletServersResponsePB()
15013
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
15014
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
15015
8
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgListLiveTabletServersResponsePB();
15016
8
  }
15017
26.8k
  SharedCtor();
15018
  // @@protoc_insertion_point(constructor:yb.tserver.PgListLiveTabletServersResponsePB)
15019
26.8k
}
15020
PgListLiveTabletServersResponsePB::PgListLiveTabletServersResponsePB(const PgListLiveTabletServersResponsePB& from)
15021
  : ::google::protobuf::Message(),
15022
      _internal_metadata_(NULL),
15023
      servers_(from.servers_),
15024
0
      _cached_size_(0) {
15025
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
15026
0
  if (from.has_status()) {
15027
0
    status_ = new ::yb::AppStatusPB(*from.status_);
15028
0
  } else {
15029
0
    status_ = NULL;
15030
0
  }
15031
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgListLiveTabletServersResponsePB)
15032
0
}
15033
15034
26.8k
void PgListLiveTabletServersResponsePB::SharedCtor() {
15035
26.8k
  status_ = NULL;
15036
26.8k
  _cached_size_ = 0;
15037
26.8k
}
15038
15039
8
PgListLiveTabletServersResponsePB::~PgListLiveTabletServersResponsePB() {
15040
  // @@protoc_insertion_point(destructor:yb.tserver.PgListLiveTabletServersResponsePB)
15041
8
  SharedDtor();
15042
8
}
15043
15044
8
void PgListLiveTabletServersResponsePB::SharedDtor() {
15045
8
  if (this != internal_default_instance()) delete status_;
15046
8
}
15047
15048
0
void PgListLiveTabletServersResponsePB::SetCachedSize(int size) const {
15049
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
15050
0
  _cached_size_ = size;
15051
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
15052
0
}
15053
0
const ::google::protobuf::Descriptor* PgListLiveTabletServersResponsePB::descriptor() {
15054
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
15055
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
15056
0
}
15057
15058
0
const PgListLiveTabletServersResponsePB& PgListLiveTabletServersResponsePB::default_instance() {
15059
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgListLiveTabletServersResponsePB();
15060
0
  return *internal_default_instance();
15061
0
}
15062
15063
0
PgListLiveTabletServersResponsePB* PgListLiveTabletServersResponsePB::New(::google::protobuf::Arena* arena) const {
15064
0
  PgListLiveTabletServersResponsePB* n = new PgListLiveTabletServersResponsePB;
15065
0
  if (arena != NULL) {
15066
0
    arena->Own(n);
15067
0
  }
15068
0
  return n;
15069
0
}
15070
15071
4
void PgListLiveTabletServersResponsePB::Clear() {
15072
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgListLiveTabletServersResponsePB)
15073
4
  ::google::protobuf::uint32 cached_has_bits = 0;
15074
  // Prevent compiler warnings about cached_has_bits being unused
15075
4
  (void) cached_has_bits;
15076
15077
4
  servers_.Clear();
15078
4
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
15079
0
    delete status_;
15080
0
  }
15081
4
  status_ = NULL;
15082
4
  _internal_metadata_.Clear();
15083
4
}
15084
15085
bool PgListLiveTabletServersResponsePB::MergePartialFromCodedStream(
15086
4
    ::google::protobuf::io::CodedInputStream* input) {
15087
12
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
15088
4
  ::google::protobuf::uint32 tag;
15089
  // @@protoc_insertion_point(parse_start:yb.tserver.PgListLiveTabletServersResponsePB)
15090
16
  for (;;) {
15091
16
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
15092
16
    tag = p.first;
15093
16
    if (!p.second) 
goto handle_unusual4
;
15094
12
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
15095
      // .yb.AppStatusPB status = 1;
15096
0
      case 1: {
15097
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15098
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
15099
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
15100
0
               input, mutable_status()));
15101
0
        } else {
15102
0
          goto handle_unusual;
15103
0
        }
15104
0
        break;
15105
0
      }
15106
15107
      // repeated .yb.tserver.PgLiveTabletServerPB servers = 2;
15108
12
      case 2: {
15109
12
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15110
12
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
15111
12
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_servers()));
15112
12
        } else {
15113
0
          goto handle_unusual;
15114
0
        }
15115
12
        break;
15116
12
      }
15117
15118
12
      default: {
15119
4
      handle_unusual:
15120
4
        if (tag == 0) {
15121
4
          goto success;
15122
4
        }
15123
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
15124
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
15125
0
        break;
15126
0
      }
15127
12
    }
15128
12
  }
15129
4
success:
15130
  // @@protoc_insertion_point(parse_success:yb.tserver.PgListLiveTabletServersResponsePB)
15131
4
  return true;
15132
0
failure:
15133
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgListLiveTabletServersResponsePB)
15134
0
  return false;
15135
4
#undef DO_
15136
4
}
15137
15138
void PgListLiveTabletServersResponsePB::SerializeWithCachedSizes(
15139
0
    ::google::protobuf::io::CodedOutputStream* output) const {
15140
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgListLiveTabletServersResponsePB)
15141
0
  ::google::protobuf::uint32 cached_has_bits = 0;
15142
0
  (void) cached_has_bits;
15143
15144
  // .yb.AppStatusPB status = 1;
15145
0
  if (this->has_status()) {
15146
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
15147
0
      1, *this->status_, output);
15148
0
  }
15149
15150
  // repeated .yb.tserver.PgLiveTabletServerPB servers = 2;
15151
0
  for (unsigned int i = 0,
15152
0
      n = static_cast<unsigned int>(this->servers_size()); i < n; i++) {
15153
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
15154
0
      2, this->servers(static_cast<int>(i)), output);
15155
0
  }
15156
15157
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
15158
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
15159
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
15160
0
  }
15161
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgListLiveTabletServersResponsePB)
15162
0
}
15163
15164
::google::protobuf::uint8* PgListLiveTabletServersResponsePB::InternalSerializeWithCachedSizesToArray(
15165
4
    bool deterministic, ::google::protobuf::uint8* target) const {
15166
4
  (void)deterministic; // Unused
15167
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgListLiveTabletServersResponsePB)
15168
4
  ::google::protobuf::uint32 cached_has_bits = 0;
15169
4
  (void) cached_has_bits;
15170
15171
  // .yb.AppStatusPB status = 1;
15172
4
  if (this->has_status()) {
15173
0
    target = ::google::protobuf::internal::WireFormatLite::
15174
0
      InternalWriteMessageToArray(
15175
0
        1, *this->status_, deterministic, target);
15176
0
  }
15177
15178
  // repeated .yb.tserver.PgLiveTabletServerPB servers = 2;
15179
4
  for (unsigned int i = 0,
15180
16
      n = static_cast<unsigned int>(this->servers_size()); i < n; 
i++12
) {
15181
12
    target = ::google::protobuf::internal::WireFormatLite::
15182
12
      InternalWriteMessageToArray(
15183
12
        2, this->servers(static_cast<int>(i)), deterministic, target);
15184
12
  }
15185
15186
4
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
15187
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
15188
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
15189
0
  }
15190
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgListLiveTabletServersResponsePB)
15191
4
  return target;
15192
4
}
15193
15194
8
size_t PgListLiveTabletServersResponsePB::ByteSizeLong() const {
15195
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgListLiveTabletServersResponsePB)
15196
8
  size_t total_size = 0;
15197
15198
8
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
15199
0
    total_size +=
15200
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
15201
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
15202
0
  }
15203
  // repeated .yb.tserver.PgLiveTabletServerPB servers = 2;
15204
8
  {
15205
8
    unsigned int count = static_cast<unsigned int>(this->servers_size());
15206
8
    total_size += 1UL * count;
15207
32
    for (unsigned int i = 0; i < count; 
i++24
) {
15208
24
      total_size +=
15209
24
        ::google::protobuf::internal::WireFormatLite::MessageSize(
15210
24
          this->servers(static_cast<int>(i)));
15211
24
    }
15212
8
  }
15213
15214
  // .yb.AppStatusPB status = 1;
15215
8
  if (this->has_status()) {
15216
0
    total_size += 1 +
15217
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
15218
0
        *this->status_);
15219
0
  }
15220
15221
8
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
15222
8
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
15223
8
  _cached_size_ = cached_size;
15224
8
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
15225
8
  return total_size;
15226
8
}
15227
15228
0
void PgListLiveTabletServersResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
15229
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgListLiveTabletServersResponsePB)
15230
0
  GOOGLE_DCHECK_NE(&from, this);
15231
0
  const PgListLiveTabletServersResponsePB* source =
15232
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgListLiveTabletServersResponsePB>(
15233
0
          &from);
15234
0
  if (source == NULL) {
15235
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgListLiveTabletServersResponsePB)
15236
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
15237
0
  } else {
15238
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgListLiveTabletServersResponsePB)
15239
0
    MergeFrom(*source);
15240
0
  }
15241
0
}
15242
15243
0
void PgListLiveTabletServersResponsePB::MergeFrom(const PgListLiveTabletServersResponsePB& from) {
15244
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgListLiveTabletServersResponsePB)
15245
0
  GOOGLE_DCHECK_NE(&from, this);
15246
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
15247
0
  ::google::protobuf::uint32 cached_has_bits = 0;
15248
0
  (void) cached_has_bits;
15249
15250
0
  servers_.MergeFrom(from.servers_);
15251
0
  if (from.has_status()) {
15252
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
15253
0
  }
15254
0
}
15255
15256
0
void PgListLiveTabletServersResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
15257
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgListLiveTabletServersResponsePB)
15258
0
  if (&from == this) return;
15259
0
  Clear();
15260
0
  MergeFrom(from);
15261
0
}
15262
15263
0
void PgListLiveTabletServersResponsePB::CopyFrom(const PgListLiveTabletServersResponsePB& from) {
15264
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgListLiveTabletServersResponsePB)
15265
0
  if (&from == this) return;
15266
0
  Clear();
15267
0
  MergeFrom(from);
15268
0
}
15269
15270
8
bool PgListLiveTabletServersResponsePB::IsInitialized() const {
15271
8
  if (has_status()) {
15272
0
    if (!this->status_->IsInitialized()) return false;
15273
0
  }
15274
8
  return true;
15275
8
}
15276
15277
0
void PgListLiveTabletServersResponsePB::Swap(PgListLiveTabletServersResponsePB* other) {
15278
0
  if (other == this) return;
15279
0
  InternalSwap(other);
15280
0
}
15281
0
void PgListLiveTabletServersResponsePB::InternalSwap(PgListLiveTabletServersResponsePB* other) {
15282
0
  using std::swap;
15283
0
  servers_.InternalSwap(&other->servers_);
15284
0
  swap(status_, other->status_);
15285
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
15286
0
  swap(_cached_size_, other->_cached_size_);
15287
0
}
15288
15289
0
::google::protobuf::Metadata PgListLiveTabletServersResponsePB::GetMetadata() const {
15290
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
15291
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
15292
0
}
15293
15294
15295
// ===================================================================
15296
15297
26.8k
void PgOpenTableRequestPB::InitAsDefaultInstance() {
15298
26.8k
}
15299
#if !defined(_MSC_VER) || _MSC_VER >= 1900
15300
const int PgOpenTableRequestPB::kTableIdFieldNumber;
15301
const int PgOpenTableRequestPB::kReopenFieldNumber;
15302
const int PgOpenTableRequestPB::kInvalidateCacheTimeUsFieldNumber;
15303
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
15304
15305
PgOpenTableRequestPB::PgOpenTableRequestPB()
15306
410k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
15307
410k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
15308
383k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgOpenTableRequestPB();
15309
383k
  }
15310
410k
  SharedCtor();
15311
  // @@protoc_insertion_point(constructor:yb.tserver.PgOpenTableRequestPB)
15312
410k
}
15313
PgOpenTableRequestPB::PgOpenTableRequestPB(const PgOpenTableRequestPB& from)
15314
  : ::google::protobuf::Message(),
15315
      _internal_metadata_(NULL),
15316
0
      _cached_size_(0) {
15317
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
15318
0
  table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15319
0
  if (from.table_id().size() > 0) {
15320
0
    table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_id_);
15321
0
  }
15322
0
  ::memcpy(&invalidate_cache_time_us_, &from.invalidate_cache_time_us_,
15323
0
    static_cast<size_t>(reinterpret_cast<char*>(&reopen_) -
15324
0
    reinterpret_cast<char*>(&invalidate_cache_time_us_)) + sizeof(reopen_));
15325
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgOpenTableRequestPB)
15326
0
}
15327
15328
410k
void PgOpenTableRequestPB::SharedCtor() {
15329
410k
  table_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15330
410k
  ::memset(&invalidate_cache_time_us_, 0, static_cast<size_t>(
15331
410k
      reinterpret_cast<char*>(&reopen_) -
15332
410k
      reinterpret_cast<char*>(&invalidate_cache_time_us_)) + sizeof(reopen_));
15333
410k
  _cached_size_ = 0;
15334
410k
}
15335
15336
383k
PgOpenTableRequestPB::~PgOpenTableRequestPB() {
15337
  // @@protoc_insertion_point(destructor:yb.tserver.PgOpenTableRequestPB)
15338
383k
  SharedDtor();
15339
383k
}
15340
15341
383k
void PgOpenTableRequestPB::SharedDtor() {
15342
383k
  table_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15343
383k
}
15344
15345
0
void PgOpenTableRequestPB::SetCachedSize(int size) const {
15346
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
15347
0
  _cached_size_ = size;
15348
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
15349
0
}
15350
0
const ::google::protobuf::Descriptor* PgOpenTableRequestPB::descriptor() {
15351
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
15352
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
15353
0
}
15354
15355
0
const PgOpenTableRequestPB& PgOpenTableRequestPB::default_instance() {
15356
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgOpenTableRequestPB();
15357
0
  return *internal_default_instance();
15358
0
}
15359
15360
0
PgOpenTableRequestPB* PgOpenTableRequestPB::New(::google::protobuf::Arena* arena) const {
15361
0
  PgOpenTableRequestPB* n = new PgOpenTableRequestPB;
15362
0
  if (arena != NULL) {
15363
0
    arena->Own(n);
15364
0
  }
15365
0
  return n;
15366
0
}
15367
15368
191k
void PgOpenTableRequestPB::Clear() {
15369
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgOpenTableRequestPB)
15370
191k
  ::google::protobuf::uint32 cached_has_bits = 0;
15371
  // Prevent compiler warnings about cached_has_bits being unused
15372
191k
  (void) cached_has_bits;
15373
15374
191k
  table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15375
191k
  ::memset(&invalidate_cache_time_us_, 0, static_cast<size_t>(
15376
191k
      reinterpret_cast<char*>(&reopen_) -
15377
191k
      reinterpret_cast<char*>(&invalidate_cache_time_us_)) + sizeof(reopen_));
15378
191k
  _internal_metadata_.Clear();
15379
191k
}
15380
15381
bool PgOpenTableRequestPB::MergePartialFromCodedStream(
15382
191k
    ::google::protobuf::io::CodedInputStream* input) {
15383
384k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
15384
191k
  ::google::protobuf::uint32 tag;
15385
  // @@protoc_insertion_point(parse_start:yb.tserver.PgOpenTableRequestPB)
15386
384k
  for (;;) {
15387
384k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
15388
384k
    tag = p.first;
15389
384k
    if (!p.second) 
goto handle_unusual191k
;
15390
192k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
15391
      // string table_id = 1;
15392
191k
      case 1: {
15393
191k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15394
191k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
15395
191k
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
15396
191k
                input, this->mutable_table_id()));
15397
191k
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
15398
191k
            this->table_id().data(), static_cast<int>(this->table_id().length()),
15399
191k
            ::google::protobuf::internal::WireFormatLite::PARSE,
15400
191k
            "yb.tserver.PgOpenTableRequestPB.table_id"));
15401
18.4E
        } else {
15402
18.4E
          goto handle_unusual;
15403
18.4E
        }
15404
191k
        break;
15405
191k
      }
15406
15407
      // bool reopen = 2;
15408
191k
      case 2: {
15409
9
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15410
9
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
15411
15412
9
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15413
9
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
15414
9
                 input, &reopen_)));
15415
9
        } else {
15416
0
          goto handle_unusual;
15417
0
        }
15418
9
        break;
15419
9
      }
15420
15421
      // fixed64 invalidate_cache_time_us = 3;
15422
1.04k
      case 3: {
15423
1.04k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15424
1.04k
            static_cast< ::google::protobuf::uint8>(25u /* 25 & 0xFF */)) {
15425
15426
1.04k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15427
1.04k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
15428
1.04k
                 input, &invalidate_cache_time_us_)));
15429
1.04k
        } else {
15430
0
          goto handle_unusual;
15431
0
        }
15432
1.04k
        break;
15433
1.04k
      }
15434
15435
1.04k
      default: {
15436
191k
      handle_unusual:
15437
191k
        if (
tag == 0191k
) {
15438
191k
          goto success;
15439
191k
        }
15440
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
15441
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
15442
18.4E
        break;
15443
18.4E
      }
15444
192k
    }
15445
192k
  }
15446
191k
success:
15447
  // @@protoc_insertion_point(parse_success:yb.tserver.PgOpenTableRequestPB)
15448
191k
  return true;
15449
0
failure:
15450
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgOpenTableRequestPB)
15451
0
  return false;
15452
191k
#undef DO_
15453
191k
}
15454
15455
void PgOpenTableRequestPB::SerializeWithCachedSizes(
15456
0
    ::google::protobuf::io::CodedOutputStream* output) const {
15457
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgOpenTableRequestPB)
15458
0
  ::google::protobuf::uint32 cached_has_bits = 0;
15459
0
  (void) cached_has_bits;
15460
15461
  // string table_id = 1;
15462
0
  if (this->table_id().size() > 0) {
15463
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
15464
0
      this->table_id().data(), static_cast<int>(this->table_id().length()),
15465
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
15466
0
      "yb.tserver.PgOpenTableRequestPB.table_id");
15467
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
15468
0
      1, this->table_id(), output);
15469
0
  }
15470
15471
  // bool reopen = 2;
15472
0
  if (this->reopen() != 0) {
15473
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->reopen(), output);
15474
0
  }
15475
15476
  // fixed64 invalidate_cache_time_us = 3;
15477
0
  if (this->invalidate_cache_time_us() != 0) {
15478
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(3, this->invalidate_cache_time_us(), output);
15479
0
  }
15480
15481
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
15482
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
15483
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
15484
0
  }
15485
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgOpenTableRequestPB)
15486
0
}
15487
15488
::google::protobuf::uint8* PgOpenTableRequestPB::InternalSerializeWithCachedSizesToArray(
15489
191k
    bool deterministic, ::google::protobuf::uint8* target) const {
15490
191k
  (void)deterministic; // Unused
15491
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgOpenTableRequestPB)
15492
191k
  ::google::protobuf::uint32 cached_has_bits = 0;
15493
191k
  (void) cached_has_bits;
15494
15495
  // string table_id = 1;
15496
191k
  if (this->table_id().size() > 0) {
15497
191k
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
15498
191k
      this->table_id().data(), static_cast<int>(this->table_id().length()),
15499
191k
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
15500
191k
      "yb.tserver.PgOpenTableRequestPB.table_id");
15501
191k
    target =
15502
191k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
15503
191k
        1, this->table_id(), target);
15504
191k
  }
15505
15506
  // bool reopen = 2;
15507
191k
  if (this->reopen() != 0) {
15508
9
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->reopen(), target);
15509
9
  }
15510
15511
  // fixed64 invalidate_cache_time_us = 3;
15512
191k
  if (this->invalidate_cache_time_us() != 0) {
15513
1.04k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(3, this->invalidate_cache_time_us(), target);
15514
1.04k
  }
15515
15516
191k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
15517
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
15518
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
15519
0
  }
15520
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgOpenTableRequestPB)
15521
191k
  return target;
15522
191k
}
15523
15524
383k
size_t PgOpenTableRequestPB::ByteSizeLong() const {
15525
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgOpenTableRequestPB)
15526
383k
  size_t total_size = 0;
15527
15528
383k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
15529
0
    total_size +=
15530
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
15531
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
15532
0
  }
15533
  // string table_id = 1;
15534
383k
  if (this->table_id().size() > 0) {
15535
383k
    total_size += 1 +
15536
383k
      ::google::protobuf::internal::WireFormatLite::StringSize(
15537
383k
        this->table_id());
15538
383k
  }
15539
15540
  // fixed64 invalidate_cache_time_us = 3;
15541
383k
  if (this->invalidate_cache_time_us() != 0) {
15542
2.08k
    total_size += 1 + 8;
15543
2.08k
  }
15544
15545
  // bool reopen = 2;
15546
383k
  if (this->reopen() != 0) {
15547
18
    total_size += 1 + 1;
15548
18
  }
15549
15550
383k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
15551
383k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
15552
383k
  _cached_size_ = cached_size;
15553
383k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
15554
383k
  return total_size;
15555
383k
}
15556
15557
0
void PgOpenTableRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
15558
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgOpenTableRequestPB)
15559
0
  GOOGLE_DCHECK_NE(&from, this);
15560
0
  const PgOpenTableRequestPB* source =
15561
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgOpenTableRequestPB>(
15562
0
          &from);
15563
0
  if (source == NULL) {
15564
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgOpenTableRequestPB)
15565
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
15566
0
  } else {
15567
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgOpenTableRequestPB)
15568
0
    MergeFrom(*source);
15569
0
  }
15570
0
}
15571
15572
0
void PgOpenTableRequestPB::MergeFrom(const PgOpenTableRequestPB& from) {
15573
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgOpenTableRequestPB)
15574
0
  GOOGLE_DCHECK_NE(&from, this);
15575
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
15576
0
  ::google::protobuf::uint32 cached_has_bits = 0;
15577
0
  (void) cached_has_bits;
15578
15579
0
  if (from.table_id().size() > 0) {
15580
15581
0
    table_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_id_);
15582
0
  }
15583
0
  if (from.invalidate_cache_time_us() != 0) {
15584
0
    set_invalidate_cache_time_us(from.invalidate_cache_time_us());
15585
0
  }
15586
0
  if (from.reopen() != 0) {
15587
0
    set_reopen(from.reopen());
15588
0
  }
15589
0
}
15590
15591
0
void PgOpenTableRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
15592
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgOpenTableRequestPB)
15593
0
  if (&from == this) return;
15594
0
  Clear();
15595
0
  MergeFrom(from);
15596
0
}
15597
15598
0
void PgOpenTableRequestPB::CopyFrom(const PgOpenTableRequestPB& from) {
15599
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgOpenTableRequestPB)
15600
0
  if (&from == this) return;
15601
0
  Clear();
15602
0
  MergeFrom(from);
15603
0
}
15604
15605
383k
bool PgOpenTableRequestPB::IsInitialized() const {
15606
383k
  return true;
15607
383k
}
15608
15609
0
void PgOpenTableRequestPB::Swap(PgOpenTableRequestPB* other) {
15610
0
  if (other == this) return;
15611
0
  InternalSwap(other);
15612
0
}
15613
0
void PgOpenTableRequestPB::InternalSwap(PgOpenTableRequestPB* other) {
15614
0
  using std::swap;
15615
0
  table_id_.Swap(&other->table_id_);
15616
0
  swap(invalidate_cache_time_us_, other->invalidate_cache_time_us_);
15617
0
  swap(reopen_, other->reopen_);
15618
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
15619
0
  swap(_cached_size_, other->_cached_size_);
15620
0
}
15621
15622
191k
::google::protobuf::Metadata PgOpenTableRequestPB::GetMetadata() const {
15623
191k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
15624
191k
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
15625
191k
}
15626
15627
15628
// ===================================================================
15629
15630
26.8k
void PgTablePartitionsPB::InitAsDefaultInstance() {
15631
26.8k
}
15632
#if !defined(_MSC_VER) || _MSC_VER >= 1900
15633
const int PgTablePartitionsPB::kVersionFieldNumber;
15634
const int PgTablePartitionsPB::kKeysFieldNumber;
15635
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
15636
15637
PgTablePartitionsPB::PgTablePartitionsPB()
15638
490k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
15639
490k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
15640
463k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgTablePartitionsPB();
15641
463k
  }
15642
490k
  SharedCtor();
15643
  // @@protoc_insertion_point(constructor:yb.tserver.PgTablePartitionsPB)
15644
490k
}
15645
PgTablePartitionsPB::PgTablePartitionsPB(const PgTablePartitionsPB& from)
15646
  : ::google::protobuf::Message(),
15647
      _internal_metadata_(NULL),
15648
      keys_(from.keys_),
15649
0
      _cached_size_(0) {
15650
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
15651
0
  version_ = from.version_;
15652
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgTablePartitionsPB)
15653
0
}
15654
15655
490k
void PgTablePartitionsPB::SharedCtor() {
15656
490k
  version_ = 0u;
15657
490k
  _cached_size_ = 0;
15658
490k
}
15659
15660
423k
PgTablePartitionsPB::~PgTablePartitionsPB() {
15661
  // @@protoc_insertion_point(destructor:yb.tserver.PgTablePartitionsPB)
15662
423k
  SharedDtor();
15663
423k
}
15664
15665
423k
void PgTablePartitionsPB::SharedDtor() {
15666
423k
}
15667
15668
0
void PgTablePartitionsPB::SetCachedSize(int size) const {
15669
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
15670
0
  _cached_size_ = size;
15671
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
15672
0
}
15673
0
const ::google::protobuf::Descriptor* PgTablePartitionsPB::descriptor() {
15674
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
15675
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
15676
0
}
15677
15678
0
const PgTablePartitionsPB& PgTablePartitionsPB::default_instance() {
15679
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgTablePartitionsPB();
15680
0
  return *internal_default_instance();
15681
0
}
15682
15683
0
PgTablePartitionsPB* PgTablePartitionsPB::New(::google::protobuf::Arena* arena) const {
15684
0
  PgTablePartitionsPB* n = new PgTablePartitionsPB;
15685
0
  if (arena != NULL) {
15686
0
    arena->Own(n);
15687
0
  }
15688
0
  return n;
15689
0
}
15690
15691
191k
void PgTablePartitionsPB::Clear() {
15692
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgTablePartitionsPB)
15693
191k
  ::google::protobuf::uint32 cached_has_bits = 0;
15694
  // Prevent compiler warnings about cached_has_bits being unused
15695
191k
  (void) cached_has_bits;
15696
15697
191k
  keys_.Clear();
15698
191k
  version_ = 0u;
15699
191k
  _internal_metadata_.Clear();
15700
191k
}
15701
15702
bool PgTablePartitionsPB::MergePartialFromCodedStream(
15703
191k
    ::google::protobuf::io::CodedInputStream* input) {
15704
222k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
15705
191k
  ::google::protobuf::uint32 tag;
15706
  // @@protoc_insertion_point(parse_start:yb.tserver.PgTablePartitionsPB)
15707
414k
  for (;;) {
15708
414k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
15709
414k
    tag = p.first;
15710
414k
    if (!p.second) 
goto handle_unusual191k
;
15711
222k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
15712
      // uint32 version = 1;
15713
0
      case 1: {
15714
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15715
0
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
15716
15717
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15718
0
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
15719
0
                 input, &version_)));
15720
0
        } else {
15721
0
          goto handle_unusual;
15722
0
        }
15723
0
        break;
15724
0
      }
15725
15726
      // repeated bytes keys = 2;
15727
222k
      case 2: {
15728
222k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
15729
222k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
15730
222k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
15731
222k
                input, this->add_keys()));
15732
18.4E
        } else {
15733
18.4E
          goto handle_unusual;
15734
18.4E
        }
15735
222k
        break;
15736
222k
      }
15737
15738
222k
      default: {
15739
191k
      handle_unusual:
15740
191k
        if (
tag == 0191k
) {
15741
191k
          goto success;
15742
191k
        }
15743
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
15744
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
15745
18.4E
        break;
15746
18.4E
      }
15747
222k
    }
15748
222k
  }
15749
18.4E
success:
15750
  // @@protoc_insertion_point(parse_success:yb.tserver.PgTablePartitionsPB)
15751
191k
  return true;
15752
0
failure:
15753
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgTablePartitionsPB)
15754
0
  return false;
15755
191k
#undef DO_
15756
191k
}
15757
15758
void PgTablePartitionsPB::SerializeWithCachedSizes(
15759
0
    ::google::protobuf::io::CodedOutputStream* output) const {
15760
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgTablePartitionsPB)
15761
0
  ::google::protobuf::uint32 cached_has_bits = 0;
15762
0
  (void) cached_has_bits;
15763
15764
  // uint32 version = 1;
15765
0
  if (this->version() != 0) {
15766
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->version(), output);
15767
0
  }
15768
15769
  // repeated bytes keys = 2;
15770
0
  for (int i = 0, n = this->keys_size(); i < n; i++) {
15771
0
    ::google::protobuf::internal::WireFormatLite::WriteBytes(
15772
0
      2, this->keys(i), output);
15773
0
  }
15774
15775
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
15776
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
15777
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
15778
0
  }
15779
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgTablePartitionsPB)
15780
0
}
15781
15782
::google::protobuf::uint8* PgTablePartitionsPB::InternalSerializeWithCachedSizesToArray(
15783
191k
    bool deterministic, ::google::protobuf::uint8* target) const {
15784
191k
  (void)deterministic; // Unused
15785
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgTablePartitionsPB)
15786
191k
  ::google::protobuf::uint32 cached_has_bits = 0;
15787
191k
  (void) cached_has_bits;
15788
15789
  // uint32 version = 1;
15790
191k
  if (this->version() != 0) {
15791
0
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->version(), target);
15792
0
  }
15793
15794
  // repeated bytes keys = 2;
15795
413k
  for (int i = 0, n = this->keys_size(); i < n; 
i++222k
) {
15796
222k
    target = ::google::protobuf::internal::WireFormatLite::
15797
222k
      WriteBytesToArray(2, this->keys(i), target);
15798
222k
  }
15799
15800
191k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
15801
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
15802
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
15803
0
  }
15804
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgTablePartitionsPB)
15805
191k
  return target;
15806
191k
}
15807
15808
383k
size_t PgTablePartitionsPB::ByteSizeLong() const {
15809
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgTablePartitionsPB)
15810
383k
  size_t total_size = 0;
15811
15812
383k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
15813
0
    total_size +=
15814
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
15815
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
15816
0
  }
15817
  // repeated bytes keys = 2;
15818
383k
  total_size += 1 *
15819
383k
      ::google::protobuf::internal::FromIntSize(this->keys_size());
15820
827k
  for (int i = 0, n = this->keys_size(); i < n; 
i++444k
) {
15821
444k
    total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
15822
444k
      this->keys(i));
15823
444k
  }
15824
15825
  // uint32 version = 1;
15826
383k
  if (this->version() != 0) {
15827
0
    total_size += 1 +
15828
0
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
15829
0
        this->version());
15830
0
  }
15831
15832
383k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
15833
383k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
15834
383k
  _cached_size_ = cached_size;
15835
383k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
15836
383k
  return total_size;
15837
383k
}
15838
15839
0
void PgTablePartitionsPB::MergeFrom(const ::google::protobuf::Message& from) {
15840
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgTablePartitionsPB)
15841
0
  GOOGLE_DCHECK_NE(&from, this);
15842
0
  const PgTablePartitionsPB* source =
15843
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgTablePartitionsPB>(
15844
0
          &from);
15845
0
  if (source == NULL) {
15846
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgTablePartitionsPB)
15847
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
15848
0
  } else {
15849
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgTablePartitionsPB)
15850
0
    MergeFrom(*source);
15851
0
  }
15852
0
}
15853
15854
191k
void PgTablePartitionsPB::MergeFrom(const PgTablePartitionsPB& from) {
15855
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgTablePartitionsPB)
15856
191k
  GOOGLE_DCHECK_NE(&from, this);
15857
191k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
15858
191k
  ::google::protobuf::uint32 cached_has_bits = 0;
15859
191k
  (void) cached_has_bits;
15860
15861
191k
  keys_.MergeFrom(from.keys_);
15862
191k
  if (from.version() != 0) {
15863
0
    set_version(from.version());
15864
0
  }
15865
191k
}
15866
15867
0
void PgTablePartitionsPB::CopyFrom(const ::google::protobuf::Message& from) {
15868
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgTablePartitionsPB)
15869
0
  if (&from == this) return;
15870
0
  Clear();
15871
0
  MergeFrom(from);
15872
0
}
15873
15874
191k
void PgTablePartitionsPB::CopyFrom(const PgTablePartitionsPB& from) {
15875
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgTablePartitionsPB)
15876
191k
  if (&from == this) 
return0
;
15877
191k
  Clear();
15878
191k
  MergeFrom(from);
15879
191k
}
15880
15881
0
bool PgTablePartitionsPB::IsInitialized() const {
15882
0
  return true;
15883
0
}
15884
15885
0
void PgTablePartitionsPB::Swap(PgTablePartitionsPB* other) {
15886
0
  if (other == this) return;
15887
0
  InternalSwap(other);
15888
0
}
15889
0
void PgTablePartitionsPB::InternalSwap(PgTablePartitionsPB* other) {
15890
0
  using std::swap;
15891
0
  keys_.InternalSwap(&other->keys_);
15892
0
  swap(version_, other->version_);
15893
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
15894
0
  swap(_cached_size_, other->_cached_size_);
15895
0
}
15896
15897
0
::google::protobuf::Metadata PgTablePartitionsPB::GetMetadata() const {
15898
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
15899
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
15900
0
}
15901
15902
15903
// ===================================================================
15904
15905
26.8k
void PgOpenTableResponsePB::InitAsDefaultInstance() {
15906
26.8k
  ::yb::tserver::_PgOpenTableResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
15907
26.8k
      ::yb::AppStatusPB::internal_default_instance());
15908
26.8k
  ::yb::tserver::_PgOpenTableResponsePB_default_instance_._instance.get_mutable()->info_ = const_cast< ::yb::master::GetTableSchemaResponsePB*>(
15909
26.8k
      ::yb::master::GetTableSchemaResponsePB::internal_default_instance());
15910
26.8k
  ::yb::tserver::_PgOpenTableResponsePB_default_instance_._instance.get_mutable()->partitions_ = const_cast< ::yb::tserver::PgTablePartitionsPB*>(
15911
26.8k
      ::yb::tserver::PgTablePartitionsPB::internal_default_instance());
15912
26.8k
}
15913
0
void PgOpenTableResponsePB::clear_status() {
15914
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
15915
0
    delete status_;
15916
0
  }
15917
0
  status_ = NULL;
15918
0
}
15919
0
void PgOpenTableResponsePB::clear_info() {
15920
0
  if (GetArenaNoVirtual() == NULL && info_ != NULL) {
15921
0
    delete info_;
15922
0
  }
15923
0
  info_ = NULL;
15924
0
}
15925
#if !defined(_MSC_VER) || _MSC_VER >= 1900
15926
const int PgOpenTableResponsePB::kStatusFieldNumber;
15927
const int PgOpenTableResponsePB::kInfoFieldNumber;
15928
const int PgOpenTableResponsePB::kPartitionsFieldNumber;
15929
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
15930
15931
PgOpenTableResponsePB::PgOpenTableResponsePB()
15932
410k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
15933
410k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
15934
383k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgOpenTableResponsePB();
15935
383k
  }
15936
410k
  SharedCtor();
15937
  // @@protoc_insertion_point(constructor:yb.tserver.PgOpenTableResponsePB)
15938
410k
}
15939
PgOpenTableResponsePB::PgOpenTableResponsePB(const PgOpenTableResponsePB& from)
15940
  : ::google::protobuf::Message(),
15941
      _internal_metadata_(NULL),
15942
0
      _cached_size_(0) {
15943
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
15944
0
  if (from.has_status()) {
15945
0
    status_ = new ::yb::AppStatusPB(*from.status_);
15946
0
  } else {
15947
0
    status_ = NULL;
15948
0
  }
15949
0
  if (from.has_info()) {
15950
0
    info_ = new ::yb::master::GetTableSchemaResponsePB(*from.info_);
15951
0
  } else {
15952
0
    info_ = NULL;
15953
0
  }
15954
0
  if (from.has_partitions()) {
15955
0
    partitions_ = new ::yb::tserver::PgTablePartitionsPB(*from.partitions_);
15956
0
  } else {
15957
0
    partitions_ = NULL;
15958
0
  }
15959
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgOpenTableResponsePB)
15960
0
}
15961
15962
410k
void PgOpenTableResponsePB::SharedCtor() {
15963
410k
  ::memset(&status_, 0, static_cast<size_t>(
15964
410k
      reinterpret_cast<char*>(&partitions_) -
15965
410k
      reinterpret_cast<char*>(&status_)) + sizeof(partitions_));
15966
410k
  _cached_size_ = 0;
15967
410k
}
15968
15969
383k
PgOpenTableResponsePB::~PgOpenTableResponsePB() {
15970
  // @@protoc_insertion_point(destructor:yb.tserver.PgOpenTableResponsePB)
15971
383k
  SharedDtor();
15972
383k
}
15973
15974
383k
void PgOpenTableResponsePB::SharedDtor() {
15975
383k
  if (
this != internal_default_instance()383k
) delete status_;
15976
383k
  if (
this != internal_default_instance()383k
) delete info_;
15977
383k
  if (this != internal_default_instance()) 
delete partitions_383k
;
15978
383k
}
15979
15980
0
void PgOpenTableResponsePB::SetCachedSize(int size) const {
15981
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
15982
0
  _cached_size_ = size;
15983
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
15984
0
}
15985
0
const ::google::protobuf::Descriptor* PgOpenTableResponsePB::descriptor() {
15986
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
15987
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
15988
0
}
15989
15990
0
const PgOpenTableResponsePB& PgOpenTableResponsePB::default_instance() {
15991
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgOpenTableResponsePB();
15992
0
  return *internal_default_instance();
15993
0
}
15994
15995
0
PgOpenTableResponsePB* PgOpenTableResponsePB::New(::google::protobuf::Arena* arena) const {
15996
0
  PgOpenTableResponsePB* n = new PgOpenTableResponsePB;
15997
0
  if (arena != NULL) {
15998
0
    arena->Own(n);
15999
0
  }
16000
0
  return n;
16001
0
}
16002
16003
191k
void PgOpenTableResponsePB::Clear() {
16004
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgOpenTableResponsePB)
16005
191k
  ::google::protobuf::uint32 cached_has_bits = 0;
16006
  // Prevent compiler warnings about cached_has_bits being unused
16007
191k
  (void) cached_has_bits;
16008
16009
191k
  if (GetArenaNoVirtual() == NULL && 
status_ != NULL191k
) {
16010
0
    delete status_;
16011
0
  }
16012
191k
  status_ = NULL;
16013
191k
  if (GetArenaNoVirtual() == NULL && 
info_ != NULL191k
) {
16014
0
    delete info_;
16015
0
  }
16016
191k
  info_ = NULL;
16017
191k
  if (GetArenaNoVirtual() == NULL && 
partitions_ != NULL191k
) {
16018
0
    delete partitions_;
16019
0
  }
16020
191k
  partitions_ = NULL;
16021
191k
  _internal_metadata_.Clear();
16022
191k
}
16023
16024
bool PgOpenTableResponsePB::MergePartialFromCodedStream(
16025
191k
    ::google::protobuf::io::CodedInputStream* input) {
16026
383k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
16027
191k
  ::google::protobuf::uint32 tag;
16028
  // @@protoc_insertion_point(parse_start:yb.tserver.PgOpenTableResponsePB)
16029
575k
  for (;;) {
16030
575k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
16031
575k
    tag = p.first;
16032
575k
    if (!p.second) 
goto handle_unusual191k
;
16033
383k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
16034
      // .yb.AppStatusPB status = 1;
16035
64
      case 1: {
16036
64
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16037
64
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
16038
64
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
16039
64
               input, mutable_status()));
16040
64
        } else {
16041
0
          goto handle_unusual;
16042
0
        }
16043
64
        break;
16044
64
      }
16045
16046
      // .yb.master.GetTableSchemaResponsePB info = 2;
16047
191k
      case 2: {
16048
191k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16049
191k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
16050
191k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
16051
191k
               input, mutable_info()));
16052
191k
        } else {
16053
2
          goto handle_unusual;
16054
2
        }
16055
191k
        break;
16056
191k
      }
16057
16058
      // .yb.tserver.PgTablePartitionsPB partitions = 3;
16059
191k
      case 3: {
16060
191k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16061
191k
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
16062
191k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
16063
191k
               input, mutable_partitions()));
16064
191k
        } else {
16065
1
          goto handle_unusual;
16066
1
        }
16067
191k
        break;
16068
191k
      }
16069
16070
191k
      default: {
16071
191k
      handle_unusual:
16072
191k
        if (
tag == 0191k
) {
16073
191k
          goto success;
16074
191k
        }
16075
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
16076
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
16077
18.4E
        break;
16078
18.4E
      }
16079
383k
    }
16080
383k
  }
16081
191k
success:
16082
  // @@protoc_insertion_point(parse_success:yb.tserver.PgOpenTableResponsePB)
16083
191k
  return true;
16084
0
failure:
16085
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgOpenTableResponsePB)
16086
0
  return false;
16087
191k
#undef DO_
16088
191k
}
16089
16090
void PgOpenTableResponsePB::SerializeWithCachedSizes(
16091
0
    ::google::protobuf::io::CodedOutputStream* output) const {
16092
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgOpenTableResponsePB)
16093
0
  ::google::protobuf::uint32 cached_has_bits = 0;
16094
0
  (void) cached_has_bits;
16095
16096
  // .yb.AppStatusPB status = 1;
16097
0
  if (this->has_status()) {
16098
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
16099
0
      1, *this->status_, output);
16100
0
  }
16101
16102
  // .yb.master.GetTableSchemaResponsePB info = 2;
16103
0
  if (this->has_info()) {
16104
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
16105
0
      2, *this->info_, output);
16106
0
  }
16107
16108
  // .yb.tserver.PgTablePartitionsPB partitions = 3;
16109
0
  if (this->has_partitions()) {
16110
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
16111
0
      3, *this->partitions_, output);
16112
0
  }
16113
16114
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
16115
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
16116
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
16117
0
  }
16118
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgOpenTableResponsePB)
16119
0
}
16120
16121
::google::protobuf::uint8* PgOpenTableResponsePB::InternalSerializeWithCachedSizesToArray(
16122
191k
    bool deterministic, ::google::protobuf::uint8* target) const {
16123
191k
  (void)deterministic; // Unused
16124
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgOpenTableResponsePB)
16125
191k
  ::google::protobuf::uint32 cached_has_bits = 0;
16126
191k
  (void) cached_has_bits;
16127
16128
  // .yb.AppStatusPB status = 1;
16129
191k
  if (this->has_status()) {
16130
64
    target = ::google::protobuf::internal::WireFormatLite::
16131
64
      InternalWriteMessageToArray(
16132
64
        1, *this->status_, deterministic, target);
16133
64
  }
16134
16135
  // .yb.master.GetTableSchemaResponsePB info = 2;
16136
191k
  if (this->has_info()) {
16137
191k
    target = ::google::protobuf::internal::WireFormatLite::
16138
191k
      InternalWriteMessageToArray(
16139
191k
        2, *this->info_, deterministic, target);
16140
191k
  }
16141
16142
  // .yb.tserver.PgTablePartitionsPB partitions = 3;
16143
191k
  if (this->has_partitions()) {
16144
191k
    target = ::google::protobuf::internal::WireFormatLite::
16145
191k
      InternalWriteMessageToArray(
16146
191k
        3, *this->partitions_, deterministic, target);
16147
191k
  }
16148
16149
191k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
16150
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
16151
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
16152
0
  }
16153
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgOpenTableResponsePB)
16154
191k
  return target;
16155
191k
}
16156
16157
383k
size_t PgOpenTableResponsePB::ByteSizeLong() const {
16158
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgOpenTableResponsePB)
16159
383k
  size_t total_size = 0;
16160
16161
383k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
16162
0
    total_size +=
16163
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
16164
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
16165
0
  }
16166
  // .yb.AppStatusPB status = 1;
16167
383k
  if (this->has_status()) {
16168
128
    total_size += 1 +
16169
128
      ::google::protobuf::internal::WireFormatLite::MessageSize(
16170
128
        *this->status_);
16171
128
  }
16172
16173
  // .yb.master.GetTableSchemaResponsePB info = 2;
16174
383k
  if (this->has_info()) {
16175
383k
    total_size += 1 +
16176
383k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
16177
383k
        *this->info_);
16178
383k
  }
16179
16180
  // .yb.tserver.PgTablePartitionsPB partitions = 3;
16181
383k
  if (this->has_partitions()) {
16182
383k
    total_size += 1 +
16183
383k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
16184
383k
        *this->partitions_);
16185
383k
  }
16186
16187
383k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
16188
383k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
16189
383k
  _cached_size_ = cached_size;
16190
383k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
16191
383k
  return total_size;
16192
383k
}
16193
16194
0
void PgOpenTableResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
16195
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgOpenTableResponsePB)
16196
0
  GOOGLE_DCHECK_NE(&from, this);
16197
0
  const PgOpenTableResponsePB* source =
16198
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgOpenTableResponsePB>(
16199
0
          &from);
16200
0
  if (source == NULL) {
16201
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgOpenTableResponsePB)
16202
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
16203
0
  } else {
16204
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgOpenTableResponsePB)
16205
0
    MergeFrom(*source);
16206
0
  }
16207
0
}
16208
16209
0
void PgOpenTableResponsePB::MergeFrom(const PgOpenTableResponsePB& from) {
16210
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgOpenTableResponsePB)
16211
0
  GOOGLE_DCHECK_NE(&from, this);
16212
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
16213
0
  ::google::protobuf::uint32 cached_has_bits = 0;
16214
0
  (void) cached_has_bits;
16215
16216
0
  if (from.has_status()) {
16217
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
16218
0
  }
16219
0
  if (from.has_info()) {
16220
0
    mutable_info()->::yb::master::GetTableSchemaResponsePB::MergeFrom(from.info());
16221
0
  }
16222
0
  if (from.has_partitions()) {
16223
0
    mutable_partitions()->::yb::tserver::PgTablePartitionsPB::MergeFrom(from.partitions());
16224
0
  }
16225
0
}
16226
16227
0
void PgOpenTableResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
16228
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgOpenTableResponsePB)
16229
0
  if (&from == this) return;
16230
0
  Clear();
16231
0
  MergeFrom(from);
16232
0
}
16233
16234
0
void PgOpenTableResponsePB::CopyFrom(const PgOpenTableResponsePB& from) {
16235
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgOpenTableResponsePB)
16236
0
  if (&from == this) return;
16237
0
  Clear();
16238
0
  MergeFrom(from);
16239
0
}
16240
16241
383k
bool PgOpenTableResponsePB::IsInitialized() const {
16242
383k
  if (has_status()) {
16243
128
    if (!this->status_->IsInitialized()) 
return false0
;
16244
128
  }
16245
383k
  if (has_info()) {
16246
383k
    if (!this->info_->IsInitialized()) 
return false0
;
16247
383k
  }
16248
383k
  return true;
16249
383k
}
16250
16251
0
void PgOpenTableResponsePB::Swap(PgOpenTableResponsePB* other) {
16252
0
  if (other == this) return;
16253
0
  InternalSwap(other);
16254
0
}
16255
0
void PgOpenTableResponsePB::InternalSwap(PgOpenTableResponsePB* other) {
16256
0
  using std::swap;
16257
0
  swap(status_, other->status_);
16258
0
  swap(info_, other->info_);
16259
0
  swap(partitions_, other->partitions_);
16260
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
16261
0
  swap(_cached_size_, other->_cached_size_);
16262
0
}
16263
16264
0
::google::protobuf::Metadata PgOpenTableResponsePB::GetMetadata() const {
16265
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
16266
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
16267
0
}
16268
16269
16270
// ===================================================================
16271
16272
26.8k
void PgPerformOpPB::InitAsDefaultInstance() {
16273
26.8k
  ::yb::tserver::_PgPerformOpPB_default_instance_.write_ = const_cast< ::yb::PgsqlWriteRequestPB*>(
16274
26.8k
      ::yb::PgsqlWriteRequestPB::internal_default_instance());
16275
26.8k
  ::yb::tserver::_PgPerformOpPB_default_instance_.read_ = const_cast< ::yb::PgsqlReadRequestPB*>(
16276
26.8k
      ::yb::PgsqlReadRequestPB::internal_default_instance());
16277
26.8k
}
16278
7.20M
void PgPerformOpPB::set_allocated_write(::yb::PgsqlWriteRequestPB* write) {
16279
7.20M
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
16280
7.20M
  clear_op();
16281
7.20M
  if (write) {
16282
7.20M
    ::google::protobuf::Arena* submessage_arena = NULL;
16283
7.20M
    if (message_arena != submessage_arena) {
16284
0
      write = ::google::protobuf::internal::GetOwnedMessage(
16285
0
          message_arena, write, submessage_arena);
16286
0
    }
16287
7.20M
    set_has_write();
16288
7.20M
    op_.write_ = write;
16289
7.20M
  }
16290
  // @@protoc_insertion_point(field_set_allocated:yb.tserver.PgPerformOpPB.write)
16291
7.20M
}
16292
0
void PgPerformOpPB::clear_write() {
16293
0
  if (has_write()) {
16294
0
    delete op_.write_;
16295
0
    clear_has_op();
16296
0
  }
16297
0
}
16298
4.35M
void PgPerformOpPB::set_allocated_read(::yb::PgsqlReadRequestPB* read) {
16299
4.35M
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
16300
4.35M
  clear_op();
16301
4.35M
  if (read) {
16302
4.34M
    ::google::protobuf::Arena* submessage_arena = NULL;
16303
4.34M
    if (message_arena != submessage_arena) {
16304
0
      read = ::google::protobuf::internal::GetOwnedMessage(
16305
0
          message_arena, read, submessage_arena);
16306
0
    }
16307
4.34M
    set_has_read();
16308
4.34M
    op_.read_ = read;
16309
4.34M
  }
16310
  // @@protoc_insertion_point(field_set_allocated:yb.tserver.PgPerformOpPB.read)
16311
4.35M
}
16312
0
void PgPerformOpPB::clear_read() {
16313
0
  if (has_read()) {
16314
0
    delete op_.read_;
16315
0
    clear_has_op();
16316
0
  }
16317
0
}
16318
#if !defined(_MSC_VER) || _MSC_VER >= 1900
16319
const int PgPerformOpPB::kWriteFieldNumber;
16320
const int PgPerformOpPB::kReadFieldNumber;
16321
const int PgPerformOpPB::kReadFromFollowersFieldNumber;
16322
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
16323
16324
PgPerformOpPB::PgPerformOpPB()
16325
23.1M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
16326
23.1M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
16327
23.1M
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgPerformOpPB();
16328
23.1M
  }
16329
23.1M
  SharedCtor();
16330
  // @@protoc_insertion_point(constructor:yb.tserver.PgPerformOpPB)
16331
23.1M
}
16332
PgPerformOpPB::PgPerformOpPB(const PgPerformOpPB& from)
16333
  : ::google::protobuf::Message(),
16334
      _internal_metadata_(NULL),
16335
0
      _cached_size_(0) {
16336
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
16337
0
  read_from_followers_ = from.read_from_followers_;
16338
0
  clear_has_op();
16339
0
  switch (from.op_case()) {
16340
0
    case kWrite: {
16341
0
      mutable_write()->::yb::PgsqlWriteRequestPB::MergeFrom(from.write());
16342
0
      break;
16343
0
    }
16344
0
    case kRead: {
16345
0
      mutable_read()->::yb::PgsqlReadRequestPB::MergeFrom(from.read());
16346
0
      break;
16347
0
    }
16348
0
    case OP_NOT_SET: {
16349
0
      break;
16350
0
    }
16351
0
  }
16352
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgPerformOpPB)
16353
0
}
16354
16355
23.1M
void PgPerformOpPB::SharedCtor() {
16356
23.1M
  read_from_followers_ = false;
16357
23.1M
  clear_has_op();
16358
23.1M
  _cached_size_ = 0;
16359
23.1M
}
16360
16361
23.1M
PgPerformOpPB::~PgPerformOpPB() {
16362
  // @@protoc_insertion_point(destructor:yb.tserver.PgPerformOpPB)
16363
23.1M
  SharedDtor();
16364
23.1M
}
16365
16366
23.1M
void PgPerformOpPB::SharedDtor() {
16367
23.1M
  if (has_op()) {
16368
11.5M
    clear_op();
16369
11.5M
  }
16370
23.1M
}
16371
16372
0
void PgPerformOpPB::SetCachedSize(int size) const {
16373
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
16374
0
  _cached_size_ = size;
16375
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
16376
0
}
16377
0
const ::google::protobuf::Descriptor* PgPerformOpPB::descriptor() {
16378
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
16379
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
16380
0
}
16381
16382
0
const PgPerformOpPB& PgPerformOpPB::default_instance() {
16383
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgPerformOpPB();
16384
0
  return *internal_default_instance();
16385
0
}
16386
16387
0
PgPerformOpPB* PgPerformOpPB::New(::google::protobuf::Arena* arena) const {
16388
0
  PgPerformOpPB* n = new PgPerformOpPB;
16389
0
  if (arena != NULL) {
16390
0
    arena->Own(n);
16391
0
  }
16392
0
  return n;
16393
0
}
16394
16395
34.6M
void PgPerformOpPB::clear_op() {
16396
// @@protoc_insertion_point(one_of_clear_start:yb.tserver.PgPerformOpPB)
16397
34.6M
  switch (op_case()) {
16398
7.20M
    case kWrite: {
16399
7.20M
      delete op_.write_;
16400
7.20M
      break;
16401
0
    }
16402
4.35M
    case kRead: {
16403
4.35M
      delete op_.read_;
16404
4.35M
      break;
16405
0
    }
16406
23.1M
    case OP_NOT_SET: {
16407
23.1M
      break;
16408
0
    }
16409
34.6M
  }
16410
34.6M
  _oneof_case_[0] = OP_NOT_SET;
16411
34.6M
}
16412
16413
16414
0
void PgPerformOpPB::Clear() {
16415
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgPerformOpPB)
16416
0
  ::google::protobuf::uint32 cached_has_bits = 0;
16417
  // Prevent compiler warnings about cached_has_bits being unused
16418
0
  (void) cached_has_bits;
16419
16420
0
  read_from_followers_ = false;
16421
0
  clear_op();
16422
0
  _internal_metadata_.Clear();
16423
0
}
16424
16425
bool PgPerformOpPB::MergePartialFromCodedStream(
16426
11.5M
    ::google::protobuf::io::CodedInputStream* input) {
16427
11.5M
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
16428
11.5M
  ::google::protobuf::uint32 tag;
16429
  // @@protoc_insertion_point(parse_start:yb.tserver.PgPerformOpPB)
16430
23.1M
  for (;;) {
16431
23.1M
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
16432
23.1M
    tag = p.first;
16433
23.1M
    if (!p.second) 
goto handle_unusual11.5M
;
16434
11.5M
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
16435
      // .yb.PgsqlWriteRequestPB write = 1;
16436
7.20M
      case 1: {
16437
7.20M
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16438
7.20M
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
16439
7.20M
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
16440
7.20M
               input, mutable_write()));
16441
7.20M
        } else {
16442
73
          goto handle_unusual;
16443
73
        }
16444
7.20M
        break;
16445
7.20M
      }
16446
16447
      // .yb.PgsqlReadRequestPB read = 2;
16448
7.20M
      case 2: {
16449
4.35M
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16450
4.35M
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
16451
4.35M
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
16452
4.35M
               input, mutable_read()));
16453
4.35M
        } else {
16454
68
          goto handle_unusual;
16455
68
        }
16456
4.35M
        break;
16457
4.35M
      }
16458
16459
      // bool read_from_followers = 3;
16460
4.35M
      case 3: {
16461
93
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16462
93
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
16463
16464
93
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16465
93
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
16466
93
                 input, &read_from_followers_)));
16467
93
        } else {
16468
0
          goto handle_unusual;
16469
0
        }
16470
93
        break;
16471
93
      }
16472
16473
93
      default: {
16474
11.5M
      handle_unusual:
16475
11.5M
        if (
tag == 011.5M
) {
16476
11.5M
          goto success;
16477
11.5M
        }
16478
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
16479
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
16480
18.4E
        break;
16481
18.4E
      }
16482
11.5M
    }
16483
11.5M
  }
16484
11.5M
success:
16485
  // @@protoc_insertion_point(parse_success:yb.tserver.PgPerformOpPB)
16486
11.5M
  return true;
16487
0
failure:
16488
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgPerformOpPB)
16489
0
  return false;
16490
11.5M
#undef DO_
16491
11.5M
}
16492
16493
void PgPerformOpPB::SerializeWithCachedSizes(
16494
0
    ::google::protobuf::io::CodedOutputStream* output) const {
16495
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgPerformOpPB)
16496
0
  ::google::protobuf::uint32 cached_has_bits = 0;
16497
0
  (void) cached_has_bits;
16498
16499
  // .yb.PgsqlWriteRequestPB write = 1;
16500
0
  if (has_write()) {
16501
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
16502
0
      1, *op_.write_, output);
16503
0
  }
16504
16505
  // .yb.PgsqlReadRequestPB read = 2;
16506
0
  if (has_read()) {
16507
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
16508
0
      2, *op_.read_, output);
16509
0
  }
16510
16511
  // bool read_from_followers = 3;
16512
0
  if (this->read_from_followers() != 0) {
16513
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->read_from_followers(), output);
16514
0
  }
16515
16516
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
16517
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
16518
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
16519
0
  }
16520
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgPerformOpPB)
16521
0
}
16522
16523
::google::protobuf::uint8* PgPerformOpPB::InternalSerializeWithCachedSizesToArray(
16524
11.5M
    bool deterministic, ::google::protobuf::uint8* target) const {
16525
11.5M
  (void)deterministic; // Unused
16526
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgPerformOpPB)
16527
11.5M
  ::google::protobuf::uint32 cached_has_bits = 0;
16528
11.5M
  (void) cached_has_bits;
16529
16530
  // .yb.PgsqlWriteRequestPB write = 1;
16531
11.5M
  if (has_write()) {
16532
7.20M
    target = ::google::protobuf::internal::WireFormatLite::
16533
7.20M
      InternalWriteMessageToArray(
16534
7.20M
        1, *op_.write_, deterministic, target);
16535
7.20M
  }
16536
16537
  // .yb.PgsqlReadRequestPB read = 2;
16538
11.5M
  if (has_read()) {
16539
4.35M
    target = ::google::protobuf::internal::WireFormatLite::
16540
4.35M
      InternalWriteMessageToArray(
16541
4.35M
        2, *op_.read_, deterministic, target);
16542
4.35M
  }
16543
16544
  // bool read_from_followers = 3;
16545
11.5M
  if (this->read_from_followers() != 0) {
16546
93
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->read_from_followers(), target);
16547
93
  }
16548
16549
11.5M
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
16550
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
16551
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
16552
0
  }
16553
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgPerformOpPB)
16554
11.5M
  return target;
16555
11.5M
}
16556
16557
23.1M
size_t PgPerformOpPB::ByteSizeLong() const {
16558
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgPerformOpPB)
16559
23.1M
  size_t total_size = 0;
16560
16561
23.1M
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
16562
0
    total_size +=
16563
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
16564
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
16565
0
  }
16566
  // bool read_from_followers = 3;
16567
23.1M
  if (this->read_from_followers() != 0) {
16568
186
    total_size += 1 + 1;
16569
186
  }
16570
16571
23.1M
  switch (op_case()) {
16572
    // .yb.PgsqlWriteRequestPB write = 1;
16573
14.4M
    case kWrite: {
16574
14.4M
      total_size += 1 +
16575
14.4M
        ::google::protobuf::internal::WireFormatLite::MessageSize(
16576
14.4M
          *op_.write_);
16577
14.4M
      break;
16578
0
    }
16579
    // .yb.PgsqlReadRequestPB read = 2;
16580
8.71M
    case kRead: {
16581
8.71M
      total_size += 1 +
16582
8.71M
        ::google::protobuf::internal::WireFormatLite::MessageSize(
16583
8.71M
          *op_.read_);
16584
8.71M
      break;
16585
0
    }
16586
0
    case OP_NOT_SET: {
16587
0
      break;
16588
0
    }
16589
23.1M
  }
16590
23.1M
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
16591
23.1M
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
16592
23.1M
  _cached_size_ = cached_size;
16593
23.1M
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
16594
23.1M
  return total_size;
16595
23.1M
}
16596
16597
0
void PgPerformOpPB::MergeFrom(const ::google::protobuf::Message& from) {
16598
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgPerformOpPB)
16599
0
  GOOGLE_DCHECK_NE(&from, this);
16600
0
  const PgPerformOpPB* source =
16601
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgPerformOpPB>(
16602
0
          &from);
16603
0
  if (source == NULL) {
16604
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgPerformOpPB)
16605
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
16606
0
  } else {
16607
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgPerformOpPB)
16608
0
    MergeFrom(*source);
16609
0
  }
16610
0
}
16611
16612
0
void PgPerformOpPB::MergeFrom(const PgPerformOpPB& from) {
16613
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgPerformOpPB)
16614
0
  GOOGLE_DCHECK_NE(&from, this);
16615
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
16616
0
  ::google::protobuf::uint32 cached_has_bits = 0;
16617
0
  (void) cached_has_bits;
16618
16619
0
  if (from.read_from_followers() != 0) {
16620
0
    set_read_from_followers(from.read_from_followers());
16621
0
  }
16622
0
  switch (from.op_case()) {
16623
0
    case kWrite: {
16624
0
      mutable_write()->::yb::PgsqlWriteRequestPB::MergeFrom(from.write());
16625
0
      break;
16626
0
    }
16627
0
    case kRead: {
16628
0
      mutable_read()->::yb::PgsqlReadRequestPB::MergeFrom(from.read());
16629
0
      break;
16630
0
    }
16631
0
    case OP_NOT_SET: {
16632
0
      break;
16633
0
    }
16634
0
  }
16635
0
}
16636
16637
0
void PgPerformOpPB::CopyFrom(const ::google::protobuf::Message& from) {
16638
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgPerformOpPB)
16639
0
  if (&from == this) return;
16640
0
  Clear();
16641
0
  MergeFrom(from);
16642
0
}
16643
16644
0
void PgPerformOpPB::CopyFrom(const PgPerformOpPB& from) {
16645
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgPerformOpPB)
16646
0
  if (&from == this) return;
16647
0
  Clear();
16648
0
  MergeFrom(from);
16649
0
}
16650
16651
0
bool PgPerformOpPB::IsInitialized() const {
16652
0
  return true;
16653
0
}
16654
16655
0
void PgPerformOpPB::Swap(PgPerformOpPB* other) {
16656
0
  if (other == this) return;
16657
0
  InternalSwap(other);
16658
0
}
16659
0
void PgPerformOpPB::InternalSwap(PgPerformOpPB* other) {
16660
0
  using std::swap;
16661
0
  swap(read_from_followers_, other->read_from_followers_);
16662
0
  swap(op_, other->op_);
16663
0
  swap(_oneof_case_[0], other->_oneof_case_[0]);
16664
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
16665
0
  swap(_cached_size_, other->_cached_size_);
16666
0
}
16667
16668
11.5M
::google::protobuf::Metadata PgPerformOpPB::GetMetadata() const {
16669
11.5M
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
16670
11.5M
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
16671
11.5M
}
16672
16673
16674
// ===================================================================
16675
16676
26.8k
void PgPerformOptionsPB::InitAsDefaultInstance() {
16677
26.8k
  ::yb::tserver::_PgPerformOptionsPB_default_instance_._instance.get_mutable()->read_time_ = const_cast< ::yb::ReadHybridTimePB*>(
16678
26.8k
      ::yb::ReadHybridTimePB::internal_default_instance());
16679
26.8k
}
16680
0
void PgPerformOptionsPB::clear_read_time() {
16681
0
  if (GetArenaNoVirtual() == NULL && read_time_ != NULL) {
16682
0
    delete read_time_;
16683
0
  }
16684
0
  read_time_ = NULL;
16685
0
}
16686
#if !defined(_MSC_VER) || _MSC_VER >= 1900
16687
const int PgPerformOptionsPB::kIsolationFieldNumber;
16688
const int PgPerformOptionsPB::kDdlModeFieldNumber;
16689
const int PgPerformOptionsPB::kTxnSerialNoFieldNumber;
16690
const int PgPerformOptionsPB::kInTxnLimitHtFieldNumber;
16691
const int PgPerformOptionsPB::kUseExistingPriorityFieldNumber;
16692
const int PgPerformOptionsPB::kPriorityFieldNumber;
16693
const int PgPerformOptionsPB::kRestartTransactionFieldNumber;
16694
const int PgPerformOptionsPB::kDeferReadPointFieldNumber;
16695
const int PgPerformOptionsPB::kReadTimeManipulationFieldNumber;
16696
const int PgPerformOptionsPB::kReadTimeFieldNumber;
16697
const int PgPerformOptionsPB::kUseCatalogSessionFieldNumber;
16698
const int PgPerformOptionsPB::kForceGlobalTransactionFieldNumber;
16699
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
16700
16701
PgPerformOptionsPB::PgPerformOptionsPB()
16702
6.61M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
16703
6.61M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
16704
6.58M
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgPerformOptionsPB();
16705
6.58M
  }
16706
6.61M
  SharedCtor();
16707
  // @@protoc_insertion_point(constructor:yb.tserver.PgPerformOptionsPB)
16708
6.61M
}
16709
PgPerformOptionsPB::PgPerformOptionsPB(const PgPerformOptionsPB& from)
16710
  : ::google::protobuf::Message(),
16711
      _internal_metadata_(NULL),
16712
0
      _cached_size_(0) {
16713
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
16714
0
  if (from.has_read_time()) {
16715
0
    read_time_ = new ::yb::ReadHybridTimePB(*from.read_time_);
16716
0
  } else {
16717
0
    read_time_ = NULL;
16718
0
  }
16719
0
  ::memcpy(&txn_serial_no_, &from.txn_serial_no_,
16720
0
    static_cast<size_t>(reinterpret_cast<char*>(&force_global_transaction_) -
16721
0
    reinterpret_cast<char*>(&txn_serial_no_)) + sizeof(force_global_transaction_));
16722
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgPerformOptionsPB)
16723
0
}
16724
16725
6.61M
void PgPerformOptionsPB::SharedCtor() {
16726
6.61M
  ::memset(&read_time_, 0, static_cast<size_t>(
16727
6.61M
      reinterpret_cast<char*>(&force_global_transaction_) -
16728
6.61M
      reinterpret_cast<char*>(&read_time_)) + sizeof(force_global_transaction_));
16729
6.61M
  _cached_size_ = 0;
16730
6.61M
}
16731
16732
6.58M
PgPerformOptionsPB::~PgPerformOptionsPB() {
16733
  // @@protoc_insertion_point(destructor:yb.tserver.PgPerformOptionsPB)
16734
6.58M
  SharedDtor();
16735
6.58M
}
16736
16737
6.58M
void PgPerformOptionsPB::SharedDtor() {
16738
6.58M
  if (this != internal_default_instance()) 
delete read_time_6.58M
;
16739
6.58M
}
16740
16741
0
void PgPerformOptionsPB::SetCachedSize(int size) const {
16742
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
16743
0
  _cached_size_ = size;
16744
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
16745
0
}
16746
0
const ::google::protobuf::Descriptor* PgPerformOptionsPB::descriptor() {
16747
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
16748
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
16749
0
}
16750
16751
0
const PgPerformOptionsPB& PgPerformOptionsPB::default_instance() {
16752
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgPerformOptionsPB();
16753
0
  return *internal_default_instance();
16754
0
}
16755
16756
0
PgPerformOptionsPB* PgPerformOptionsPB::New(::google::protobuf::Arena* arena) const {
16757
0
  PgPerformOptionsPB* n = new PgPerformOptionsPB;
16758
0
  if (arena != NULL) {
16759
0
    arena->Own(n);
16760
0
  }
16761
0
  return n;
16762
0
}
16763
16764
0
void PgPerformOptionsPB::Clear() {
16765
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgPerformOptionsPB)
16766
0
  ::google::protobuf::uint32 cached_has_bits = 0;
16767
  // Prevent compiler warnings about cached_has_bits being unused
16768
0
  (void) cached_has_bits;
16769
16770
0
  if (GetArenaNoVirtual() == NULL && read_time_ != NULL) {
16771
0
    delete read_time_;
16772
0
  }
16773
0
  read_time_ = NULL;
16774
0
  ::memset(&txn_serial_no_, 0, static_cast<size_t>(
16775
0
      reinterpret_cast<char*>(&force_global_transaction_) -
16776
0
      reinterpret_cast<char*>(&txn_serial_no_)) + sizeof(force_global_transaction_));
16777
0
  _internal_metadata_.Clear();
16778
0
}
16779
16780
bool PgPerformOptionsPB::MergePartialFromCodedStream(
16781
2.17M
    ::google::protobuf::io::CodedInputStream* input) {
16782
6.38M
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
16783
2.17M
  ::google::protobuf::uint32 tag;
16784
  // @@protoc_insertion_point(parse_start:yb.tserver.PgPerformOptionsPB)
16785
8.55M
  for (;;) {
16786
8.55M
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
16787
8.55M
    tag = p.first;
16788
8.55M
    if (!p.second) 
goto handle_unusual2.17M
;
16789
6.38M
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
16790
      // uint32 isolation = 2;
16791
460k
      case 2: {
16792
460k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16793
460k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
16794
16795
460k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16796
460k
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
16797
460k
                 input, &isolation_)));
16798
18.4E
        } else {
16799
18.4E
          goto handle_unusual;
16800
18.4E
        }
16801
460k
        break;
16802
460k
      }
16803
16804
      // bool ddl_mode = 3;
16805
566k
      case 3: {
16806
566k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16807
566k
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
16808
16809
566k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16810
566k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
16811
566k
                 input, &ddl_mode_)));
16812
18.4E
        } else {
16813
18.4E
          goto handle_unusual;
16814
18.4E
        }
16815
566k
        break;
16816
566k
      }
16817
16818
      // uint64 txn_serial_no = 4;
16819
1.50M
      case 4: {
16820
1.50M
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16821
1.50M
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
16822
16823
1.50M
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16824
1.50M
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
16825
1.50M
                 input, &txn_serial_no_)));
16826
18.4E
        } else {
16827
18.4E
          goto handle_unusual;
16828
18.4E
        }
16829
1.50M
        break;
16830
1.50M
      }
16831
16832
      // fixed64 in_txn_limit_ht = 5;
16833
1.50M
      case 5: {
16834
1.43M
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16835
1.43M
            static_cast< ::google::protobuf::uint8>(41u /* 41 & 0xFF */)) {
16836
16837
1.43M
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16838
1.43M
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
16839
1.43M
                 input, &in_txn_limit_ht_)));
16840
1.43M
        } else {
16841
5
          goto handle_unusual;
16842
5
        }
16843
1.43M
        break;
16844
1.43M
      }
16845
16846
      // bool use_existing_priority = 6;
16847
1.43M
      case 6: {
16848
75.4k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16849
75.4k
            static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
16850
16851
75.4k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16852
75.4k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
16853
75.4k
                 input, &use_existing_priority_)));
16854
75.4k
        } else {
16855
1
          goto handle_unusual;
16856
1
        }
16857
75.4k
        break;
16858
75.4k
      }
16859
16860
      // fixed64 priority = 7;
16861
905k
      case 7: {
16862
905k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16863
905k
            static_cast< ::google::protobuf::uint8>(57u /* 57 & 0xFF */)) {
16864
16865
905k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16866
905k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
16867
905k
                 input, &priority_)));
16868
18.4E
        } else {
16869
18.4E
          goto handle_unusual;
16870
18.4E
        }
16871
905k
        break;
16872
905k
      }
16873
16874
      // bool restart_transaction = 8;
16875
905k
      case 8: {
16876
510
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16877
510
            static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
16878
16879
510
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16880
510
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
16881
510
                 input, &restart_transaction_)));
16882
510
        } else {
16883
0
          goto handle_unusual;
16884
0
        }
16885
510
        break;
16886
510
      }
16887
16888
      // bool defer_read_point = 9;
16889
510
      case 9: {
16890
80
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16891
80
            static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
16892
16893
80
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16894
80
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
16895
80
                 input, &defer_read_point_)));
16896
80
        } else {
16897
0
          goto handle_unusual;
16898
0
        }
16899
80
        break;
16900
80
      }
16901
16902
      // .yb.tserver.ReadTimeManipulation read_time_manipulation = 10;
16903
22.1k
      case 10: {
16904
22.1k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16905
22.1k
            static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
16906
22.1k
          int value;
16907
22.1k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16908
22.1k
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
16909
22.1k
                 input, &value)));
16910
22.1k
          set_read_time_manipulation(static_cast< ::yb::tserver::ReadTimeManipulation >(value));
16911
22.1k
        } else {
16912
0
          goto handle_unusual;
16913
0
        }
16914
22.1k
        break;
16915
22.1k
      }
16916
16917
      // .yb.ReadHybridTimePB read_time = 11;
16918
702k
      case 11: {
16919
702k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16920
702k
            static_cast< ::google::protobuf::uint8>(90u /* 90 & 0xFF */)) {
16921
702k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
16922
702k
               input, mutable_read_time()));
16923
702k
        } else {
16924
54
          goto handle_unusual;
16925
54
        }
16926
702k
        break;
16927
702k
      }
16928
16929
      // bool use_catalog_session = 12;
16930
702k
      case 12: {
16931
670k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16932
670k
            static_cast< ::google::protobuf::uint8>(96u /* 96 & 0xFF */)) {
16933
16934
670k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16935
670k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
16936
670k
                 input, &use_catalog_session_)));
16937
18.4E
        } else {
16938
18.4E
          goto handle_unusual;
16939
18.4E
        }
16940
670k
        break;
16941
670k
      }
16942
16943
      // bool force_global_transaction = 13;
16944
670k
      case 13: {
16945
39.6k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
16946
39.6k
            static_cast< ::google::protobuf::uint8>(104u /* 104 & 0xFF */)) {
16947
16948
39.6k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16949
39.6k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
16950
39.6k
                 input, &force_global_transaction_)));
16951
39.6k
        } else {
16952
0
          goto handle_unusual;
16953
0
        }
16954
39.6k
        break;
16955
39.6k
      }
16956
16957
39.6k
      default: {
16958
2.17M
      handle_unusual:
16959
2.17M
        if (
tag == 02.17M
) {
16960
2.17M
          goto success;
16961
2.17M
        }
16962
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
16963
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
16964
18.4E
        break;
16965
18.4E
      }
16966
6.38M
    }
16967
6.38M
  }
16968
2.17M
success:
16969
  // @@protoc_insertion_point(parse_success:yb.tserver.PgPerformOptionsPB)
16970
2.17M
  return true;
16971
0
failure:
16972
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgPerformOptionsPB)
16973
0
  return false;
16974
2.17M
#undef DO_
16975
2.17M
}
16976
16977
void PgPerformOptionsPB::SerializeWithCachedSizes(
16978
0
    ::google::protobuf::io::CodedOutputStream* output) const {
16979
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgPerformOptionsPB)
16980
0
  ::google::protobuf::uint32 cached_has_bits = 0;
16981
0
  (void) cached_has_bits;
16982
16983
  // uint32 isolation = 2;
16984
0
  if (this->isolation() != 0) {
16985
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->isolation(), output);
16986
0
  }
16987
16988
  // bool ddl_mode = 3;
16989
0
  if (this->ddl_mode() != 0) {
16990
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->ddl_mode(), output);
16991
0
  }
16992
16993
  // uint64 txn_serial_no = 4;
16994
0
  if (this->txn_serial_no() != 0) {
16995
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(4, this->txn_serial_no(), output);
16996
0
  }
16997
16998
  // fixed64 in_txn_limit_ht = 5;
16999
0
  if (this->in_txn_limit_ht() != 0) {
17000
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(5, this->in_txn_limit_ht(), output);
17001
0
  }
17002
17003
  // bool use_existing_priority = 6;
17004
0
  if (this->use_existing_priority() != 0) {
17005
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->use_existing_priority(), output);
17006
0
  }
17007
17008
  // fixed64 priority = 7;
17009
0
  if (this->priority() != 0) {
17010
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(7, this->priority(), output);
17011
0
  }
17012
17013
  // bool restart_transaction = 8;
17014
0
  if (this->restart_transaction() != 0) {
17015
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(8, this->restart_transaction(), output);
17016
0
  }
17017
17018
  // bool defer_read_point = 9;
17019
0
  if (this->defer_read_point() != 0) {
17020
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(9, this->defer_read_point(), output);
17021
0
  }
17022
17023
  // .yb.tserver.ReadTimeManipulation read_time_manipulation = 10;
17024
0
  if (this->read_time_manipulation() != 0) {
17025
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
17026
0
      10, this->read_time_manipulation(), output);
17027
0
  }
17028
17029
  // .yb.ReadHybridTimePB read_time = 11;
17030
0
  if (this->has_read_time()) {
17031
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
17032
0
      11, *this->read_time_, output);
17033
0
  }
17034
17035
  // bool use_catalog_session = 12;
17036
0
  if (this->use_catalog_session() != 0) {
17037
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(12, this->use_catalog_session(), output);
17038
0
  }
17039
17040
  // bool force_global_transaction = 13;
17041
0
  if (this->force_global_transaction() != 0) {
17042
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(13, this->force_global_transaction(), output);
17043
0
  }
17044
17045
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
17046
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
17047
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
17048
0
  }
17049
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgPerformOptionsPB)
17050
0
}
17051
17052
::google::protobuf::uint8* PgPerformOptionsPB::InternalSerializeWithCachedSizesToArray(
17053
2.17M
    bool deterministic, ::google::protobuf::uint8* target) const {
17054
2.17M
  (void)deterministic; // Unused
17055
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgPerformOptionsPB)
17056
2.17M
  ::google::protobuf::uint32 cached_has_bits = 0;
17057
2.17M
  (void) cached_has_bits;
17058
17059
  // uint32 isolation = 2;
17060
2.17M
  if (this->isolation() != 0) {
17061
459k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->isolation(), target);
17062
459k
  }
17063
17064
  // bool ddl_mode = 3;
17065
2.17M
  if (this->ddl_mode() != 0) {
17066
566k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->ddl_mode(), target);
17067
566k
  }
17068
17069
  // uint64 txn_serial_no = 4;
17070
2.17M
  if (this->txn_serial_no() != 0) {
17071
1.50M
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(4, this->txn_serial_no(), target);
17072
1.50M
  }
17073
17074
  // fixed64 in_txn_limit_ht = 5;
17075
2.17M
  if (this->in_txn_limit_ht() != 0) {
17076
1.42M
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(5, this->in_txn_limit_ht(), target);
17077
1.42M
  }
17078
17079
  // bool use_existing_priority = 6;
17080
2.17M
  if (this->use_existing_priority() != 0) {
17081
75.0k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->use_existing_priority(), target);
17082
75.0k
  }
17083
17084
  // fixed64 priority = 7;
17085
2.17M
  if (this->priority() != 0) {
17086
902k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(7, this->priority(), target);
17087
902k
  }
17088
17089
  // bool restart_transaction = 8;
17090
2.17M
  if (this->restart_transaction() != 0) {
17091
508
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(8, this->restart_transaction(), target);
17092
508
  }
17093
17094
  // bool defer_read_point = 9;
17095
2.17M
  if (this->defer_read_point() != 0) {
17096
80
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(9, this->defer_read_point(), target);
17097
80
  }
17098
17099
  // .yb.tserver.ReadTimeManipulation read_time_manipulation = 10;
17100
2.17M
  if (this->read_time_manipulation() != 0) {
17101
22.1k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
17102
22.1k
      10, this->read_time_manipulation(), target);
17103
22.1k
  }
17104
17105
  // .yb.ReadHybridTimePB read_time = 11;
17106
2.17M
  if (this->has_read_time()) {
17107
702k
    target = ::google::protobuf::internal::WireFormatLite::
17108
702k
      InternalWriteMessageToArray(
17109
702k
        11, *this->read_time_, deterministic, target);
17110
702k
  }
17111
17112
  // bool use_catalog_session = 12;
17113
2.17M
  if (this->use_catalog_session() != 0) {
17114
669k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(12, this->use_catalog_session(), target);
17115
669k
  }
17116
17117
  // bool force_global_transaction = 13;
17118
2.17M
  if (this->force_global_transaction() != 0) {
17119
39.6k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(13, this->force_global_transaction(), target);
17120
39.6k
  }
17121
17122
2.17M
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
17123
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
17124
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
17125
0
  }
17126
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgPerformOptionsPB)
17127
2.17M
  return target;
17128
2.17M
}
17129
17130
4.35M
size_t PgPerformOptionsPB::ByteSizeLong() const {
17131
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgPerformOptionsPB)
17132
4.35M
  size_t total_size = 0;
17133
17134
4.35M
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
17135
0
    total_size +=
17136
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
17137
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
17138
0
  }
17139
  // .yb.ReadHybridTimePB read_time = 11;
17140
4.35M
  if (this->has_read_time()) {
17141
1.40M
    total_size += 1 +
17142
1.40M
      ::google::protobuf::internal::WireFormatLite::MessageSize(
17143
1.40M
        *this->read_time_);
17144
1.40M
  }
17145
17146
  // uint64 txn_serial_no = 4;
17147
4.35M
  if (this->txn_serial_no() != 0) {
17148
3.01M
    total_size += 1 +
17149
3.01M
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
17150
3.01M
        this->txn_serial_no());
17151
3.01M
  }
17152
17153
  // fixed64 in_txn_limit_ht = 5;
17154
4.35M
  if (this->in_txn_limit_ht() != 0) {
17155
2.85M
    total_size += 1 + 8;
17156
2.85M
  }
17157
17158
  // uint32 isolation = 2;
17159
4.35M
  if (this->isolation() != 0) {
17160
917k
    total_size += 1 +
17161
917k
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
17162
917k
        this->isolation());
17163
917k
  }
17164
17165
  // bool ddl_mode = 3;
17166
4.35M
  if (this->ddl_mode() != 0) {
17167
1.13M
    total_size += 1 + 1;
17168
1.13M
  }
17169
17170
  // bool use_existing_priority = 6;
17171
4.35M
  if (this->use_existing_priority() != 0) {
17172
150k
    total_size += 1 + 1;
17173
150k
  }
17174
17175
  // bool restart_transaction = 8;
17176
4.35M
  if (this->restart_transaction() != 0) {
17177
1.01k
    total_size += 1 + 1;
17178
1.01k
  }
17179
17180
  // bool defer_read_point = 9;
17181
4.35M
  if (this->defer_read_point() != 0) {
17182
160
    total_size += 1 + 1;
17183
160
  }
17184
17185
  // fixed64 priority = 7;
17186
4.35M
  if (this->priority() != 0) {
17187
1.80M
    total_size += 1 + 8;
17188
1.80M
  }
17189
17190
  // .yb.tserver.ReadTimeManipulation read_time_manipulation = 10;
17191
4.35M
  if (this->read_time_manipulation() != 0) {
17192
44.2k
    total_size += 1 +
17193
44.2k
      ::google::protobuf::internal::WireFormatLite::EnumSize(this->read_time_manipulation());
17194
44.2k
  }
17195
17196
  // bool use_catalog_session = 12;
17197
4.35M
  if (this->use_catalog_session() != 0) {
17198
1.33M
    total_size += 1 + 1;
17199
1.33M
  }
17200
17201
  // bool force_global_transaction = 13;
17202
4.35M
  if (this->force_global_transaction() != 0) {
17203
79.2k
    total_size += 1 + 1;
17204
79.2k
  }
17205
17206
4.35M
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
17207
4.35M
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
17208
4.35M
  _cached_size_ = cached_size;
17209
4.35M
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
17210
4.35M
  return total_size;
17211
4.35M
}
17212
17213
0
void PgPerformOptionsPB::MergeFrom(const ::google::protobuf::Message& from) {
17214
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgPerformOptionsPB)
17215
0
  GOOGLE_DCHECK_NE(&from, this);
17216
0
  const PgPerformOptionsPB* source =
17217
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgPerformOptionsPB>(
17218
0
          &from);
17219
0
  if (source == NULL) {
17220
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgPerformOptionsPB)
17221
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
17222
0
  } else {
17223
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgPerformOptionsPB)
17224
0
    MergeFrom(*source);
17225
0
  }
17226
0
}
17227
17228
0
void PgPerformOptionsPB::MergeFrom(const PgPerformOptionsPB& from) {
17229
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgPerformOptionsPB)
17230
0
  GOOGLE_DCHECK_NE(&from, this);
17231
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
17232
0
  ::google::protobuf::uint32 cached_has_bits = 0;
17233
0
  (void) cached_has_bits;
17234
17235
0
  if (from.has_read_time()) {
17236
0
    mutable_read_time()->::yb::ReadHybridTimePB::MergeFrom(from.read_time());
17237
0
  }
17238
0
  if (from.txn_serial_no() != 0) {
17239
0
    set_txn_serial_no(from.txn_serial_no());
17240
0
  }
17241
0
  if (from.in_txn_limit_ht() != 0) {
17242
0
    set_in_txn_limit_ht(from.in_txn_limit_ht());
17243
0
  }
17244
0
  if (from.isolation() != 0) {
17245
0
    set_isolation(from.isolation());
17246
0
  }
17247
0
  if (from.ddl_mode() != 0) {
17248
0
    set_ddl_mode(from.ddl_mode());
17249
0
  }
17250
0
  if (from.use_existing_priority() != 0) {
17251
0
    set_use_existing_priority(from.use_existing_priority());
17252
0
  }
17253
0
  if (from.restart_transaction() != 0) {
17254
0
    set_restart_transaction(from.restart_transaction());
17255
0
  }
17256
0
  if (from.defer_read_point() != 0) {
17257
0
    set_defer_read_point(from.defer_read_point());
17258
0
  }
17259
0
  if (from.priority() != 0) {
17260
0
    set_priority(from.priority());
17261
0
  }
17262
0
  if (from.read_time_manipulation() != 0) {
17263
0
    set_read_time_manipulation(from.read_time_manipulation());
17264
0
  }
17265
0
  if (from.use_catalog_session() != 0) {
17266
0
    set_use_catalog_session(from.use_catalog_session());
17267
0
  }
17268
0
  if (from.force_global_transaction() != 0) {
17269
0
    set_force_global_transaction(from.force_global_transaction());
17270
0
  }
17271
0
}
17272
17273
0
void PgPerformOptionsPB::CopyFrom(const ::google::protobuf::Message& from) {
17274
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgPerformOptionsPB)
17275
0
  if (&from == this) return;
17276
0
  Clear();
17277
0
  MergeFrom(from);
17278
0
}
17279
17280
0
void PgPerformOptionsPB::CopyFrom(const PgPerformOptionsPB& from) {
17281
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgPerformOptionsPB)
17282
0
  if (&from == this) return;
17283
0
  Clear();
17284
0
  MergeFrom(from);
17285
0
}
17286
17287
0
bool PgPerformOptionsPB::IsInitialized() const {
17288
0
  return true;
17289
0
}
17290
17291
7.28k
void PgPerformOptionsPB::Swap(PgPerformOptionsPB* other) {
17292
7.28k
  if (other == this) 
return0
;
17293
7.28k
  InternalSwap(other);
17294
7.28k
}
17295
2.17M
void PgPerformOptionsPB::InternalSwap(PgPerformOptionsPB* other) {
17296
2.17M
  using std::swap;
17297
2.17M
  swap(read_time_, other->read_time_);
17298
2.17M
  swap(txn_serial_no_, other->txn_serial_no_);
17299
2.17M
  swap(in_txn_limit_ht_, other->in_txn_limit_ht_);
17300
2.17M
  swap(isolation_, other->isolation_);
17301
2.17M
  swap(ddl_mode_, other->ddl_mode_);
17302
2.17M
  swap(use_existing_priority_, other->use_existing_priority_);
17303
2.17M
  swap(restart_transaction_, other->restart_transaction_);
17304
2.17M
  swap(defer_read_point_, other->defer_read_point_);
17305
2.17M
  swap(priority_, other->priority_);
17306
2.17M
  swap(read_time_manipulation_, other->read_time_manipulation_);
17307
2.17M
  swap(use_catalog_session_, other->use_catalog_session_);
17308
2.17M
  swap(force_global_transaction_, other->force_global_transaction_);
17309
2.17M
  _internal_metadata_.Swap(&other->_internal_metadata_);
17310
2.17M
  swap(_cached_size_, other->_cached_size_);
17311
2.17M
}
17312
17313
2.17M
::google::protobuf::Metadata PgPerformOptionsPB::GetMetadata() const {
17314
2.17M
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
17315
2.17M
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
17316
2.17M
}
17317
17318
17319
// ===================================================================
17320
17321
26.8k
void PgPerformRequestPB::InitAsDefaultInstance() {
17322
26.8k
  ::yb::tserver::_PgPerformRequestPB_default_instance_._instance.get_mutable()->options_ = const_cast< ::yb::tserver::PgPerformOptionsPB*>(
17323
26.8k
      ::yb::tserver::PgPerformOptionsPB::internal_default_instance());
17324
26.8k
}
17325
#if !defined(_MSC_VER) || _MSC_VER >= 1900
17326
const int PgPerformRequestPB::kSessionIdFieldNumber;
17327
const int PgPerformRequestPB::kOptionsFieldNumber;
17328
const int PgPerformRequestPB::kOpsFieldNumber;
17329
const int PgPerformRequestPB::kWriteTimeFieldNumber;
17330
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
17331
17332
PgPerformRequestPB::PgPerformRequestPB()
17333
4.36M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
17334
4.36M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
17335
4.33M
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgPerformRequestPB();
17336
4.33M
  }
17337
4.36M
  SharedCtor();
17338
  // @@protoc_insertion_point(constructor:yb.tserver.PgPerformRequestPB)
17339
4.36M
}
17340
PgPerformRequestPB::PgPerformRequestPB(const PgPerformRequestPB& from)
17341
  : ::google::protobuf::Message(),
17342
      _internal_metadata_(NULL),
17343
      ops_(from.ops_),
17344
0
      _cached_size_(0) {
17345
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
17346
0
  if (from.has_options()) {
17347
0
    options_ = new ::yb::tserver::PgPerformOptionsPB(*from.options_);
17348
0
  } else {
17349
0
    options_ = NULL;
17350
0
  }
17351
0
  ::memcpy(&session_id_, &from.session_id_,
17352
0
    static_cast<size_t>(reinterpret_cast<char*>(&write_time_) -
17353
0
    reinterpret_cast<char*>(&session_id_)) + sizeof(write_time_));
17354
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgPerformRequestPB)
17355
0
}
17356
17357
4.36M
void PgPerformRequestPB::SharedCtor() {
17358
4.36M
  ::memset(&options_, 0, static_cast<size_t>(
17359
4.36M
      reinterpret_cast<char*>(&write_time_) -
17360
4.36M
      reinterpret_cast<char*>(&options_)) + sizeof(write_time_));
17361
4.36M
  _cached_size_ = 0;
17362
4.36M
}
17363
17364
4.34M
PgPerformRequestPB::~PgPerformRequestPB() {
17365
  // @@protoc_insertion_point(destructor:yb.tserver.PgPerformRequestPB)
17366
4.34M
  SharedDtor();
17367
4.34M
}
17368
17369
4.34M
void PgPerformRequestPB::SharedDtor() {
17370
4.34M
  if (
this != internal_default_instance()4.34M
) delete options_;
17371
4.34M
}
17372
17373
0
void PgPerformRequestPB::SetCachedSize(int size) const {
17374
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
17375
0
  _cached_size_ = size;
17376
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
17377
0
}
17378
0
const ::google::protobuf::Descriptor* PgPerformRequestPB::descriptor() {
17379
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
17380
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
17381
0
}
17382
17383
0
const PgPerformRequestPB& PgPerformRequestPB::default_instance() {
17384
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgPerformRequestPB();
17385
0
  return *internal_default_instance();
17386
0
}
17387
17388
0
PgPerformRequestPB* PgPerformRequestPB::New(::google::protobuf::Arena* arena) const {
17389
0
  PgPerformRequestPB* n = new PgPerformRequestPB;
17390
0
  if (arena != NULL) {
17391
0
    arena->Own(n);
17392
0
  }
17393
0
  return n;
17394
0
}
17395
17396
2.17M
void PgPerformRequestPB::Clear() {
17397
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgPerformRequestPB)
17398
2.17M
  ::google::protobuf::uint32 cached_has_bits = 0;
17399
  // Prevent compiler warnings about cached_has_bits being unused
17400
2.17M
  (void) cached_has_bits;
17401
17402
2.17M
  ops_.Clear();
17403
2.17M
  if (GetArenaNoVirtual() == NULL && 
options_ != NULL2.17M
) {
17404
0
    delete options_;
17405
0
  }
17406
2.17M
  options_ = NULL;
17407
2.17M
  ::memset(&session_id_, 0, static_cast<size_t>(
17408
2.17M
      reinterpret_cast<char*>(&write_time_) -
17409
2.17M
      reinterpret_cast<char*>(&session_id_)) + sizeof(write_time_));
17410
2.17M
  _internal_metadata_.Clear();
17411
2.17M
}
17412
17413
bool PgPerformRequestPB::MergePartialFromCodedStream(
17414
2.17M
    ::google::protobuf::io::CodedInputStream* input) {
17415
15.9M
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
17416
2.17M
  ::google::protobuf::uint32 tag;
17417
  // @@protoc_insertion_point(parse_start:yb.tserver.PgPerformRequestPB)
17418
18.0M
  for (;;) {
17419
18.0M
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
17420
18.0M
    tag = p.first;
17421
18.0M
    if (!p.second) 
goto handle_unusual2.17M
;
17422
15.9M
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
17423
      // uint64 session_id = 1;
17424
2.17M
      case 1: {
17425
2.17M
        if (static_cast< ::google::protobuf::uint8>(tag) ==
17426
2.17M
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
17427
17428
2.17M
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
17429
2.17M
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
17430
2.17M
                 input, &session_id_)));
17431
18.4E
        } else {
17432
18.4E
          goto handle_unusual;
17433
18.4E
        }
17434
2.17M
        break;
17435
2.17M
      }
17436
17437
      // .yb.tserver.PgPerformOptionsPB options = 2;
17438
2.17M
      case 2: {
17439
2.17M
        if (static_cast< ::google::protobuf::uint8>(tag) ==
17440
2.17M
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
17441
2.17M
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
17442
2.17M
               input, mutable_options()));
17443
18.4E
        } else {
17444
18.4E
          goto handle_unusual;
17445
18.4E
        }
17446
2.17M
        break;
17447
2.17M
      }
17448
17449
      // repeated .yb.tserver.PgPerformOpPB ops = 3;
17450
11.5M
      case 3: {
17451
11.5M
        if (static_cast< ::google::protobuf::uint8>(tag) ==
17452
11.5M
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
17453
11.5M
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_ops()));
17454
18.4E
        } else {
17455
18.4E
          goto handle_unusual;
17456
18.4E
        }
17457
11.5M
        break;
17458
11.5M
      }
17459
17460
      // fixed64 write_time = 4;
17461
11.5M
      case 4: {
17462
1.26k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
17463
1.26k
            static_cast< ::google::protobuf::uint8>(33u /* 33 & 0xFF */)) {
17464
17465
1.26k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
17466
1.26k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
17467
1.26k
                 input, &write_time_)));
17468
1.26k
        } else {
17469
0
          goto handle_unusual;
17470
0
        }
17471
1.26k
        break;
17472
1.26k
      }
17473
17474
1.26k
      default: {
17475
2.17M
      handle_unusual:
17476
2.17M
        if (
tag == 02.17M
) {
17477
2.17M
          goto success;
17478
2.17M
        }
17479
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
17480
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
17481
18.4E
        break;
17482
18.4E
      }
17483
15.9M
    }
17484
15.9M
  }
17485
2.17M
success:
17486
  // @@protoc_insertion_point(parse_success:yb.tserver.PgPerformRequestPB)
17487
2.17M
  return true;
17488
0
failure:
17489
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgPerformRequestPB)
17490
0
  return false;
17491
2.17M
#undef DO_
17492
2.17M
}
17493
17494
void PgPerformRequestPB::SerializeWithCachedSizes(
17495
0
    ::google::protobuf::io::CodedOutputStream* output) const {
17496
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgPerformRequestPB)
17497
0
  ::google::protobuf::uint32 cached_has_bits = 0;
17498
0
  (void) cached_has_bits;
17499
17500
  // uint64 session_id = 1;
17501
0
  if (this->session_id() != 0) {
17502
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
17503
0
  }
17504
17505
  // .yb.tserver.PgPerformOptionsPB options = 2;
17506
0
  if (this->has_options()) {
17507
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
17508
0
      2, *this->options_, output);
17509
0
  }
17510
17511
  // repeated .yb.tserver.PgPerformOpPB ops = 3;
17512
0
  for (unsigned int i = 0,
17513
0
      n = static_cast<unsigned int>(this->ops_size()); i < n; i++) {
17514
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
17515
0
      3, this->ops(static_cast<int>(i)), output);
17516
0
  }
17517
17518
  // fixed64 write_time = 4;
17519
0
  if (this->write_time() != 0) {
17520
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(4, this->write_time(), output);
17521
0
  }
17522
17523
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
17524
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
17525
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
17526
0
  }
17527
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgPerformRequestPB)
17528
0
}
17529
17530
::google::protobuf::uint8* PgPerformRequestPB::InternalSerializeWithCachedSizesToArray(
17531
2.16M
    bool deterministic, ::google::protobuf::uint8* target) const {
17532
2.16M
  (void)deterministic; // Unused
17533
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgPerformRequestPB)
17534
2.16M
  ::google::protobuf::uint32 cached_has_bits = 0;
17535
2.16M
  (void) cached_has_bits;
17536
17537
  // uint64 session_id = 1;
17538
2.16M
  if (
this->session_id() != 02.16M
) {
17539
2.16M
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
17540
2.16M
  }
17541
17542
  // .yb.tserver.PgPerformOptionsPB options = 2;
17543
2.16M
  if (
this->has_options()2.16M
) {
17544
2.16M
    target = ::google::protobuf::internal::WireFormatLite::
17545
2.16M
      InternalWriteMessageToArray(
17546
2.16M
        2, *this->options_, deterministic, target);
17547
2.16M
  }
17548
17549
  // repeated .yb.tserver.PgPerformOpPB ops = 3;
17550
2.16M
  for (unsigned int i = 0,
17551
13.7M
      n = static_cast<unsigned int>(this->ops_size()); i < n; 
i++11.5M
) {
17552
11.5M
    target = ::google::protobuf::internal::WireFormatLite::
17553
11.5M
      InternalWriteMessageToArray(
17554
11.5M
        3, this->ops(static_cast<int>(i)), deterministic, target);
17555
11.5M
  }
17556
17557
  // fixed64 write_time = 4;
17558
2.16M
  if (this->write_time() != 0) {
17559
1.26k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(4, this->write_time(), target);
17560
1.26k
  }
17561
17562
2.16M
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
17563
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
17564
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
17565
0
  }
17566
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgPerformRequestPB)
17567
2.16M
  return target;
17568
2.16M
}
17569
17570
4.34M
size_t PgPerformRequestPB::ByteSizeLong() const {
17571
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgPerformRequestPB)
17572
4.34M
  size_t total_size = 0;
17573
17574
4.34M
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
17575
0
    total_size +=
17576
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
17577
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
17578
0
  }
17579
  // repeated .yb.tserver.PgPerformOpPB ops = 3;
17580
4.34M
  {
17581
4.34M
    unsigned int count = static_cast<unsigned int>(this->ops_size());
17582
4.34M
    total_size += 1UL * count;
17583
27.4M
    for (unsigned int i = 0; i < count; 
i++23.1M
) {
17584
23.1M
      total_size +=
17585
23.1M
        ::google::protobuf::internal::WireFormatLite::MessageSize(
17586
23.1M
          this->ops(static_cast<int>(i)));
17587
23.1M
    }
17588
4.34M
  }
17589
17590
  // .yb.tserver.PgPerformOptionsPB options = 2;
17591
4.34M
  if (this->has_options()) {
17592
4.33M
    total_size += 1 +
17593
4.33M
      ::google::protobuf::internal::WireFormatLite::MessageSize(
17594
4.33M
        *this->options_);
17595
4.33M
  }
17596
17597
  // uint64 session_id = 1;
17598
4.34M
  if (this->session_id() != 0) {
17599
4.33M
    total_size += 1 +
17600
4.33M
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
17601
4.33M
        this->session_id());
17602
4.33M
  }
17603
17604
  // fixed64 write_time = 4;
17605
4.34M
  if (this->write_time() != 0) {
17606
2.52k
    total_size += 1 + 8;
17607
2.52k
  }
17608
17609
4.34M
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
17610
4.34M
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
17611
4.34M
  _cached_size_ = cached_size;
17612
4.34M
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
17613
4.34M
  return total_size;
17614
4.34M
}
17615
17616
0
void PgPerformRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
17617
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgPerformRequestPB)
17618
0
  GOOGLE_DCHECK_NE(&from, this);
17619
0
  const PgPerformRequestPB* source =
17620
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgPerformRequestPB>(
17621
0
          &from);
17622
0
  if (source == NULL) {
17623
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgPerformRequestPB)
17624
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
17625
0
  } else {
17626
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgPerformRequestPB)
17627
0
    MergeFrom(*source);
17628
0
  }
17629
0
}
17630
17631
0
void PgPerformRequestPB::MergeFrom(const PgPerformRequestPB& from) {
17632
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgPerformRequestPB)
17633
0
  GOOGLE_DCHECK_NE(&from, this);
17634
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
17635
0
  ::google::protobuf::uint32 cached_has_bits = 0;
17636
0
  (void) cached_has_bits;
17637
17638
0
  ops_.MergeFrom(from.ops_);
17639
0
  if (from.has_options()) {
17640
0
    mutable_options()->::yb::tserver::PgPerformOptionsPB::MergeFrom(from.options());
17641
0
  }
17642
0
  if (from.session_id() != 0) {
17643
0
    set_session_id(from.session_id());
17644
0
  }
17645
0
  if (from.write_time() != 0) {
17646
0
    set_write_time(from.write_time());
17647
0
  }
17648
0
}
17649
17650
0
void PgPerformRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
17651
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgPerformRequestPB)
17652
0
  if (&from == this) return;
17653
0
  Clear();
17654
0
  MergeFrom(from);
17655
0
}
17656
17657
0
void PgPerformRequestPB::CopyFrom(const PgPerformRequestPB& from) {
17658
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgPerformRequestPB)
17659
0
  if (&from == this) return;
17660
0
  Clear();
17661
0
  MergeFrom(from);
17662
0
}
17663
17664
4.34M
bool PgPerformRequestPB::IsInitialized() const {
17665
4.34M
  return true;
17666
4.34M
}
17667
17668
0
void PgPerformRequestPB::Swap(PgPerformRequestPB* other) {
17669
0
  if (other == this) return;
17670
0
  InternalSwap(other);
17671
0
}
17672
0
void PgPerformRequestPB::InternalSwap(PgPerformRequestPB* other) {
17673
0
  using std::swap;
17674
0
  ops_.InternalSwap(&other->ops_);
17675
0
  swap(options_, other->options_);
17676
0
  swap(session_id_, other->session_id_);
17677
0
  swap(write_time_, other->write_time_);
17678
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
17679
0
  swap(_cached_size_, other->_cached_size_);
17680
0
}
17681
17682
2.17M
::google::protobuf::Metadata PgPerformRequestPB::GetMetadata() const {
17683
2.17M
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
17684
2.17M
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
17685
2.17M
}
17686
17687
17688
// ===================================================================
17689
17690
26.8k
void PgPerformResponsePB::InitAsDefaultInstance() {
17691
26.8k
  ::yb::tserver::_PgPerformResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
17692
26.8k
      ::yb::AppStatusPB::internal_default_instance());
17693
26.8k
  ::yb::tserver::_PgPerformResponsePB_default_instance_._instance.get_mutable()->catalog_read_time_ = const_cast< ::yb::ReadHybridTimePB*>(
17694
26.8k
      ::yb::ReadHybridTimePB::internal_default_instance());
17695
26.8k
}
17696
0
void PgPerformResponsePB::clear_status() {
17697
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
17698
0
    delete status_;
17699
0
  }
17700
0
  status_ = NULL;
17701
0
}
17702
0
void PgPerformResponsePB::clear_responses() {
17703
0
  responses_.Clear();
17704
0
}
17705
0
void PgPerformResponsePB::clear_catalog_read_time() {
17706
0
  if (GetArenaNoVirtual() == NULL && catalog_read_time_ != NULL) {
17707
0
    delete catalog_read_time_;
17708
0
  }
17709
0
  catalog_read_time_ = NULL;
17710
0
}
17711
#if !defined(_MSC_VER) || _MSC_VER >= 1900
17712
const int PgPerformResponsePB::kStatusFieldNumber;
17713
const int PgPerformResponsePB::kResponsesFieldNumber;
17714
const int PgPerformResponsePB::kCatalogReadTimeFieldNumber;
17715
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
17716
17717
PgPerformResponsePB::PgPerformResponsePB()
17718
4.36M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
17719
4.36M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
17720
4.33M
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgPerformResponsePB();
17721
4.33M
  }
17722
4.36M
  SharedCtor();
17723
  // @@protoc_insertion_point(constructor:yb.tserver.PgPerformResponsePB)
17724
4.36M
}
17725
PgPerformResponsePB::PgPerformResponsePB(const PgPerformResponsePB& from)
17726
  : ::google::protobuf::Message(),
17727
      _internal_metadata_(NULL),
17728
      responses_(from.responses_),
17729
0
      _cached_size_(0) {
17730
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
17731
0
  if (from.has_status()) {
17732
0
    status_ = new ::yb::AppStatusPB(*from.status_);
17733
0
  } else {
17734
0
    status_ = NULL;
17735
0
  }
17736
0
  if (from.has_catalog_read_time()) {
17737
0
    catalog_read_time_ = new ::yb::ReadHybridTimePB(*from.catalog_read_time_);
17738
0
  } else {
17739
0
    catalog_read_time_ = NULL;
17740
0
  }
17741
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgPerformResponsePB)
17742
0
}
17743
17744
4.36M
void PgPerformResponsePB::SharedCtor() {
17745
4.36M
  ::memset(&status_, 0, static_cast<size_t>(
17746
4.36M
      reinterpret_cast<char*>(&catalog_read_time_) -
17747
4.36M
      reinterpret_cast<char*>(&status_)) + sizeof(catalog_read_time_));
17748
4.36M
  _cached_size_ = 0;
17749
4.36M
}
17750
17751
4.34M
PgPerformResponsePB::~PgPerformResponsePB() {
17752
  // @@protoc_insertion_point(destructor:yb.tserver.PgPerformResponsePB)
17753
4.34M
  SharedDtor();
17754
4.34M
}
17755
17756
4.34M
void PgPerformResponsePB::SharedDtor() {
17757
4.34M
  if (this != internal_default_instance()) 
delete status_4.34M
;
17758
4.34M
  if (this != internal_default_instance()) 
delete catalog_read_time_4.34M
;
17759
4.34M
}
17760
17761
0
void PgPerformResponsePB::SetCachedSize(int size) const {
17762
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
17763
0
  _cached_size_ = size;
17764
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
17765
0
}
17766
0
const ::google::protobuf::Descriptor* PgPerformResponsePB::descriptor() {
17767
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
17768
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
17769
0
}
17770
17771
0
const PgPerformResponsePB& PgPerformResponsePB::default_instance() {
17772
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgPerformResponsePB();
17773
0
  return *internal_default_instance();
17774
0
}
17775
17776
0
PgPerformResponsePB* PgPerformResponsePB::New(::google::protobuf::Arena* arena) const {
17777
0
  PgPerformResponsePB* n = new PgPerformResponsePB;
17778
0
  if (arena != NULL) {
17779
0
    arena->Own(n);
17780
0
  }
17781
0
  return n;
17782
0
}
17783
17784
2.17M
void PgPerformResponsePB::Clear() {
17785
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgPerformResponsePB)
17786
2.17M
  ::google::protobuf::uint32 cached_has_bits = 0;
17787
  // Prevent compiler warnings about cached_has_bits being unused
17788
2.17M
  (void) cached_has_bits;
17789
17790
2.17M
  responses_.Clear();
17791
2.17M
  if (GetArenaNoVirtual() == NULL && 
status_ != NULL2.16M
) {
17792
0
    delete status_;
17793
0
  }
17794
2.17M
  status_ = NULL;
17795
2.17M
  if (GetArenaNoVirtual() == NULL && 
catalog_read_time_ != NULL2.17M
) {
17796
0
    delete catalog_read_time_;
17797
0
  }
17798
2.17M
  catalog_read_time_ = NULL;
17799
2.17M
  _internal_metadata_.Clear();
17800
2.17M
}
17801
17802
bool PgPerformResponsePB::MergePartialFromCodedStream(
17803
2.17M
    ::google::protobuf::io::CodedInputStream* input) {
17804
10.5M
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
17805
2.17M
  ::google::protobuf::uint32 tag;
17806
  // @@protoc_insertion_point(parse_start:yb.tserver.PgPerformResponsePB)
17807
12.6M
  for (;;) {
17808
12.6M
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
17809
12.6M
    tag = p.first;
17810
12.6M
    if (!p.second) 
goto handle_unusual2.17M
;
17811
10.5M
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
17812
      // .yb.AppStatusPB status = 1;
17813
106k
      case 1: {
17814
106k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
17815
106k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
17816
106k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
17817
106k
               input, mutable_status()));
17818
106k
        } else {
17819
5
          goto handle_unusual;
17820
5
        }
17821
106k
        break;
17822
106k
      }
17823
17824
      // repeated .yb.PgsqlResponsePB responses = 2;
17825
10.3M
      case 2: {
17826
10.3M
        if (static_cast< ::google::protobuf::uint8>(tag) ==
17827
10.3M
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
17828
10.3M
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_responses()));
17829
10.3M
        } else {
17830
52
          goto handle_unusual;
17831
52
        }
17832
10.3M
        break;
17833
10.3M
      }
17834
17835
      // .yb.ReadHybridTimePB catalog_read_time = 3;
17836
10.3M
      case 3: {
17837
77.1k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
17838
77.1k
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
17839
77.1k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
17840
77.1k
               input, mutable_catalog_read_time()));
17841
18.4E
        } else {
17842
18.4E
          goto handle_unusual;
17843
18.4E
        }
17844
77.1k
        break;
17845
77.1k
      }
17846
17847
77.1k
      default: {
17848
2.17M
      handle_unusual:
17849
2.17M
        if (
tag == 02.17M
) {
17850
2.17M
          goto success;
17851
2.17M
        }
17852
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
17853
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
17854
18.4E
        break;
17855
18.4E
      }
17856
10.5M
    }
17857
10.5M
  }
17858
2.17M
success:
17859
  // @@protoc_insertion_point(parse_success:yb.tserver.PgPerformResponsePB)
17860
2.17M
  return true;
17861
0
failure:
17862
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgPerformResponsePB)
17863
0
  return false;
17864
2.17M
#undef DO_
17865
2.17M
}
17866
17867
void PgPerformResponsePB::SerializeWithCachedSizes(
17868
0
    ::google::protobuf::io::CodedOutputStream* output) const {
17869
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgPerformResponsePB)
17870
0
  ::google::protobuf::uint32 cached_has_bits = 0;
17871
0
  (void) cached_has_bits;
17872
17873
  // .yb.AppStatusPB status = 1;
17874
0
  if (this->has_status()) {
17875
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
17876
0
      1, *this->status_, output);
17877
0
  }
17878
17879
  // repeated .yb.PgsqlResponsePB responses = 2;
17880
0
  for (unsigned int i = 0,
17881
0
      n = static_cast<unsigned int>(this->responses_size()); i < n; i++) {
17882
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
17883
0
      2, this->responses(static_cast<int>(i)), output);
17884
0
  }
17885
17886
  // .yb.ReadHybridTimePB catalog_read_time = 3;
17887
0
  if (this->has_catalog_read_time()) {
17888
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
17889
0
      3, *this->catalog_read_time_, output);
17890
0
  }
17891
17892
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
17893
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
17894
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
17895
0
  }
17896
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgPerformResponsePB)
17897
0
}
17898
17899
::google::protobuf::uint8* PgPerformResponsePB::InternalSerializeWithCachedSizesToArray(
17900
2.17M
    bool deterministic, ::google::protobuf::uint8* target) const {
17901
2.17M
  (void)deterministic; // Unused
17902
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgPerformResponsePB)
17903
2.17M
  ::google::protobuf::uint32 cached_has_bits = 0;
17904
2.17M
  (void) cached_has_bits;
17905
17906
  // .yb.AppStatusPB status = 1;
17907
2.17M
  if (this->has_status()) {
17908
106k
    target = ::google::protobuf::internal::WireFormatLite::
17909
106k
      InternalWriteMessageToArray(
17910
106k
        1, *this->status_, deterministic, target);
17911
106k
  }
17912
17913
  // repeated .yb.PgsqlResponsePB responses = 2;
17914
2.17M
  for (unsigned int i = 0,
17915
12.4M
      n = static_cast<unsigned int>(this->responses_size()); i < n; 
i++10.3M
) {
17916
10.3M
    target = ::google::protobuf::internal::WireFormatLite::
17917
10.3M
      InternalWriteMessageToArray(
17918
10.3M
        2, this->responses(static_cast<int>(i)), deterministic, target);
17919
10.3M
  }
17920
17921
  // .yb.ReadHybridTimePB catalog_read_time = 3;
17922
2.17M
  if (this->has_catalog_read_time()) {
17923
77.1k
    target = ::google::protobuf::internal::WireFormatLite::
17924
77.1k
      InternalWriteMessageToArray(
17925
77.1k
        3, *this->catalog_read_time_, deterministic, target);
17926
77.1k
  }
17927
17928
2.17M
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
17929
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
17930
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
17931
0
  }
17932
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgPerformResponsePB)
17933
2.17M
  return target;
17934
2.17M
}
17935
17936
4.34M
size_t PgPerformResponsePB::ByteSizeLong() const {
17937
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgPerformResponsePB)
17938
4.34M
  size_t total_size = 0;
17939
17940
4.34M
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
17941
0
    total_size +=
17942
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
17943
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
17944
0
  }
17945
  // repeated .yb.PgsqlResponsePB responses = 2;
17946
4.34M
  {
17947
4.34M
    unsigned int count = static_cast<unsigned int>(this->responses_size());
17948
4.34M
    total_size += 1UL * count;
17949
24.9M
    for (unsigned int i = 0; i < count; 
i++20.6M
) {
17950
20.6M
      total_size +=
17951
20.6M
        ::google::protobuf::internal::WireFormatLite::MessageSize(
17952
20.6M
          this->responses(static_cast<int>(i)));
17953
20.6M
    }
17954
4.34M
  }
17955
17956
  // .yb.AppStatusPB status = 1;
17957
4.34M
  if (this->has_status()) {
17958
212k
    total_size += 1 +
17959
212k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
17960
212k
        *this->status_);
17961
212k
  }
17962
17963
  // .yb.ReadHybridTimePB catalog_read_time = 3;
17964
4.34M
  if (this->has_catalog_read_time()) {
17965
154k
    total_size += 1 +
17966
154k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
17967
154k
        *this->catalog_read_time_);
17968
154k
  }
17969
17970
4.34M
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
17971
4.34M
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
17972
4.34M
  _cached_size_ = cached_size;
17973
4.34M
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
17974
4.34M
  return total_size;
17975
4.34M
}
17976
17977
0
void PgPerformResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
17978
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgPerformResponsePB)
17979
0
  GOOGLE_DCHECK_NE(&from, this);
17980
0
  const PgPerformResponsePB* source =
17981
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgPerformResponsePB>(
17982
0
          &from);
17983
0
  if (source == NULL) {
17984
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgPerformResponsePB)
17985
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
17986
0
  } else {
17987
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgPerformResponsePB)
17988
0
    MergeFrom(*source);
17989
0
  }
17990
0
}
17991
17992
0
void PgPerformResponsePB::MergeFrom(const PgPerformResponsePB& from) {
17993
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgPerformResponsePB)
17994
0
  GOOGLE_DCHECK_NE(&from, this);
17995
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
17996
0
  ::google::protobuf::uint32 cached_has_bits = 0;
17997
0
  (void) cached_has_bits;
17998
17999
0
  responses_.MergeFrom(from.responses_);
18000
0
  if (from.has_status()) {
18001
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
18002
0
  }
18003
0
  if (from.has_catalog_read_time()) {
18004
0
    mutable_catalog_read_time()->::yb::ReadHybridTimePB::MergeFrom(from.catalog_read_time());
18005
0
  }
18006
0
}
18007
18008
0
void PgPerformResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
18009
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgPerformResponsePB)
18010
0
  if (&from == this) return;
18011
0
  Clear();
18012
0
  MergeFrom(from);
18013
0
}
18014
18015
0
void PgPerformResponsePB::CopyFrom(const PgPerformResponsePB& from) {
18016
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgPerformResponsePB)
18017
0
  if (&from == this) return;
18018
0
  Clear();
18019
0
  MergeFrom(from);
18020
0
}
18021
18022
4.34M
bool PgPerformResponsePB::IsInitialized() const {
18023
4.34M
  if (has_status()) {
18024
212k
    if (!this->status_->IsInitialized()) 
return false0
;
18025
212k
  }
18026
4.34M
  return true;
18027
4.34M
}
18028
18029
0
void PgPerformResponsePB::Swap(PgPerformResponsePB* other) {
18030
0
  if (other == this) return;
18031
0
  InternalSwap(other);
18032
0
}
18033
0
void PgPerformResponsePB::InternalSwap(PgPerformResponsePB* other) {
18034
0
  using std::swap;
18035
0
  responses_.InternalSwap(&other->responses_);
18036
0
  swap(status_, other->status_);
18037
0
  swap(catalog_read_time_, other->catalog_read_time_);
18038
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
18039
0
  swap(_cached_size_, other->_cached_size_);
18040
0
}
18041
18042
0
::google::protobuf::Metadata PgPerformResponsePB::GetMetadata() const {
18043
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
18044
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
18045
0
}
18046
18047
18048
// ===================================================================
18049
18050
26.8k
void PgReserveOidsRequestPB::InitAsDefaultInstance() {
18051
26.8k
}
18052
#if !defined(_MSC_VER) || _MSC_VER >= 1900
18053
const int PgReserveOidsRequestPB::kDatabaseOidFieldNumber;
18054
const int PgReserveOidsRequestPB::kNextOidFieldNumber;
18055
const int PgReserveOidsRequestPB::kCountFieldNumber;
18056
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
18057
18058
PgReserveOidsRequestPB::PgReserveOidsRequestPB()
18059
28.4k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
18060
28.4k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
18061
1.61k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgReserveOidsRequestPB();
18062
1.61k
  }
18063
28.4k
  SharedCtor();
18064
  // @@protoc_insertion_point(constructor:yb.tserver.PgReserveOidsRequestPB)
18065
28.4k
}
18066
PgReserveOidsRequestPB::PgReserveOidsRequestPB(const PgReserveOidsRequestPB& from)
18067
  : ::google::protobuf::Message(),
18068
      _internal_metadata_(NULL),
18069
0
      _cached_size_(0) {
18070
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
18071
0
  ::memcpy(&database_oid_, &from.database_oid_,
18072
0
    static_cast<size_t>(reinterpret_cast<char*>(&count_) -
18073
0
    reinterpret_cast<char*>(&database_oid_)) + sizeof(count_));
18074
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgReserveOidsRequestPB)
18075
0
}
18076
18077
28.4k
void PgReserveOidsRequestPB::SharedCtor() {
18078
28.4k
  ::memset(&database_oid_, 0, static_cast<size_t>(
18079
28.4k
      reinterpret_cast<char*>(&count_) -
18080
28.4k
      reinterpret_cast<char*>(&database_oid_)) + sizeof(count_));
18081
28.4k
  _cached_size_ = 0;
18082
28.4k
}
18083
18084
1.61k
PgReserveOidsRequestPB::~PgReserveOidsRequestPB() {
18085
  // @@protoc_insertion_point(destructor:yb.tserver.PgReserveOidsRequestPB)
18086
1.61k
  SharedDtor();
18087
1.61k
}
18088
18089
1.61k
void PgReserveOidsRequestPB::SharedDtor() {
18090
1.61k
}
18091
18092
0
void PgReserveOidsRequestPB::SetCachedSize(int size) const {
18093
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18094
0
  _cached_size_ = size;
18095
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
18096
0
}
18097
0
const ::google::protobuf::Descriptor* PgReserveOidsRequestPB::descriptor() {
18098
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
18099
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
18100
0
}
18101
18102
0
const PgReserveOidsRequestPB& PgReserveOidsRequestPB::default_instance() {
18103
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgReserveOidsRequestPB();
18104
0
  return *internal_default_instance();
18105
0
}
18106
18107
0
PgReserveOidsRequestPB* PgReserveOidsRequestPB::New(::google::protobuf::Arena* arena) const {
18108
0
  PgReserveOidsRequestPB* n = new PgReserveOidsRequestPB;
18109
0
  if (arena != NULL) {
18110
0
    arena->Own(n);
18111
0
  }
18112
0
  return n;
18113
0
}
18114
18115
805
void PgReserveOidsRequestPB::Clear() {
18116
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgReserveOidsRequestPB)
18117
805
  ::google::protobuf::uint32 cached_has_bits = 0;
18118
  // Prevent compiler warnings about cached_has_bits being unused
18119
805
  (void) cached_has_bits;
18120
18121
805
  ::memset(&database_oid_, 0, static_cast<size_t>(
18122
805
      reinterpret_cast<char*>(&count_) -
18123
805
      reinterpret_cast<char*>(&database_oid_)) + sizeof(count_));
18124
805
  _internal_metadata_.Clear();
18125
805
}
18126
18127
bool PgReserveOidsRequestPB::MergePartialFromCodedStream(
18128
805
    ::google::protobuf::io::CodedInputStream* input) {
18129
2.41k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
18130
805
  ::google::protobuf::uint32 tag;
18131
  // @@protoc_insertion_point(parse_start:yb.tserver.PgReserveOidsRequestPB)
18132
3.22k
  for (;;) {
18133
3.22k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
18134
3.22k
    tag = p.first;
18135
3.22k
    if (!p.second) 
goto handle_unusual805
;
18136
2.41k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
18137
      // uint32 database_oid = 1;
18138
805
      case 1: {
18139
805
        if (static_cast< ::google::protobuf::uint8>(tag) ==
18140
805
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
18141
18142
805
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
18143
805
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
18144
805
                 input, &database_oid_)));
18145
805
        } else {
18146
0
          goto handle_unusual;
18147
0
        }
18148
805
        break;
18149
805
      }
18150
18151
      // uint32 next_oid = 2;
18152
805
      case 2: {
18153
805
        if (static_cast< ::google::protobuf::uint8>(tag) ==
18154
805
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
18155
18156
805
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
18157
805
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
18158
805
                 input, &next_oid_)));
18159
805
        } else {
18160
0
          goto handle_unusual;
18161
0
        }
18162
805
        break;
18163
805
      }
18164
18165
      // uint32 count = 3;
18166
805
      case 3: {
18167
805
        if (static_cast< ::google::protobuf::uint8>(tag) ==
18168
805
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
18169
18170
805
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
18171
805
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
18172
805
                 input, &count_)));
18173
805
        } else {
18174
0
          goto handle_unusual;
18175
0
        }
18176
805
        break;
18177
805
      }
18178
18179
805
      default: {
18180
805
      handle_unusual:
18181
805
        if (tag == 0) {
18182
805
          goto success;
18183
805
        }
18184
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
18185
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
18186
0
        break;
18187
0
      }
18188
2.41k
    }
18189
2.41k
  }
18190
805
success:
18191
  // @@protoc_insertion_point(parse_success:yb.tserver.PgReserveOidsRequestPB)
18192
805
  return true;
18193
0
failure:
18194
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgReserveOidsRequestPB)
18195
0
  return false;
18196
805
#undef DO_
18197
805
}
18198
18199
void PgReserveOidsRequestPB::SerializeWithCachedSizes(
18200
0
    ::google::protobuf::io::CodedOutputStream* output) const {
18201
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgReserveOidsRequestPB)
18202
0
  ::google::protobuf::uint32 cached_has_bits = 0;
18203
0
  (void) cached_has_bits;
18204
18205
  // uint32 database_oid = 1;
18206
0
  if (this->database_oid() != 0) {
18207
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->database_oid(), output);
18208
0
  }
18209
18210
  // uint32 next_oid = 2;
18211
0
  if (this->next_oid() != 0) {
18212
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->next_oid(), output);
18213
0
  }
18214
18215
  // uint32 count = 3;
18216
0
  if (this->count() != 0) {
18217
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->count(), output);
18218
0
  }
18219
18220
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
18221
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
18222
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
18223
0
  }
18224
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgReserveOidsRequestPB)
18225
0
}
18226
18227
::google::protobuf::uint8* PgReserveOidsRequestPB::InternalSerializeWithCachedSizesToArray(
18228
805
    bool deterministic, ::google::protobuf::uint8* target) const {
18229
805
  (void)deterministic; // Unused
18230
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgReserveOidsRequestPB)
18231
805
  ::google::protobuf::uint32 cached_has_bits = 0;
18232
805
  (void) cached_has_bits;
18233
18234
  // uint32 database_oid = 1;
18235
805
  if (this->database_oid() != 0) {
18236
805
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->database_oid(), target);
18237
805
  }
18238
18239
  // uint32 next_oid = 2;
18240
805
  if (this->next_oid() != 0) {
18241
805
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->next_oid(), target);
18242
805
  }
18243
18244
  // uint32 count = 3;
18245
805
  if (this->count() != 0) {
18246
805
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->count(), target);
18247
805
  }
18248
18249
805
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
18250
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
18251
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
18252
0
  }
18253
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgReserveOidsRequestPB)
18254
805
  return target;
18255
805
}
18256
18257
1.61k
size_t PgReserveOidsRequestPB::ByteSizeLong() const {
18258
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgReserveOidsRequestPB)
18259
1.61k
  size_t total_size = 0;
18260
18261
1.61k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
18262
0
    total_size +=
18263
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
18264
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
18265
0
  }
18266
  // uint32 database_oid = 1;
18267
1.61k
  if (this->database_oid() != 0) {
18268
1.61k
    total_size += 1 +
18269
1.61k
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
18270
1.61k
        this->database_oid());
18271
1.61k
  }
18272
18273
  // uint32 next_oid = 2;
18274
1.61k
  if (this->next_oid() != 0) {
18275
1.61k
    total_size += 1 +
18276
1.61k
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
18277
1.61k
        this->next_oid());
18278
1.61k
  }
18279
18280
  // uint32 count = 3;
18281
1.61k
  if (this->count() != 0) {
18282
1.61k
    total_size += 1 +
18283
1.61k
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
18284
1.61k
        this->count());
18285
1.61k
  }
18286
18287
1.61k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
18288
1.61k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18289
1.61k
  _cached_size_ = cached_size;
18290
1.61k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
18291
1.61k
  return total_size;
18292
1.61k
}
18293
18294
0
void PgReserveOidsRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
18295
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgReserveOidsRequestPB)
18296
0
  GOOGLE_DCHECK_NE(&from, this);
18297
0
  const PgReserveOidsRequestPB* source =
18298
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgReserveOidsRequestPB>(
18299
0
          &from);
18300
0
  if (source == NULL) {
18301
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgReserveOidsRequestPB)
18302
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
18303
0
  } else {
18304
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgReserveOidsRequestPB)
18305
0
    MergeFrom(*source);
18306
0
  }
18307
0
}
18308
18309
0
void PgReserveOidsRequestPB::MergeFrom(const PgReserveOidsRequestPB& from) {
18310
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgReserveOidsRequestPB)
18311
0
  GOOGLE_DCHECK_NE(&from, this);
18312
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
18313
0
  ::google::protobuf::uint32 cached_has_bits = 0;
18314
0
  (void) cached_has_bits;
18315
18316
0
  if (from.database_oid() != 0) {
18317
0
    set_database_oid(from.database_oid());
18318
0
  }
18319
0
  if (from.next_oid() != 0) {
18320
0
    set_next_oid(from.next_oid());
18321
0
  }
18322
0
  if (from.count() != 0) {
18323
0
    set_count(from.count());
18324
0
  }
18325
0
}
18326
18327
0
void PgReserveOidsRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
18328
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgReserveOidsRequestPB)
18329
0
  if (&from == this) return;
18330
0
  Clear();
18331
0
  MergeFrom(from);
18332
0
}
18333
18334
0
void PgReserveOidsRequestPB::CopyFrom(const PgReserveOidsRequestPB& from) {
18335
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgReserveOidsRequestPB)
18336
0
  if (&from == this) return;
18337
0
  Clear();
18338
0
  MergeFrom(from);
18339
0
}
18340
18341
1.61k
bool PgReserveOidsRequestPB::IsInitialized() const {
18342
1.61k
  return true;
18343
1.61k
}
18344
18345
0
void PgReserveOidsRequestPB::Swap(PgReserveOidsRequestPB* other) {
18346
0
  if (other == this) return;
18347
0
  InternalSwap(other);
18348
0
}
18349
0
void PgReserveOidsRequestPB::InternalSwap(PgReserveOidsRequestPB* other) {
18350
0
  using std::swap;
18351
0
  swap(database_oid_, other->database_oid_);
18352
0
  swap(next_oid_, other->next_oid_);
18353
0
  swap(count_, other->count_);
18354
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
18355
0
  swap(_cached_size_, other->_cached_size_);
18356
0
}
18357
18358
805
::google::protobuf::Metadata PgReserveOidsRequestPB::GetMetadata() const {
18359
805
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
18360
805
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
18361
805
}
18362
18363
18364
// ===================================================================
18365
18366
26.8k
void PgReserveOidsResponsePB::InitAsDefaultInstance() {
18367
26.8k
  ::yb::tserver::_PgReserveOidsResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
18368
26.8k
      ::yb::AppStatusPB::internal_default_instance());
18369
26.8k
}
18370
0
void PgReserveOidsResponsePB::clear_status() {
18371
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
18372
0
    delete status_;
18373
0
  }
18374
0
  status_ = NULL;
18375
0
}
18376
#if !defined(_MSC_VER) || _MSC_VER >= 1900
18377
const int PgReserveOidsResponsePB::kStatusFieldNumber;
18378
const int PgReserveOidsResponsePB::kBeginOidFieldNumber;
18379
const int PgReserveOidsResponsePB::kEndOidFieldNumber;
18380
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
18381
18382
PgReserveOidsResponsePB::PgReserveOidsResponsePB()
18383
28.4k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
18384
28.4k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
18385
1.61k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgReserveOidsResponsePB();
18386
1.61k
  }
18387
28.4k
  SharedCtor();
18388
  // @@protoc_insertion_point(constructor:yb.tserver.PgReserveOidsResponsePB)
18389
28.4k
}
18390
PgReserveOidsResponsePB::PgReserveOidsResponsePB(const PgReserveOidsResponsePB& from)
18391
  : ::google::protobuf::Message(),
18392
      _internal_metadata_(NULL),
18393
0
      _cached_size_(0) {
18394
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
18395
0
  if (from.has_status()) {
18396
0
    status_ = new ::yb::AppStatusPB(*from.status_);
18397
0
  } else {
18398
0
    status_ = NULL;
18399
0
  }
18400
0
  ::memcpy(&begin_oid_, &from.begin_oid_,
18401
0
    static_cast<size_t>(reinterpret_cast<char*>(&end_oid_) -
18402
0
    reinterpret_cast<char*>(&begin_oid_)) + sizeof(end_oid_));
18403
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgReserveOidsResponsePB)
18404
0
}
18405
18406
28.4k
void PgReserveOidsResponsePB::SharedCtor() {
18407
28.4k
  ::memset(&status_, 0, static_cast<size_t>(
18408
28.4k
      reinterpret_cast<char*>(&end_oid_) -
18409
28.4k
      reinterpret_cast<char*>(&status_)) + sizeof(end_oid_));
18410
28.4k
  _cached_size_ = 0;
18411
28.4k
}
18412
18413
1.61k
PgReserveOidsResponsePB::~PgReserveOidsResponsePB() {
18414
  // @@protoc_insertion_point(destructor:yb.tserver.PgReserveOidsResponsePB)
18415
1.61k
  SharedDtor();
18416
1.61k
}
18417
18418
1.61k
void PgReserveOidsResponsePB::SharedDtor() {
18419
1.61k
  if (this != internal_default_instance()) delete status_;
18420
1.61k
}
18421
18422
0
void PgReserveOidsResponsePB::SetCachedSize(int size) const {
18423
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18424
0
  _cached_size_ = size;
18425
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
18426
0
}
18427
0
const ::google::protobuf::Descriptor* PgReserveOidsResponsePB::descriptor() {
18428
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
18429
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
18430
0
}
18431
18432
0
const PgReserveOidsResponsePB& PgReserveOidsResponsePB::default_instance() {
18433
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgReserveOidsResponsePB();
18434
0
  return *internal_default_instance();
18435
0
}
18436
18437
0
PgReserveOidsResponsePB* PgReserveOidsResponsePB::New(::google::protobuf::Arena* arena) const {
18438
0
  PgReserveOidsResponsePB* n = new PgReserveOidsResponsePB;
18439
0
  if (arena != NULL) {
18440
0
    arena->Own(n);
18441
0
  }
18442
0
  return n;
18443
0
}
18444
18445
805
void PgReserveOidsResponsePB::Clear() {
18446
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgReserveOidsResponsePB)
18447
805
  ::google::protobuf::uint32 cached_has_bits = 0;
18448
  // Prevent compiler warnings about cached_has_bits being unused
18449
805
  (void) cached_has_bits;
18450
18451
805
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
18452
0
    delete status_;
18453
0
  }
18454
805
  status_ = NULL;
18455
805
  ::memset(&begin_oid_, 0, static_cast<size_t>(
18456
805
      reinterpret_cast<char*>(&end_oid_) -
18457
805
      reinterpret_cast<char*>(&begin_oid_)) + sizeof(end_oid_));
18458
805
  _internal_metadata_.Clear();
18459
805
}
18460
18461
bool PgReserveOidsResponsePB::MergePartialFromCodedStream(
18462
805
    ::google::protobuf::io::CodedInputStream* input) {
18463
1.61k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
18464
805
  ::google::protobuf::uint32 tag;
18465
  // @@protoc_insertion_point(parse_start:yb.tserver.PgReserveOidsResponsePB)
18466
2.41k
  for (;;) {
18467
2.41k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
18468
2.41k
    tag = p.first;
18469
2.41k
    if (!p.second) 
goto handle_unusual805
;
18470
1.61k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
18471
      // .yb.AppStatusPB status = 1;
18472
0
      case 1: {
18473
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
18474
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
18475
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
18476
0
               input, mutable_status()));
18477
0
        } else {
18478
0
          goto handle_unusual;
18479
0
        }
18480
0
        break;
18481
0
      }
18482
18483
      // uint32 begin_oid = 2;
18484
805
      case 2: {
18485
805
        if (static_cast< ::google::protobuf::uint8>(tag) ==
18486
805
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
18487
18488
805
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
18489
805
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
18490
805
                 input, &begin_oid_)));
18491
805
        } else {
18492
0
          goto handle_unusual;
18493
0
        }
18494
805
        break;
18495
805
      }
18496
18497
      // uint32 end_oid = 3;
18498
805
      case 3: {
18499
805
        if (static_cast< ::google::protobuf::uint8>(tag) ==
18500
805
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
18501
18502
805
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
18503
805
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
18504
805
                 input, &end_oid_)));
18505
805
        } else {
18506
0
          goto handle_unusual;
18507
0
        }
18508
805
        break;
18509
805
      }
18510
18511
805
      default: {
18512
805
      handle_unusual:
18513
805
        if (tag == 0) {
18514
805
          goto success;
18515
805
        }
18516
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
18517
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
18518
0
        break;
18519
0
      }
18520
1.61k
    }
18521
1.61k
  }
18522
805
success:
18523
  // @@protoc_insertion_point(parse_success:yb.tserver.PgReserveOidsResponsePB)
18524
805
  return true;
18525
0
failure:
18526
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgReserveOidsResponsePB)
18527
0
  return false;
18528
805
#undef DO_
18529
805
}
18530
18531
void PgReserveOidsResponsePB::SerializeWithCachedSizes(
18532
0
    ::google::protobuf::io::CodedOutputStream* output) const {
18533
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgReserveOidsResponsePB)
18534
0
  ::google::protobuf::uint32 cached_has_bits = 0;
18535
0
  (void) cached_has_bits;
18536
18537
  // .yb.AppStatusPB status = 1;
18538
0
  if (this->has_status()) {
18539
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
18540
0
      1, *this->status_, output);
18541
0
  }
18542
18543
  // uint32 begin_oid = 2;
18544
0
  if (this->begin_oid() != 0) {
18545
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->begin_oid(), output);
18546
0
  }
18547
18548
  // uint32 end_oid = 3;
18549
0
  if (this->end_oid() != 0) {
18550
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->end_oid(), output);
18551
0
  }
18552
18553
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
18554
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
18555
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
18556
0
  }
18557
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgReserveOidsResponsePB)
18558
0
}
18559
18560
::google::protobuf::uint8* PgReserveOidsResponsePB::InternalSerializeWithCachedSizesToArray(
18561
805
    bool deterministic, ::google::protobuf::uint8* target) const {
18562
805
  (void)deterministic; // Unused
18563
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgReserveOidsResponsePB)
18564
805
  ::google::protobuf::uint32 cached_has_bits = 0;
18565
805
  (void) cached_has_bits;
18566
18567
  // .yb.AppStatusPB status = 1;
18568
805
  if (this->has_status()) {
18569
0
    target = ::google::protobuf::internal::WireFormatLite::
18570
0
      InternalWriteMessageToArray(
18571
0
        1, *this->status_, deterministic, target);
18572
0
  }
18573
18574
  // uint32 begin_oid = 2;
18575
805
  if (this->begin_oid() != 0) {
18576
805
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->begin_oid(), target);
18577
805
  }
18578
18579
  // uint32 end_oid = 3;
18580
805
  if (this->end_oid() != 0) {
18581
805
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->end_oid(), target);
18582
805
  }
18583
18584
805
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
18585
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
18586
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
18587
0
  }
18588
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgReserveOidsResponsePB)
18589
805
  return target;
18590
805
}
18591
18592
1.61k
size_t PgReserveOidsResponsePB::ByteSizeLong() const {
18593
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgReserveOidsResponsePB)
18594
1.61k
  size_t total_size = 0;
18595
18596
1.61k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
18597
0
    total_size +=
18598
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
18599
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
18600
0
  }
18601
  // .yb.AppStatusPB status = 1;
18602
1.61k
  if (this->has_status()) {
18603
0
    total_size += 1 +
18604
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
18605
0
        *this->status_);
18606
0
  }
18607
18608
  // uint32 begin_oid = 2;
18609
1.61k
  if (this->begin_oid() != 0) {
18610
1.61k
    total_size += 1 +
18611
1.61k
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
18612
1.61k
        this->begin_oid());
18613
1.61k
  }
18614
18615
  // uint32 end_oid = 3;
18616
1.61k
  if (this->end_oid() != 0) {
18617
1.61k
    total_size += 1 +
18618
1.61k
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
18619
1.61k
        this->end_oid());
18620
1.61k
  }
18621
18622
1.61k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
18623
1.61k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18624
1.61k
  _cached_size_ = cached_size;
18625
1.61k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
18626
1.61k
  return total_size;
18627
1.61k
}
18628
18629
0
void PgReserveOidsResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
18630
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgReserveOidsResponsePB)
18631
0
  GOOGLE_DCHECK_NE(&from, this);
18632
0
  const PgReserveOidsResponsePB* source =
18633
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgReserveOidsResponsePB>(
18634
0
          &from);
18635
0
  if (source == NULL) {
18636
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgReserveOidsResponsePB)
18637
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
18638
0
  } else {
18639
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgReserveOidsResponsePB)
18640
0
    MergeFrom(*source);
18641
0
  }
18642
0
}
18643
18644
0
void PgReserveOidsResponsePB::MergeFrom(const PgReserveOidsResponsePB& from) {
18645
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgReserveOidsResponsePB)
18646
0
  GOOGLE_DCHECK_NE(&from, this);
18647
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
18648
0
  ::google::protobuf::uint32 cached_has_bits = 0;
18649
0
  (void) cached_has_bits;
18650
18651
0
  if (from.has_status()) {
18652
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
18653
0
  }
18654
0
  if (from.begin_oid() != 0) {
18655
0
    set_begin_oid(from.begin_oid());
18656
0
  }
18657
0
  if (from.end_oid() != 0) {
18658
0
    set_end_oid(from.end_oid());
18659
0
  }
18660
0
}
18661
18662
0
void PgReserveOidsResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
18663
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgReserveOidsResponsePB)
18664
0
  if (&from == this) return;
18665
0
  Clear();
18666
0
  MergeFrom(from);
18667
0
}
18668
18669
0
void PgReserveOidsResponsePB::CopyFrom(const PgReserveOidsResponsePB& from) {
18670
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgReserveOidsResponsePB)
18671
0
  if (&from == this) return;
18672
0
  Clear();
18673
0
  MergeFrom(from);
18674
0
}
18675
18676
1.61k
bool PgReserveOidsResponsePB::IsInitialized() const {
18677
1.61k
  if (has_status()) {
18678
0
    if (!this->status_->IsInitialized()) return false;
18679
0
  }
18680
1.61k
  return true;
18681
1.61k
}
18682
18683
0
void PgReserveOidsResponsePB::Swap(PgReserveOidsResponsePB* other) {
18684
0
  if (other == this) return;
18685
0
  InternalSwap(other);
18686
0
}
18687
0
void PgReserveOidsResponsePB::InternalSwap(PgReserveOidsResponsePB* other) {
18688
0
  using std::swap;
18689
0
  swap(status_, other->status_);
18690
0
  swap(begin_oid_, other->begin_oid_);
18691
0
  swap(end_oid_, other->end_oid_);
18692
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
18693
0
  swap(_cached_size_, other->_cached_size_);
18694
0
}
18695
18696
0
::google::protobuf::Metadata PgReserveOidsResponsePB::GetMetadata() const {
18697
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
18698
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
18699
0
}
18700
18701
18702
// ===================================================================
18703
18704
26.8k
void PgRollbackSubTransactionRequestPB::InitAsDefaultInstance() {
18705
26.8k
}
18706
#if !defined(_MSC_VER) || _MSC_VER >= 1900
18707
const int PgRollbackSubTransactionRequestPB::kSessionIdFieldNumber;
18708
const int PgRollbackSubTransactionRequestPB::kSubTransactionIdFieldNumber;
18709
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
18710
18711
PgRollbackSubTransactionRequestPB::PgRollbackSubTransactionRequestPB()
18712
53.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
18713
53.9k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
18714
27.1k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgRollbackSubTransactionRequestPB();
18715
27.1k
  }
18716
53.9k
  SharedCtor();
18717
  // @@protoc_insertion_point(constructor:yb.tserver.PgRollbackSubTransactionRequestPB)
18718
53.9k
}
18719
PgRollbackSubTransactionRequestPB::PgRollbackSubTransactionRequestPB(const PgRollbackSubTransactionRequestPB& from)
18720
  : ::google::protobuf::Message(),
18721
      _internal_metadata_(NULL),
18722
0
      _cached_size_(0) {
18723
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
18724
0
  ::memcpy(&session_id_, &from.session_id_,
18725
0
    static_cast<size_t>(reinterpret_cast<char*>(&sub_transaction_id_) -
18726
0
    reinterpret_cast<char*>(&session_id_)) + sizeof(sub_transaction_id_));
18727
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgRollbackSubTransactionRequestPB)
18728
0
}
18729
18730
53.9k
void PgRollbackSubTransactionRequestPB::SharedCtor() {
18731
53.9k
  ::memset(&session_id_, 0, static_cast<size_t>(
18732
53.9k
      reinterpret_cast<char*>(&sub_transaction_id_) -
18733
53.9k
      reinterpret_cast<char*>(&session_id_)) + sizeof(sub_transaction_id_));
18734
53.9k
  _cached_size_ = 0;
18735
53.9k
}
18736
18737
27.1k
PgRollbackSubTransactionRequestPB::~PgRollbackSubTransactionRequestPB() {
18738
  // @@protoc_insertion_point(destructor:yb.tserver.PgRollbackSubTransactionRequestPB)
18739
27.1k
  SharedDtor();
18740
27.1k
}
18741
18742
27.1k
void PgRollbackSubTransactionRequestPB::SharedDtor() {
18743
27.1k
}
18744
18745
0
void PgRollbackSubTransactionRequestPB::SetCachedSize(int size) const {
18746
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18747
0
  _cached_size_ = size;
18748
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
18749
0
}
18750
0
const ::google::protobuf::Descriptor* PgRollbackSubTransactionRequestPB::descriptor() {
18751
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
18752
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
18753
0
}
18754
18755
0
const PgRollbackSubTransactionRequestPB& PgRollbackSubTransactionRequestPB::default_instance() {
18756
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgRollbackSubTransactionRequestPB();
18757
0
  return *internal_default_instance();
18758
0
}
18759
18760
0
PgRollbackSubTransactionRequestPB* PgRollbackSubTransactionRequestPB::New(::google::protobuf::Arena* arena) const {
18761
0
  PgRollbackSubTransactionRequestPB* n = new PgRollbackSubTransactionRequestPB;
18762
0
  if (arena != NULL) {
18763
0
    arena->Own(n);
18764
0
  }
18765
0
  return n;
18766
0
}
18767
18768
13.5k
void PgRollbackSubTransactionRequestPB::Clear() {
18769
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgRollbackSubTransactionRequestPB)
18770
13.5k
  ::google::protobuf::uint32 cached_has_bits = 0;
18771
  // Prevent compiler warnings about cached_has_bits being unused
18772
13.5k
  (void) cached_has_bits;
18773
18774
13.5k
  ::memset(&session_id_, 0, static_cast<size_t>(
18775
13.5k
      reinterpret_cast<char*>(&sub_transaction_id_) -
18776
13.5k
      reinterpret_cast<char*>(&session_id_)) + sizeof(sub_transaction_id_));
18777
13.5k
  _internal_metadata_.Clear();
18778
13.5k
}
18779
18780
bool PgRollbackSubTransactionRequestPB::MergePartialFromCodedStream(
18781
13.5k
    ::google::protobuf::io::CodedInputStream* input) {
18782
27.1k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
18783
13.5k
  ::google::protobuf::uint32 tag;
18784
  // @@protoc_insertion_point(parse_start:yb.tserver.PgRollbackSubTransactionRequestPB)
18785
40.6k
  for (;;) {
18786
40.6k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
18787
40.6k
    tag = p.first;
18788
40.6k
    if (!p.second) 
goto handle_unusual13.5k
;
18789
27.1k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
18790
      // uint64 session_id = 1;
18791
13.5k
      case 1: {
18792
13.5k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
18793
13.5k
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
18794
18795
13.5k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
18796
13.5k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
18797
13.5k
                 input, &session_id_)));
18798
13.5k
        } else {
18799
0
          goto handle_unusual;
18800
0
        }
18801
13.5k
        break;
18802
13.5k
      }
18803
18804
      // uint32 sub_transaction_id = 2;
18805
13.5k
      case 2: {
18806
13.5k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
18807
13.5k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
18808
18809
13.5k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
18810
13.5k
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
18811
13.5k
                 input, &sub_transaction_id_)));
18812
13.5k
        } else {
18813
0
          goto handle_unusual;
18814
0
        }
18815
13.5k
        break;
18816
13.5k
      }
18817
18818
13.5k
      default: {
18819
13.5k
      handle_unusual:
18820
13.5k
        if (tag == 0) {
18821
13.5k
          goto success;
18822
13.5k
        }
18823
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
18824
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
18825
0
        break;
18826
0
      }
18827
27.1k
    }
18828
27.1k
  }
18829
13.5k
success:
18830
  // @@protoc_insertion_point(parse_success:yb.tserver.PgRollbackSubTransactionRequestPB)
18831
13.5k
  return true;
18832
0
failure:
18833
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgRollbackSubTransactionRequestPB)
18834
0
  return false;
18835
13.5k
#undef DO_
18836
13.5k
}
18837
18838
void PgRollbackSubTransactionRequestPB::SerializeWithCachedSizes(
18839
0
    ::google::protobuf::io::CodedOutputStream* output) const {
18840
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgRollbackSubTransactionRequestPB)
18841
0
  ::google::protobuf::uint32 cached_has_bits = 0;
18842
0
  (void) cached_has_bits;
18843
18844
  // uint64 session_id = 1;
18845
0
  if (this->session_id() != 0) {
18846
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
18847
0
  }
18848
18849
  // uint32 sub_transaction_id = 2;
18850
0
  if (this->sub_transaction_id() != 0) {
18851
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->sub_transaction_id(), output);
18852
0
  }
18853
18854
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
18855
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
18856
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
18857
0
  }
18858
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgRollbackSubTransactionRequestPB)
18859
0
}
18860
18861
::google::protobuf::uint8* PgRollbackSubTransactionRequestPB::InternalSerializeWithCachedSizesToArray(
18862
13.5k
    bool deterministic, ::google::protobuf::uint8* target) const {
18863
13.5k
  (void)deterministic; // Unused
18864
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgRollbackSubTransactionRequestPB)
18865
13.5k
  ::google::protobuf::uint32 cached_has_bits = 0;
18866
13.5k
  (void) cached_has_bits;
18867
18868
  // uint64 session_id = 1;
18869
13.5k
  if (this->session_id() != 0) {
18870
13.5k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
18871
13.5k
  }
18872
18873
  // uint32 sub_transaction_id = 2;
18874
13.5k
  if (this->sub_transaction_id() != 0) {
18875
13.5k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->sub_transaction_id(), target);
18876
13.5k
  }
18877
18878
13.5k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
18879
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
18880
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
18881
0
  }
18882
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgRollbackSubTransactionRequestPB)
18883
13.5k
  return target;
18884
13.5k
}
18885
18886
27.1k
size_t PgRollbackSubTransactionRequestPB::ByteSizeLong() const {
18887
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgRollbackSubTransactionRequestPB)
18888
27.1k
  size_t total_size = 0;
18889
18890
27.1k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
18891
0
    total_size +=
18892
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
18893
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
18894
0
  }
18895
  // uint64 session_id = 1;
18896
27.1k
  if (this->session_id() != 0) {
18897
27.1k
    total_size += 1 +
18898
27.1k
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
18899
27.1k
        this->session_id());
18900
27.1k
  }
18901
18902
  // uint32 sub_transaction_id = 2;
18903
27.1k
  if (this->sub_transaction_id() != 0) {
18904
27.1k
    total_size += 1 +
18905
27.1k
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
18906
27.1k
        this->sub_transaction_id());
18907
27.1k
  }
18908
18909
27.1k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
18910
27.1k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18911
27.1k
  _cached_size_ = cached_size;
18912
27.1k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
18913
27.1k
  return total_size;
18914
27.1k
}
18915
18916
0
void PgRollbackSubTransactionRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
18917
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgRollbackSubTransactionRequestPB)
18918
0
  GOOGLE_DCHECK_NE(&from, this);
18919
0
  const PgRollbackSubTransactionRequestPB* source =
18920
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgRollbackSubTransactionRequestPB>(
18921
0
          &from);
18922
0
  if (source == NULL) {
18923
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgRollbackSubTransactionRequestPB)
18924
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
18925
0
  } else {
18926
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgRollbackSubTransactionRequestPB)
18927
0
    MergeFrom(*source);
18928
0
  }
18929
0
}
18930
18931
0
void PgRollbackSubTransactionRequestPB::MergeFrom(const PgRollbackSubTransactionRequestPB& from) {
18932
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgRollbackSubTransactionRequestPB)
18933
0
  GOOGLE_DCHECK_NE(&from, this);
18934
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
18935
0
  ::google::protobuf::uint32 cached_has_bits = 0;
18936
0
  (void) cached_has_bits;
18937
18938
0
  if (from.session_id() != 0) {
18939
0
    set_session_id(from.session_id());
18940
0
  }
18941
0
  if (from.sub_transaction_id() != 0) {
18942
0
    set_sub_transaction_id(from.sub_transaction_id());
18943
0
  }
18944
0
}
18945
18946
0
void PgRollbackSubTransactionRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
18947
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgRollbackSubTransactionRequestPB)
18948
0
  if (&from == this) return;
18949
0
  Clear();
18950
0
  MergeFrom(from);
18951
0
}
18952
18953
0
void PgRollbackSubTransactionRequestPB::CopyFrom(const PgRollbackSubTransactionRequestPB& from) {
18954
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgRollbackSubTransactionRequestPB)
18955
0
  if (&from == this) return;
18956
0
  Clear();
18957
0
  MergeFrom(from);
18958
0
}
18959
18960
27.1k
bool PgRollbackSubTransactionRequestPB::IsInitialized() const {
18961
27.1k
  return true;
18962
27.1k
}
18963
18964
0
void PgRollbackSubTransactionRequestPB::Swap(PgRollbackSubTransactionRequestPB* other) {
18965
0
  if (other == this) return;
18966
0
  InternalSwap(other);
18967
0
}
18968
0
void PgRollbackSubTransactionRequestPB::InternalSwap(PgRollbackSubTransactionRequestPB* other) {
18969
0
  using std::swap;
18970
0
  swap(session_id_, other->session_id_);
18971
0
  swap(sub_transaction_id_, other->sub_transaction_id_);
18972
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
18973
0
  swap(_cached_size_, other->_cached_size_);
18974
0
}
18975
18976
13.5k
::google::protobuf::Metadata PgRollbackSubTransactionRequestPB::GetMetadata() const {
18977
13.5k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
18978
13.5k
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
18979
13.5k
}
18980
18981
18982
// ===================================================================
18983
18984
26.8k
void PgRollbackSubTransactionResponsePB::InitAsDefaultInstance() {
18985
26.8k
  ::yb::tserver::_PgRollbackSubTransactionResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
18986
26.8k
      ::yb::AppStatusPB::internal_default_instance());
18987
26.8k
}
18988
0
void PgRollbackSubTransactionResponsePB::clear_status() {
18989
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
18990
0
    delete status_;
18991
0
  }
18992
0
  status_ = NULL;
18993
0
}
18994
#if !defined(_MSC_VER) || _MSC_VER >= 1900
18995
const int PgRollbackSubTransactionResponsePB::kStatusFieldNumber;
18996
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
18997
18998
PgRollbackSubTransactionResponsePB::PgRollbackSubTransactionResponsePB()
18999
53.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
19000
53.9k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
19001
27.1k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgRollbackSubTransactionResponsePB();
19002
27.1k
  }
19003
53.9k
  SharedCtor();
19004
  // @@protoc_insertion_point(constructor:yb.tserver.PgRollbackSubTransactionResponsePB)
19005
53.9k
}
19006
PgRollbackSubTransactionResponsePB::PgRollbackSubTransactionResponsePB(const PgRollbackSubTransactionResponsePB& from)
19007
  : ::google::protobuf::Message(),
19008
      _internal_metadata_(NULL),
19009
0
      _cached_size_(0) {
19010
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
19011
0
  if (from.has_status()) {
19012
0
    status_ = new ::yb::AppStatusPB(*from.status_);
19013
0
  } else {
19014
0
    status_ = NULL;
19015
0
  }
19016
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgRollbackSubTransactionResponsePB)
19017
0
}
19018
19019
53.9k
void PgRollbackSubTransactionResponsePB::SharedCtor() {
19020
53.9k
  status_ = NULL;
19021
53.9k
  _cached_size_ = 0;
19022
53.9k
}
19023
19024
27.1k
PgRollbackSubTransactionResponsePB::~PgRollbackSubTransactionResponsePB() {
19025
  // @@protoc_insertion_point(destructor:yb.tserver.PgRollbackSubTransactionResponsePB)
19026
27.1k
  SharedDtor();
19027
27.1k
}
19028
19029
27.1k
void PgRollbackSubTransactionResponsePB::SharedDtor() {
19030
27.1k
  if (this != internal_default_instance()) delete status_;
19031
27.1k
}
19032
19033
0
void PgRollbackSubTransactionResponsePB::SetCachedSize(int size) const {
19034
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19035
0
  _cached_size_ = size;
19036
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
19037
0
}
19038
0
const ::google::protobuf::Descriptor* PgRollbackSubTransactionResponsePB::descriptor() {
19039
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
19040
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
19041
0
}
19042
19043
0
const PgRollbackSubTransactionResponsePB& PgRollbackSubTransactionResponsePB::default_instance() {
19044
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgRollbackSubTransactionResponsePB();
19045
0
  return *internal_default_instance();
19046
0
}
19047
19048
0
PgRollbackSubTransactionResponsePB* PgRollbackSubTransactionResponsePB::New(::google::protobuf::Arena* arena) const {
19049
0
  PgRollbackSubTransactionResponsePB* n = new PgRollbackSubTransactionResponsePB;
19050
0
  if (arena != NULL) {
19051
0
    arena->Own(n);
19052
0
  }
19053
0
  return n;
19054
0
}
19055
19056
13.5k
void PgRollbackSubTransactionResponsePB::Clear() {
19057
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgRollbackSubTransactionResponsePB)
19058
13.5k
  ::google::protobuf::uint32 cached_has_bits = 0;
19059
  // Prevent compiler warnings about cached_has_bits being unused
19060
13.5k
  (void) cached_has_bits;
19061
19062
13.5k
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
19063
0
    delete status_;
19064
0
  }
19065
13.5k
  status_ = NULL;
19066
13.5k
  _internal_metadata_.Clear();
19067
13.5k
}
19068
19069
bool PgRollbackSubTransactionResponsePB::MergePartialFromCodedStream(
19070
13.5k
    ::google::protobuf::io::CodedInputStream* input) {
19071
13.5k
#define DO_(EXPRESSION) 
if (0
!GOOGLE_PREDICT_TRUE0
(EXPRESSION))
goto failure0
19072
13.5k
  ::google::protobuf::uint32 tag;
19073
  // @@protoc_insertion_point(parse_start:yb.tserver.PgRollbackSubTransactionResponsePB)
19074
13.5k
  for (;;) {
19075
13.5k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
19076
13.5k
    tag = p.first;
19077
13.5k
    if (!p.second) goto handle_unusual;
19078
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
19079
      // .yb.AppStatusPB status = 1;
19080
0
      case 1: {
19081
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
19082
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
19083
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
19084
0
               input, mutable_status()));
19085
0
        } else {
19086
0
          goto handle_unusual;
19087
0
        }
19088
0
        break;
19089
0
      }
19090
19091
0
      default: {
19092
13.5k
      handle_unusual:
19093
13.5k
        if (tag == 0) {
19094
13.5k
          goto success;
19095
13.5k
        }
19096
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
19097
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
19098
0
        break;
19099
0
      }
19100
0
    }
19101
0
  }
19102
13.5k
success:
19103
  // @@protoc_insertion_point(parse_success:yb.tserver.PgRollbackSubTransactionResponsePB)
19104
13.5k
  return true;
19105
0
failure:
19106
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgRollbackSubTransactionResponsePB)
19107
0
  return false;
19108
13.5k
#undef DO_
19109
13.5k
}
19110
19111
void PgRollbackSubTransactionResponsePB::SerializeWithCachedSizes(
19112
0
    ::google::protobuf::io::CodedOutputStream* output) const {
19113
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgRollbackSubTransactionResponsePB)
19114
0
  ::google::protobuf::uint32 cached_has_bits = 0;
19115
0
  (void) cached_has_bits;
19116
19117
  // .yb.AppStatusPB status = 1;
19118
0
  if (this->has_status()) {
19119
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
19120
0
      1, *this->status_, output);
19121
0
  }
19122
19123
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
19124
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
19125
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
19126
0
  }
19127
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgRollbackSubTransactionResponsePB)
19128
0
}
19129
19130
::google::protobuf::uint8* PgRollbackSubTransactionResponsePB::InternalSerializeWithCachedSizesToArray(
19131
13.5k
    bool deterministic, ::google::protobuf::uint8* target) const {
19132
13.5k
  (void)deterministic; // Unused
19133
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgRollbackSubTransactionResponsePB)
19134
13.5k
  ::google::protobuf::uint32 cached_has_bits = 0;
19135
13.5k
  (void) cached_has_bits;
19136
19137
  // .yb.AppStatusPB status = 1;
19138
13.5k
  if (this->has_status()) {
19139
0
    target = ::google::protobuf::internal::WireFormatLite::
19140
0
      InternalWriteMessageToArray(
19141
0
        1, *this->status_, deterministic, target);
19142
0
  }
19143
19144
13.5k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
19145
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
19146
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
19147
0
  }
19148
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgRollbackSubTransactionResponsePB)
19149
13.5k
  return target;
19150
13.5k
}
19151
19152
27.1k
size_t PgRollbackSubTransactionResponsePB::ByteSizeLong() const {
19153
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgRollbackSubTransactionResponsePB)
19154
27.1k
  size_t total_size = 0;
19155
19156
27.1k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
19157
0
    total_size +=
19158
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
19159
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
19160
0
  }
19161
  // .yb.AppStatusPB status = 1;
19162
27.1k
  if (this->has_status()) {
19163
0
    total_size += 1 +
19164
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
19165
0
        *this->status_);
19166
0
  }
19167
19168
27.1k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
19169
27.1k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19170
27.1k
  _cached_size_ = cached_size;
19171
27.1k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
19172
27.1k
  return total_size;
19173
27.1k
}
19174
19175
0
void PgRollbackSubTransactionResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
19176
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgRollbackSubTransactionResponsePB)
19177
0
  GOOGLE_DCHECK_NE(&from, this);
19178
0
  const PgRollbackSubTransactionResponsePB* source =
19179
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgRollbackSubTransactionResponsePB>(
19180
0
          &from);
19181
0
  if (source == NULL) {
19182
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgRollbackSubTransactionResponsePB)
19183
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
19184
0
  } else {
19185
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgRollbackSubTransactionResponsePB)
19186
0
    MergeFrom(*source);
19187
0
  }
19188
0
}
19189
19190
0
void PgRollbackSubTransactionResponsePB::MergeFrom(const PgRollbackSubTransactionResponsePB& from) {
19191
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgRollbackSubTransactionResponsePB)
19192
0
  GOOGLE_DCHECK_NE(&from, this);
19193
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
19194
0
  ::google::protobuf::uint32 cached_has_bits = 0;
19195
0
  (void) cached_has_bits;
19196
19197
0
  if (from.has_status()) {
19198
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
19199
0
  }
19200
0
}
19201
19202
0
void PgRollbackSubTransactionResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
19203
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgRollbackSubTransactionResponsePB)
19204
0
  if (&from == this) return;
19205
0
  Clear();
19206
0
  MergeFrom(from);
19207
0
}
19208
19209
0
void PgRollbackSubTransactionResponsePB::CopyFrom(const PgRollbackSubTransactionResponsePB& from) {
19210
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgRollbackSubTransactionResponsePB)
19211
0
  if (&from == this) return;
19212
0
  Clear();
19213
0
  MergeFrom(from);
19214
0
}
19215
19216
27.1k
bool PgRollbackSubTransactionResponsePB::IsInitialized() const {
19217
27.1k
  if (has_status()) {
19218
0
    if (!this->status_->IsInitialized()) return false;
19219
0
  }
19220
27.1k
  return true;
19221
27.1k
}
19222
19223
0
void PgRollbackSubTransactionResponsePB::Swap(PgRollbackSubTransactionResponsePB* other) {
19224
0
  if (other == this) return;
19225
0
  InternalSwap(other);
19226
0
}
19227
0
void PgRollbackSubTransactionResponsePB::InternalSwap(PgRollbackSubTransactionResponsePB* other) {
19228
0
  using std::swap;
19229
0
  swap(status_, other->status_);
19230
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
19231
0
  swap(_cached_size_, other->_cached_size_);
19232
0
}
19233
19234
0
::google::protobuf::Metadata PgRollbackSubTransactionResponsePB::GetMetadata() const {
19235
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
19236
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
19237
0
}
19238
19239
19240
// ===================================================================
19241
19242
26.8k
void PgSetActiveSubTransactionRequestPB::InitAsDefaultInstance() {
19243
26.8k
  ::yb::tserver::_PgSetActiveSubTransactionRequestPB_default_instance_._instance.get_mutable()->options_ = const_cast< ::yb::tserver::PgPerformOptionsPB*>(
19244
26.8k
      ::yb::tserver::PgPerformOptionsPB::internal_default_instance());
19245
26.8k
}
19246
#if !defined(_MSC_VER) || _MSC_VER >= 1900
19247
const int PgSetActiveSubTransactionRequestPB::kSessionIdFieldNumber;
19248
const int PgSetActiveSubTransactionRequestPB::kSubTransactionIdFieldNumber;
19249
const int PgSetActiveSubTransactionRequestPB::kOptionsFieldNumber;
19250
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
19251
19252
PgSetActiveSubTransactionRequestPB::PgSetActiveSubTransactionRequestPB()
19253
150k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
19254
150k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
19255
123k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgSetActiveSubTransactionRequestPB();
19256
123k
  }
19257
150k
  SharedCtor();
19258
  // @@protoc_insertion_point(constructor:yb.tserver.PgSetActiveSubTransactionRequestPB)
19259
150k
}
19260
PgSetActiveSubTransactionRequestPB::PgSetActiveSubTransactionRequestPB(const PgSetActiveSubTransactionRequestPB& from)
19261
  : ::google::protobuf::Message(),
19262
      _internal_metadata_(NULL),
19263
0
      _cached_size_(0) {
19264
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
19265
0
  if (from.has_options()) {
19266
0
    options_ = new ::yb::tserver::PgPerformOptionsPB(*from.options_);
19267
0
  } else {
19268
0
    options_ = NULL;
19269
0
  }
19270
0
  ::memcpy(&session_id_, &from.session_id_,
19271
0
    static_cast<size_t>(reinterpret_cast<char*>(&sub_transaction_id_) -
19272
0
    reinterpret_cast<char*>(&session_id_)) + sizeof(sub_transaction_id_));
19273
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgSetActiveSubTransactionRequestPB)
19274
0
}
19275
19276
150k
void PgSetActiveSubTransactionRequestPB::SharedCtor() {
19277
150k
  ::memset(&options_, 0, static_cast<size_t>(
19278
150k
      reinterpret_cast<char*>(&sub_transaction_id_) -
19279
150k
      reinterpret_cast<char*>(&options_)) + sizeof(sub_transaction_id_));
19280
150k
  _cached_size_ = 0;
19281
150k
}
19282
19283
123k
PgSetActiveSubTransactionRequestPB::~PgSetActiveSubTransactionRequestPB() {
19284
  // @@protoc_insertion_point(destructor:yb.tserver.PgSetActiveSubTransactionRequestPB)
19285
123k
  SharedDtor();
19286
123k
}
19287
19288
123k
void PgSetActiveSubTransactionRequestPB::SharedDtor() {
19289
123k
  if (this != internal_default_instance()) 
delete options_123k
;
19290
123k
}
19291
19292
0
void PgSetActiveSubTransactionRequestPB::SetCachedSize(int size) const {
19293
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19294
0
  _cached_size_ = size;
19295
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
19296
0
}
19297
0
const ::google::protobuf::Descriptor* PgSetActiveSubTransactionRequestPB::descriptor() {
19298
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
19299
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
19300
0
}
19301
19302
0
const PgSetActiveSubTransactionRequestPB& PgSetActiveSubTransactionRequestPB::default_instance() {
19303
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgSetActiveSubTransactionRequestPB();
19304
0
  return *internal_default_instance();
19305
0
}
19306
19307
0
PgSetActiveSubTransactionRequestPB* PgSetActiveSubTransactionRequestPB::New(::google::protobuf::Arena* arena) const {
19308
0
  PgSetActiveSubTransactionRequestPB* n = new PgSetActiveSubTransactionRequestPB;
19309
0
  if (arena != NULL) {
19310
0
    arena->Own(n);
19311
0
  }
19312
0
  return n;
19313
0
}
19314
19315
61.7k
void PgSetActiveSubTransactionRequestPB::Clear() {
19316
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgSetActiveSubTransactionRequestPB)
19317
61.7k
  ::google::protobuf::uint32 cached_has_bits = 0;
19318
  // Prevent compiler warnings about cached_has_bits being unused
19319
61.7k
  (void) cached_has_bits;
19320
19321
61.7k
  if (
GetArenaNoVirtual() == NULL61.7k
&& options_ != NULL) {
19322
0
    delete options_;
19323
0
  }
19324
61.7k
  options_ = NULL;
19325
61.7k
  ::memset(&session_id_, 0, static_cast<size_t>(
19326
61.7k
      reinterpret_cast<char*>(&sub_transaction_id_) -
19327
61.7k
      reinterpret_cast<char*>(&session_id_)) + sizeof(sub_transaction_id_));
19328
61.7k
  _internal_metadata_.Clear();
19329
61.7k
}
19330
19331
bool PgSetActiveSubTransactionRequestPB::MergePartialFromCodedStream(
19332
61.7k
    ::google::protobuf::io::CodedInputStream* input) {
19333
130k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
19334
61.7k
  ::google::protobuf::uint32 tag;
19335
  // @@protoc_insertion_point(parse_start:yb.tserver.PgSetActiveSubTransactionRequestPB)
19336
192k
  for (;;) {
19337
192k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
19338
192k
    tag = p.first;
19339
192k
    if (!p.second) 
goto handle_unusual61.7k
;
19340
130k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
19341
      // uint64 session_id = 1;
19342
61.7k
      case 1: {
19343
61.7k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
19344
61.7k
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
19345
19346
61.7k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19347
61.7k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
19348
61.7k
                 input, &session_id_)));
19349
61.7k
        } else {
19350
0
          goto handle_unusual;
19351
0
        }
19352
61.7k
        break;
19353
61.7k
      }
19354
19355
      // uint32 sub_transaction_id = 2;
19356
61.7k
      case 2: {
19357
61.7k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
19358
61.7k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
19359
19360
61.7k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19361
61.7k
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
19362
61.7k
                 input, &sub_transaction_id_)));
19363
61.7k
        } else {
19364
1
          goto handle_unusual;
19365
1
        }
19366
61.7k
        break;
19367
61.7k
      }
19368
19369
      // .yb.tserver.PgPerformOptionsPB options = 3;
19370
61.7k
      case 3: {
19371
7.28k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
19372
7.28k
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
19373
7.28k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
19374
7.28k
               input, mutable_options()));
19375
7.28k
        } else {
19376
0
          goto handle_unusual;
19377
0
        }
19378
7.28k
        break;
19379
7.28k
      }
19380
19381
7.28k
      default: {
19382
61.7k
      handle_unusual:
19383
61.7k
        if (tag == 0) {
19384
61.7k
          goto success;
19385
61.7k
        }
19386
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
19387
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
19388
0
        break;
19389
0
      }
19390
130k
    }
19391
130k
  }
19392
61.7k
success:
19393
  // @@protoc_insertion_point(parse_success:yb.tserver.PgSetActiveSubTransactionRequestPB)
19394
61.7k
  return true;
19395
0
failure:
19396
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgSetActiveSubTransactionRequestPB)
19397
0
  return false;
19398
61.7k
#undef DO_
19399
61.7k
}
19400
19401
void PgSetActiveSubTransactionRequestPB::SerializeWithCachedSizes(
19402
0
    ::google::protobuf::io::CodedOutputStream* output) const {
19403
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgSetActiveSubTransactionRequestPB)
19404
0
  ::google::protobuf::uint32 cached_has_bits = 0;
19405
0
  (void) cached_has_bits;
19406
19407
  // uint64 session_id = 1;
19408
0
  if (this->session_id() != 0) {
19409
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
19410
0
  }
19411
19412
  // uint32 sub_transaction_id = 2;
19413
0
  if (this->sub_transaction_id() != 0) {
19414
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->sub_transaction_id(), output);
19415
0
  }
19416
19417
  // .yb.tserver.PgPerformOptionsPB options = 3;
19418
0
  if (this->has_options()) {
19419
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
19420
0
      3, *this->options_, output);
19421
0
  }
19422
19423
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
19424
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
19425
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
19426
0
  }
19427
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgSetActiveSubTransactionRequestPB)
19428
0
}
19429
19430
::google::protobuf::uint8* PgSetActiveSubTransactionRequestPB::InternalSerializeWithCachedSizesToArray(
19431
61.7k
    bool deterministic, ::google::protobuf::uint8* target) const {
19432
61.7k
  (void)deterministic; // Unused
19433
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgSetActiveSubTransactionRequestPB)
19434
61.7k
  ::google::protobuf::uint32 cached_has_bits = 0;
19435
61.7k
  (void) cached_has_bits;
19436
19437
  // uint64 session_id = 1;
19438
61.7k
  if (this->session_id() != 0) {
19439
61.7k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
19440
61.7k
  }
19441
19442
  // uint32 sub_transaction_id = 2;
19443
61.7k
  if (this->sub_transaction_id() != 0) {
19444
61.7k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->sub_transaction_id(), target);
19445
61.7k
  }
19446
19447
  // .yb.tserver.PgPerformOptionsPB options = 3;
19448
61.7k
  if (this->has_options()) {
19449
7.28k
    target = ::google::protobuf::internal::WireFormatLite::
19450
7.28k
      InternalWriteMessageToArray(
19451
7.28k
        3, *this->options_, deterministic, target);
19452
7.28k
  }
19453
19454
61.7k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
19455
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
19456
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
19457
0
  }
19458
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgSetActiveSubTransactionRequestPB)
19459
61.7k
  return target;
19460
61.7k
}
19461
19462
123k
size_t PgSetActiveSubTransactionRequestPB::ByteSizeLong() const {
19463
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgSetActiveSubTransactionRequestPB)
19464
123k
  size_t total_size = 0;
19465
19466
123k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
19467
0
    total_size +=
19468
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
19469
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
19470
0
  }
19471
  // .yb.tserver.PgPerformOptionsPB options = 3;
19472
123k
  if (this->has_options()) {
19473
14.5k
    total_size += 1 +
19474
14.5k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
19475
14.5k
        *this->options_);
19476
14.5k
  }
19477
19478
  // uint64 session_id = 1;
19479
123k
  if (this->session_id() != 0) {
19480
123k
    total_size += 1 +
19481
123k
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
19482
123k
        this->session_id());
19483
123k
  }
19484
19485
  // uint32 sub_transaction_id = 2;
19486
123k
  if (this->sub_transaction_id() != 0) {
19487
123k
    total_size += 1 +
19488
123k
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
19489
123k
        this->sub_transaction_id());
19490
123k
  }
19491
19492
123k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
19493
123k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19494
123k
  _cached_size_ = cached_size;
19495
123k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
19496
123k
  return total_size;
19497
123k
}
19498
19499
0
void PgSetActiveSubTransactionRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
19500
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgSetActiveSubTransactionRequestPB)
19501
0
  GOOGLE_DCHECK_NE(&from, this);
19502
0
  const PgSetActiveSubTransactionRequestPB* source =
19503
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgSetActiveSubTransactionRequestPB>(
19504
0
          &from);
19505
0
  if (source == NULL) {
19506
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgSetActiveSubTransactionRequestPB)
19507
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
19508
0
  } else {
19509
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgSetActiveSubTransactionRequestPB)
19510
0
    MergeFrom(*source);
19511
0
  }
19512
0
}
19513
19514
0
void PgSetActiveSubTransactionRequestPB::MergeFrom(const PgSetActiveSubTransactionRequestPB& from) {
19515
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgSetActiveSubTransactionRequestPB)
19516
0
  GOOGLE_DCHECK_NE(&from, this);
19517
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
19518
0
  ::google::protobuf::uint32 cached_has_bits = 0;
19519
0
  (void) cached_has_bits;
19520
19521
0
  if (from.has_options()) {
19522
0
    mutable_options()->::yb::tserver::PgPerformOptionsPB::MergeFrom(from.options());
19523
0
  }
19524
0
  if (from.session_id() != 0) {
19525
0
    set_session_id(from.session_id());
19526
0
  }
19527
0
  if (from.sub_transaction_id() != 0) {
19528
0
    set_sub_transaction_id(from.sub_transaction_id());
19529
0
  }
19530
0
}
19531
19532
0
void PgSetActiveSubTransactionRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
19533
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgSetActiveSubTransactionRequestPB)
19534
0
  if (&from == this) return;
19535
0
  Clear();
19536
0
  MergeFrom(from);
19537
0
}
19538
19539
0
void PgSetActiveSubTransactionRequestPB::CopyFrom(const PgSetActiveSubTransactionRequestPB& from) {
19540
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgSetActiveSubTransactionRequestPB)
19541
0
  if (&from == this) return;
19542
0
  Clear();
19543
0
  MergeFrom(from);
19544
0
}
19545
19546
123k
bool PgSetActiveSubTransactionRequestPB::IsInitialized() const {
19547
123k
  return true;
19548
123k
}
19549
19550
0
void PgSetActiveSubTransactionRequestPB::Swap(PgSetActiveSubTransactionRequestPB* other) {
19551
0
  if (other == this) return;
19552
0
  InternalSwap(other);
19553
0
}
19554
0
void PgSetActiveSubTransactionRequestPB::InternalSwap(PgSetActiveSubTransactionRequestPB* other) {
19555
0
  using std::swap;
19556
0
  swap(options_, other->options_);
19557
0
  swap(session_id_, other->session_id_);
19558
0
  swap(sub_transaction_id_, other->sub_transaction_id_);
19559
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
19560
0
  swap(_cached_size_, other->_cached_size_);
19561
0
}
19562
19563
61.7k
::google::protobuf::Metadata PgSetActiveSubTransactionRequestPB::GetMetadata() const {
19564
61.7k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
19565
61.7k
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
19566
61.7k
}
19567
19568
19569
// ===================================================================
19570
19571
26.8k
void PgSetActiveSubTransactionResponsePB::InitAsDefaultInstance() {
19572
26.8k
  ::yb::tserver::_PgSetActiveSubTransactionResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
19573
26.8k
      ::yb::AppStatusPB::internal_default_instance());
19574
26.8k
}
19575
0
void PgSetActiveSubTransactionResponsePB::clear_status() {
19576
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
19577
0
    delete status_;
19578
0
  }
19579
0
  status_ = NULL;
19580
0
}
19581
#if !defined(_MSC_VER) || _MSC_VER >= 1900
19582
const int PgSetActiveSubTransactionResponsePB::kStatusFieldNumber;
19583
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
19584
19585
PgSetActiveSubTransactionResponsePB::PgSetActiveSubTransactionResponsePB()
19586
150k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
19587
150k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
19588
123k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgSetActiveSubTransactionResponsePB();
19589
123k
  }
19590
150k
  SharedCtor();
19591
  // @@protoc_insertion_point(constructor:yb.tserver.PgSetActiveSubTransactionResponsePB)
19592
150k
}
19593
PgSetActiveSubTransactionResponsePB::PgSetActiveSubTransactionResponsePB(const PgSetActiveSubTransactionResponsePB& from)
19594
  : ::google::protobuf::Message(),
19595
      _internal_metadata_(NULL),
19596
0
      _cached_size_(0) {
19597
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
19598
0
  if (from.has_status()) {
19599
0
    status_ = new ::yb::AppStatusPB(*from.status_);
19600
0
  } else {
19601
0
    status_ = NULL;
19602
0
  }
19603
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgSetActiveSubTransactionResponsePB)
19604
0
}
19605
19606
150k
void PgSetActiveSubTransactionResponsePB::SharedCtor() {
19607
150k
  status_ = NULL;
19608
150k
  _cached_size_ = 0;
19609
150k
}
19610
19611
123k
PgSetActiveSubTransactionResponsePB::~PgSetActiveSubTransactionResponsePB() {
19612
  // @@protoc_insertion_point(destructor:yb.tserver.PgSetActiveSubTransactionResponsePB)
19613
123k
  SharedDtor();
19614
123k
}
19615
19616
123k
void PgSetActiveSubTransactionResponsePB::SharedDtor() {
19617
123k
  if (this != internal_default_instance()) 
delete status_123k
;
19618
123k
}
19619
19620
0
void PgSetActiveSubTransactionResponsePB::SetCachedSize(int size) const {
19621
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19622
0
  _cached_size_ = size;
19623
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
19624
0
}
19625
0
const ::google::protobuf::Descriptor* PgSetActiveSubTransactionResponsePB::descriptor() {
19626
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
19627
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
19628
0
}
19629
19630
0
const PgSetActiveSubTransactionResponsePB& PgSetActiveSubTransactionResponsePB::default_instance() {
19631
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgSetActiveSubTransactionResponsePB();
19632
0
  return *internal_default_instance();
19633
0
}
19634
19635
0
PgSetActiveSubTransactionResponsePB* PgSetActiveSubTransactionResponsePB::New(::google::protobuf::Arena* arena) const {
19636
0
  PgSetActiveSubTransactionResponsePB* n = new PgSetActiveSubTransactionResponsePB;
19637
0
  if (arena != NULL) {
19638
0
    arena->Own(n);
19639
0
  }
19640
0
  return n;
19641
0
}
19642
19643
61.7k
void PgSetActiveSubTransactionResponsePB::Clear() {
19644
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgSetActiveSubTransactionResponsePB)
19645
61.7k
  ::google::protobuf::uint32 cached_has_bits = 0;
19646
  // Prevent compiler warnings about cached_has_bits being unused
19647
61.7k
  (void) cached_has_bits;
19648
19649
61.7k
  if (GetArenaNoVirtual() == NULL && 
status_ != NULL61.7k
) {
19650
0
    delete status_;
19651
0
  }
19652
61.7k
  status_ = NULL;
19653
61.7k
  _internal_metadata_.Clear();
19654
61.7k
}
19655
19656
bool PgSetActiveSubTransactionResponsePB::MergePartialFromCodedStream(
19657
61.7k
    ::google::protobuf::io::CodedInputStream* input) {
19658
18.4E
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
19659
61.7k
  ::google::protobuf::uint32 tag;
19660
  // @@protoc_insertion_point(parse_start:yb.tserver.PgSetActiveSubTransactionResponsePB)
19661
61.7k
  for (;;) {
19662
61.7k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
19663
61.7k
    tag = p.first;
19664
61.7k
    if (
!p.second61.7k
) goto handle_unusual;
19665
18.4E
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
19666
      // .yb.AppStatusPB status = 1;
19667
0
      case 1: {
19668
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
19669
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
19670
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
19671
0
               input, mutable_status()));
19672
0
        } else {
19673
0
          goto handle_unusual;
19674
0
        }
19675
0
        break;
19676
0
      }
19677
19678
0
      default: {
19679
61.7k
      handle_unusual:
19680
61.7k
        if (
tag == 061.7k
) {
19681
61.7k
          goto success;
19682
61.7k
        }
19683
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
19684
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
19685
18.4E
        break;
19686
18.4E
      }
19687
18.4E
    }
19688
18.4E
  }
19689
61.7k
success:
19690
  // @@protoc_insertion_point(parse_success:yb.tserver.PgSetActiveSubTransactionResponsePB)
19691
61.7k
  return true;
19692
0
failure:
19693
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgSetActiveSubTransactionResponsePB)
19694
0
  return false;
19695
61.7k
#undef DO_
19696
61.7k
}
19697
19698
void PgSetActiveSubTransactionResponsePB::SerializeWithCachedSizes(
19699
0
    ::google::protobuf::io::CodedOutputStream* output) const {
19700
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgSetActiveSubTransactionResponsePB)
19701
0
  ::google::protobuf::uint32 cached_has_bits = 0;
19702
0
  (void) cached_has_bits;
19703
19704
  // .yb.AppStatusPB status = 1;
19705
0
  if (this->has_status()) {
19706
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
19707
0
      1, *this->status_, output);
19708
0
  }
19709
19710
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
19711
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
19712
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
19713
0
  }
19714
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgSetActiveSubTransactionResponsePB)
19715
0
}
19716
19717
::google::protobuf::uint8* PgSetActiveSubTransactionResponsePB::InternalSerializeWithCachedSizesToArray(
19718
61.7k
    bool deterministic, ::google::protobuf::uint8* target) const {
19719
61.7k
  (void)deterministic; // Unused
19720
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgSetActiveSubTransactionResponsePB)
19721
61.7k
  ::google::protobuf::uint32 cached_has_bits = 0;
19722
61.7k
  (void) cached_has_bits;
19723
19724
  // .yb.AppStatusPB status = 1;
19725
61.7k
  if (this->has_status()) {
19726
0
    target = ::google::protobuf::internal::WireFormatLite::
19727
0
      InternalWriteMessageToArray(
19728
0
        1, *this->status_, deterministic, target);
19729
0
  }
19730
19731
61.7k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
19732
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
19733
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
19734
0
  }
19735
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgSetActiveSubTransactionResponsePB)
19736
61.7k
  return target;
19737
61.7k
}
19738
19739
123k
size_t PgSetActiveSubTransactionResponsePB::ByteSizeLong() const {
19740
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgSetActiveSubTransactionResponsePB)
19741
123k
  size_t total_size = 0;
19742
19743
123k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
19744
0
    total_size +=
19745
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
19746
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
19747
0
  }
19748
  // .yb.AppStatusPB status = 1;
19749
123k
  if (this->has_status()) {
19750
0
    total_size += 1 +
19751
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
19752
0
        *this->status_);
19753
0
  }
19754
19755
123k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
19756
123k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19757
123k
  _cached_size_ = cached_size;
19758
123k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
19759
123k
  return total_size;
19760
123k
}
19761
19762
0
void PgSetActiveSubTransactionResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
19763
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgSetActiveSubTransactionResponsePB)
19764
0
  GOOGLE_DCHECK_NE(&from, this);
19765
0
  const PgSetActiveSubTransactionResponsePB* source =
19766
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgSetActiveSubTransactionResponsePB>(
19767
0
          &from);
19768
0
  if (source == NULL) {
19769
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgSetActiveSubTransactionResponsePB)
19770
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
19771
0
  } else {
19772
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgSetActiveSubTransactionResponsePB)
19773
0
    MergeFrom(*source);
19774
0
  }
19775
0
}
19776
19777
0
void PgSetActiveSubTransactionResponsePB::MergeFrom(const PgSetActiveSubTransactionResponsePB& from) {
19778
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgSetActiveSubTransactionResponsePB)
19779
0
  GOOGLE_DCHECK_NE(&from, this);
19780
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
19781
0
  ::google::protobuf::uint32 cached_has_bits = 0;
19782
0
  (void) cached_has_bits;
19783
19784
0
  if (from.has_status()) {
19785
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
19786
0
  }
19787
0
}
19788
19789
0
void PgSetActiveSubTransactionResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
19790
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgSetActiveSubTransactionResponsePB)
19791
0
  if (&from == this) return;
19792
0
  Clear();
19793
0
  MergeFrom(from);
19794
0
}
19795
19796
0
void PgSetActiveSubTransactionResponsePB::CopyFrom(const PgSetActiveSubTransactionResponsePB& from) {
19797
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgSetActiveSubTransactionResponsePB)
19798
0
  if (&from == this) return;
19799
0
  Clear();
19800
0
  MergeFrom(from);
19801
0
}
19802
19803
123k
bool PgSetActiveSubTransactionResponsePB::IsInitialized() const {
19804
123k
  if (has_status()) {
19805
0
    if (!this->status_->IsInitialized()) return false;
19806
0
  }
19807
123k
  return true;
19808
123k
}
19809
19810
0
void PgSetActiveSubTransactionResponsePB::Swap(PgSetActiveSubTransactionResponsePB* other) {
19811
0
  if (other == this) return;
19812
0
  InternalSwap(other);
19813
0
}
19814
0
void PgSetActiveSubTransactionResponsePB::InternalSwap(PgSetActiveSubTransactionResponsePB* other) {
19815
0
  using std::swap;
19816
0
  swap(status_, other->status_);
19817
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
19818
0
  swap(_cached_size_, other->_cached_size_);
19819
0
}
19820
19821
0
::google::protobuf::Metadata PgSetActiveSubTransactionResponsePB::GetMetadata() const {
19822
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
19823
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
19824
0
}
19825
19826
19827
// ===================================================================
19828
19829
26.8k
void PgTabletServerCountRequestPB::InitAsDefaultInstance() {
19830
26.8k
}
19831
#if !defined(_MSC_VER) || _MSC_VER >= 1900
19832
const int PgTabletServerCountRequestPB::kPrimaryOnlyFieldNumber;
19833
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
19834
19835
PgTabletServerCountRequestPB::PgTabletServerCountRequestPB()
19836
27.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
19837
27.1k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
19838
296
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgTabletServerCountRequestPB();
19839
296
  }
19840
27.1k
  SharedCtor();
19841
  // @@protoc_insertion_point(constructor:yb.tserver.PgTabletServerCountRequestPB)
19842
27.1k
}
19843
PgTabletServerCountRequestPB::PgTabletServerCountRequestPB(const PgTabletServerCountRequestPB& from)
19844
  : ::google::protobuf::Message(),
19845
      _internal_metadata_(NULL),
19846
0
      _cached_size_(0) {
19847
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
19848
0
  primary_only_ = from.primary_only_;
19849
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgTabletServerCountRequestPB)
19850
0
}
19851
19852
27.1k
void PgTabletServerCountRequestPB::SharedCtor() {
19853
27.1k
  primary_only_ = false;
19854
27.1k
  _cached_size_ = 0;
19855
27.1k
}
19856
19857
296
PgTabletServerCountRequestPB::~PgTabletServerCountRequestPB() {
19858
  // @@protoc_insertion_point(destructor:yb.tserver.PgTabletServerCountRequestPB)
19859
296
  SharedDtor();
19860
296
}
19861
19862
296
void PgTabletServerCountRequestPB::SharedDtor() {
19863
296
}
19864
19865
0
void PgTabletServerCountRequestPB::SetCachedSize(int size) const {
19866
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19867
0
  _cached_size_ = size;
19868
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
19869
0
}
19870
0
const ::google::protobuf::Descriptor* PgTabletServerCountRequestPB::descriptor() {
19871
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
19872
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
19873
0
}
19874
19875
0
const PgTabletServerCountRequestPB& PgTabletServerCountRequestPB::default_instance() {
19876
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgTabletServerCountRequestPB();
19877
0
  return *internal_default_instance();
19878
0
}
19879
19880
0
PgTabletServerCountRequestPB* PgTabletServerCountRequestPB::New(::google::protobuf::Arena* arena) const {
19881
0
  PgTabletServerCountRequestPB* n = new PgTabletServerCountRequestPB;
19882
0
  if (arena != NULL) {
19883
0
    arena->Own(n);
19884
0
  }
19885
0
  return n;
19886
0
}
19887
19888
148
void PgTabletServerCountRequestPB::Clear() {
19889
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgTabletServerCountRequestPB)
19890
148
  ::google::protobuf::uint32 cached_has_bits = 0;
19891
  // Prevent compiler warnings about cached_has_bits being unused
19892
148
  (void) cached_has_bits;
19893
19894
148
  primary_only_ = false;
19895
148
  _internal_metadata_.Clear();
19896
148
}
19897
19898
bool PgTabletServerCountRequestPB::MergePartialFromCodedStream(
19899
148
    ::google::protobuf::io::CodedInputStream* input) {
19900
148
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
19901
148
  ::google::protobuf::uint32 tag;
19902
  // @@protoc_insertion_point(parse_start:yb.tserver.PgTabletServerCountRequestPB)
19903
296
  for (;;) {
19904
296
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
19905
296
    tag = p.first;
19906
296
    if (!p.second) 
goto handle_unusual148
;
19907
148
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
19908
      // bool primary_only = 1;
19909
148
      case 1: {
19910
148
        if (static_cast< ::google::protobuf::uint8>(tag) ==
19911
148
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
19912
19913
148
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19914
148
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
19915
148
                 input, &primary_only_)));
19916
148
        } else {
19917
0
          goto handle_unusual;
19918
0
        }
19919
148
        break;
19920
148
      }
19921
19922
148
      default: {
19923
148
      handle_unusual:
19924
148
        if (tag == 0) {
19925
148
          goto success;
19926
148
        }
19927
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
19928
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
19929
0
        break;
19930
0
      }
19931
148
    }
19932
148
  }
19933
148
success:
19934
  // @@protoc_insertion_point(parse_success:yb.tserver.PgTabletServerCountRequestPB)
19935
148
  return true;
19936
0
failure:
19937
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgTabletServerCountRequestPB)
19938
0
  return false;
19939
148
#undef DO_
19940
148
}
19941
19942
void PgTabletServerCountRequestPB::SerializeWithCachedSizes(
19943
0
    ::google::protobuf::io::CodedOutputStream* output) const {
19944
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgTabletServerCountRequestPB)
19945
0
  ::google::protobuf::uint32 cached_has_bits = 0;
19946
0
  (void) cached_has_bits;
19947
19948
  // bool primary_only = 1;
19949
0
  if (this->primary_only() != 0) {
19950
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->primary_only(), output);
19951
0
  }
19952
19953
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
19954
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
19955
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
19956
0
  }
19957
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgTabletServerCountRequestPB)
19958
0
}
19959
19960
::google::protobuf::uint8* PgTabletServerCountRequestPB::InternalSerializeWithCachedSizesToArray(
19961
148
    bool deterministic, ::google::protobuf::uint8* target) const {
19962
148
  (void)deterministic; // Unused
19963
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgTabletServerCountRequestPB)
19964
148
  ::google::protobuf::uint32 cached_has_bits = 0;
19965
148
  (void) cached_has_bits;
19966
19967
  // bool primary_only = 1;
19968
148
  if (this->primary_only() != 0) {
19969
148
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->primary_only(), target);
19970
148
  }
19971
19972
148
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
19973
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
19974
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
19975
0
  }
19976
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgTabletServerCountRequestPB)
19977
148
  return target;
19978
148
}
19979
19980
296
size_t PgTabletServerCountRequestPB::ByteSizeLong() const {
19981
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgTabletServerCountRequestPB)
19982
296
  size_t total_size = 0;
19983
19984
296
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
19985
0
    total_size +=
19986
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
19987
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
19988
0
  }
19989
  // bool primary_only = 1;
19990
296
  if (this->primary_only() != 0) {
19991
295
    total_size += 1 + 1;
19992
295
  }
19993
19994
296
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
19995
296
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19996
296
  _cached_size_ = cached_size;
19997
296
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
19998
296
  return total_size;
19999
296
}
20000
20001
0
void PgTabletServerCountRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
20002
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgTabletServerCountRequestPB)
20003
0
  GOOGLE_DCHECK_NE(&from, this);
20004
0
  const PgTabletServerCountRequestPB* source =
20005
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgTabletServerCountRequestPB>(
20006
0
          &from);
20007
0
  if (source == NULL) {
20008
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgTabletServerCountRequestPB)
20009
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
20010
0
  } else {
20011
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgTabletServerCountRequestPB)
20012
0
    MergeFrom(*source);
20013
0
  }
20014
0
}
20015
20016
0
void PgTabletServerCountRequestPB::MergeFrom(const PgTabletServerCountRequestPB& from) {
20017
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgTabletServerCountRequestPB)
20018
0
  GOOGLE_DCHECK_NE(&from, this);
20019
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
20020
0
  ::google::protobuf::uint32 cached_has_bits = 0;
20021
0
  (void) cached_has_bits;
20022
20023
0
  if (from.primary_only() != 0) {
20024
0
    set_primary_only(from.primary_only());
20025
0
  }
20026
0
}
20027
20028
0
void PgTabletServerCountRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
20029
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgTabletServerCountRequestPB)
20030
0
  if (&from == this) return;
20031
0
  Clear();
20032
0
  MergeFrom(from);
20033
0
}
20034
20035
0
void PgTabletServerCountRequestPB::CopyFrom(const PgTabletServerCountRequestPB& from) {
20036
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgTabletServerCountRequestPB)
20037
0
  if (&from == this) return;
20038
0
  Clear();
20039
0
  MergeFrom(from);
20040
0
}
20041
20042
296
bool PgTabletServerCountRequestPB::IsInitialized() const {
20043
296
  return true;
20044
296
}
20045
20046
0
void PgTabletServerCountRequestPB::Swap(PgTabletServerCountRequestPB* other) {
20047
0
  if (other == this) return;
20048
0
  InternalSwap(other);
20049
0
}
20050
0
void PgTabletServerCountRequestPB::InternalSwap(PgTabletServerCountRequestPB* other) {
20051
0
  using std::swap;
20052
0
  swap(primary_only_, other->primary_only_);
20053
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
20054
0
  swap(_cached_size_, other->_cached_size_);
20055
0
}
20056
20057
148
::google::protobuf::Metadata PgTabletServerCountRequestPB::GetMetadata() const {
20058
148
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
20059
148
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
20060
148
}
20061
20062
20063
// ===================================================================
20064
20065
26.8k
void PgTabletServerCountResponsePB::InitAsDefaultInstance() {
20066
26.8k
  ::yb::tserver::_PgTabletServerCountResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
20067
26.8k
      ::yb::AppStatusPB::internal_default_instance());
20068
26.8k
}
20069
0
void PgTabletServerCountResponsePB::clear_status() {
20070
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
20071
0
    delete status_;
20072
0
  }
20073
0
  status_ = NULL;
20074
0
}
20075
#if !defined(_MSC_VER) || _MSC_VER >= 1900
20076
const int PgTabletServerCountResponsePB::kStatusFieldNumber;
20077
const int PgTabletServerCountResponsePB::kCountFieldNumber;
20078
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
20079
20080
PgTabletServerCountResponsePB::PgTabletServerCountResponsePB()
20081
27.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
20082
27.1k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
20083
295
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgTabletServerCountResponsePB();
20084
295
  }
20085
27.1k
  SharedCtor();
20086
  // @@protoc_insertion_point(constructor:yb.tserver.PgTabletServerCountResponsePB)
20087
27.1k
}
20088
PgTabletServerCountResponsePB::PgTabletServerCountResponsePB(const PgTabletServerCountResponsePB& from)
20089
  : ::google::protobuf::Message(),
20090
      _internal_metadata_(NULL),
20091
0
      _cached_size_(0) {
20092
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
20093
0
  if (from.has_status()) {
20094
0
    status_ = new ::yb::AppStatusPB(*from.status_);
20095
0
  } else {
20096
0
    status_ = NULL;
20097
0
  }
20098
0
  count_ = from.count_;
20099
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgTabletServerCountResponsePB)
20100
0
}
20101
20102
27.1k
void PgTabletServerCountResponsePB::SharedCtor() {
20103
27.1k
  ::memset(&status_, 0, static_cast<size_t>(
20104
27.1k
      reinterpret_cast<char*>(&count_) -
20105
27.1k
      reinterpret_cast<char*>(&status_)) + sizeof(count_));
20106
27.1k
  _cached_size_ = 0;
20107
27.1k
}
20108
20109
296
PgTabletServerCountResponsePB::~PgTabletServerCountResponsePB() {
20110
  // @@protoc_insertion_point(destructor:yb.tserver.PgTabletServerCountResponsePB)
20111
296
  SharedDtor();
20112
296
}
20113
20114
296
void PgTabletServerCountResponsePB::SharedDtor() {
20115
296
  if (this != internal_default_instance()) delete status_;
20116
296
}
20117
20118
0
void PgTabletServerCountResponsePB::SetCachedSize(int size) const {
20119
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20120
0
  _cached_size_ = size;
20121
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
20122
0
}
20123
0
const ::google::protobuf::Descriptor* PgTabletServerCountResponsePB::descriptor() {
20124
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
20125
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
20126
0
}
20127
20128
0
const PgTabletServerCountResponsePB& PgTabletServerCountResponsePB::default_instance() {
20129
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgTabletServerCountResponsePB();
20130
0
  return *internal_default_instance();
20131
0
}
20132
20133
0
PgTabletServerCountResponsePB* PgTabletServerCountResponsePB::New(::google::protobuf::Arena* arena) const {
20134
0
  PgTabletServerCountResponsePB* n = new PgTabletServerCountResponsePB;
20135
0
  if (arena != NULL) {
20136
0
    arena->Own(n);
20137
0
  }
20138
0
  return n;
20139
0
}
20140
20141
148
void PgTabletServerCountResponsePB::Clear() {
20142
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgTabletServerCountResponsePB)
20143
148
  ::google::protobuf::uint32 cached_has_bits = 0;
20144
  // Prevent compiler warnings about cached_has_bits being unused
20145
148
  (void) cached_has_bits;
20146
20147
148
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
20148
0
    delete status_;
20149
0
  }
20150
148
  status_ = NULL;
20151
148
  count_ = 0;
20152
148
  _internal_metadata_.Clear();
20153
148
}
20154
20155
bool PgTabletServerCountResponsePB::MergePartialFromCodedStream(
20156
148
    ::google::protobuf::io::CodedInputStream* input) {
20157
148
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
20158
148
  ::google::protobuf::uint32 tag;
20159
  // @@protoc_insertion_point(parse_start:yb.tserver.PgTabletServerCountResponsePB)
20160
296
  for (;;) {
20161
296
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
20162
296
    tag = p.first;
20163
296
    if (!p.second) 
goto handle_unusual148
;
20164
148
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
20165
      // .yb.AppStatusPB status = 1;
20166
0
      case 1: {
20167
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
20168
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
20169
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
20170
0
               input, mutable_status()));
20171
0
        } else {
20172
0
          goto handle_unusual;
20173
0
        }
20174
0
        break;
20175
0
      }
20176
20177
      // int32 count = 2;
20178
148
      case 2: {
20179
148
        if (static_cast< ::google::protobuf::uint8>(tag) ==
20180
148
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
20181
20182
148
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20183
148
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
20184
148
                 input, &count_)));
20185
148
        } else {
20186
0
          goto handle_unusual;
20187
0
        }
20188
148
        break;
20189
148
      }
20190
20191
148
      default: {
20192
148
      handle_unusual:
20193
148
        if (tag == 0) {
20194
148
          goto success;
20195
148
        }
20196
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
20197
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
20198
0
        break;
20199
0
      }
20200
148
    }
20201
148
  }
20202
148
success:
20203
  // @@protoc_insertion_point(parse_success:yb.tserver.PgTabletServerCountResponsePB)
20204
148
  return true;
20205
0
failure:
20206
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgTabletServerCountResponsePB)
20207
0
  return false;
20208
148
#undef DO_
20209
148
}
20210
20211
void PgTabletServerCountResponsePB::SerializeWithCachedSizes(
20212
0
    ::google::protobuf::io::CodedOutputStream* output) const {
20213
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgTabletServerCountResponsePB)
20214
0
  ::google::protobuf::uint32 cached_has_bits = 0;
20215
0
  (void) cached_has_bits;
20216
20217
  // .yb.AppStatusPB status = 1;
20218
0
  if (this->has_status()) {
20219
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
20220
0
      1, *this->status_, output);
20221
0
  }
20222
20223
  // int32 count = 2;
20224
0
  if (this->count() != 0) {
20225
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->count(), output);
20226
0
  }
20227
20228
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
20229
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
20230
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
20231
0
  }
20232
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgTabletServerCountResponsePB)
20233
0
}
20234
20235
::google::protobuf::uint8* PgTabletServerCountResponsePB::InternalSerializeWithCachedSizesToArray(
20236
148
    bool deterministic, ::google::protobuf::uint8* target) const {
20237
148
  (void)deterministic; // Unused
20238
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgTabletServerCountResponsePB)
20239
148
  ::google::protobuf::uint32 cached_has_bits = 0;
20240
148
  (void) cached_has_bits;
20241
20242
  // .yb.AppStatusPB status = 1;
20243
148
  if (this->has_status()) {
20244
0
    target = ::google::protobuf::internal::WireFormatLite::
20245
0
      InternalWriteMessageToArray(
20246
0
        1, *this->status_, deterministic, target);
20247
0
  }
20248
20249
  // int32 count = 2;
20250
148
  if (this->count() != 0) {
20251
147
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->count(), target);
20252
147
  }
20253
20254
148
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
20255
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
20256
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
20257
0
  }
20258
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgTabletServerCountResponsePB)
20259
148
  return target;
20260
148
}
20261
20262
296
size_t PgTabletServerCountResponsePB::ByteSizeLong() const {
20263
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgTabletServerCountResponsePB)
20264
296
  size_t total_size = 0;
20265
20266
296
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
20267
0
    total_size +=
20268
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
20269
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
20270
0
  }
20271
  // .yb.AppStatusPB status = 1;
20272
296
  if (this->has_status()) {
20273
0
    total_size += 1 +
20274
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
20275
0
        *this->status_);
20276
0
  }
20277
20278
  // int32 count = 2;
20279
296
  if (this->count() != 0) {
20280
296
    total_size += 1 +
20281
296
      ::google::protobuf::internal::WireFormatLite::Int32Size(
20282
296
        this->count());
20283
296
  }
20284
20285
296
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
20286
296
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20287
296
  _cached_size_ = cached_size;
20288
296
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
20289
296
  return total_size;
20290
296
}
20291
20292
0
void PgTabletServerCountResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
20293
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgTabletServerCountResponsePB)
20294
0
  GOOGLE_DCHECK_NE(&from, this);
20295
0
  const PgTabletServerCountResponsePB* source =
20296
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgTabletServerCountResponsePB>(
20297
0
          &from);
20298
0
  if (source == NULL) {
20299
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgTabletServerCountResponsePB)
20300
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
20301
0
  } else {
20302
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgTabletServerCountResponsePB)
20303
0
    MergeFrom(*source);
20304
0
  }
20305
0
}
20306
20307
0
void PgTabletServerCountResponsePB::MergeFrom(const PgTabletServerCountResponsePB& from) {
20308
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgTabletServerCountResponsePB)
20309
0
  GOOGLE_DCHECK_NE(&from, this);
20310
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
20311
0
  ::google::protobuf::uint32 cached_has_bits = 0;
20312
0
  (void) cached_has_bits;
20313
20314
0
  if (from.has_status()) {
20315
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
20316
0
  }
20317
0
  if (from.count() != 0) {
20318
0
    set_count(from.count());
20319
0
  }
20320
0
}
20321
20322
0
void PgTabletServerCountResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
20323
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgTabletServerCountResponsePB)
20324
0
  if (&from == this) return;
20325
0
  Clear();
20326
0
  MergeFrom(from);
20327
0
}
20328
20329
0
void PgTabletServerCountResponsePB::CopyFrom(const PgTabletServerCountResponsePB& from) {
20330
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgTabletServerCountResponsePB)
20331
0
  if (&from == this) return;
20332
0
  Clear();
20333
0
  MergeFrom(from);
20334
0
}
20335
20336
296
bool PgTabletServerCountResponsePB::IsInitialized() const {
20337
296
  if (has_status()) {
20338
0
    if (!this->status_->IsInitialized()) return false;
20339
0
  }
20340
296
  return true;
20341
296
}
20342
20343
0
void PgTabletServerCountResponsePB::Swap(PgTabletServerCountResponsePB* other) {
20344
0
  if (other == this) return;
20345
0
  InternalSwap(other);
20346
0
}
20347
0
void PgTabletServerCountResponsePB::InternalSwap(PgTabletServerCountResponsePB* other) {
20348
0
  using std::swap;
20349
0
  swap(status_, other->status_);
20350
0
  swap(count_, other->count_);
20351
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
20352
0
  swap(_cached_size_, other->_cached_size_);
20353
0
}
20354
20355
0
::google::protobuf::Metadata PgTabletServerCountResponsePB::GetMetadata() const {
20356
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
20357
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
20358
0
}
20359
20360
20361
// ===================================================================
20362
20363
26.8k
void PgTruncateTableRequestPB::InitAsDefaultInstance() {
20364
26.8k
  ::yb::tserver::_PgTruncateTableRequestPB_default_instance_._instance.get_mutable()->table_id_ = const_cast< ::yb::tserver::PgObjectIdPB*>(
20365
26.8k
      ::yb::tserver::PgObjectIdPB::internal_default_instance());
20366
26.8k
}
20367
#if !defined(_MSC_VER) || _MSC_VER >= 1900
20368
const int PgTruncateTableRequestPB::kSessionIdFieldNumber;
20369
const int PgTruncateTableRequestPB::kTableIdFieldNumber;
20370
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
20371
20372
PgTruncateTableRequestPB::PgTruncateTableRequestPB()
20373
28.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
20374
28.1k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
20375
1.24k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgTruncateTableRequestPB();
20376
1.24k
  }
20377
28.1k
  SharedCtor();
20378
  // @@protoc_insertion_point(constructor:yb.tserver.PgTruncateTableRequestPB)
20379
28.1k
}
20380
PgTruncateTableRequestPB::PgTruncateTableRequestPB(const PgTruncateTableRequestPB& from)
20381
  : ::google::protobuf::Message(),
20382
      _internal_metadata_(NULL),
20383
0
      _cached_size_(0) {
20384
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
20385
0
  if (from.has_table_id()) {
20386
0
    table_id_ = new ::yb::tserver::PgObjectIdPB(*from.table_id_);
20387
0
  } else {
20388
0
    table_id_ = NULL;
20389
0
  }
20390
0
  session_id_ = from.session_id_;
20391
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgTruncateTableRequestPB)
20392
0
}
20393
20394
28.1k
void PgTruncateTableRequestPB::SharedCtor() {
20395
28.1k
  ::memset(&table_id_, 0, static_cast<size_t>(
20396
28.1k
      reinterpret_cast<char*>(&session_id_) -
20397
28.1k
      reinterpret_cast<char*>(&table_id_)) + sizeof(session_id_));
20398
28.1k
  _cached_size_ = 0;
20399
28.1k
}
20400
20401
1.24k
PgTruncateTableRequestPB::~PgTruncateTableRequestPB() {
20402
  // @@protoc_insertion_point(destructor:yb.tserver.PgTruncateTableRequestPB)
20403
1.24k
  SharedDtor();
20404
1.24k
}
20405
20406
1.24k
void PgTruncateTableRequestPB::SharedDtor() {
20407
1.24k
  if (this != internal_default_instance()) delete table_id_;
20408
1.24k
}
20409
20410
0
void PgTruncateTableRequestPB::SetCachedSize(int size) const {
20411
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20412
0
  _cached_size_ = size;
20413
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
20414
0
}
20415
0
const ::google::protobuf::Descriptor* PgTruncateTableRequestPB::descriptor() {
20416
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
20417
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
20418
0
}
20419
20420
0
const PgTruncateTableRequestPB& PgTruncateTableRequestPB::default_instance() {
20421
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgTruncateTableRequestPB();
20422
0
  return *internal_default_instance();
20423
0
}
20424
20425
0
PgTruncateTableRequestPB* PgTruncateTableRequestPB::New(::google::protobuf::Arena* arena) const {
20426
0
  PgTruncateTableRequestPB* n = new PgTruncateTableRequestPB;
20427
0
  if (arena != NULL) {
20428
0
    arena->Own(n);
20429
0
  }
20430
0
  return n;
20431
0
}
20432
20433
624
void PgTruncateTableRequestPB::Clear() {
20434
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgTruncateTableRequestPB)
20435
624
  ::google::protobuf::uint32 cached_has_bits = 0;
20436
  // Prevent compiler warnings about cached_has_bits being unused
20437
624
  (void) cached_has_bits;
20438
20439
624
  if (GetArenaNoVirtual() == NULL && table_id_ != NULL) {
20440
0
    delete table_id_;
20441
0
  }
20442
624
  table_id_ = NULL;
20443
624
  session_id_ = GOOGLE_ULONGLONG(0);
20444
624
  _internal_metadata_.Clear();
20445
624
}
20446
20447
bool PgTruncateTableRequestPB::MergePartialFromCodedStream(
20448
624
    ::google::protobuf::io::CodedInputStream* input) {
20449
1.24k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
20450
624
  ::google::protobuf::uint32 tag;
20451
  // @@protoc_insertion_point(parse_start:yb.tserver.PgTruncateTableRequestPB)
20452
1.87k
  for (;;) {
20453
1.87k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
20454
1.87k
    tag = p.first;
20455
1.87k
    if (!p.second) 
goto handle_unusual624
;
20456
1.24k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
20457
      // uint64 session_id = 1;
20458
624
      case 1: {
20459
624
        if (static_cast< ::google::protobuf::uint8>(tag) ==
20460
624
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
20461
20462
624
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20463
624
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
20464
624
                 input, &session_id_)));
20465
624
        } else {
20466
0
          goto handle_unusual;
20467
0
        }
20468
624
        break;
20469
624
      }
20470
20471
      // .yb.tserver.PgObjectIdPB table_id = 2;
20472
624
      case 2: {
20473
624
        if (static_cast< ::google::protobuf::uint8>(tag) ==
20474
624
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
20475
624
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
20476
624
               input, mutable_table_id()));
20477
624
        } else {
20478
0
          goto handle_unusual;
20479
0
        }
20480
624
        break;
20481
624
      }
20482
20483
624
      default: {
20484
624
      handle_unusual:
20485
624
        if (tag == 0) {
20486
624
          goto success;
20487
624
        }
20488
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
20489
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
20490
0
        break;
20491
0
      }
20492
1.24k
    }
20493
1.24k
  }
20494
624
success:
20495
  // @@protoc_insertion_point(parse_success:yb.tserver.PgTruncateTableRequestPB)
20496
624
  return true;
20497
0
failure:
20498
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgTruncateTableRequestPB)
20499
0
  return false;
20500
624
#undef DO_
20501
624
}
20502
20503
void PgTruncateTableRequestPB::SerializeWithCachedSizes(
20504
0
    ::google::protobuf::io::CodedOutputStream* output) const {
20505
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgTruncateTableRequestPB)
20506
0
  ::google::protobuf::uint32 cached_has_bits = 0;
20507
0
  (void) cached_has_bits;
20508
20509
  // uint64 session_id = 1;
20510
0
  if (this->session_id() != 0) {
20511
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
20512
0
  }
20513
20514
  // .yb.tserver.PgObjectIdPB table_id = 2;
20515
0
  if (this->has_table_id()) {
20516
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
20517
0
      2, *this->table_id_, output);
20518
0
  }
20519
20520
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
20521
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
20522
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
20523
0
  }
20524
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgTruncateTableRequestPB)
20525
0
}
20526
20527
::google::protobuf::uint8* PgTruncateTableRequestPB::InternalSerializeWithCachedSizesToArray(
20528
624
    bool deterministic, ::google::protobuf::uint8* target) const {
20529
624
  (void)deterministic; // Unused
20530
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgTruncateTableRequestPB)
20531
624
  ::google::protobuf::uint32 cached_has_bits = 0;
20532
624
  (void) cached_has_bits;
20533
20534
  // uint64 session_id = 1;
20535
624
  if (this->session_id() != 0) {
20536
624
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
20537
624
  }
20538
20539
  // .yb.tserver.PgObjectIdPB table_id = 2;
20540
624
  if (this->has_table_id()) {
20541
624
    target = ::google::protobuf::internal::WireFormatLite::
20542
624
      InternalWriteMessageToArray(
20543
624
        2, *this->table_id_, deterministic, target);
20544
624
  }
20545
20546
624
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
20547
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
20548
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
20549
0
  }
20550
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgTruncateTableRequestPB)
20551
624
  return target;
20552
624
}
20553
20554
1.24k
size_t PgTruncateTableRequestPB::ByteSizeLong() const {
20555
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgTruncateTableRequestPB)
20556
1.24k
  size_t total_size = 0;
20557
20558
1.24k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
20559
0
    total_size +=
20560
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
20561
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
20562
0
  }
20563
  // .yb.tserver.PgObjectIdPB table_id = 2;
20564
1.24k
  if (this->has_table_id()) {
20565
1.24k
    total_size += 1 +
20566
1.24k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
20567
1.24k
        *this->table_id_);
20568
1.24k
  }
20569
20570
  // uint64 session_id = 1;
20571
1.24k
  if (this->session_id() != 0) {
20572
1.24k
    total_size += 1 +
20573
1.24k
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
20574
1.24k
        this->session_id());
20575
1.24k
  }
20576
20577
1.24k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
20578
1.24k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20579
1.24k
  _cached_size_ = cached_size;
20580
1.24k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
20581
1.24k
  return total_size;
20582
1.24k
}
20583
20584
0
void PgTruncateTableRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
20585
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgTruncateTableRequestPB)
20586
0
  GOOGLE_DCHECK_NE(&from, this);
20587
0
  const PgTruncateTableRequestPB* source =
20588
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgTruncateTableRequestPB>(
20589
0
          &from);
20590
0
  if (source == NULL) {
20591
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgTruncateTableRequestPB)
20592
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
20593
0
  } else {
20594
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgTruncateTableRequestPB)
20595
0
    MergeFrom(*source);
20596
0
  }
20597
0
}
20598
20599
0
void PgTruncateTableRequestPB::MergeFrom(const PgTruncateTableRequestPB& from) {
20600
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgTruncateTableRequestPB)
20601
0
  GOOGLE_DCHECK_NE(&from, this);
20602
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
20603
0
  ::google::protobuf::uint32 cached_has_bits = 0;
20604
0
  (void) cached_has_bits;
20605
20606
0
  if (from.has_table_id()) {
20607
0
    mutable_table_id()->::yb::tserver::PgObjectIdPB::MergeFrom(from.table_id());
20608
0
  }
20609
0
  if (from.session_id() != 0) {
20610
0
    set_session_id(from.session_id());
20611
0
  }
20612
0
}
20613
20614
0
void PgTruncateTableRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
20615
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgTruncateTableRequestPB)
20616
0
  if (&from == this) return;
20617
0
  Clear();
20618
0
  MergeFrom(from);
20619
0
}
20620
20621
0
void PgTruncateTableRequestPB::CopyFrom(const PgTruncateTableRequestPB& from) {
20622
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgTruncateTableRequestPB)
20623
0
  if (&from == this) return;
20624
0
  Clear();
20625
0
  MergeFrom(from);
20626
0
}
20627
20628
1.24k
bool PgTruncateTableRequestPB::IsInitialized() const {
20629
1.24k
  return true;
20630
1.24k
}
20631
20632
0
void PgTruncateTableRequestPB::Swap(PgTruncateTableRequestPB* other) {
20633
0
  if (other == this) return;
20634
0
  InternalSwap(other);
20635
0
}
20636
0
void PgTruncateTableRequestPB::InternalSwap(PgTruncateTableRequestPB* other) {
20637
0
  using std::swap;
20638
0
  swap(table_id_, other->table_id_);
20639
0
  swap(session_id_, other->session_id_);
20640
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
20641
0
  swap(_cached_size_, other->_cached_size_);
20642
0
}
20643
20644
624
::google::protobuf::Metadata PgTruncateTableRequestPB::GetMetadata() const {
20645
624
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
20646
624
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
20647
624
}
20648
20649
20650
// ===================================================================
20651
20652
26.8k
void PgTruncateTableResponsePB::InitAsDefaultInstance() {
20653
26.8k
  ::yb::tserver::_PgTruncateTableResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
20654
26.8k
      ::yb::AppStatusPB::internal_default_instance());
20655
26.8k
}
20656
0
void PgTruncateTableResponsePB::clear_status() {
20657
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
20658
0
    delete status_;
20659
0
  }
20660
0
  status_ = NULL;
20661
0
}
20662
#if !defined(_MSC_VER) || _MSC_VER >= 1900
20663
const int PgTruncateTableResponsePB::kStatusFieldNumber;
20664
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
20665
20666
PgTruncateTableResponsePB::PgTruncateTableResponsePB()
20667
28.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
20668
28.1k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
20669
1.24k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgTruncateTableResponsePB();
20670
1.24k
  }
20671
28.1k
  SharedCtor();
20672
  // @@protoc_insertion_point(constructor:yb.tserver.PgTruncateTableResponsePB)
20673
28.1k
}
20674
PgTruncateTableResponsePB::PgTruncateTableResponsePB(const PgTruncateTableResponsePB& from)
20675
  : ::google::protobuf::Message(),
20676
      _internal_metadata_(NULL),
20677
0
      _cached_size_(0) {
20678
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
20679
0
  if (from.has_status()) {
20680
0
    status_ = new ::yb::AppStatusPB(*from.status_);
20681
0
  } else {
20682
0
    status_ = NULL;
20683
0
  }
20684
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgTruncateTableResponsePB)
20685
0
}
20686
20687
28.1k
void PgTruncateTableResponsePB::SharedCtor() {
20688
28.1k
  status_ = NULL;
20689
28.1k
  _cached_size_ = 0;
20690
28.1k
}
20691
20692
1.24k
PgTruncateTableResponsePB::~PgTruncateTableResponsePB() {
20693
  // @@protoc_insertion_point(destructor:yb.tserver.PgTruncateTableResponsePB)
20694
1.24k
  SharedDtor();
20695
1.24k
}
20696
20697
1.24k
void PgTruncateTableResponsePB::SharedDtor() {
20698
1.24k
  if (this != internal_default_instance()) delete status_;
20699
1.24k
}
20700
20701
0
void PgTruncateTableResponsePB::SetCachedSize(int size) const {
20702
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20703
0
  _cached_size_ = size;
20704
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
20705
0
}
20706
0
const ::google::protobuf::Descriptor* PgTruncateTableResponsePB::descriptor() {
20707
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
20708
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
20709
0
}
20710
20711
0
const PgTruncateTableResponsePB& PgTruncateTableResponsePB::default_instance() {
20712
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgTruncateTableResponsePB();
20713
0
  return *internal_default_instance();
20714
0
}
20715
20716
0
PgTruncateTableResponsePB* PgTruncateTableResponsePB::New(::google::protobuf::Arena* arena) const {
20717
0
  PgTruncateTableResponsePB* n = new PgTruncateTableResponsePB;
20718
0
  if (arena != NULL) {
20719
0
    arena->Own(n);
20720
0
  }
20721
0
  return n;
20722
0
}
20723
20724
624
void PgTruncateTableResponsePB::Clear() {
20725
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgTruncateTableResponsePB)
20726
624
  ::google::protobuf::uint32 cached_has_bits = 0;
20727
  // Prevent compiler warnings about cached_has_bits being unused
20728
624
  (void) cached_has_bits;
20729
20730
624
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
20731
0
    delete status_;
20732
0
  }
20733
624
  status_ = NULL;
20734
624
  _internal_metadata_.Clear();
20735
624
}
20736
20737
bool PgTruncateTableResponsePB::MergePartialFromCodedStream(
20738
624
    ::google::protobuf::io::CodedInputStream* input) {
20739
624
#define DO_(EXPRESSION) 
if (0
!GOOGLE_PREDICT_TRUE0
(EXPRESSION))
goto failure0
20740
624
  ::google::protobuf::uint32 tag;
20741
  // @@protoc_insertion_point(parse_start:yb.tserver.PgTruncateTableResponsePB)
20742
624
  for (;;) {
20743
624
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
20744
624
    tag = p.first;
20745
624
    if (!p.second) goto handle_unusual;
20746
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
20747
      // .yb.AppStatusPB status = 1;
20748
0
      case 1: {
20749
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
20750
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
20751
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
20752
0
               input, mutable_status()));
20753
0
        } else {
20754
0
          goto handle_unusual;
20755
0
        }
20756
0
        break;
20757
0
      }
20758
20759
0
      default: {
20760
624
      handle_unusual:
20761
624
        if (tag == 0) {
20762
624
          goto success;
20763
624
        }
20764
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
20765
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
20766
0
        break;
20767
0
      }
20768
0
    }
20769
0
  }
20770
624
success:
20771
  // @@protoc_insertion_point(parse_success:yb.tserver.PgTruncateTableResponsePB)
20772
624
  return true;
20773
0
failure:
20774
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgTruncateTableResponsePB)
20775
0
  return false;
20776
624
#undef DO_
20777
624
}
20778
20779
void PgTruncateTableResponsePB::SerializeWithCachedSizes(
20780
0
    ::google::protobuf::io::CodedOutputStream* output) const {
20781
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgTruncateTableResponsePB)
20782
0
  ::google::protobuf::uint32 cached_has_bits = 0;
20783
0
  (void) cached_has_bits;
20784
20785
  // .yb.AppStatusPB status = 1;
20786
0
  if (this->has_status()) {
20787
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
20788
0
      1, *this->status_, output);
20789
0
  }
20790
20791
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
20792
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
20793
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
20794
0
  }
20795
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgTruncateTableResponsePB)
20796
0
}
20797
20798
::google::protobuf::uint8* PgTruncateTableResponsePB::InternalSerializeWithCachedSizesToArray(
20799
624
    bool deterministic, ::google::protobuf::uint8* target) const {
20800
624
  (void)deterministic; // Unused
20801
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgTruncateTableResponsePB)
20802
624
  ::google::protobuf::uint32 cached_has_bits = 0;
20803
624
  (void) cached_has_bits;
20804
20805
  // .yb.AppStatusPB status = 1;
20806
624
  if (this->has_status()) {
20807
0
    target = ::google::protobuf::internal::WireFormatLite::
20808
0
      InternalWriteMessageToArray(
20809
0
        1, *this->status_, deterministic, target);
20810
0
  }
20811
20812
624
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
20813
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
20814
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
20815
0
  }
20816
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgTruncateTableResponsePB)
20817
624
  return target;
20818
624
}
20819
20820
1.24k
size_t PgTruncateTableResponsePB::ByteSizeLong() const {
20821
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgTruncateTableResponsePB)
20822
1.24k
  size_t total_size = 0;
20823
20824
1.24k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
20825
0
    total_size +=
20826
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
20827
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
20828
0
  }
20829
  // .yb.AppStatusPB status = 1;
20830
1.24k
  if (this->has_status()) {
20831
0
    total_size += 1 +
20832
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
20833
0
        *this->status_);
20834
0
  }
20835
20836
1.24k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
20837
1.24k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20838
1.24k
  _cached_size_ = cached_size;
20839
1.24k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
20840
1.24k
  return total_size;
20841
1.24k
}
20842
20843
0
void PgTruncateTableResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
20844
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgTruncateTableResponsePB)
20845
0
  GOOGLE_DCHECK_NE(&from, this);
20846
0
  const PgTruncateTableResponsePB* source =
20847
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgTruncateTableResponsePB>(
20848
0
          &from);
20849
0
  if (source == NULL) {
20850
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgTruncateTableResponsePB)
20851
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
20852
0
  } else {
20853
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgTruncateTableResponsePB)
20854
0
    MergeFrom(*source);
20855
0
  }
20856
0
}
20857
20858
0
void PgTruncateTableResponsePB::MergeFrom(const PgTruncateTableResponsePB& from) {
20859
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgTruncateTableResponsePB)
20860
0
  GOOGLE_DCHECK_NE(&from, this);
20861
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
20862
0
  ::google::protobuf::uint32 cached_has_bits = 0;
20863
0
  (void) cached_has_bits;
20864
20865
0
  if (from.has_status()) {
20866
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
20867
0
  }
20868
0
}
20869
20870
0
void PgTruncateTableResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
20871
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgTruncateTableResponsePB)
20872
0
  if (&from == this) return;
20873
0
  Clear();
20874
0
  MergeFrom(from);
20875
0
}
20876
20877
0
void PgTruncateTableResponsePB::CopyFrom(const PgTruncateTableResponsePB& from) {
20878
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgTruncateTableResponsePB)
20879
0
  if (&from == this) return;
20880
0
  Clear();
20881
0
  MergeFrom(from);
20882
0
}
20883
20884
1.24k
bool PgTruncateTableResponsePB::IsInitialized() const {
20885
1.24k
  if (has_status()) {
20886
0
    if (!this->status_->IsInitialized()) return false;
20887
0
  }
20888
1.24k
  return true;
20889
1.24k
}
20890
20891
0
void PgTruncateTableResponsePB::Swap(PgTruncateTableResponsePB* other) {
20892
0
  if (other == this) return;
20893
0
  InternalSwap(other);
20894
0
}
20895
0
void PgTruncateTableResponsePB::InternalSwap(PgTruncateTableResponsePB* other) {
20896
0
  using std::swap;
20897
0
  swap(status_, other->status_);
20898
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
20899
0
  swap(_cached_size_, other->_cached_size_);
20900
0
}
20901
20902
0
::google::protobuf::Metadata PgTruncateTableResponsePB::GetMetadata() const {
20903
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
20904
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
20905
0
}
20906
20907
20908
// ===================================================================
20909
20910
26.8k
void PgPlacementInfoPB::InitAsDefaultInstance() {
20911
26.8k
}
20912
#if !defined(_MSC_VER) || _MSC_VER >= 1900
20913
const int PgPlacementInfoPB::kCloudFieldNumber;
20914
const int PgPlacementInfoPB::kRegionFieldNumber;
20915
const int PgPlacementInfoPB::kZoneFieldNumber;
20916
const int PgPlacementInfoPB::kMinNumReplicasFieldNumber;
20917
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
20918
20919
PgPlacementInfoPB::PgPlacementInfoPB()
20920
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
20921
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
20922
2
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgPlacementInfoPB();
20923
2
  }
20924
26.8k
  SharedCtor();
20925
  // @@protoc_insertion_point(constructor:yb.tserver.PgPlacementInfoPB)
20926
26.8k
}
20927
PgPlacementInfoPB::PgPlacementInfoPB(const PgPlacementInfoPB& from)
20928
  : ::google::protobuf::Message(),
20929
      _internal_metadata_(NULL),
20930
0
      _cached_size_(0) {
20931
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
20932
0
  cloud_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20933
0
  if (from.cloud().size() > 0) {
20934
0
    cloud_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cloud_);
20935
0
  }
20936
0
  region_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20937
0
  if (from.region().size() > 0) {
20938
0
    region_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.region_);
20939
0
  }
20940
0
  zone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20941
0
  if (from.zone().size() > 0) {
20942
0
    zone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.zone_);
20943
0
  }
20944
0
  min_num_replicas_ = from.min_num_replicas_;
20945
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgPlacementInfoPB)
20946
0
}
20947
20948
26.8k
void PgPlacementInfoPB::SharedCtor() {
20949
26.8k
  cloud_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20950
26.8k
  region_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20951
26.8k
  zone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20952
26.8k
  min_num_replicas_ = 0;
20953
26.8k
  _cached_size_ = 0;
20954
26.8k
}
20955
20956
2
PgPlacementInfoPB::~PgPlacementInfoPB() {
20957
  // @@protoc_insertion_point(destructor:yb.tserver.PgPlacementInfoPB)
20958
2
  SharedDtor();
20959
2
}
20960
20961
2
void PgPlacementInfoPB::SharedDtor() {
20962
2
  cloud_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20963
2
  region_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20964
2
  zone_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20965
2
}
20966
20967
0
void PgPlacementInfoPB::SetCachedSize(int size) const {
20968
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20969
0
  _cached_size_ = size;
20970
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
20971
0
}
20972
0
const ::google::protobuf::Descriptor* PgPlacementInfoPB::descriptor() {
20973
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
20974
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
20975
0
}
20976
20977
0
const PgPlacementInfoPB& PgPlacementInfoPB::default_instance() {
20978
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgPlacementInfoPB();
20979
0
  return *internal_default_instance();
20980
0
}
20981
20982
0
PgPlacementInfoPB* PgPlacementInfoPB::New(::google::protobuf::Arena* arena) const {
20983
0
  PgPlacementInfoPB* n = new PgPlacementInfoPB;
20984
0
  if (arena != NULL) {
20985
0
    arena->Own(n);
20986
0
  }
20987
0
  return n;
20988
0
}
20989
20990
0
void PgPlacementInfoPB::Clear() {
20991
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgPlacementInfoPB)
20992
0
  ::google::protobuf::uint32 cached_has_bits = 0;
20993
  // Prevent compiler warnings about cached_has_bits being unused
20994
0
  (void) cached_has_bits;
20995
20996
0
  cloud_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20997
0
  region_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20998
0
  zone_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20999
0
  min_num_replicas_ = 0;
21000
0
  _internal_metadata_.Clear();
21001
0
}
21002
21003
bool PgPlacementInfoPB::MergePartialFromCodedStream(
21004
1
    ::google::protobuf::io::CodedInputStream* input) {
21005
7
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
21006
1
  ::google::protobuf::uint32 tag;
21007
  // @@protoc_insertion_point(parse_start:yb.tserver.PgPlacementInfoPB)
21008
5
  for (;;) {
21009
5
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
21010
5
    tag = p.first;
21011
5
    if (!p.second) 
goto handle_unusual1
;
21012
4
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
21013
      // string cloud = 1;
21014
1
      case 1: {
21015
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
21016
1
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
21017
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
21018
1
                input, this->mutable_cloud()));
21019
1
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
21020
1
            this->cloud().data(), static_cast<int>(this->cloud().length()),
21021
1
            ::google::protobuf::internal::WireFormatLite::PARSE,
21022
1
            "yb.tserver.PgPlacementInfoPB.cloud"));
21023
1
        } else {
21024
0
          goto handle_unusual;
21025
0
        }
21026
1
        break;
21027
1
      }
21028
21029
      // string region = 2;
21030
1
      case 2: {
21031
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
21032
1
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
21033
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
21034
1
                input, this->mutable_region()));
21035
1
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
21036
1
            this->region().data(), static_cast<int>(this->region().length()),
21037
1
            ::google::protobuf::internal::WireFormatLite::PARSE,
21038
1
            "yb.tserver.PgPlacementInfoPB.region"));
21039
1
        } else {
21040
0
          goto handle_unusual;
21041
0
        }
21042
1
        break;
21043
1
      }
21044
21045
      // string zone = 3;
21046
1
      case 3: {
21047
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
21048
1
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
21049
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
21050
1
                input, this->mutable_zone()));
21051
1
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
21052
1
            this->zone().data(), static_cast<int>(this->zone().length()),
21053
1
            ::google::protobuf::internal::WireFormatLite::PARSE,
21054
1
            "yb.tserver.PgPlacementInfoPB.zone"));
21055
1
        } else {
21056
0
          goto handle_unusual;
21057
0
        }
21058
1
        break;
21059
1
      }
21060
21061
      // int32 min_num_replicas = 4;
21062
1
      case 4: {
21063
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
21064
1
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
21065
21066
1
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
21067
1
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
21068
1
                 input, &min_num_replicas_)));
21069
1
        } else {
21070
0
          goto handle_unusual;
21071
0
        }
21072
1
        break;
21073
1
      }
21074
21075
1
      default: {
21076
1
      handle_unusual:
21077
1
        if (tag == 0) {
21078
1
          goto success;
21079
1
        }
21080
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
21081
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
21082
0
        break;
21083
0
      }
21084
4
    }
21085
4
  }
21086
1
success:
21087
  // @@protoc_insertion_point(parse_success:yb.tserver.PgPlacementInfoPB)
21088
1
  return true;
21089
0
failure:
21090
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgPlacementInfoPB)
21091
0
  return false;
21092
1
#undef DO_
21093
1
}
21094
21095
void PgPlacementInfoPB::SerializeWithCachedSizes(
21096
0
    ::google::protobuf::io::CodedOutputStream* output) const {
21097
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgPlacementInfoPB)
21098
0
  ::google::protobuf::uint32 cached_has_bits = 0;
21099
0
  (void) cached_has_bits;
21100
21101
  // string cloud = 1;
21102
0
  if (this->cloud().size() > 0) {
21103
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
21104
0
      this->cloud().data(), static_cast<int>(this->cloud().length()),
21105
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
21106
0
      "yb.tserver.PgPlacementInfoPB.cloud");
21107
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
21108
0
      1, this->cloud(), output);
21109
0
  }
21110
21111
  // string region = 2;
21112
0
  if (this->region().size() > 0) {
21113
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
21114
0
      this->region().data(), static_cast<int>(this->region().length()),
21115
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
21116
0
      "yb.tserver.PgPlacementInfoPB.region");
21117
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
21118
0
      2, this->region(), output);
21119
0
  }
21120
21121
  // string zone = 3;
21122
0
  if (this->zone().size() > 0) {
21123
0
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
21124
0
      this->zone().data(), static_cast<int>(this->zone().length()),
21125
0
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
21126
0
      "yb.tserver.PgPlacementInfoPB.zone");
21127
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
21128
0
      3, this->zone(), output);
21129
0
  }
21130
21131
  // int32 min_num_replicas = 4;
21132
0
  if (this->min_num_replicas() != 0) {
21133
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->min_num_replicas(), output);
21134
0
  }
21135
21136
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
21137
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
21138
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
21139
0
  }
21140
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgPlacementInfoPB)
21141
0
}
21142
21143
::google::protobuf::uint8* PgPlacementInfoPB::InternalSerializeWithCachedSizesToArray(
21144
1
    bool deterministic, ::google::protobuf::uint8* target) const {
21145
1
  (void)deterministic; // Unused
21146
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgPlacementInfoPB)
21147
1
  ::google::protobuf::uint32 cached_has_bits = 0;
21148
1
  (void) cached_has_bits;
21149
21150
  // string cloud = 1;
21151
1
  if (this->cloud().size() > 0) {
21152
1
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
21153
1
      this->cloud().data(), static_cast<int>(this->cloud().length()),
21154
1
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
21155
1
      "yb.tserver.PgPlacementInfoPB.cloud");
21156
1
    target =
21157
1
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
21158
1
        1, this->cloud(), target);
21159
1
  }
21160
21161
  // string region = 2;
21162
1
  if (this->region().size() > 0) {
21163
1
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
21164
1
      this->region().data(), static_cast<int>(this->region().length()),
21165
1
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
21166
1
      "yb.tserver.PgPlacementInfoPB.region");
21167
1
    target =
21168
1
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
21169
1
        2, this->region(), target);
21170
1
  }
21171
21172
  // string zone = 3;
21173
1
  if (this->zone().size() > 0) {
21174
1
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
21175
1
      this->zone().data(), static_cast<int>(this->zone().length()),
21176
1
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
21177
1
      "yb.tserver.PgPlacementInfoPB.zone");
21178
1
    target =
21179
1
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
21180
1
        3, this->zone(), target);
21181
1
  }
21182
21183
  // int32 min_num_replicas = 4;
21184
1
  if (this->min_num_replicas() != 0) {
21185
1
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->min_num_replicas(), target);
21186
1
  }
21187
21188
1
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
21189
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
21190
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
21191
0
  }
21192
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgPlacementInfoPB)
21193
1
  return target;
21194
1
}
21195
21196
2
size_t PgPlacementInfoPB::ByteSizeLong() const {
21197
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgPlacementInfoPB)
21198
2
  size_t total_size = 0;
21199
21200
2
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
21201
0
    total_size +=
21202
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
21203
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
21204
0
  }
21205
  // string cloud = 1;
21206
2
  if (this->cloud().size() > 0) {
21207
2
    total_size += 1 +
21208
2
      ::google::protobuf::internal::WireFormatLite::StringSize(
21209
2
        this->cloud());
21210
2
  }
21211
21212
  // string region = 2;
21213
2
  if (this->region().size() > 0) {
21214
2
    total_size += 1 +
21215
2
      ::google::protobuf::internal::WireFormatLite::StringSize(
21216
2
        this->region());
21217
2
  }
21218
21219
  // string zone = 3;
21220
2
  if (this->zone().size() > 0) {
21221
2
    total_size += 1 +
21222
2
      ::google::protobuf::internal::WireFormatLite::StringSize(
21223
2
        this->zone());
21224
2
  }
21225
21226
  // int32 min_num_replicas = 4;
21227
2
  if (this->min_num_replicas() != 0) {
21228
2
    total_size += 1 +
21229
2
      ::google::protobuf::internal::WireFormatLite::Int32Size(
21230
2
        this->min_num_replicas());
21231
2
  }
21232
21233
2
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
21234
2
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
21235
2
  _cached_size_ = cached_size;
21236
2
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
21237
2
  return total_size;
21238
2
}
21239
21240
0
void PgPlacementInfoPB::MergeFrom(const ::google::protobuf::Message& from) {
21241
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgPlacementInfoPB)
21242
0
  GOOGLE_DCHECK_NE(&from, this);
21243
0
  const PgPlacementInfoPB* source =
21244
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgPlacementInfoPB>(
21245
0
          &from);
21246
0
  if (source == NULL) {
21247
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgPlacementInfoPB)
21248
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
21249
0
  } else {
21250
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgPlacementInfoPB)
21251
0
    MergeFrom(*source);
21252
0
  }
21253
0
}
21254
21255
0
void PgPlacementInfoPB::MergeFrom(const PgPlacementInfoPB& from) {
21256
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgPlacementInfoPB)
21257
0
  GOOGLE_DCHECK_NE(&from, this);
21258
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
21259
0
  ::google::protobuf::uint32 cached_has_bits = 0;
21260
0
  (void) cached_has_bits;
21261
21262
0
  if (from.cloud().size() > 0) {
21263
21264
0
    cloud_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cloud_);
21265
0
  }
21266
0
  if (from.region().size() > 0) {
21267
21268
0
    region_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.region_);
21269
0
  }
21270
0
  if (from.zone().size() > 0) {
21271
21272
0
    zone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.zone_);
21273
0
  }
21274
0
  if (from.min_num_replicas() != 0) {
21275
0
    set_min_num_replicas(from.min_num_replicas());
21276
0
  }
21277
0
}
21278
21279
0
void PgPlacementInfoPB::CopyFrom(const ::google::protobuf::Message& from) {
21280
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgPlacementInfoPB)
21281
0
  if (&from == this) return;
21282
0
  Clear();
21283
0
  MergeFrom(from);
21284
0
}
21285
21286
0
void PgPlacementInfoPB::CopyFrom(const PgPlacementInfoPB& from) {
21287
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgPlacementInfoPB)
21288
0
  if (&from == this) return;
21289
0
  Clear();
21290
0
  MergeFrom(from);
21291
0
}
21292
21293
0
bool PgPlacementInfoPB::IsInitialized() const {
21294
0
  return true;
21295
0
}
21296
21297
0
void PgPlacementInfoPB::Swap(PgPlacementInfoPB* other) {
21298
0
  if (other == this) return;
21299
0
  InternalSwap(other);
21300
0
}
21301
0
void PgPlacementInfoPB::InternalSwap(PgPlacementInfoPB* other) {
21302
0
  using std::swap;
21303
0
  cloud_.Swap(&other->cloud_);
21304
0
  region_.Swap(&other->region_);
21305
0
  zone_.Swap(&other->zone_);
21306
0
  swap(min_num_replicas_, other->min_num_replicas_);
21307
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
21308
0
  swap(_cached_size_, other->_cached_size_);
21309
0
}
21310
21311
1
::google::protobuf::Metadata PgPlacementInfoPB::GetMetadata() const {
21312
1
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
21313
1
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
21314
1
}
21315
21316
21317
// ===================================================================
21318
21319
26.8k
void PgValidatePlacementRequestPB::InitAsDefaultInstance() {
21320
26.8k
}
21321
#if !defined(_MSC_VER) || _MSC_VER >= 1900
21322
const int PgValidatePlacementRequestPB::kSessionIdFieldNumber;
21323
const int PgValidatePlacementRequestPB::kNumReplicasFieldNumber;
21324
const int PgValidatePlacementRequestPB::kPlacementInfosFieldNumber;
21325
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
21326
21327
PgValidatePlacementRequestPB::PgValidatePlacementRequestPB()
21328
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
21329
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
21330
2
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgValidatePlacementRequestPB();
21331
2
  }
21332
26.8k
  SharedCtor();
21333
  // @@protoc_insertion_point(constructor:yb.tserver.PgValidatePlacementRequestPB)
21334
26.8k
}
21335
PgValidatePlacementRequestPB::PgValidatePlacementRequestPB(const PgValidatePlacementRequestPB& from)
21336
  : ::google::protobuf::Message(),
21337
      _internal_metadata_(NULL),
21338
      placement_infos_(from.placement_infos_),
21339
0
      _cached_size_(0) {
21340
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
21341
0
  ::memcpy(&session_id_, &from.session_id_,
21342
0
    static_cast<size_t>(reinterpret_cast<char*>(&num_replicas_) -
21343
0
    reinterpret_cast<char*>(&session_id_)) + sizeof(num_replicas_));
21344
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgValidatePlacementRequestPB)
21345
0
}
21346
21347
26.8k
void PgValidatePlacementRequestPB::SharedCtor() {
21348
26.8k
  ::memset(&session_id_, 0, static_cast<size_t>(
21349
26.8k
      reinterpret_cast<char*>(&num_replicas_) -
21350
26.8k
      reinterpret_cast<char*>(&session_id_)) + sizeof(num_replicas_));
21351
26.8k
  _cached_size_ = 0;
21352
26.8k
}
21353
21354
2
PgValidatePlacementRequestPB::~PgValidatePlacementRequestPB() {
21355
  // @@protoc_insertion_point(destructor:yb.tserver.PgValidatePlacementRequestPB)
21356
2
  SharedDtor();
21357
2
}
21358
21359
2
void PgValidatePlacementRequestPB::SharedDtor() {
21360
2
}
21361
21362
0
void PgValidatePlacementRequestPB::SetCachedSize(int size) const {
21363
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
21364
0
  _cached_size_ = size;
21365
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
21366
0
}
21367
0
const ::google::protobuf::Descriptor* PgValidatePlacementRequestPB::descriptor() {
21368
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
21369
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
21370
0
}
21371
21372
0
const PgValidatePlacementRequestPB& PgValidatePlacementRequestPB::default_instance() {
21373
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgValidatePlacementRequestPB();
21374
0
  return *internal_default_instance();
21375
0
}
21376
21377
0
PgValidatePlacementRequestPB* PgValidatePlacementRequestPB::New(::google::protobuf::Arena* arena) const {
21378
0
  PgValidatePlacementRequestPB* n = new PgValidatePlacementRequestPB;
21379
0
  if (arena != NULL) {
21380
0
    arena->Own(n);
21381
0
  }
21382
0
  return n;
21383
0
}
21384
21385
1
void PgValidatePlacementRequestPB::Clear() {
21386
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgValidatePlacementRequestPB)
21387
1
  ::google::protobuf::uint32 cached_has_bits = 0;
21388
  // Prevent compiler warnings about cached_has_bits being unused
21389
1
  (void) cached_has_bits;
21390
21391
1
  placement_infos_.Clear();
21392
1
  ::memset(&session_id_, 0, static_cast<size_t>(
21393
1
      reinterpret_cast<char*>(&num_replicas_) -
21394
1
      reinterpret_cast<char*>(&session_id_)) + sizeof(num_replicas_));
21395
1
  _internal_metadata_.Clear();
21396
1
}
21397
21398
bool PgValidatePlacementRequestPB::MergePartialFromCodedStream(
21399
1
    ::google::protobuf::io::CodedInputStream* input) {
21400
2
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
21401
1
  ::google::protobuf::uint32 tag;
21402
  // @@protoc_insertion_point(parse_start:yb.tserver.PgValidatePlacementRequestPB)
21403
3
  for (;;) {
21404
3
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
21405
3
    tag = p.first;
21406
3
    if (!p.second) 
goto handle_unusual1
;
21407
2
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
21408
      // uint64 session_id = 1;
21409
0
      case 1: {
21410
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
21411
0
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
21412
21413
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
21414
0
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
21415
0
                 input, &session_id_)));
21416
0
        } else {
21417
0
          goto handle_unusual;
21418
0
        }
21419
0
        break;
21420
0
      }
21421
21422
      // int32 num_replicas = 2;
21423
1
      case 2: {
21424
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
21425
1
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
21426
21427
1
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
21428
1
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
21429
1
                 input, &num_replicas_)));
21430
1
        } else {
21431
0
          goto handle_unusual;
21432
0
        }
21433
1
        break;
21434
1
      }
21435
21436
      // repeated .yb.tserver.PgPlacementInfoPB placement_infos = 3;
21437
1
      case 3: {
21438
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
21439
1
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
21440
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_placement_infos()));
21441
1
        } else {
21442
0
          goto handle_unusual;
21443
0
        }
21444
1
        break;
21445
1
      }
21446
21447
1
      default: {
21448
1
      handle_unusual:
21449
1
        if (tag == 0) {
21450
1
          goto success;
21451
1
        }
21452
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
21453
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
21454
0
        break;
21455
0
      }
21456
2
    }
21457
2
  }
21458
1
success:
21459
  // @@protoc_insertion_point(parse_success:yb.tserver.PgValidatePlacementRequestPB)
21460
1
  return true;
21461
0
failure:
21462
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgValidatePlacementRequestPB)
21463
0
  return false;
21464
1
#undef DO_
21465
1
}
21466
21467
void PgValidatePlacementRequestPB::SerializeWithCachedSizes(
21468
0
    ::google::protobuf::io::CodedOutputStream* output) const {
21469
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgValidatePlacementRequestPB)
21470
0
  ::google::protobuf::uint32 cached_has_bits = 0;
21471
0
  (void) cached_has_bits;
21472
21473
  // uint64 session_id = 1;
21474
0
  if (this->session_id() != 0) {
21475
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
21476
0
  }
21477
21478
  // int32 num_replicas = 2;
21479
0
  if (this->num_replicas() != 0) {
21480
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->num_replicas(), output);
21481
0
  }
21482
21483
  // repeated .yb.tserver.PgPlacementInfoPB placement_infos = 3;
21484
0
  for (unsigned int i = 0,
21485
0
      n = static_cast<unsigned int>(this->placement_infos_size()); i < n; i++) {
21486
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
21487
0
      3, this->placement_infos(static_cast<int>(i)), output);
21488
0
  }
21489
21490
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
21491
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
21492
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
21493
0
  }
21494
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgValidatePlacementRequestPB)
21495
0
}
21496
21497
::google::protobuf::uint8* PgValidatePlacementRequestPB::InternalSerializeWithCachedSizesToArray(
21498
1
    bool deterministic, ::google::protobuf::uint8* target) const {
21499
1
  (void)deterministic; // Unused
21500
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgValidatePlacementRequestPB)
21501
1
  ::google::protobuf::uint32 cached_has_bits = 0;
21502
1
  (void) cached_has_bits;
21503
21504
  // uint64 session_id = 1;
21505
1
  if (this->session_id() != 0) {
21506
0
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
21507
0
  }
21508
21509
  // int32 num_replicas = 2;
21510
1
  if (this->num_replicas() != 0) {
21511
1
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->num_replicas(), target);
21512
1
  }
21513
21514
  // repeated .yb.tserver.PgPlacementInfoPB placement_infos = 3;
21515
1
  for (unsigned int i = 0,
21516
2
      n = static_cast<unsigned int>(this->placement_infos_size()); i < n; 
i++1
) {
21517
1
    target = ::google::protobuf::internal::WireFormatLite::
21518
1
      InternalWriteMessageToArray(
21519
1
        3, this->placement_infos(static_cast<int>(i)), deterministic, target);
21520
1
  }
21521
21522
1
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
21523
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
21524
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
21525
0
  }
21526
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgValidatePlacementRequestPB)
21527
1
  return target;
21528
1
}
21529
21530
2
size_t PgValidatePlacementRequestPB::ByteSizeLong() const {
21531
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgValidatePlacementRequestPB)
21532
2
  size_t total_size = 0;
21533
21534
2
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
21535
0
    total_size +=
21536
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
21537
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
21538
0
  }
21539
  // repeated .yb.tserver.PgPlacementInfoPB placement_infos = 3;
21540
2
  {
21541
2
    unsigned int count = static_cast<unsigned int>(this->placement_infos_size());
21542
2
    total_size += 1UL * count;
21543
4
    for (unsigned int i = 0; i < count; 
i++2
) {
21544
2
      total_size +=
21545
2
        ::google::protobuf::internal::WireFormatLite::MessageSize(
21546
2
          this->placement_infos(static_cast<int>(i)));
21547
2
    }
21548
2
  }
21549
21550
  // uint64 session_id = 1;
21551
2
  if (this->session_id() != 0) {
21552
0
    total_size += 1 +
21553
0
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
21554
0
        this->session_id());
21555
0
  }
21556
21557
  // int32 num_replicas = 2;
21558
2
  if (this->num_replicas() != 0) {
21559
2
    total_size += 1 +
21560
2
      ::google::protobuf::internal::WireFormatLite::Int32Size(
21561
2
        this->num_replicas());
21562
2
  }
21563
21564
2
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
21565
2
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
21566
2
  _cached_size_ = cached_size;
21567
2
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
21568
2
  return total_size;
21569
2
}
21570
21571
0
void PgValidatePlacementRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
21572
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgValidatePlacementRequestPB)
21573
0
  GOOGLE_DCHECK_NE(&from, this);
21574
0
  const PgValidatePlacementRequestPB* source =
21575
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgValidatePlacementRequestPB>(
21576
0
          &from);
21577
0
  if (source == NULL) {
21578
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgValidatePlacementRequestPB)
21579
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
21580
0
  } else {
21581
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgValidatePlacementRequestPB)
21582
0
    MergeFrom(*source);
21583
0
  }
21584
0
}
21585
21586
0
void PgValidatePlacementRequestPB::MergeFrom(const PgValidatePlacementRequestPB& from) {
21587
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgValidatePlacementRequestPB)
21588
0
  GOOGLE_DCHECK_NE(&from, this);
21589
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
21590
0
  ::google::protobuf::uint32 cached_has_bits = 0;
21591
0
  (void) cached_has_bits;
21592
21593
0
  placement_infos_.MergeFrom(from.placement_infos_);
21594
0
  if (from.session_id() != 0) {
21595
0
    set_session_id(from.session_id());
21596
0
  }
21597
0
  if (from.num_replicas() != 0) {
21598
0
    set_num_replicas(from.num_replicas());
21599
0
  }
21600
0
}
21601
21602
0
void PgValidatePlacementRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
21603
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgValidatePlacementRequestPB)
21604
0
  if (&from == this) return;
21605
0
  Clear();
21606
0
  MergeFrom(from);
21607
0
}
21608
21609
0
void PgValidatePlacementRequestPB::CopyFrom(const PgValidatePlacementRequestPB& from) {
21610
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgValidatePlacementRequestPB)
21611
0
  if (&from == this) return;
21612
0
  Clear();
21613
0
  MergeFrom(from);
21614
0
}
21615
21616
2
bool PgValidatePlacementRequestPB::IsInitialized() const {
21617
2
  return true;
21618
2
}
21619
21620
0
void PgValidatePlacementRequestPB::Swap(PgValidatePlacementRequestPB* other) {
21621
0
  if (other == this) return;
21622
0
  InternalSwap(other);
21623
0
}
21624
0
void PgValidatePlacementRequestPB::InternalSwap(PgValidatePlacementRequestPB* other) {
21625
0
  using std::swap;
21626
0
  placement_infos_.InternalSwap(&other->placement_infos_);
21627
0
  swap(session_id_, other->session_id_);
21628
0
  swap(num_replicas_, other->num_replicas_);
21629
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
21630
0
  swap(_cached_size_, other->_cached_size_);
21631
0
}
21632
21633
1
::google::protobuf::Metadata PgValidatePlacementRequestPB::GetMetadata() const {
21634
1
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
21635
1
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
21636
1
}
21637
21638
21639
// ===================================================================
21640
21641
26.8k
void PgValidatePlacementResponsePB::InitAsDefaultInstance() {
21642
26.8k
  ::yb::tserver::_PgValidatePlacementResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
21643
26.8k
      ::yb::AppStatusPB::internal_default_instance());
21644
26.8k
}
21645
0
void PgValidatePlacementResponsePB::clear_status() {
21646
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
21647
0
    delete status_;
21648
0
  }
21649
0
  status_ = NULL;
21650
0
}
21651
#if !defined(_MSC_VER) || _MSC_VER >= 1900
21652
const int PgValidatePlacementResponsePB::kStatusFieldNumber;
21653
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
21654
21655
PgValidatePlacementResponsePB::PgValidatePlacementResponsePB()
21656
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
21657
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
21658
2
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgValidatePlacementResponsePB();
21659
2
  }
21660
26.8k
  SharedCtor();
21661
  // @@protoc_insertion_point(constructor:yb.tserver.PgValidatePlacementResponsePB)
21662
26.8k
}
21663
PgValidatePlacementResponsePB::PgValidatePlacementResponsePB(const PgValidatePlacementResponsePB& from)
21664
  : ::google::protobuf::Message(),
21665
      _internal_metadata_(NULL),
21666
0
      _cached_size_(0) {
21667
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
21668
0
  if (from.has_status()) {
21669
0
    status_ = new ::yb::AppStatusPB(*from.status_);
21670
0
  } else {
21671
0
    status_ = NULL;
21672
0
  }
21673
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgValidatePlacementResponsePB)
21674
0
}
21675
21676
26.8k
void PgValidatePlacementResponsePB::SharedCtor() {
21677
26.8k
  status_ = NULL;
21678
26.8k
  _cached_size_ = 0;
21679
26.8k
}
21680
21681
2
PgValidatePlacementResponsePB::~PgValidatePlacementResponsePB() {
21682
  // @@protoc_insertion_point(destructor:yb.tserver.PgValidatePlacementResponsePB)
21683
2
  SharedDtor();
21684
2
}
21685
21686
2
void PgValidatePlacementResponsePB::SharedDtor() {
21687
2
  if (this != internal_default_instance()) delete status_;
21688
2
}
21689
21690
0
void PgValidatePlacementResponsePB::SetCachedSize(int size) const {
21691
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
21692
0
  _cached_size_ = size;
21693
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
21694
0
}
21695
0
const ::google::protobuf::Descriptor* PgValidatePlacementResponsePB::descriptor() {
21696
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
21697
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
21698
0
}
21699
21700
0
const PgValidatePlacementResponsePB& PgValidatePlacementResponsePB::default_instance() {
21701
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgValidatePlacementResponsePB();
21702
0
  return *internal_default_instance();
21703
0
}
21704
21705
0
PgValidatePlacementResponsePB* PgValidatePlacementResponsePB::New(::google::protobuf::Arena* arena) const {
21706
0
  PgValidatePlacementResponsePB* n = new PgValidatePlacementResponsePB;
21707
0
  if (arena != NULL) {
21708
0
    arena->Own(n);
21709
0
  }
21710
0
  return n;
21711
0
}
21712
21713
1
void PgValidatePlacementResponsePB::Clear() {
21714
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgValidatePlacementResponsePB)
21715
1
  ::google::protobuf::uint32 cached_has_bits = 0;
21716
  // Prevent compiler warnings about cached_has_bits being unused
21717
1
  (void) cached_has_bits;
21718
21719
1
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
21720
0
    delete status_;
21721
0
  }
21722
1
  status_ = NULL;
21723
1
  _internal_metadata_.Clear();
21724
1
}
21725
21726
bool PgValidatePlacementResponsePB::MergePartialFromCodedStream(
21727
1
    ::google::protobuf::io::CodedInputStream* input) {
21728
1
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
21729
1
  ::google::protobuf::uint32 tag;
21730
  // @@protoc_insertion_point(parse_start:yb.tserver.PgValidatePlacementResponsePB)
21731
2
  for (;;) {
21732
2
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
21733
2
    tag = p.first;
21734
2
    if (!p.second) 
goto handle_unusual1
;
21735
1
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
21736
      // .yb.AppStatusPB status = 1;
21737
1
      case 1: {
21738
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
21739
1
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
21740
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
21741
1
               input, mutable_status()));
21742
1
        } else {
21743
0
          goto handle_unusual;
21744
0
        }
21745
1
        break;
21746
1
      }
21747
21748
1
      default: {
21749
1
      handle_unusual:
21750
1
        if (tag == 0) {
21751
1
          goto success;
21752
1
        }
21753
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
21754
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
21755
0
        break;
21756
0
      }
21757
1
    }
21758
1
  }
21759
1
success:
21760
  // @@protoc_insertion_point(parse_success:yb.tserver.PgValidatePlacementResponsePB)
21761
1
  return true;
21762
0
failure:
21763
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgValidatePlacementResponsePB)
21764
0
  return false;
21765
1
#undef DO_
21766
1
}
21767
21768
void PgValidatePlacementResponsePB::SerializeWithCachedSizes(
21769
0
    ::google::protobuf::io::CodedOutputStream* output) const {
21770
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgValidatePlacementResponsePB)
21771
0
  ::google::protobuf::uint32 cached_has_bits = 0;
21772
0
  (void) cached_has_bits;
21773
21774
  // .yb.AppStatusPB status = 1;
21775
0
  if (this->has_status()) {
21776
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
21777
0
      1, *this->status_, output);
21778
0
  }
21779
21780
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
21781
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
21782
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
21783
0
  }
21784
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgValidatePlacementResponsePB)
21785
0
}
21786
21787
::google::protobuf::uint8* PgValidatePlacementResponsePB::InternalSerializeWithCachedSizesToArray(
21788
1
    bool deterministic, ::google::protobuf::uint8* target) const {
21789
1
  (void)deterministic; // Unused
21790
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgValidatePlacementResponsePB)
21791
1
  ::google::protobuf::uint32 cached_has_bits = 0;
21792
1
  (void) cached_has_bits;
21793
21794
  // .yb.AppStatusPB status = 1;
21795
1
  if (this->has_status()) {
21796
1
    target = ::google::protobuf::internal::WireFormatLite::
21797
1
      InternalWriteMessageToArray(
21798
1
        1, *this->status_, deterministic, target);
21799
1
  }
21800
21801
1
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
21802
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
21803
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
21804
0
  }
21805
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgValidatePlacementResponsePB)
21806
1
  return target;
21807
1
}
21808
21809
2
size_t PgValidatePlacementResponsePB::ByteSizeLong() const {
21810
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgValidatePlacementResponsePB)
21811
2
  size_t total_size = 0;
21812
21813
2
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
21814
0
    total_size +=
21815
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
21816
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
21817
0
  }
21818
  // .yb.AppStatusPB status = 1;
21819
2
  if (this->has_status()) {
21820
2
    total_size += 1 +
21821
2
      ::google::protobuf::internal::WireFormatLite::MessageSize(
21822
2
        *this->status_);
21823
2
  }
21824
21825
2
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
21826
2
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
21827
2
  _cached_size_ = cached_size;
21828
2
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
21829
2
  return total_size;
21830
2
}
21831
21832
0
void PgValidatePlacementResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
21833
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgValidatePlacementResponsePB)
21834
0
  GOOGLE_DCHECK_NE(&from, this);
21835
0
  const PgValidatePlacementResponsePB* source =
21836
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgValidatePlacementResponsePB>(
21837
0
          &from);
21838
0
  if (source == NULL) {
21839
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgValidatePlacementResponsePB)
21840
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
21841
0
  } else {
21842
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgValidatePlacementResponsePB)
21843
0
    MergeFrom(*source);
21844
0
  }
21845
0
}
21846
21847
0
void PgValidatePlacementResponsePB::MergeFrom(const PgValidatePlacementResponsePB& from) {
21848
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgValidatePlacementResponsePB)
21849
0
  GOOGLE_DCHECK_NE(&from, this);
21850
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
21851
0
  ::google::protobuf::uint32 cached_has_bits = 0;
21852
0
  (void) cached_has_bits;
21853
21854
0
  if (from.has_status()) {
21855
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
21856
0
  }
21857
0
}
21858
21859
0
void PgValidatePlacementResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
21860
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgValidatePlacementResponsePB)
21861
0
  if (&from == this) return;
21862
0
  Clear();
21863
0
  MergeFrom(from);
21864
0
}
21865
21866
0
void PgValidatePlacementResponsePB::CopyFrom(const PgValidatePlacementResponsePB& from) {
21867
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgValidatePlacementResponsePB)
21868
0
  if (&from == this) return;
21869
0
  Clear();
21870
0
  MergeFrom(from);
21871
0
}
21872
21873
2
bool PgValidatePlacementResponsePB::IsInitialized() const {
21874
2
  if (has_status()) {
21875
2
    if (!this->status_->IsInitialized()) 
return false0
;
21876
2
  }
21877
2
  return true;
21878
2
}
21879
21880
0
void PgValidatePlacementResponsePB::Swap(PgValidatePlacementResponsePB* other) {
21881
0
  if (other == this) return;
21882
0
  InternalSwap(other);
21883
0
}
21884
0
void PgValidatePlacementResponsePB::InternalSwap(PgValidatePlacementResponsePB* other) {
21885
0
  using std::swap;
21886
0
  swap(status_, other->status_);
21887
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
21888
0
  swap(_cached_size_, other->_cached_size_);
21889
0
}
21890
21891
0
::google::protobuf::Metadata PgValidatePlacementResponsePB::GetMetadata() const {
21892
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
21893
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
21894
0
}
21895
21896
21897
// ===================================================================
21898
21899
26.8k
void PgInsertSequenceTupleRequestPB::InitAsDefaultInstance() {
21900
26.8k
}
21901
#if !defined(_MSC_VER) || _MSC_VER >= 1900
21902
const int PgInsertSequenceTupleRequestPB::kSessionIdFieldNumber;
21903
const int PgInsertSequenceTupleRequestPB::kDbOidFieldNumber;
21904
const int PgInsertSequenceTupleRequestPB::kSeqOidFieldNumber;
21905
const int PgInsertSequenceTupleRequestPB::kYsqlCatalogVersionFieldNumber;
21906
const int PgInsertSequenceTupleRequestPB::kLastValFieldNumber;
21907
const int PgInsertSequenceTupleRequestPB::kIsCalledFieldNumber;
21908
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
21909
21910
PgInsertSequenceTupleRequestPB::PgInsertSequenceTupleRequestPB()
21911
27.4k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
21912
27.4k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
21913
590
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgInsertSequenceTupleRequestPB();
21914
590
  }
21915
27.4k
  SharedCtor();
21916
  // @@protoc_insertion_point(constructor:yb.tserver.PgInsertSequenceTupleRequestPB)
21917
27.4k
}
21918
PgInsertSequenceTupleRequestPB::PgInsertSequenceTupleRequestPB(const PgInsertSequenceTupleRequestPB& from)
21919
  : ::google::protobuf::Message(),
21920
      _internal_metadata_(NULL),
21921
0
      _cached_size_(0) {
21922
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
21923
0
  ::memcpy(&session_id_, &from.session_id_,
21924
0
    static_cast<size_t>(reinterpret_cast<char*>(&is_called_) -
21925
0
    reinterpret_cast<char*>(&session_id_)) + sizeof(is_called_));
21926
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgInsertSequenceTupleRequestPB)
21927
0
}
21928
21929
27.4k
void PgInsertSequenceTupleRequestPB::SharedCtor() {
21930
27.4k
  ::memset(&session_id_, 0, static_cast<size_t>(
21931
27.4k
      reinterpret_cast<char*>(&is_called_) -
21932
27.4k
      reinterpret_cast<char*>(&session_id_)) + sizeof(is_called_));
21933
27.4k
  _cached_size_ = 0;
21934
27.4k
}
21935
21936
590
PgInsertSequenceTupleRequestPB::~PgInsertSequenceTupleRequestPB() {
21937
  // @@protoc_insertion_point(destructor:yb.tserver.PgInsertSequenceTupleRequestPB)
21938
590
  SharedDtor();
21939
590
}
21940
21941
590
void PgInsertSequenceTupleRequestPB::SharedDtor() {
21942
590
}
21943
21944
0
void PgInsertSequenceTupleRequestPB::SetCachedSize(int size) const {
21945
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
21946
0
  _cached_size_ = size;
21947
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
21948
0
}
21949
0
const ::google::protobuf::Descriptor* PgInsertSequenceTupleRequestPB::descriptor() {
21950
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
21951
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
21952
0
}
21953
21954
0
const PgInsertSequenceTupleRequestPB& PgInsertSequenceTupleRequestPB::default_instance() {
21955
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgInsertSequenceTupleRequestPB();
21956
0
  return *internal_default_instance();
21957
0
}
21958
21959
0
PgInsertSequenceTupleRequestPB* PgInsertSequenceTupleRequestPB::New(::google::protobuf::Arena* arena) const {
21960
0
  PgInsertSequenceTupleRequestPB* n = new PgInsertSequenceTupleRequestPB;
21961
0
  if (arena != NULL) {
21962
0
    arena->Own(n);
21963
0
  }
21964
0
  return n;
21965
0
}
21966
21967
295
void PgInsertSequenceTupleRequestPB::Clear() {
21968
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgInsertSequenceTupleRequestPB)
21969
295
  ::google::protobuf::uint32 cached_has_bits = 0;
21970
  // Prevent compiler warnings about cached_has_bits being unused
21971
295
  (void) cached_has_bits;
21972
21973
295
  ::memset(&session_id_, 0, static_cast<size_t>(
21974
295
      reinterpret_cast<char*>(&is_called_) -
21975
295
      reinterpret_cast<char*>(&session_id_)) + sizeof(is_called_));
21976
295
  _internal_metadata_.Clear();
21977
295
}
21978
21979
bool PgInsertSequenceTupleRequestPB::MergePartialFromCodedStream(
21980
295
    ::google::protobuf::io::CodedInputStream* input) {
21981
1.47k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
21982
295
  ::google::protobuf::uint32 tag;
21983
  // @@protoc_insertion_point(parse_start:yb.tserver.PgInsertSequenceTupleRequestPB)
21984
1.76k
  for (;;) {
21985
1.76k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
21986
1.76k
    tag = p.first;
21987
1.76k
    if (!p.second) 
goto handle_unusual295
;
21988
1.47k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
21989
      // uint64 session_id = 1;
21990
295
      case 1: {
21991
295
        if (static_cast< ::google::protobuf::uint8>(tag) ==
21992
295
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
21993
21994
295
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
21995
295
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
21996
295
                 input, &session_id_)));
21997
295
        } else {
21998
0
          goto handle_unusual;
21999
0
        }
22000
295
        break;
22001
295
      }
22002
22003
      // int64 db_oid = 2;
22004
295
      case 2: {
22005
295
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22006
295
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
22007
22008
295
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
22009
295
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
22010
295
                 input, &db_oid_)));
22011
295
        } else {
22012
0
          goto handle_unusual;
22013
0
        }
22014
295
        break;
22015
295
      }
22016
22017
      // int64 seq_oid = 3;
22018
295
      case 3: {
22019
295
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22020
295
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
22021
22022
295
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
22023
295
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
22024
295
                 input, &seq_oid_)));
22025
295
        } else {
22026
0
          goto handle_unusual;
22027
0
        }
22028
295
        break;
22029
295
      }
22030
22031
      // uint64 ysql_catalog_version = 4;
22032
295
      case 4: {
22033
295
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22034
295
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
22035
22036
295
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
22037
295
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
22038
295
                 input, &ysql_catalog_version_)));
22039
295
        } else {
22040
0
          goto handle_unusual;
22041
0
        }
22042
295
        break;
22043
295
      }
22044
22045
      // int64 last_val = 5;
22046
295
      case 5: {
22047
292
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22048
292
            static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
22049
22050
292
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
22051
292
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
22052
292
                 input, &last_val_)));
22053
292
        } else {
22054
0
          goto handle_unusual;
22055
0
        }
22056
292
        break;
22057
292
      }
22058
22059
      // bool is_called = 6;
22060
292
      case 6: {
22061
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22062
0
            static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
22063
22064
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
22065
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
22066
0
                 input, &is_called_)));
22067
0
        } else {
22068
0
          goto handle_unusual;
22069
0
        }
22070
0
        break;
22071
0
      }
22072
22073
0
      default: {
22074
295
      handle_unusual:
22075
295
        if (tag == 0) {
22076
295
          goto success;
22077
295
        }
22078
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
22079
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
22080
0
        break;
22081
0
      }
22082
1.47k
    }
22083
1.47k
  }
22084
295
success:
22085
  // @@protoc_insertion_point(parse_success:yb.tserver.PgInsertSequenceTupleRequestPB)
22086
295
  return true;
22087
0
failure:
22088
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgInsertSequenceTupleRequestPB)
22089
0
  return false;
22090
295
#undef DO_
22091
295
}
22092
22093
void PgInsertSequenceTupleRequestPB::SerializeWithCachedSizes(
22094
0
    ::google::protobuf::io::CodedOutputStream* output) const {
22095
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgInsertSequenceTupleRequestPB)
22096
0
  ::google::protobuf::uint32 cached_has_bits = 0;
22097
0
  (void) cached_has_bits;
22098
22099
  // uint64 session_id = 1;
22100
0
  if (this->session_id() != 0) {
22101
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
22102
0
  }
22103
22104
  // int64 db_oid = 2;
22105
0
  if (this->db_oid() != 0) {
22106
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->db_oid(), output);
22107
0
  }
22108
22109
  // int64 seq_oid = 3;
22110
0
  if (this->seq_oid() != 0) {
22111
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->seq_oid(), output);
22112
0
  }
22113
22114
  // uint64 ysql_catalog_version = 4;
22115
0
  if (this->ysql_catalog_version() != 0) {
22116
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(4, this->ysql_catalog_version(), output);
22117
0
  }
22118
22119
  // int64 last_val = 5;
22120
0
  if (this->last_val() != 0) {
22121
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(5, this->last_val(), output);
22122
0
  }
22123
22124
  // bool is_called = 6;
22125
0
  if (this->is_called() != 0) {
22126
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->is_called(), output);
22127
0
  }
22128
22129
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
22130
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
22131
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
22132
0
  }
22133
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgInsertSequenceTupleRequestPB)
22134
0
}
22135
22136
::google::protobuf::uint8* PgInsertSequenceTupleRequestPB::InternalSerializeWithCachedSizesToArray(
22137
295
    bool deterministic, ::google::protobuf::uint8* target) const {
22138
295
  (void)deterministic; // Unused
22139
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgInsertSequenceTupleRequestPB)
22140
295
  ::google::protobuf::uint32 cached_has_bits = 0;
22141
295
  (void) cached_has_bits;
22142
22143
  // uint64 session_id = 1;
22144
295
  if (this->session_id() != 0) {
22145
295
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
22146
295
  }
22147
22148
  // int64 db_oid = 2;
22149
295
  if (this->db_oid() != 0) {
22150
295
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->db_oid(), target);
22151
295
  }
22152
22153
  // int64 seq_oid = 3;
22154
295
  if (this->seq_oid() != 0) {
22155
295
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(3, this->seq_oid(), target);
22156
295
  }
22157
22158
  // uint64 ysql_catalog_version = 4;
22159
295
  if (this->ysql_catalog_version() != 0) {
22160
295
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(4, this->ysql_catalog_version(), target);
22161
295
  }
22162
22163
  // int64 last_val = 5;
22164
295
  if (this->last_val() != 0) {
22165
292
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(5, this->last_val(), target);
22166
292
  }
22167
22168
  // bool is_called = 6;
22169
295
  if (this->is_called() != 0) {
22170
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->is_called(), target);
22171
0
  }
22172
22173
295
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
22174
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
22175
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
22176
0
  }
22177
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgInsertSequenceTupleRequestPB)
22178
295
  return target;
22179
295
}
22180
22181
590
size_t PgInsertSequenceTupleRequestPB::ByteSizeLong() const {
22182
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgInsertSequenceTupleRequestPB)
22183
590
  size_t total_size = 0;
22184
22185
590
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
22186
0
    total_size +=
22187
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
22188
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
22189
0
  }
22190
  // uint64 session_id = 1;
22191
590
  if (this->session_id() != 0) {
22192
590
    total_size += 1 +
22193
590
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
22194
590
        this->session_id());
22195
590
  }
22196
22197
  // int64 db_oid = 2;
22198
590
  if (this->db_oid() != 0) {
22199
590
    total_size += 1 +
22200
590
      ::google::protobuf::internal::WireFormatLite::Int64Size(
22201
590
        this->db_oid());
22202
590
  }
22203
22204
  // int64 seq_oid = 3;
22205
590
  if (this->seq_oid() != 0) {
22206
590
    total_size += 1 +
22207
590
      ::google::protobuf::internal::WireFormatLite::Int64Size(
22208
590
        this->seq_oid());
22209
590
  }
22210
22211
  // uint64 ysql_catalog_version = 4;
22212
590
  if (this->ysql_catalog_version() != 0) {
22213
590
    total_size += 1 +
22214
590
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
22215
590
        this->ysql_catalog_version());
22216
590
  }
22217
22218
  // int64 last_val = 5;
22219
590
  if (this->last_val() != 0) {
22220
584
    total_size += 1 +
22221
584
      ::google::protobuf::internal::WireFormatLite::Int64Size(
22222
584
        this->last_val());
22223
584
  }
22224
22225
  // bool is_called = 6;
22226
590
  if (this->is_called() != 0) {
22227
0
    total_size += 1 + 1;
22228
0
  }
22229
22230
590
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
22231
590
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22232
590
  _cached_size_ = cached_size;
22233
590
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
22234
590
  return total_size;
22235
590
}
22236
22237
0
void PgInsertSequenceTupleRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
22238
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgInsertSequenceTupleRequestPB)
22239
0
  GOOGLE_DCHECK_NE(&from, this);
22240
0
  const PgInsertSequenceTupleRequestPB* source =
22241
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgInsertSequenceTupleRequestPB>(
22242
0
          &from);
22243
0
  if (source == NULL) {
22244
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgInsertSequenceTupleRequestPB)
22245
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
22246
0
  } else {
22247
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgInsertSequenceTupleRequestPB)
22248
0
    MergeFrom(*source);
22249
0
  }
22250
0
}
22251
22252
0
void PgInsertSequenceTupleRequestPB::MergeFrom(const PgInsertSequenceTupleRequestPB& from) {
22253
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgInsertSequenceTupleRequestPB)
22254
0
  GOOGLE_DCHECK_NE(&from, this);
22255
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
22256
0
  ::google::protobuf::uint32 cached_has_bits = 0;
22257
0
  (void) cached_has_bits;
22258
22259
0
  if (from.session_id() != 0) {
22260
0
    set_session_id(from.session_id());
22261
0
  }
22262
0
  if (from.db_oid() != 0) {
22263
0
    set_db_oid(from.db_oid());
22264
0
  }
22265
0
  if (from.seq_oid() != 0) {
22266
0
    set_seq_oid(from.seq_oid());
22267
0
  }
22268
0
  if (from.ysql_catalog_version() != 0) {
22269
0
    set_ysql_catalog_version(from.ysql_catalog_version());
22270
0
  }
22271
0
  if (from.last_val() != 0) {
22272
0
    set_last_val(from.last_val());
22273
0
  }
22274
0
  if (from.is_called() != 0) {
22275
0
    set_is_called(from.is_called());
22276
0
  }
22277
0
}
22278
22279
0
void PgInsertSequenceTupleRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
22280
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgInsertSequenceTupleRequestPB)
22281
0
  if (&from == this) return;
22282
0
  Clear();
22283
0
  MergeFrom(from);
22284
0
}
22285
22286
0
void PgInsertSequenceTupleRequestPB::CopyFrom(const PgInsertSequenceTupleRequestPB& from) {
22287
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgInsertSequenceTupleRequestPB)
22288
0
  if (&from == this) return;
22289
0
  Clear();
22290
0
  MergeFrom(from);
22291
0
}
22292
22293
590
bool PgInsertSequenceTupleRequestPB::IsInitialized() const {
22294
590
  return true;
22295
590
}
22296
22297
0
void PgInsertSequenceTupleRequestPB::Swap(PgInsertSequenceTupleRequestPB* other) {
22298
0
  if (other == this) return;
22299
0
  InternalSwap(other);
22300
0
}
22301
0
void PgInsertSequenceTupleRequestPB::InternalSwap(PgInsertSequenceTupleRequestPB* other) {
22302
0
  using std::swap;
22303
0
  swap(session_id_, other->session_id_);
22304
0
  swap(db_oid_, other->db_oid_);
22305
0
  swap(seq_oid_, other->seq_oid_);
22306
0
  swap(ysql_catalog_version_, other->ysql_catalog_version_);
22307
0
  swap(last_val_, other->last_val_);
22308
0
  swap(is_called_, other->is_called_);
22309
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
22310
0
  swap(_cached_size_, other->_cached_size_);
22311
0
}
22312
22313
295
::google::protobuf::Metadata PgInsertSequenceTupleRequestPB::GetMetadata() const {
22314
295
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
22315
295
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
22316
295
}
22317
22318
22319
// ===================================================================
22320
22321
26.8k
void PgInsertSequenceTupleResponsePB::InitAsDefaultInstance() {
22322
26.8k
  ::yb::tserver::_PgInsertSequenceTupleResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
22323
26.8k
      ::yb::AppStatusPB::internal_default_instance());
22324
26.8k
}
22325
0
void PgInsertSequenceTupleResponsePB::clear_status() {
22326
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
22327
0
    delete status_;
22328
0
  }
22329
0
  status_ = NULL;
22330
0
}
22331
#if !defined(_MSC_VER) || _MSC_VER >= 1900
22332
const int PgInsertSequenceTupleResponsePB::kStatusFieldNumber;
22333
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
22334
22335
PgInsertSequenceTupleResponsePB::PgInsertSequenceTupleResponsePB()
22336
27.4k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
22337
27.4k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
22338
590
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgInsertSequenceTupleResponsePB();
22339
590
  }
22340
27.4k
  SharedCtor();
22341
  // @@protoc_insertion_point(constructor:yb.tserver.PgInsertSequenceTupleResponsePB)
22342
27.4k
}
22343
PgInsertSequenceTupleResponsePB::PgInsertSequenceTupleResponsePB(const PgInsertSequenceTupleResponsePB& from)
22344
  : ::google::protobuf::Message(),
22345
      _internal_metadata_(NULL),
22346
0
      _cached_size_(0) {
22347
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
22348
0
  if (from.has_status()) {
22349
0
    status_ = new ::yb::AppStatusPB(*from.status_);
22350
0
  } else {
22351
0
    status_ = NULL;
22352
0
  }
22353
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgInsertSequenceTupleResponsePB)
22354
0
}
22355
22356
27.4k
void PgInsertSequenceTupleResponsePB::SharedCtor() {
22357
27.4k
  status_ = NULL;
22358
27.4k
  _cached_size_ = 0;
22359
27.4k
}
22360
22361
590
PgInsertSequenceTupleResponsePB::~PgInsertSequenceTupleResponsePB() {
22362
  // @@protoc_insertion_point(destructor:yb.tserver.PgInsertSequenceTupleResponsePB)
22363
590
  SharedDtor();
22364
590
}
22365
22366
590
void PgInsertSequenceTupleResponsePB::SharedDtor() {
22367
590
  if (this != internal_default_instance()) delete status_;
22368
590
}
22369
22370
0
void PgInsertSequenceTupleResponsePB::SetCachedSize(int size) const {
22371
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22372
0
  _cached_size_ = size;
22373
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
22374
0
}
22375
0
const ::google::protobuf::Descriptor* PgInsertSequenceTupleResponsePB::descriptor() {
22376
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
22377
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
22378
0
}
22379
22380
0
const PgInsertSequenceTupleResponsePB& PgInsertSequenceTupleResponsePB::default_instance() {
22381
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgInsertSequenceTupleResponsePB();
22382
0
  return *internal_default_instance();
22383
0
}
22384
22385
0
PgInsertSequenceTupleResponsePB* PgInsertSequenceTupleResponsePB::New(::google::protobuf::Arena* arena) const {
22386
0
  PgInsertSequenceTupleResponsePB* n = new PgInsertSequenceTupleResponsePB;
22387
0
  if (arena != NULL) {
22388
0
    arena->Own(n);
22389
0
  }
22390
0
  return n;
22391
0
}
22392
22393
295
void PgInsertSequenceTupleResponsePB::Clear() {
22394
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgInsertSequenceTupleResponsePB)
22395
295
  ::google::protobuf::uint32 cached_has_bits = 0;
22396
  // Prevent compiler warnings about cached_has_bits being unused
22397
295
  (void) cached_has_bits;
22398
22399
295
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
22400
0
    delete status_;
22401
0
  }
22402
295
  status_ = NULL;
22403
295
  _internal_metadata_.Clear();
22404
295
}
22405
22406
bool PgInsertSequenceTupleResponsePB::MergePartialFromCodedStream(
22407
295
    ::google::protobuf::io::CodedInputStream* input) {
22408
295
#define DO_(EXPRESSION) 
if (0
!GOOGLE_PREDICT_TRUE0
(EXPRESSION))
goto failure0
22409
295
  ::google::protobuf::uint32 tag;
22410
  // @@protoc_insertion_point(parse_start:yb.tserver.PgInsertSequenceTupleResponsePB)
22411
295
  for (;;) {
22412
295
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
22413
295
    tag = p.first;
22414
295
    if (!p.second) goto handle_unusual;
22415
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
22416
      // .yb.AppStatusPB status = 1;
22417
0
      case 1: {
22418
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22419
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
22420
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
22421
0
               input, mutable_status()));
22422
0
        } else {
22423
0
          goto handle_unusual;
22424
0
        }
22425
0
        break;
22426
0
      }
22427
22428
0
      default: {
22429
295
      handle_unusual:
22430
295
        if (tag == 0) {
22431
295
          goto success;
22432
295
        }
22433
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
22434
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
22435
0
        break;
22436
0
      }
22437
0
    }
22438
0
  }
22439
295
success:
22440
  // @@protoc_insertion_point(parse_success:yb.tserver.PgInsertSequenceTupleResponsePB)
22441
295
  return true;
22442
0
failure:
22443
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgInsertSequenceTupleResponsePB)
22444
0
  return false;
22445
295
#undef DO_
22446
295
}
22447
22448
void PgInsertSequenceTupleResponsePB::SerializeWithCachedSizes(
22449
0
    ::google::protobuf::io::CodedOutputStream* output) const {
22450
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgInsertSequenceTupleResponsePB)
22451
0
  ::google::protobuf::uint32 cached_has_bits = 0;
22452
0
  (void) cached_has_bits;
22453
22454
  // .yb.AppStatusPB status = 1;
22455
0
  if (this->has_status()) {
22456
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
22457
0
      1, *this->status_, output);
22458
0
  }
22459
22460
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
22461
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
22462
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
22463
0
  }
22464
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgInsertSequenceTupleResponsePB)
22465
0
}
22466
22467
::google::protobuf::uint8* PgInsertSequenceTupleResponsePB::InternalSerializeWithCachedSizesToArray(
22468
295
    bool deterministic, ::google::protobuf::uint8* target) const {
22469
295
  (void)deterministic; // Unused
22470
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgInsertSequenceTupleResponsePB)
22471
295
  ::google::protobuf::uint32 cached_has_bits = 0;
22472
295
  (void) cached_has_bits;
22473
22474
  // .yb.AppStatusPB status = 1;
22475
295
  if (this->has_status()) {
22476
0
    target = ::google::protobuf::internal::WireFormatLite::
22477
0
      InternalWriteMessageToArray(
22478
0
        1, *this->status_, deterministic, target);
22479
0
  }
22480
22481
295
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
22482
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
22483
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
22484
0
  }
22485
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgInsertSequenceTupleResponsePB)
22486
295
  return target;
22487
295
}
22488
22489
590
size_t PgInsertSequenceTupleResponsePB::ByteSizeLong() const {
22490
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgInsertSequenceTupleResponsePB)
22491
590
  size_t total_size = 0;
22492
22493
590
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
22494
0
    total_size +=
22495
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
22496
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
22497
0
  }
22498
  // .yb.AppStatusPB status = 1;
22499
590
  if (this->has_status()) {
22500
0
    total_size += 1 +
22501
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
22502
0
        *this->status_);
22503
0
  }
22504
22505
590
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
22506
590
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22507
590
  _cached_size_ = cached_size;
22508
590
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
22509
590
  return total_size;
22510
590
}
22511
22512
0
void PgInsertSequenceTupleResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
22513
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgInsertSequenceTupleResponsePB)
22514
0
  GOOGLE_DCHECK_NE(&from, this);
22515
0
  const PgInsertSequenceTupleResponsePB* source =
22516
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgInsertSequenceTupleResponsePB>(
22517
0
          &from);
22518
0
  if (source == NULL) {
22519
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgInsertSequenceTupleResponsePB)
22520
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
22521
0
  } else {
22522
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgInsertSequenceTupleResponsePB)
22523
0
    MergeFrom(*source);
22524
0
  }
22525
0
}
22526
22527
0
void PgInsertSequenceTupleResponsePB::MergeFrom(const PgInsertSequenceTupleResponsePB& from) {
22528
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgInsertSequenceTupleResponsePB)
22529
0
  GOOGLE_DCHECK_NE(&from, this);
22530
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
22531
0
  ::google::protobuf::uint32 cached_has_bits = 0;
22532
0
  (void) cached_has_bits;
22533
22534
0
  if (from.has_status()) {
22535
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
22536
0
  }
22537
0
}
22538
22539
0
void PgInsertSequenceTupleResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
22540
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgInsertSequenceTupleResponsePB)
22541
0
  if (&from == this) return;
22542
0
  Clear();
22543
0
  MergeFrom(from);
22544
0
}
22545
22546
0
void PgInsertSequenceTupleResponsePB::CopyFrom(const PgInsertSequenceTupleResponsePB& from) {
22547
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgInsertSequenceTupleResponsePB)
22548
0
  if (&from == this) return;
22549
0
  Clear();
22550
0
  MergeFrom(from);
22551
0
}
22552
22553
590
bool PgInsertSequenceTupleResponsePB::IsInitialized() const {
22554
590
  if (has_status()) {
22555
0
    if (!this->status_->IsInitialized()) return false;
22556
0
  }
22557
590
  return true;
22558
590
}
22559
22560
0
void PgInsertSequenceTupleResponsePB::Swap(PgInsertSequenceTupleResponsePB* other) {
22561
0
  if (other == this) return;
22562
0
  InternalSwap(other);
22563
0
}
22564
0
void PgInsertSequenceTupleResponsePB::InternalSwap(PgInsertSequenceTupleResponsePB* other) {
22565
0
  using std::swap;
22566
0
  swap(status_, other->status_);
22567
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
22568
0
  swap(_cached_size_, other->_cached_size_);
22569
0
}
22570
22571
0
::google::protobuf::Metadata PgInsertSequenceTupleResponsePB::GetMetadata() const {
22572
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
22573
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
22574
0
}
22575
22576
22577
// ===================================================================
22578
22579
26.8k
void PgUpdateSequenceTupleRequestPB::InitAsDefaultInstance() {
22580
26.8k
}
22581
#if !defined(_MSC_VER) || _MSC_VER >= 1900
22582
const int PgUpdateSequenceTupleRequestPB::kSessionIdFieldNumber;
22583
const int PgUpdateSequenceTupleRequestPB::kDbOidFieldNumber;
22584
const int PgUpdateSequenceTupleRequestPB::kSeqOidFieldNumber;
22585
const int PgUpdateSequenceTupleRequestPB::kYsqlCatalogVersionFieldNumber;
22586
const int PgUpdateSequenceTupleRequestPB::kLastValFieldNumber;
22587
const int PgUpdateSequenceTupleRequestPB::kIsCalledFieldNumber;
22588
const int PgUpdateSequenceTupleRequestPB::kHasExpectedFieldNumber;
22589
const int PgUpdateSequenceTupleRequestPB::kExpectedLastValFieldNumber;
22590
const int PgUpdateSequenceTupleRequestPB::kExpectedIsCalledFieldNumber;
22591
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
22592
22593
PgUpdateSequenceTupleRequestPB::PgUpdateSequenceTupleRequestPB()
22594
32.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
22595
32.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
22596
5.95k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgUpdateSequenceTupleRequestPB();
22597
5.95k
  }
22598
32.8k
  SharedCtor();
22599
  // @@protoc_insertion_point(constructor:yb.tserver.PgUpdateSequenceTupleRequestPB)
22600
32.8k
}
22601
PgUpdateSequenceTupleRequestPB::PgUpdateSequenceTupleRequestPB(const PgUpdateSequenceTupleRequestPB& from)
22602
  : ::google::protobuf::Message(),
22603
      _internal_metadata_(NULL),
22604
0
      _cached_size_(0) {
22605
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
22606
0
  ::memcpy(&session_id_, &from.session_id_,
22607
0
    static_cast<size_t>(reinterpret_cast<char*>(&expected_is_called_) -
22608
0
    reinterpret_cast<char*>(&session_id_)) + sizeof(expected_is_called_));
22609
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgUpdateSequenceTupleRequestPB)
22610
0
}
22611
22612
32.8k
void PgUpdateSequenceTupleRequestPB::SharedCtor() {
22613
32.8k
  ::memset(&session_id_, 0, static_cast<size_t>(
22614
32.8k
      reinterpret_cast<char*>(&expected_is_called_) -
22615
32.8k
      reinterpret_cast<char*>(&session_id_)) + sizeof(expected_is_called_));
22616
32.8k
  _cached_size_ = 0;
22617
32.8k
}
22618
22619
5.95k
PgUpdateSequenceTupleRequestPB::~PgUpdateSequenceTupleRequestPB() {
22620
  // @@protoc_insertion_point(destructor:yb.tserver.PgUpdateSequenceTupleRequestPB)
22621
5.95k
  SharedDtor();
22622
5.95k
}
22623
22624
5.95k
void PgUpdateSequenceTupleRequestPB::SharedDtor() {
22625
5.95k
}
22626
22627
0
void PgUpdateSequenceTupleRequestPB::SetCachedSize(int size) const {
22628
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22629
0
  _cached_size_ = size;
22630
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
22631
0
}
22632
0
const ::google::protobuf::Descriptor* PgUpdateSequenceTupleRequestPB::descriptor() {
22633
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
22634
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
22635
0
}
22636
22637
0
const PgUpdateSequenceTupleRequestPB& PgUpdateSequenceTupleRequestPB::default_instance() {
22638
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgUpdateSequenceTupleRequestPB();
22639
0
  return *internal_default_instance();
22640
0
}
22641
22642
0
PgUpdateSequenceTupleRequestPB* PgUpdateSequenceTupleRequestPB::New(::google::protobuf::Arena* arena) const {
22643
0
  PgUpdateSequenceTupleRequestPB* n = new PgUpdateSequenceTupleRequestPB;
22644
0
  if (arena != NULL) {
22645
0
    arena->Own(n);
22646
0
  }
22647
0
  return n;
22648
0
}
22649
22650
2.97k
void PgUpdateSequenceTupleRequestPB::Clear() {
22651
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgUpdateSequenceTupleRequestPB)
22652
2.97k
  ::google::protobuf::uint32 cached_has_bits = 0;
22653
  // Prevent compiler warnings about cached_has_bits being unused
22654
2.97k
  (void) cached_has_bits;
22655
22656
2.97k
  ::memset(&session_id_, 0, static_cast<size_t>(
22657
2.97k
      reinterpret_cast<char*>(&expected_is_called_) -
22658
2.97k
      reinterpret_cast<char*>(&session_id_)) + sizeof(expected_is_called_));
22659
2.97k
  _internal_metadata_.Clear();
22660
2.97k
}
22661
22662
bool PgUpdateSequenceTupleRequestPB::MergePartialFromCodedStream(
22663
2.97k
    ::google::protobuf::io::CodedInputStream* input) {
22664
26.4k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
22665
2.97k
  ::google::protobuf::uint32 tag;
22666
  // @@protoc_insertion_point(parse_start:yb.tserver.PgUpdateSequenceTupleRequestPB)
22667
29.4k
  for (;;) {
22668
29.4k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
22669
29.4k
    tag = p.first;
22670
29.4k
    if (!p.second) 
goto handle_unusual2.97k
;
22671
26.4k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
22672
      // uint64 session_id = 1;
22673
2.97k
      case 1: {
22674
2.97k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22675
2.97k
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
22676
22677
2.97k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
22678
2.97k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
22679
2.97k
                 input, &session_id_)));
22680
2.97k
        } else {
22681
0
          goto handle_unusual;
22682
0
        }
22683
2.97k
        break;
22684
2.97k
      }
22685
22686
      // int64 db_oid = 2;
22687
2.97k
      case 2: {
22688
2.97k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22689
2.97k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
22690
22691
2.97k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
22692
2.97k
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
22693
2.97k
                 input, &db_oid_)));
22694
2.97k
        } else {
22695
0
          goto handle_unusual;
22696
0
        }
22697
2.97k
        break;
22698
2.97k
      }
22699
22700
      // int64 seq_oid = 3;
22701
2.97k
      case 3: {
22702
2.97k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22703
2.97k
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
22704
22705
2.97k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
22706
2.97k
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
22707
2.97k
                 input, &seq_oid_)));
22708
2.97k
        } else {
22709
0
          goto handle_unusual;
22710
0
        }
22711
2.97k
        break;
22712
2.97k
      }
22713
22714
      // uint64 ysql_catalog_version = 4;
22715
2.97k
      case 4: {
22716
2.97k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22717
2.97k
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
22718
22719
2.97k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
22720
2.97k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
22721
2.97k
                 input, &ysql_catalog_version_)));
22722
2.97k
        } else {
22723
0
          goto handle_unusual;
22724
0
        }
22725
2.97k
        break;
22726
2.97k
      }
22727
22728
      // int64 last_val = 5;
22729
2.97k
      case 5: {
22730
2.97k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22731
2.97k
            static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
22732
22733
2.97k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
22734
2.97k
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
22735
2.97k
                 input, &last_val_)));
22736
2.97k
        } else {
22737
0
          goto handle_unusual;
22738
0
        }
22739
2.97k
        break;
22740
2.97k
      }
22741
22742
      // bool is_called = 6;
22743
2.97k
      case 6: {
22744
2.95k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22745
2.95k
            static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
22746
22747
2.95k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
22748
2.95k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
22749
2.95k
                 input, &is_called_)));
22750
2.95k
        } else {
22751
0
          goto handle_unusual;
22752
0
        }
22753
2.95k
        break;
22754
2.95k
      }
22755
22756
      // bool has_expected = 7;
22757
2.95k
      case 7: {
22758
2.95k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22759
2.95k
            static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
22760
22761
2.95k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
22762
2.95k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
22763
2.95k
                 input, &has_expected_)));
22764
2.95k
        } else {
22765
0
          goto handle_unusual;
22766
0
        }
22767
2.95k
        break;
22768
2.95k
      }
22769
22770
      // int64 expected_last_val = 8;
22771
2.95k
      case 8: {
22772
2.94k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22773
2.94k
            static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
22774
22775
2.94k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
22776
2.94k
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
22777
2.94k
                 input, &expected_last_val_)));
22778
2.94k
        } else {
22779
0
          goto handle_unusual;
22780
0
        }
22781
2.94k
        break;
22782
2.94k
      }
22783
22784
      // bool expected_is_called = 9;
22785
2.94k
      case 9: {
22786
2.73k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
22787
2.73k
            static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
22788
22789
2.73k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
22790
2.73k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
22791
2.73k
                 input, &expected_is_called_)));
22792
2.73k
        } else {
22793
0
          goto handle_unusual;
22794
0
        }
22795
2.73k
        break;
22796
2.73k
      }
22797
22798
2.73k
      default: {
22799
2.97k
      handle_unusual:
22800
2.97k
        if (tag == 0) {
22801
2.97k
          goto success;
22802
2.97k
        }
22803
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
22804
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
22805
0
        break;
22806
0
      }
22807
26.4k
    }
22808
26.4k
  }
22809
2.97k
success:
22810
  // @@protoc_insertion_point(parse_success:yb.tserver.PgUpdateSequenceTupleRequestPB)
22811
2.97k
  return true;
22812
0
failure:
22813
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgUpdateSequenceTupleRequestPB)
22814
0
  return false;
22815
2.97k
#undef DO_
22816
2.97k
}
22817
22818
void PgUpdateSequenceTupleRequestPB::SerializeWithCachedSizes(
22819
0
    ::google::protobuf::io::CodedOutputStream* output) const {
22820
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgUpdateSequenceTupleRequestPB)
22821
0
  ::google::protobuf::uint32 cached_has_bits = 0;
22822
0
  (void) cached_has_bits;
22823
22824
  // uint64 session_id = 1;
22825
0
  if (this->session_id() != 0) {
22826
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
22827
0
  }
22828
22829
  // int64 db_oid = 2;
22830
0
  if (this->db_oid() != 0) {
22831
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->db_oid(), output);
22832
0
  }
22833
22834
  // int64 seq_oid = 3;
22835
0
  if (this->seq_oid() != 0) {
22836
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->seq_oid(), output);
22837
0
  }
22838
22839
  // uint64 ysql_catalog_version = 4;
22840
0
  if (this->ysql_catalog_version() != 0) {
22841
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(4, this->ysql_catalog_version(), output);
22842
0
  }
22843
22844
  // int64 last_val = 5;
22845
0
  if (this->last_val() != 0) {
22846
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(5, this->last_val(), output);
22847
0
  }
22848
22849
  // bool is_called = 6;
22850
0
  if (this->is_called() != 0) {
22851
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->is_called(), output);
22852
0
  }
22853
22854
  // bool has_expected = 7;
22855
0
  if (this->has_expected() != 0) {
22856
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->has_expected(), output);
22857
0
  }
22858
22859
  // int64 expected_last_val = 8;
22860
0
  if (this->expected_last_val() != 0) {
22861
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(8, this->expected_last_val(), output);
22862
0
  }
22863
22864
  // bool expected_is_called = 9;
22865
0
  if (this->expected_is_called() != 0) {
22866
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(9, this->expected_is_called(), output);
22867
0
  }
22868
22869
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
22870
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
22871
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
22872
0
  }
22873
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgUpdateSequenceTupleRequestPB)
22874
0
}
22875
22876
::google::protobuf::uint8* PgUpdateSequenceTupleRequestPB::InternalSerializeWithCachedSizesToArray(
22877
2.97k
    bool deterministic, ::google::protobuf::uint8* target) const {
22878
2.97k
  (void)deterministic; // Unused
22879
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgUpdateSequenceTupleRequestPB)
22880
2.97k
  ::google::protobuf::uint32 cached_has_bits = 0;
22881
2.97k
  (void) cached_has_bits;
22882
22883
  // uint64 session_id = 1;
22884
2.97k
  if (this->session_id() != 0) {
22885
2.97k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
22886
2.97k
  }
22887
22888
  // int64 db_oid = 2;
22889
2.97k
  if (this->db_oid() != 0) {
22890
2.97k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->db_oid(), target);
22891
2.97k
  }
22892
22893
  // int64 seq_oid = 3;
22894
2.97k
  if (this->seq_oid() != 0) {
22895
2.97k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(3, this->seq_oid(), target);
22896
2.97k
  }
22897
22898
  // uint64 ysql_catalog_version = 4;
22899
2.97k
  if (this->ysql_catalog_version() != 0) {
22900
2.97k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(4, this->ysql_catalog_version(), target);
22901
2.97k
  }
22902
22903
  // int64 last_val = 5;
22904
2.97k
  if (this->last_val() != 0) {
22905
2.97k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(5, this->last_val(), target);
22906
2.97k
  }
22907
22908
  // bool is_called = 6;
22909
2.97k
  if (this->is_called() != 0) {
22910
2.95k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->is_called(), target);
22911
2.95k
  }
22912
22913
  // bool has_expected = 7;
22914
2.97k
  if (this->has_expected() != 0) {
22915
2.95k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->has_expected(), target);
22916
2.95k
  }
22917
22918
  // int64 expected_last_val = 8;
22919
2.97k
  if (this->expected_last_val() != 0) {
22920
2.94k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(8, this->expected_last_val(), target);
22921
2.94k
  }
22922
22923
  // bool expected_is_called = 9;
22924
2.97k
  if (this->expected_is_called() != 0) {
22925
2.73k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(9, this->expected_is_called(), target);
22926
2.73k
  }
22927
22928
2.97k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
22929
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
22930
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
22931
0
  }
22932
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgUpdateSequenceTupleRequestPB)
22933
2.97k
  return target;
22934
2.97k
}
22935
22936
5.95k
size_t PgUpdateSequenceTupleRequestPB::ByteSizeLong() const {
22937
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgUpdateSequenceTupleRequestPB)
22938
5.95k
  size_t total_size = 0;
22939
22940
5.95k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
22941
0
    total_size +=
22942
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
22943
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
22944
0
  }
22945
  // uint64 session_id = 1;
22946
5.95k
  if (this->session_id() != 0) {
22947
5.95k
    total_size += 1 +
22948
5.95k
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
22949
5.95k
        this->session_id());
22950
5.95k
  }
22951
22952
  // int64 db_oid = 2;
22953
5.95k
  if (this->db_oid() != 0) {
22954
5.95k
    total_size += 1 +
22955
5.95k
      ::google::protobuf::internal::WireFormatLite::Int64Size(
22956
5.95k
        this->db_oid());
22957
5.95k
  }
22958
22959
  // int64 seq_oid = 3;
22960
5.95k
  if (this->seq_oid() != 0) {
22961
5.95k
    total_size += 1 +
22962
5.95k
      ::google::protobuf::internal::WireFormatLite::Int64Size(
22963
5.95k
        this->seq_oid());
22964
5.95k
  }
22965
22966
  // uint64 ysql_catalog_version = 4;
22967
5.95k
  if (this->ysql_catalog_version() != 0) {
22968
5.95k
    total_size += 1 +
22969
5.95k
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
22970
5.95k
        this->ysql_catalog_version());
22971
5.95k
  }
22972
22973
  // int64 last_val = 5;
22974
5.95k
  if (this->last_val() != 0) {
22975
5.95k
    total_size += 1 +
22976
5.95k
      ::google::protobuf::internal::WireFormatLite::Int64Size(
22977
5.95k
        this->last_val());
22978
5.95k
  }
22979
22980
  // int64 expected_last_val = 8;
22981
5.95k
  if (this->expected_last_val() != 0) {
22982
5.89k
    total_size += 1 +
22983
5.89k
      ::google::protobuf::internal::WireFormatLite::Int64Size(
22984
5.89k
        this->expected_last_val());
22985
5.89k
  }
22986
22987
  // bool is_called = 6;
22988
5.95k
  if (this->is_called() != 0) {
22989
5.91k
    total_size += 1 + 1;
22990
5.91k
  }
22991
22992
  // bool has_expected = 7;
22993
5.95k
  if (this->has_expected() != 0) {
22994
5.90k
    total_size += 1 + 1;
22995
5.90k
  }
22996
22997
  // bool expected_is_called = 9;
22998
5.95k
  if (this->expected_is_called() != 0) {
22999
5.47k
    total_size += 1 + 1;
23000
5.47k
  }
23001
23002
5.95k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
23003
5.95k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23004
5.95k
  _cached_size_ = cached_size;
23005
5.95k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
23006
5.95k
  return total_size;
23007
5.95k
}
23008
23009
0
void PgUpdateSequenceTupleRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
23010
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgUpdateSequenceTupleRequestPB)
23011
0
  GOOGLE_DCHECK_NE(&from, this);
23012
0
  const PgUpdateSequenceTupleRequestPB* source =
23013
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgUpdateSequenceTupleRequestPB>(
23014
0
          &from);
23015
0
  if (source == NULL) {
23016
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgUpdateSequenceTupleRequestPB)
23017
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
23018
0
  } else {
23019
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgUpdateSequenceTupleRequestPB)
23020
0
    MergeFrom(*source);
23021
0
  }
23022
0
}
23023
23024
0
void PgUpdateSequenceTupleRequestPB::MergeFrom(const PgUpdateSequenceTupleRequestPB& from) {
23025
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgUpdateSequenceTupleRequestPB)
23026
0
  GOOGLE_DCHECK_NE(&from, this);
23027
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
23028
0
  ::google::protobuf::uint32 cached_has_bits = 0;
23029
0
  (void) cached_has_bits;
23030
23031
0
  if (from.session_id() != 0) {
23032
0
    set_session_id(from.session_id());
23033
0
  }
23034
0
  if (from.db_oid() != 0) {
23035
0
    set_db_oid(from.db_oid());
23036
0
  }
23037
0
  if (from.seq_oid() != 0) {
23038
0
    set_seq_oid(from.seq_oid());
23039
0
  }
23040
0
  if (from.ysql_catalog_version() != 0) {
23041
0
    set_ysql_catalog_version(from.ysql_catalog_version());
23042
0
  }
23043
0
  if (from.last_val() != 0) {
23044
0
    set_last_val(from.last_val());
23045
0
  }
23046
0
  if (from.expected_last_val() != 0) {
23047
0
    set_expected_last_val(from.expected_last_val());
23048
0
  }
23049
0
  if (from.is_called() != 0) {
23050
0
    set_is_called(from.is_called());
23051
0
  }
23052
0
  if (from.has_expected() != 0) {
23053
0
    set_has_expected(from.has_expected());
23054
0
  }
23055
0
  if (from.expected_is_called() != 0) {
23056
0
    set_expected_is_called(from.expected_is_called());
23057
0
  }
23058
0
}
23059
23060
0
void PgUpdateSequenceTupleRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
23061
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgUpdateSequenceTupleRequestPB)
23062
0
  if (&from == this) return;
23063
0
  Clear();
23064
0
  MergeFrom(from);
23065
0
}
23066
23067
0
void PgUpdateSequenceTupleRequestPB::CopyFrom(const PgUpdateSequenceTupleRequestPB& from) {
23068
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgUpdateSequenceTupleRequestPB)
23069
0
  if (&from == this) return;
23070
0
  Clear();
23071
0
  MergeFrom(from);
23072
0
}
23073
23074
5.95k
bool PgUpdateSequenceTupleRequestPB::IsInitialized() const {
23075
5.95k
  return true;
23076
5.95k
}
23077
23078
0
void PgUpdateSequenceTupleRequestPB::Swap(PgUpdateSequenceTupleRequestPB* other) {
23079
0
  if (other == this) return;
23080
0
  InternalSwap(other);
23081
0
}
23082
0
void PgUpdateSequenceTupleRequestPB::InternalSwap(PgUpdateSequenceTupleRequestPB* other) {
23083
0
  using std::swap;
23084
0
  swap(session_id_, other->session_id_);
23085
0
  swap(db_oid_, other->db_oid_);
23086
0
  swap(seq_oid_, other->seq_oid_);
23087
0
  swap(ysql_catalog_version_, other->ysql_catalog_version_);
23088
0
  swap(last_val_, other->last_val_);
23089
0
  swap(expected_last_val_, other->expected_last_val_);
23090
0
  swap(is_called_, other->is_called_);
23091
0
  swap(has_expected_, other->has_expected_);
23092
0
  swap(expected_is_called_, other->expected_is_called_);
23093
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
23094
0
  swap(_cached_size_, other->_cached_size_);
23095
0
}
23096
23097
2.97k
::google::protobuf::Metadata PgUpdateSequenceTupleRequestPB::GetMetadata() const {
23098
2.97k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
23099
2.97k
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
23100
2.97k
}
23101
23102
23103
// ===================================================================
23104
23105
26.8k
void PgUpdateSequenceTupleResponsePB::InitAsDefaultInstance() {
23106
26.8k
  ::yb::tserver::_PgUpdateSequenceTupleResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
23107
26.8k
      ::yb::AppStatusPB::internal_default_instance());
23108
26.8k
}
23109
0
void PgUpdateSequenceTupleResponsePB::clear_status() {
23110
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
23111
0
    delete status_;
23112
0
  }
23113
0
  status_ = NULL;
23114
0
}
23115
#if !defined(_MSC_VER) || _MSC_VER >= 1900
23116
const int PgUpdateSequenceTupleResponsePB::kStatusFieldNumber;
23117
const int PgUpdateSequenceTupleResponsePB::kSkippedFieldNumber;
23118
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
23119
23120
PgUpdateSequenceTupleResponsePB::PgUpdateSequenceTupleResponsePB()
23121
32.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
23122
32.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
23123
5.95k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgUpdateSequenceTupleResponsePB();
23124
5.95k
  }
23125
32.8k
  SharedCtor();
23126
  // @@protoc_insertion_point(constructor:yb.tserver.PgUpdateSequenceTupleResponsePB)
23127
32.8k
}
23128
PgUpdateSequenceTupleResponsePB::PgUpdateSequenceTupleResponsePB(const PgUpdateSequenceTupleResponsePB& from)
23129
  : ::google::protobuf::Message(),
23130
      _internal_metadata_(NULL),
23131
0
      _cached_size_(0) {
23132
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
23133
0
  if (from.has_status()) {
23134
0
    status_ = new ::yb::AppStatusPB(*from.status_);
23135
0
  } else {
23136
0
    status_ = NULL;
23137
0
  }
23138
0
  skipped_ = from.skipped_;
23139
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgUpdateSequenceTupleResponsePB)
23140
0
}
23141
23142
32.8k
void PgUpdateSequenceTupleResponsePB::SharedCtor() {
23143
32.8k
  ::memset(&status_, 0, static_cast<size_t>(
23144
32.8k
      reinterpret_cast<char*>(&skipped_) -
23145
32.8k
      reinterpret_cast<char*>(&status_)) + sizeof(skipped_));
23146
32.8k
  _cached_size_ = 0;
23147
32.8k
}
23148
23149
5.95k
PgUpdateSequenceTupleResponsePB::~PgUpdateSequenceTupleResponsePB() {
23150
  // @@protoc_insertion_point(destructor:yb.tserver.PgUpdateSequenceTupleResponsePB)
23151
5.95k
  SharedDtor();
23152
5.95k
}
23153
23154
5.95k
void PgUpdateSequenceTupleResponsePB::SharedDtor() {
23155
5.95k
  if (this != internal_default_instance()) delete status_;
23156
5.95k
}
23157
23158
0
void PgUpdateSequenceTupleResponsePB::SetCachedSize(int size) const {
23159
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23160
0
  _cached_size_ = size;
23161
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
23162
0
}
23163
0
const ::google::protobuf::Descriptor* PgUpdateSequenceTupleResponsePB::descriptor() {
23164
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
23165
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
23166
0
}
23167
23168
0
const PgUpdateSequenceTupleResponsePB& PgUpdateSequenceTupleResponsePB::default_instance() {
23169
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgUpdateSequenceTupleResponsePB();
23170
0
  return *internal_default_instance();
23171
0
}
23172
23173
0
PgUpdateSequenceTupleResponsePB* PgUpdateSequenceTupleResponsePB::New(::google::protobuf::Arena* arena) const {
23174
0
  PgUpdateSequenceTupleResponsePB* n = new PgUpdateSequenceTupleResponsePB;
23175
0
  if (arena != NULL) {
23176
0
    arena->Own(n);
23177
0
  }
23178
0
  return n;
23179
0
}
23180
23181
2.97k
void PgUpdateSequenceTupleResponsePB::Clear() {
23182
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgUpdateSequenceTupleResponsePB)
23183
2.97k
  ::google::protobuf::uint32 cached_has_bits = 0;
23184
  // Prevent compiler warnings about cached_has_bits being unused
23185
2.97k
  (void) cached_has_bits;
23186
23187
2.97k
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
23188
0
    delete status_;
23189
0
  }
23190
2.97k
  status_ = NULL;
23191
2.97k
  skipped_ = false;
23192
2.97k
  _internal_metadata_.Clear();
23193
2.97k
}
23194
23195
bool PgUpdateSequenceTupleResponsePB::MergePartialFromCodedStream(
23196
2.97k
    ::google::protobuf::io::CodedInputStream* input) {
23197
2.97k
#define DO_(EXPRESSION) 
if (0
!GOOGLE_PREDICT_TRUE0
(EXPRESSION))
goto failure0
23198
2.97k
  ::google::protobuf::uint32 tag;
23199
  // @@protoc_insertion_point(parse_start:yb.tserver.PgUpdateSequenceTupleResponsePB)
23200
2.97k
  for (;;) {
23201
2.97k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
23202
2.97k
    tag = p.first;
23203
2.97k
    if (!p.second) goto handle_unusual;
23204
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
23205
      // .yb.AppStatusPB status = 1;
23206
0
      case 1: {
23207
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
23208
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
23209
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
23210
0
               input, mutable_status()));
23211
0
        } else {
23212
0
          goto handle_unusual;
23213
0
        }
23214
0
        break;
23215
0
      }
23216
23217
      // bool skipped = 2;
23218
0
      case 2: {
23219
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
23220
0
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
23221
23222
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
23223
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
23224
0
                 input, &skipped_)));
23225
0
        } else {
23226
0
          goto handle_unusual;
23227
0
        }
23228
0
        break;
23229
0
      }
23230
23231
0
      default: {
23232
2.97k
      handle_unusual:
23233
2.97k
        if (tag == 0) {
23234
2.97k
          goto success;
23235
2.97k
        }
23236
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
23237
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
23238
0
        break;
23239
0
      }
23240
0
    }
23241
0
  }
23242
2.97k
success:
23243
  // @@protoc_insertion_point(parse_success:yb.tserver.PgUpdateSequenceTupleResponsePB)
23244
2.97k
  return true;
23245
0
failure:
23246
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgUpdateSequenceTupleResponsePB)
23247
0
  return false;
23248
2.97k
#undef DO_
23249
2.97k
}
23250
23251
void PgUpdateSequenceTupleResponsePB::SerializeWithCachedSizes(
23252
0
    ::google::protobuf::io::CodedOutputStream* output) const {
23253
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgUpdateSequenceTupleResponsePB)
23254
0
  ::google::protobuf::uint32 cached_has_bits = 0;
23255
0
  (void) cached_has_bits;
23256
23257
  // .yb.AppStatusPB status = 1;
23258
0
  if (this->has_status()) {
23259
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
23260
0
      1, *this->status_, output);
23261
0
  }
23262
23263
  // bool skipped = 2;
23264
0
  if (this->skipped() != 0) {
23265
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->skipped(), output);
23266
0
  }
23267
23268
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
23269
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
23270
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
23271
0
  }
23272
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgUpdateSequenceTupleResponsePB)
23273
0
}
23274
23275
::google::protobuf::uint8* PgUpdateSequenceTupleResponsePB::InternalSerializeWithCachedSizesToArray(
23276
2.97k
    bool deterministic, ::google::protobuf::uint8* target) const {
23277
2.97k
  (void)deterministic; // Unused
23278
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgUpdateSequenceTupleResponsePB)
23279
2.97k
  ::google::protobuf::uint32 cached_has_bits = 0;
23280
2.97k
  (void) cached_has_bits;
23281
23282
  // .yb.AppStatusPB status = 1;
23283
2.97k
  if (this->has_status()) {
23284
0
    target = ::google::protobuf::internal::WireFormatLite::
23285
0
      InternalWriteMessageToArray(
23286
0
        1, *this->status_, deterministic, target);
23287
0
  }
23288
23289
  // bool skipped = 2;
23290
2.97k
  if (this->skipped() != 0) {
23291
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->skipped(), target);
23292
0
  }
23293
23294
2.97k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
23295
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
23296
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
23297
0
  }
23298
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgUpdateSequenceTupleResponsePB)
23299
2.97k
  return target;
23300
2.97k
}
23301
23302
5.95k
size_t PgUpdateSequenceTupleResponsePB::ByteSizeLong() const {
23303
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgUpdateSequenceTupleResponsePB)
23304
5.95k
  size_t total_size = 0;
23305
23306
5.95k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
23307
0
    total_size +=
23308
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
23309
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
23310
0
  }
23311
  // .yb.AppStatusPB status = 1;
23312
5.95k
  if (this->has_status()) {
23313
0
    total_size += 1 +
23314
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
23315
0
        *this->status_);
23316
0
  }
23317
23318
  // bool skipped = 2;
23319
5.95k
  if (this->skipped() != 0) {
23320
0
    total_size += 1 + 1;
23321
0
  }
23322
23323
5.95k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
23324
5.95k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23325
5.95k
  _cached_size_ = cached_size;
23326
5.95k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
23327
5.95k
  return total_size;
23328
5.95k
}
23329
23330
0
void PgUpdateSequenceTupleResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
23331
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgUpdateSequenceTupleResponsePB)
23332
0
  GOOGLE_DCHECK_NE(&from, this);
23333
0
  const PgUpdateSequenceTupleResponsePB* source =
23334
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgUpdateSequenceTupleResponsePB>(
23335
0
          &from);
23336
0
  if (source == NULL) {
23337
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgUpdateSequenceTupleResponsePB)
23338
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
23339
0
  } else {
23340
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgUpdateSequenceTupleResponsePB)
23341
0
    MergeFrom(*source);
23342
0
  }
23343
0
}
23344
23345
0
void PgUpdateSequenceTupleResponsePB::MergeFrom(const PgUpdateSequenceTupleResponsePB& from) {
23346
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgUpdateSequenceTupleResponsePB)
23347
0
  GOOGLE_DCHECK_NE(&from, this);
23348
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
23349
0
  ::google::protobuf::uint32 cached_has_bits = 0;
23350
0
  (void) cached_has_bits;
23351
23352
0
  if (from.has_status()) {
23353
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
23354
0
  }
23355
0
  if (from.skipped() != 0) {
23356
0
    set_skipped(from.skipped());
23357
0
  }
23358
0
}
23359
23360
0
void PgUpdateSequenceTupleResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
23361
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgUpdateSequenceTupleResponsePB)
23362
0
  if (&from == this) return;
23363
0
  Clear();
23364
0
  MergeFrom(from);
23365
0
}
23366
23367
0
void PgUpdateSequenceTupleResponsePB::CopyFrom(const PgUpdateSequenceTupleResponsePB& from) {
23368
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgUpdateSequenceTupleResponsePB)
23369
0
  if (&from == this) return;
23370
0
  Clear();
23371
0
  MergeFrom(from);
23372
0
}
23373
23374
5.95k
bool PgUpdateSequenceTupleResponsePB::IsInitialized() const {
23375
5.95k
  if (has_status()) {
23376
0
    if (!this->status_->IsInitialized()) return false;
23377
0
  }
23378
5.95k
  return true;
23379
5.95k
}
23380
23381
0
void PgUpdateSequenceTupleResponsePB::Swap(PgUpdateSequenceTupleResponsePB* other) {
23382
0
  if (other == this) return;
23383
0
  InternalSwap(other);
23384
0
}
23385
0
void PgUpdateSequenceTupleResponsePB::InternalSwap(PgUpdateSequenceTupleResponsePB* other) {
23386
0
  using std::swap;
23387
0
  swap(status_, other->status_);
23388
0
  swap(skipped_, other->skipped_);
23389
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
23390
0
  swap(_cached_size_, other->_cached_size_);
23391
0
}
23392
23393
0
::google::protobuf::Metadata PgUpdateSequenceTupleResponsePB::GetMetadata() const {
23394
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
23395
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
23396
0
}
23397
23398
23399
// ===================================================================
23400
23401
26.8k
void PgReadSequenceTupleRequestPB::InitAsDefaultInstance() {
23402
26.8k
}
23403
#if !defined(_MSC_VER) || _MSC_VER >= 1900
23404
const int PgReadSequenceTupleRequestPB::kSessionIdFieldNumber;
23405
const int PgReadSequenceTupleRequestPB::kDbOidFieldNumber;
23406
const int PgReadSequenceTupleRequestPB::kSeqOidFieldNumber;
23407
const int PgReadSequenceTupleRequestPB::kYsqlCatalogVersionFieldNumber;
23408
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
23409
23410
PgReadSequenceTupleRequestPB::PgReadSequenceTupleRequestPB()
23411
33.3k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
23412
33.3k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
23413
6.46k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgReadSequenceTupleRequestPB();
23414
6.46k
  }
23415
33.3k
  SharedCtor();
23416
  // @@protoc_insertion_point(constructor:yb.tserver.PgReadSequenceTupleRequestPB)
23417
33.3k
}
23418
PgReadSequenceTupleRequestPB::PgReadSequenceTupleRequestPB(const PgReadSequenceTupleRequestPB& from)
23419
  : ::google::protobuf::Message(),
23420
      _internal_metadata_(NULL),
23421
0
      _cached_size_(0) {
23422
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
23423
0
  ::memcpy(&session_id_, &from.session_id_,
23424
0
    static_cast<size_t>(reinterpret_cast<char*>(&ysql_catalog_version_) -
23425
0
    reinterpret_cast<char*>(&session_id_)) + sizeof(ysql_catalog_version_));
23426
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgReadSequenceTupleRequestPB)
23427
0
}
23428
23429
33.3k
void PgReadSequenceTupleRequestPB::SharedCtor() {
23430
33.3k
  ::memset(&session_id_, 0, static_cast<size_t>(
23431
33.3k
      reinterpret_cast<char*>(&ysql_catalog_version_) -
23432
33.3k
      reinterpret_cast<char*>(&session_id_)) + sizeof(ysql_catalog_version_));
23433
33.3k
  _cached_size_ = 0;
23434
33.3k
}
23435
23436
6.46k
PgReadSequenceTupleRequestPB::~PgReadSequenceTupleRequestPB() {
23437
  // @@protoc_insertion_point(destructor:yb.tserver.PgReadSequenceTupleRequestPB)
23438
6.46k
  SharedDtor();
23439
6.46k
}
23440
23441
6.46k
void PgReadSequenceTupleRequestPB::SharedDtor() {
23442
6.46k
}
23443
23444
0
void PgReadSequenceTupleRequestPB::SetCachedSize(int size) const {
23445
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23446
0
  _cached_size_ = size;
23447
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
23448
0
}
23449
0
const ::google::protobuf::Descriptor* PgReadSequenceTupleRequestPB::descriptor() {
23450
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
23451
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
23452
0
}
23453
23454
0
const PgReadSequenceTupleRequestPB& PgReadSequenceTupleRequestPB::default_instance() {
23455
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgReadSequenceTupleRequestPB();
23456
0
  return *internal_default_instance();
23457
0
}
23458
23459
0
PgReadSequenceTupleRequestPB* PgReadSequenceTupleRequestPB::New(::google::protobuf::Arena* arena) const {
23460
0
  PgReadSequenceTupleRequestPB* n = new PgReadSequenceTupleRequestPB;
23461
0
  if (arena != NULL) {
23462
0
    arena->Own(n);
23463
0
  }
23464
0
  return n;
23465
0
}
23466
23467
3.23k
void PgReadSequenceTupleRequestPB::Clear() {
23468
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgReadSequenceTupleRequestPB)
23469
3.23k
  ::google::protobuf::uint32 cached_has_bits = 0;
23470
  // Prevent compiler warnings about cached_has_bits being unused
23471
3.23k
  (void) cached_has_bits;
23472
23473
3.23k
  ::memset(&session_id_, 0, static_cast<size_t>(
23474
3.23k
      reinterpret_cast<char*>(&ysql_catalog_version_) -
23475
3.23k
      reinterpret_cast<char*>(&session_id_)) + sizeof(ysql_catalog_version_));
23476
3.23k
  _internal_metadata_.Clear();
23477
3.23k
}
23478
23479
bool PgReadSequenceTupleRequestPB::MergePartialFromCodedStream(
23480
3.23k
    ::google::protobuf::io::CodedInputStream* input) {
23481
12.9k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
23482
3.23k
  ::google::protobuf::uint32 tag;
23483
  // @@protoc_insertion_point(parse_start:yb.tserver.PgReadSequenceTupleRequestPB)
23484
16.1k
  for (;;) {
23485
16.1k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
23486
16.1k
    tag = p.first;
23487
16.1k
    if (!p.second) 
goto handle_unusual3.23k
;
23488
12.9k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
23489
      // uint64 session_id = 1;
23490
3.23k
      case 1: {
23491
3.23k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
23492
3.23k
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
23493
23494
3.23k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
23495
3.23k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
23496
3.23k
                 input, &session_id_)));
23497
3.23k
        } else {
23498
0
          goto handle_unusual;
23499
0
        }
23500
3.23k
        break;
23501
3.23k
      }
23502
23503
      // int64 db_oid = 2;
23504
3.23k
      case 2: {
23505
3.23k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
23506
3.23k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
23507
23508
3.23k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
23509
3.23k
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
23510
3.23k
                 input, &db_oid_)));
23511
3.23k
        } else {
23512
0
          goto handle_unusual;
23513
0
        }
23514
3.23k
        break;
23515
3.23k
      }
23516
23517
      // int64 seq_oid = 3;
23518
3.23k
      case 3: {
23519
3.23k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
23520
3.23k
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
23521
23522
3.23k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
23523
3.23k
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
23524
3.23k
                 input, &seq_oid_)));
23525
3.23k
        } else {
23526
0
          goto handle_unusual;
23527
0
        }
23528
3.23k
        break;
23529
3.23k
      }
23530
23531
      // uint64 ysql_catalog_version = 4;
23532
3.23k
      case 4: {
23533
3.23k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
23534
3.23k
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
23535
23536
3.23k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
23537
3.23k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
23538
3.23k
                 input, &ysql_catalog_version_)));
23539
3.23k
        } else {
23540
0
          goto handle_unusual;
23541
0
        }
23542
3.23k
        break;
23543
3.23k
      }
23544
23545
3.23k
      default: {
23546
3.23k
      handle_unusual:
23547
3.23k
        if (tag == 0) {
23548
3.23k
          goto success;
23549
3.23k
        }
23550
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
23551
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
23552
0
        break;
23553
0
      }
23554
12.9k
    }
23555
12.9k
  }
23556
3.23k
success:
23557
  // @@protoc_insertion_point(parse_success:yb.tserver.PgReadSequenceTupleRequestPB)
23558
3.23k
  return true;
23559
0
failure:
23560
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgReadSequenceTupleRequestPB)
23561
0
  return false;
23562
3.23k
#undef DO_
23563
3.23k
}
23564
23565
void PgReadSequenceTupleRequestPB::SerializeWithCachedSizes(
23566
0
    ::google::protobuf::io::CodedOutputStream* output) const {
23567
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgReadSequenceTupleRequestPB)
23568
0
  ::google::protobuf::uint32 cached_has_bits = 0;
23569
0
  (void) cached_has_bits;
23570
23571
  // uint64 session_id = 1;
23572
0
  if (this->session_id() != 0) {
23573
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
23574
0
  }
23575
23576
  // int64 db_oid = 2;
23577
0
  if (this->db_oid() != 0) {
23578
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->db_oid(), output);
23579
0
  }
23580
23581
  // int64 seq_oid = 3;
23582
0
  if (this->seq_oid() != 0) {
23583
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->seq_oid(), output);
23584
0
  }
23585
23586
  // uint64 ysql_catalog_version = 4;
23587
0
  if (this->ysql_catalog_version() != 0) {
23588
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(4, this->ysql_catalog_version(), output);
23589
0
  }
23590
23591
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
23592
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
23593
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
23594
0
  }
23595
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgReadSequenceTupleRequestPB)
23596
0
}
23597
23598
::google::protobuf::uint8* PgReadSequenceTupleRequestPB::InternalSerializeWithCachedSizesToArray(
23599
3.23k
    bool deterministic, ::google::protobuf::uint8* target) const {
23600
3.23k
  (void)deterministic; // Unused
23601
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgReadSequenceTupleRequestPB)
23602
3.23k
  ::google::protobuf::uint32 cached_has_bits = 0;
23603
3.23k
  (void) cached_has_bits;
23604
23605
  // uint64 session_id = 1;
23606
3.23k
  if (this->session_id() != 0) {
23607
3.23k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
23608
3.23k
  }
23609
23610
  // int64 db_oid = 2;
23611
3.23k
  if (this->db_oid() != 0) {
23612
3.23k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->db_oid(), target);
23613
3.23k
  }
23614
23615
  // int64 seq_oid = 3;
23616
3.23k
  if (this->seq_oid() != 0) {
23617
3.23k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(3, this->seq_oid(), target);
23618
3.23k
  }
23619
23620
  // uint64 ysql_catalog_version = 4;
23621
3.23k
  if (this->ysql_catalog_version() != 0) {
23622
3.23k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(4, this->ysql_catalog_version(), target);
23623
3.23k
  }
23624
23625
3.23k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
23626
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
23627
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
23628
0
  }
23629
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgReadSequenceTupleRequestPB)
23630
3.23k
  return target;
23631
3.23k
}
23632
23633
6.46k
size_t PgReadSequenceTupleRequestPB::ByteSizeLong() const {
23634
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgReadSequenceTupleRequestPB)
23635
6.46k
  size_t total_size = 0;
23636
23637
6.46k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
23638
0
    total_size +=
23639
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
23640
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
23641
0
  }
23642
  // uint64 session_id = 1;
23643
6.46k
  if (this->session_id() != 0) {
23644
6.46k
    total_size += 1 +
23645
6.46k
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
23646
6.46k
        this->session_id());
23647
6.46k
  }
23648
23649
  // int64 db_oid = 2;
23650
6.46k
  if (this->db_oid() != 0) {
23651
6.46k
    total_size += 1 +
23652
6.46k
      ::google::protobuf::internal::WireFormatLite::Int64Size(
23653
6.46k
        this->db_oid());
23654
6.46k
  }
23655
23656
  // int64 seq_oid = 3;
23657
6.46k
  if (this->seq_oid() != 0) {
23658
6.46k
    total_size += 1 +
23659
6.46k
      ::google::protobuf::internal::WireFormatLite::Int64Size(
23660
6.46k
        this->seq_oid());
23661
6.46k
  }
23662
23663
  // uint64 ysql_catalog_version = 4;
23664
6.46k
  if (this->ysql_catalog_version() != 0) {
23665
6.46k
    total_size += 1 +
23666
6.46k
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
23667
6.46k
        this->ysql_catalog_version());
23668
6.46k
  }
23669
23670
6.46k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
23671
6.46k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23672
6.46k
  _cached_size_ = cached_size;
23673
6.46k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
23674
6.46k
  return total_size;
23675
6.46k
}
23676
23677
0
void PgReadSequenceTupleRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
23678
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgReadSequenceTupleRequestPB)
23679
0
  GOOGLE_DCHECK_NE(&from, this);
23680
0
  const PgReadSequenceTupleRequestPB* source =
23681
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgReadSequenceTupleRequestPB>(
23682
0
          &from);
23683
0
  if (source == NULL) {
23684
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgReadSequenceTupleRequestPB)
23685
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
23686
0
  } else {
23687
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgReadSequenceTupleRequestPB)
23688
0
    MergeFrom(*source);
23689
0
  }
23690
0
}
23691
23692
0
void PgReadSequenceTupleRequestPB::MergeFrom(const PgReadSequenceTupleRequestPB& from) {
23693
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgReadSequenceTupleRequestPB)
23694
0
  GOOGLE_DCHECK_NE(&from, this);
23695
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
23696
0
  ::google::protobuf::uint32 cached_has_bits = 0;
23697
0
  (void) cached_has_bits;
23698
23699
0
  if (from.session_id() != 0) {
23700
0
    set_session_id(from.session_id());
23701
0
  }
23702
0
  if (from.db_oid() != 0) {
23703
0
    set_db_oid(from.db_oid());
23704
0
  }
23705
0
  if (from.seq_oid() != 0) {
23706
0
    set_seq_oid(from.seq_oid());
23707
0
  }
23708
0
  if (from.ysql_catalog_version() != 0) {
23709
0
    set_ysql_catalog_version(from.ysql_catalog_version());
23710
0
  }
23711
0
}
23712
23713
0
void PgReadSequenceTupleRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
23714
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgReadSequenceTupleRequestPB)
23715
0
  if (&from == this) return;
23716
0
  Clear();
23717
0
  MergeFrom(from);
23718
0
}
23719
23720
0
void PgReadSequenceTupleRequestPB::CopyFrom(const PgReadSequenceTupleRequestPB& from) {
23721
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgReadSequenceTupleRequestPB)
23722
0
  if (&from == this) return;
23723
0
  Clear();
23724
0
  MergeFrom(from);
23725
0
}
23726
23727
6.46k
bool PgReadSequenceTupleRequestPB::IsInitialized() const {
23728
6.46k
  return true;
23729
6.46k
}
23730
23731
0
void PgReadSequenceTupleRequestPB::Swap(PgReadSequenceTupleRequestPB* other) {
23732
0
  if (other == this) return;
23733
0
  InternalSwap(other);
23734
0
}
23735
0
void PgReadSequenceTupleRequestPB::InternalSwap(PgReadSequenceTupleRequestPB* other) {
23736
0
  using std::swap;
23737
0
  swap(session_id_, other->session_id_);
23738
0
  swap(db_oid_, other->db_oid_);
23739
0
  swap(seq_oid_, other->seq_oid_);
23740
0
  swap(ysql_catalog_version_, other->ysql_catalog_version_);
23741
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
23742
0
  swap(_cached_size_, other->_cached_size_);
23743
0
}
23744
23745
3.23k
::google::protobuf::Metadata PgReadSequenceTupleRequestPB::GetMetadata() const {
23746
3.23k
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
23747
3.23k
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
23748
3.23k
}
23749
23750
23751
// ===================================================================
23752
23753
26.8k
void PgReadSequenceTupleResponsePB::InitAsDefaultInstance() {
23754
26.8k
  ::yb::tserver::_PgReadSequenceTupleResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
23755
26.8k
      ::yb::AppStatusPB::internal_default_instance());
23756
26.8k
}
23757
0
void PgReadSequenceTupleResponsePB::clear_status() {
23758
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
23759
0
    delete status_;
23760
0
  }
23761
0
  status_ = NULL;
23762
0
}
23763
#if !defined(_MSC_VER) || _MSC_VER >= 1900
23764
const int PgReadSequenceTupleResponsePB::kStatusFieldNumber;
23765
const int PgReadSequenceTupleResponsePB::kLastValFieldNumber;
23766
const int PgReadSequenceTupleResponsePB::kIsCalledFieldNumber;
23767
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
23768
23769
PgReadSequenceTupleResponsePB::PgReadSequenceTupleResponsePB()
23770
33.3k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
23771
33.3k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
23772
6.46k
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgReadSequenceTupleResponsePB();
23773
6.46k
  }
23774
33.3k
  SharedCtor();
23775
  // @@protoc_insertion_point(constructor:yb.tserver.PgReadSequenceTupleResponsePB)
23776
33.3k
}
23777
PgReadSequenceTupleResponsePB::PgReadSequenceTupleResponsePB(const PgReadSequenceTupleResponsePB& from)
23778
  : ::google::protobuf::Message(),
23779
      _internal_metadata_(NULL),
23780
0
      _cached_size_(0) {
23781
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
23782
0
  if (from.has_status()) {
23783
0
    status_ = new ::yb::AppStatusPB(*from.status_);
23784
0
  } else {
23785
0
    status_ = NULL;
23786
0
  }
23787
0
  ::memcpy(&last_val_, &from.last_val_,
23788
0
    static_cast<size_t>(reinterpret_cast<char*>(&is_called_) -
23789
0
    reinterpret_cast<char*>(&last_val_)) + sizeof(is_called_));
23790
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgReadSequenceTupleResponsePB)
23791
0
}
23792
23793
33.3k
void PgReadSequenceTupleResponsePB::SharedCtor() {
23794
33.3k
  ::memset(&status_, 0, static_cast<size_t>(
23795
33.3k
      reinterpret_cast<char*>(&is_called_) -
23796
33.3k
      reinterpret_cast<char*>(&status_)) + sizeof(is_called_));
23797
33.3k
  _cached_size_ = 0;
23798
33.3k
}
23799
23800
6.46k
PgReadSequenceTupleResponsePB::~PgReadSequenceTupleResponsePB() {
23801
  // @@protoc_insertion_point(destructor:yb.tserver.PgReadSequenceTupleResponsePB)
23802
6.46k
  SharedDtor();
23803
6.46k
}
23804
23805
6.46k
void PgReadSequenceTupleResponsePB::SharedDtor() {
23806
6.46k
  if (this != internal_default_instance()) delete status_;
23807
6.46k
}
23808
23809
0
void PgReadSequenceTupleResponsePB::SetCachedSize(int size) const {
23810
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23811
0
  _cached_size_ = size;
23812
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
23813
0
}
23814
0
const ::google::protobuf::Descriptor* PgReadSequenceTupleResponsePB::descriptor() {
23815
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
23816
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
23817
0
}
23818
23819
0
const PgReadSequenceTupleResponsePB& PgReadSequenceTupleResponsePB::default_instance() {
23820
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgReadSequenceTupleResponsePB();
23821
0
  return *internal_default_instance();
23822
0
}
23823
23824
0
PgReadSequenceTupleResponsePB* PgReadSequenceTupleResponsePB::New(::google::protobuf::Arena* arena) const {
23825
0
  PgReadSequenceTupleResponsePB* n = new PgReadSequenceTupleResponsePB;
23826
0
  if (arena != NULL) {
23827
0
    arena->Own(n);
23828
0
  }
23829
0
  return n;
23830
0
}
23831
23832
3.23k
void PgReadSequenceTupleResponsePB::Clear() {
23833
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgReadSequenceTupleResponsePB)
23834
3.23k
  ::google::protobuf::uint32 cached_has_bits = 0;
23835
  // Prevent compiler warnings about cached_has_bits being unused
23836
3.23k
  (void) cached_has_bits;
23837
23838
3.23k
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
23839
0
    delete status_;
23840
0
  }
23841
3.23k
  status_ = NULL;
23842
3.23k
  ::memset(&last_val_, 0, static_cast<size_t>(
23843
3.23k
      reinterpret_cast<char*>(&is_called_) -
23844
3.23k
      reinterpret_cast<char*>(&last_val_)) + sizeof(is_called_));
23845
3.23k
  _internal_metadata_.Clear();
23846
3.23k
}
23847
23848
bool PgReadSequenceTupleResponsePB::MergePartialFromCodedStream(
23849
3.23k
    ::google::protobuf::io::CodedInputStream* input) {
23850
6.05k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
23851
3.23k
  ::google::protobuf::uint32 tag;
23852
  // @@protoc_insertion_point(parse_start:yb.tserver.PgReadSequenceTupleResponsePB)
23853
9.28k
  for (;;) {
23854
9.28k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
23855
9.28k
    tag = p.first;
23856
9.28k
    if (!p.second) 
goto handle_unusual3.23k
;
23857
6.05k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
23858
      // .yb.AppStatusPB status = 1;
23859
0
      case 1: {
23860
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
23861
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
23862
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
23863
0
               input, mutable_status()));
23864
0
        } else {
23865
0
          goto handle_unusual;
23866
0
        }
23867
0
        break;
23868
0
      }
23869
23870
      // int64 last_val = 2;
23871
3.22k
      case 2: {
23872
3.22k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
23873
3.22k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
23874
23875
3.22k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
23876
3.22k
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
23877
3.22k
                 input, &last_val_)));
23878
3.22k
        } else {
23879
0
          goto handle_unusual;
23880
0
        }
23881
3.22k
        break;
23882
3.22k
      }
23883
23884
      // bool is_called = 3;
23885
3.22k
      case 3: {
23886
2.83k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
23887
2.83k
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
23888
23889
2.83k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
23890
2.83k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
23891
2.83k
                 input, &is_called_)));
23892
2.83k
        } else {
23893
0
          goto handle_unusual;
23894
0
        }
23895
2.83k
        break;
23896
2.83k
      }
23897
23898
2.83k
      default: {
23899
3.23k
      handle_unusual:
23900
3.23k
        if (tag == 0) {
23901
3.23k
          goto success;
23902
3.23k
        }
23903
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
23904
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
23905
0
        break;
23906
0
      }
23907
6.05k
    }
23908
6.05k
  }
23909
3.23k
success:
23910
  // @@protoc_insertion_point(parse_success:yb.tserver.PgReadSequenceTupleResponsePB)
23911
3.23k
  return true;
23912
0
failure:
23913
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgReadSequenceTupleResponsePB)
23914
0
  return false;
23915
3.23k
#undef DO_
23916
3.23k
}
23917
23918
void PgReadSequenceTupleResponsePB::SerializeWithCachedSizes(
23919
0
    ::google::protobuf::io::CodedOutputStream* output) const {
23920
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgReadSequenceTupleResponsePB)
23921
0
  ::google::protobuf::uint32 cached_has_bits = 0;
23922
0
  (void) cached_has_bits;
23923
23924
  // .yb.AppStatusPB status = 1;
23925
0
  if (this->has_status()) {
23926
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
23927
0
      1, *this->status_, output);
23928
0
  }
23929
23930
  // int64 last_val = 2;
23931
0
  if (this->last_val() != 0) {
23932
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->last_val(), output);
23933
0
  }
23934
23935
  // bool is_called = 3;
23936
0
  if (this->is_called() != 0) {
23937
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->is_called(), output);
23938
0
  }
23939
23940
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
23941
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
23942
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
23943
0
  }
23944
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgReadSequenceTupleResponsePB)
23945
0
}
23946
23947
::google::protobuf::uint8* PgReadSequenceTupleResponsePB::InternalSerializeWithCachedSizesToArray(
23948
3.23k
    bool deterministic, ::google::protobuf::uint8* target) const {
23949
3.23k
  (void)deterministic; // Unused
23950
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgReadSequenceTupleResponsePB)
23951
3.23k
  ::google::protobuf::uint32 cached_has_bits = 0;
23952
3.23k
  (void) cached_has_bits;
23953
23954
  // .yb.AppStatusPB status = 1;
23955
3.23k
  if (this->has_status()) {
23956
0
    target = ::google::protobuf::internal::WireFormatLite::
23957
0
      InternalWriteMessageToArray(
23958
0
        1, *this->status_, deterministic, target);
23959
0
  }
23960
23961
  // int64 last_val = 2;
23962
3.23k
  if (this->last_val() != 0) {
23963
3.22k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->last_val(), target);
23964
3.22k
  }
23965
23966
  // bool is_called = 3;
23967
3.23k
  if (this->is_called() != 0) {
23968
2.83k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->is_called(), target);
23969
2.83k
  }
23970
23971
3.23k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
23972
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
23973
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
23974
0
  }
23975
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgReadSequenceTupleResponsePB)
23976
3.23k
  return target;
23977
3.23k
}
23978
23979
6.46k
size_t PgReadSequenceTupleResponsePB::ByteSizeLong() const {
23980
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgReadSequenceTupleResponsePB)
23981
6.46k
  size_t total_size = 0;
23982
23983
6.46k
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
23984
0
    total_size +=
23985
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
23986
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
23987
0
  }
23988
  // .yb.AppStatusPB status = 1;
23989
6.46k
  if (this->has_status()) {
23990
0
    total_size += 1 +
23991
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
23992
0
        *this->status_);
23993
0
  }
23994
23995
  // int64 last_val = 2;
23996
6.46k
  if (this->last_val() != 0) {
23997
6.45k
    total_size += 1 +
23998
6.45k
      ::google::protobuf::internal::WireFormatLite::Int64Size(
23999
6.45k
        this->last_val());
24000
6.45k
  }
24001
24002
  // bool is_called = 3;
24003
6.46k
  if (this->is_called() != 0) {
24004
5.66k
    total_size += 1 + 1;
24005
5.66k
  }
24006
24007
6.46k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
24008
6.46k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24009
6.46k
  _cached_size_ = cached_size;
24010
6.46k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
24011
6.46k
  return total_size;
24012
6.46k
}
24013
24014
0
void PgReadSequenceTupleResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
24015
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgReadSequenceTupleResponsePB)
24016
0
  GOOGLE_DCHECK_NE(&from, this);
24017
0
  const PgReadSequenceTupleResponsePB* source =
24018
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgReadSequenceTupleResponsePB>(
24019
0
          &from);
24020
0
  if (source == NULL) {
24021
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgReadSequenceTupleResponsePB)
24022
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
24023
0
  } else {
24024
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgReadSequenceTupleResponsePB)
24025
0
    MergeFrom(*source);
24026
0
  }
24027
0
}
24028
24029
0
void PgReadSequenceTupleResponsePB::MergeFrom(const PgReadSequenceTupleResponsePB& from) {
24030
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgReadSequenceTupleResponsePB)
24031
0
  GOOGLE_DCHECK_NE(&from, this);
24032
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
24033
0
  ::google::protobuf::uint32 cached_has_bits = 0;
24034
0
  (void) cached_has_bits;
24035
24036
0
  if (from.has_status()) {
24037
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
24038
0
  }
24039
0
  if (from.last_val() != 0) {
24040
0
    set_last_val(from.last_val());
24041
0
  }
24042
0
  if (from.is_called() != 0) {
24043
0
    set_is_called(from.is_called());
24044
0
  }
24045
0
}
24046
24047
0
void PgReadSequenceTupleResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
24048
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgReadSequenceTupleResponsePB)
24049
0
  if (&from == this) return;
24050
0
  Clear();
24051
0
  MergeFrom(from);
24052
0
}
24053
24054
0
void PgReadSequenceTupleResponsePB::CopyFrom(const PgReadSequenceTupleResponsePB& from) {
24055
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgReadSequenceTupleResponsePB)
24056
0
  if (&from == this) return;
24057
0
  Clear();
24058
0
  MergeFrom(from);
24059
0
}
24060
24061
6.46k
bool PgReadSequenceTupleResponsePB::IsInitialized() const {
24062
6.46k
  if (has_status()) {
24063
0
    if (!this->status_->IsInitialized()) return false;
24064
0
  }
24065
6.46k
  return true;
24066
6.46k
}
24067
24068
0
void PgReadSequenceTupleResponsePB::Swap(PgReadSequenceTupleResponsePB* other) {
24069
0
  if (other == this) return;
24070
0
  InternalSwap(other);
24071
0
}
24072
0
void PgReadSequenceTupleResponsePB::InternalSwap(PgReadSequenceTupleResponsePB* other) {
24073
0
  using std::swap;
24074
0
  swap(status_, other->status_);
24075
0
  swap(last_val_, other->last_val_);
24076
0
  swap(is_called_, other->is_called_);
24077
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
24078
0
  swap(_cached_size_, other->_cached_size_);
24079
0
}
24080
24081
0
::google::protobuf::Metadata PgReadSequenceTupleResponsePB::GetMetadata() const {
24082
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
24083
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
24084
0
}
24085
24086
24087
// ===================================================================
24088
24089
26.8k
void PgDeleteSequenceTupleRequestPB::InitAsDefaultInstance() {
24090
26.8k
}
24091
#if !defined(_MSC_VER) || _MSC_VER >= 1900
24092
const int PgDeleteSequenceTupleRequestPB::kSessionIdFieldNumber;
24093
const int PgDeleteSequenceTupleRequestPB::kDbOidFieldNumber;
24094
const int PgDeleteSequenceTupleRequestPB::kSeqOidFieldNumber;
24095
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
24096
24097
PgDeleteSequenceTupleRequestPB::PgDeleteSequenceTupleRequestPB()
24098
27.4k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
24099
27.4k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
24100
564
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDeleteSequenceTupleRequestPB();
24101
564
  }
24102
27.4k
  SharedCtor();
24103
  // @@protoc_insertion_point(constructor:yb.tserver.PgDeleteSequenceTupleRequestPB)
24104
27.4k
}
24105
PgDeleteSequenceTupleRequestPB::PgDeleteSequenceTupleRequestPB(const PgDeleteSequenceTupleRequestPB& from)
24106
  : ::google::protobuf::Message(),
24107
      _internal_metadata_(NULL),
24108
0
      _cached_size_(0) {
24109
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
24110
0
  ::memcpy(&session_id_, &from.session_id_,
24111
0
    static_cast<size_t>(reinterpret_cast<char*>(&seq_oid_) -
24112
0
    reinterpret_cast<char*>(&session_id_)) + sizeof(seq_oid_));
24113
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgDeleteSequenceTupleRequestPB)
24114
0
}
24115
24116
27.4k
void PgDeleteSequenceTupleRequestPB::SharedCtor() {
24117
27.4k
  ::memset(&session_id_, 0, static_cast<size_t>(
24118
27.4k
      reinterpret_cast<char*>(&seq_oid_) -
24119
27.4k
      reinterpret_cast<char*>(&session_id_)) + sizeof(seq_oid_));
24120
27.4k
  _cached_size_ = 0;
24121
27.4k
}
24122
24123
564
PgDeleteSequenceTupleRequestPB::~PgDeleteSequenceTupleRequestPB() {
24124
  // @@protoc_insertion_point(destructor:yb.tserver.PgDeleteSequenceTupleRequestPB)
24125
564
  SharedDtor();
24126
564
}
24127
24128
564
void PgDeleteSequenceTupleRequestPB::SharedDtor() {
24129
564
}
24130
24131
0
void PgDeleteSequenceTupleRequestPB::SetCachedSize(int size) const {
24132
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24133
0
  _cached_size_ = size;
24134
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
24135
0
}
24136
0
const ::google::protobuf::Descriptor* PgDeleteSequenceTupleRequestPB::descriptor() {
24137
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
24138
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
24139
0
}
24140
24141
0
const PgDeleteSequenceTupleRequestPB& PgDeleteSequenceTupleRequestPB::default_instance() {
24142
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDeleteSequenceTupleRequestPB();
24143
0
  return *internal_default_instance();
24144
0
}
24145
24146
0
PgDeleteSequenceTupleRequestPB* PgDeleteSequenceTupleRequestPB::New(::google::protobuf::Arena* arena) const {
24147
0
  PgDeleteSequenceTupleRequestPB* n = new PgDeleteSequenceTupleRequestPB;
24148
0
  if (arena != NULL) {
24149
0
    arena->Own(n);
24150
0
  }
24151
0
  return n;
24152
0
}
24153
24154
282
void PgDeleteSequenceTupleRequestPB::Clear() {
24155
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgDeleteSequenceTupleRequestPB)
24156
282
  ::google::protobuf::uint32 cached_has_bits = 0;
24157
  // Prevent compiler warnings about cached_has_bits being unused
24158
282
  (void) cached_has_bits;
24159
24160
282
  ::memset(&session_id_, 0, static_cast<size_t>(
24161
282
      reinterpret_cast<char*>(&seq_oid_) -
24162
282
      reinterpret_cast<char*>(&session_id_)) + sizeof(seq_oid_));
24163
282
  _internal_metadata_.Clear();
24164
282
}
24165
24166
bool PgDeleteSequenceTupleRequestPB::MergePartialFromCodedStream(
24167
282
    ::google::protobuf::io::CodedInputStream* input) {
24168
846
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
24169
282
  ::google::protobuf::uint32 tag;
24170
  // @@protoc_insertion_point(parse_start:yb.tserver.PgDeleteSequenceTupleRequestPB)
24171
1.12k
  for (;;) {
24172
1.12k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
24173
1.12k
    tag = p.first;
24174
1.12k
    if (!p.second) 
goto handle_unusual282
;
24175
846
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
24176
      // uint64 session_id = 1;
24177
282
      case 1: {
24178
282
        if (static_cast< ::google::protobuf::uint8>(tag) ==
24179
282
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
24180
24181
282
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
24182
282
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
24183
282
                 input, &session_id_)));
24184
282
        } else {
24185
0
          goto handle_unusual;
24186
0
        }
24187
282
        break;
24188
282
      }
24189
24190
      // int64 db_oid = 2;
24191
282
      case 2: {
24192
282
        if (static_cast< ::google::protobuf::uint8>(tag) ==
24193
282
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
24194
24195
282
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
24196
282
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
24197
282
                 input, &db_oid_)));
24198
282
        } else {
24199
0
          goto handle_unusual;
24200
0
        }
24201
282
        break;
24202
282
      }
24203
24204
      // int64 seq_oid = 3;
24205
282
      case 3: {
24206
282
        if (static_cast< ::google::protobuf::uint8>(tag) ==
24207
282
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
24208
24209
282
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
24210
282
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
24211
282
                 input, &seq_oid_)));
24212
282
        } else {
24213
0
          goto handle_unusual;
24214
0
        }
24215
282
        break;
24216
282
      }
24217
24218
282
      default: {
24219
282
      handle_unusual:
24220
282
        if (tag == 0) {
24221
282
          goto success;
24222
282
        }
24223
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
24224
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
24225
0
        break;
24226
0
      }
24227
846
    }
24228
846
  }
24229
282
success:
24230
  // @@protoc_insertion_point(parse_success:yb.tserver.PgDeleteSequenceTupleRequestPB)
24231
282
  return true;
24232
0
failure:
24233
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgDeleteSequenceTupleRequestPB)
24234
0
  return false;
24235
282
#undef DO_
24236
282
}
24237
24238
void PgDeleteSequenceTupleRequestPB::SerializeWithCachedSizes(
24239
0
    ::google::protobuf::io::CodedOutputStream* output) const {
24240
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgDeleteSequenceTupleRequestPB)
24241
0
  ::google::protobuf::uint32 cached_has_bits = 0;
24242
0
  (void) cached_has_bits;
24243
24244
  // uint64 session_id = 1;
24245
0
  if (this->session_id() != 0) {
24246
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
24247
0
  }
24248
24249
  // int64 db_oid = 2;
24250
0
  if (this->db_oid() != 0) {
24251
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->db_oid(), output);
24252
0
  }
24253
24254
  // int64 seq_oid = 3;
24255
0
  if (this->seq_oid() != 0) {
24256
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->seq_oid(), output);
24257
0
  }
24258
24259
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
24260
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
24261
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
24262
0
  }
24263
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgDeleteSequenceTupleRequestPB)
24264
0
}
24265
24266
::google::protobuf::uint8* PgDeleteSequenceTupleRequestPB::InternalSerializeWithCachedSizesToArray(
24267
282
    bool deterministic, ::google::protobuf::uint8* target) const {
24268
282
  (void)deterministic; // Unused
24269
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgDeleteSequenceTupleRequestPB)
24270
282
  ::google::protobuf::uint32 cached_has_bits = 0;
24271
282
  (void) cached_has_bits;
24272
24273
  // uint64 session_id = 1;
24274
282
  if (this->session_id() != 0) {
24275
282
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
24276
282
  }
24277
24278
  // int64 db_oid = 2;
24279
282
  if (this->db_oid() != 0) {
24280
282
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->db_oid(), target);
24281
282
  }
24282
24283
  // int64 seq_oid = 3;
24284
282
  if (this->seq_oid() != 0) {
24285
282
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(3, this->seq_oid(), target);
24286
282
  }
24287
24288
282
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
24289
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
24290
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
24291
0
  }
24292
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgDeleteSequenceTupleRequestPB)
24293
282
  return target;
24294
282
}
24295
24296
564
size_t PgDeleteSequenceTupleRequestPB::ByteSizeLong() const {
24297
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgDeleteSequenceTupleRequestPB)
24298
564
  size_t total_size = 0;
24299
24300
564
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
24301
0
    total_size +=
24302
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
24303
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
24304
0
  }
24305
  // uint64 session_id = 1;
24306
564
  if (this->session_id() != 0) {
24307
564
    total_size += 1 +
24308
564
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
24309
564
        this->session_id());
24310
564
  }
24311
24312
  // int64 db_oid = 2;
24313
564
  if (this->db_oid() != 0) {
24314
564
    total_size += 1 +
24315
564
      ::google::protobuf::internal::WireFormatLite::Int64Size(
24316
564
        this->db_oid());
24317
564
  }
24318
24319
  // int64 seq_oid = 3;
24320
564
  if (this->seq_oid() != 0) {
24321
564
    total_size += 1 +
24322
564
      ::google::protobuf::internal::WireFormatLite::Int64Size(
24323
564
        this->seq_oid());
24324
564
  }
24325
24326
564
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
24327
564
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24328
564
  _cached_size_ = cached_size;
24329
564
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
24330
564
  return total_size;
24331
564
}
24332
24333
0
void PgDeleteSequenceTupleRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
24334
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgDeleteSequenceTupleRequestPB)
24335
0
  GOOGLE_DCHECK_NE(&from, this);
24336
0
  const PgDeleteSequenceTupleRequestPB* source =
24337
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgDeleteSequenceTupleRequestPB>(
24338
0
          &from);
24339
0
  if (source == NULL) {
24340
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgDeleteSequenceTupleRequestPB)
24341
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
24342
0
  } else {
24343
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgDeleteSequenceTupleRequestPB)
24344
0
    MergeFrom(*source);
24345
0
  }
24346
0
}
24347
24348
0
void PgDeleteSequenceTupleRequestPB::MergeFrom(const PgDeleteSequenceTupleRequestPB& from) {
24349
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgDeleteSequenceTupleRequestPB)
24350
0
  GOOGLE_DCHECK_NE(&from, this);
24351
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
24352
0
  ::google::protobuf::uint32 cached_has_bits = 0;
24353
0
  (void) cached_has_bits;
24354
24355
0
  if (from.session_id() != 0) {
24356
0
    set_session_id(from.session_id());
24357
0
  }
24358
0
  if (from.db_oid() != 0) {
24359
0
    set_db_oid(from.db_oid());
24360
0
  }
24361
0
  if (from.seq_oid() != 0) {
24362
0
    set_seq_oid(from.seq_oid());
24363
0
  }
24364
0
}
24365
24366
0
void PgDeleteSequenceTupleRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
24367
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgDeleteSequenceTupleRequestPB)
24368
0
  if (&from == this) return;
24369
0
  Clear();
24370
0
  MergeFrom(from);
24371
0
}
24372
24373
0
void PgDeleteSequenceTupleRequestPB::CopyFrom(const PgDeleteSequenceTupleRequestPB& from) {
24374
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgDeleteSequenceTupleRequestPB)
24375
0
  if (&from == this) return;
24376
0
  Clear();
24377
0
  MergeFrom(from);
24378
0
}
24379
24380
564
bool PgDeleteSequenceTupleRequestPB::IsInitialized() const {
24381
564
  return true;
24382
564
}
24383
24384
0
void PgDeleteSequenceTupleRequestPB::Swap(PgDeleteSequenceTupleRequestPB* other) {
24385
0
  if (other == this) return;
24386
0
  InternalSwap(other);
24387
0
}
24388
0
void PgDeleteSequenceTupleRequestPB::InternalSwap(PgDeleteSequenceTupleRequestPB* other) {
24389
0
  using std::swap;
24390
0
  swap(session_id_, other->session_id_);
24391
0
  swap(db_oid_, other->db_oid_);
24392
0
  swap(seq_oid_, other->seq_oid_);
24393
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
24394
0
  swap(_cached_size_, other->_cached_size_);
24395
0
}
24396
24397
282
::google::protobuf::Metadata PgDeleteSequenceTupleRequestPB::GetMetadata() const {
24398
282
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
24399
282
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
24400
282
}
24401
24402
24403
// ===================================================================
24404
24405
26.8k
void PgDeleteSequenceTupleResponsePB::InitAsDefaultInstance() {
24406
26.8k
  ::yb::tserver::_PgDeleteSequenceTupleResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
24407
26.8k
      ::yb::AppStatusPB::internal_default_instance());
24408
26.8k
}
24409
0
void PgDeleteSequenceTupleResponsePB::clear_status() {
24410
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
24411
0
    delete status_;
24412
0
  }
24413
0
  status_ = NULL;
24414
0
}
24415
#if !defined(_MSC_VER) || _MSC_VER >= 1900
24416
const int PgDeleteSequenceTupleResponsePB::kStatusFieldNumber;
24417
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
24418
24419
PgDeleteSequenceTupleResponsePB::PgDeleteSequenceTupleResponsePB()
24420
27.4k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
24421
27.4k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
24422
564
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDeleteSequenceTupleResponsePB();
24423
564
  }
24424
27.4k
  SharedCtor();
24425
  // @@protoc_insertion_point(constructor:yb.tserver.PgDeleteSequenceTupleResponsePB)
24426
27.4k
}
24427
PgDeleteSequenceTupleResponsePB::PgDeleteSequenceTupleResponsePB(const PgDeleteSequenceTupleResponsePB& from)
24428
  : ::google::protobuf::Message(),
24429
      _internal_metadata_(NULL),
24430
0
      _cached_size_(0) {
24431
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
24432
0
  if (from.has_status()) {
24433
0
    status_ = new ::yb::AppStatusPB(*from.status_);
24434
0
  } else {
24435
0
    status_ = NULL;
24436
0
  }
24437
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgDeleteSequenceTupleResponsePB)
24438
0
}
24439
24440
27.4k
void PgDeleteSequenceTupleResponsePB::SharedCtor() {
24441
27.4k
  status_ = NULL;
24442
27.4k
  _cached_size_ = 0;
24443
27.4k
}
24444
24445
564
PgDeleteSequenceTupleResponsePB::~PgDeleteSequenceTupleResponsePB() {
24446
  // @@protoc_insertion_point(destructor:yb.tserver.PgDeleteSequenceTupleResponsePB)
24447
564
  SharedDtor();
24448
564
}
24449
24450
564
void PgDeleteSequenceTupleResponsePB::SharedDtor() {
24451
564
  if (this != internal_default_instance()) delete status_;
24452
564
}
24453
24454
0
void PgDeleteSequenceTupleResponsePB::SetCachedSize(int size) const {
24455
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24456
0
  _cached_size_ = size;
24457
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
24458
0
}
24459
0
const ::google::protobuf::Descriptor* PgDeleteSequenceTupleResponsePB::descriptor() {
24460
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
24461
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
24462
0
}
24463
24464
0
const PgDeleteSequenceTupleResponsePB& PgDeleteSequenceTupleResponsePB::default_instance() {
24465
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDeleteSequenceTupleResponsePB();
24466
0
  return *internal_default_instance();
24467
0
}
24468
24469
0
PgDeleteSequenceTupleResponsePB* PgDeleteSequenceTupleResponsePB::New(::google::protobuf::Arena* arena) const {
24470
0
  PgDeleteSequenceTupleResponsePB* n = new PgDeleteSequenceTupleResponsePB;
24471
0
  if (arena != NULL) {
24472
0
    arena->Own(n);
24473
0
  }
24474
0
  return n;
24475
0
}
24476
24477
282
void PgDeleteSequenceTupleResponsePB::Clear() {
24478
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgDeleteSequenceTupleResponsePB)
24479
282
  ::google::protobuf::uint32 cached_has_bits = 0;
24480
  // Prevent compiler warnings about cached_has_bits being unused
24481
282
  (void) cached_has_bits;
24482
24483
282
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
24484
0
    delete status_;
24485
0
  }
24486
282
  status_ = NULL;
24487
282
  _internal_metadata_.Clear();
24488
282
}
24489
24490
bool PgDeleteSequenceTupleResponsePB::MergePartialFromCodedStream(
24491
282
    ::google::protobuf::io::CodedInputStream* input) {
24492
282
#define DO_(EXPRESSION) 
if (0
!GOOGLE_PREDICT_TRUE0
(EXPRESSION))
goto failure0
24493
282
  ::google::protobuf::uint32 tag;
24494
  // @@protoc_insertion_point(parse_start:yb.tserver.PgDeleteSequenceTupleResponsePB)
24495
282
  for (;;) {
24496
282
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
24497
282
    tag = p.first;
24498
282
    if (!p.second) goto handle_unusual;
24499
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
24500
      // .yb.AppStatusPB status = 1;
24501
0
      case 1: {
24502
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
24503
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
24504
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
24505
0
               input, mutable_status()));
24506
0
        } else {
24507
0
          goto handle_unusual;
24508
0
        }
24509
0
        break;
24510
0
      }
24511
24512
0
      default: {
24513
282
      handle_unusual:
24514
282
        if (tag == 0) {
24515
282
          goto success;
24516
282
        }
24517
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
24518
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
24519
0
        break;
24520
0
      }
24521
0
    }
24522
0
  }
24523
282
success:
24524
  // @@protoc_insertion_point(parse_success:yb.tserver.PgDeleteSequenceTupleResponsePB)
24525
282
  return true;
24526
0
failure:
24527
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgDeleteSequenceTupleResponsePB)
24528
0
  return false;
24529
282
#undef DO_
24530
282
}
24531
24532
void PgDeleteSequenceTupleResponsePB::SerializeWithCachedSizes(
24533
0
    ::google::protobuf::io::CodedOutputStream* output) const {
24534
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgDeleteSequenceTupleResponsePB)
24535
0
  ::google::protobuf::uint32 cached_has_bits = 0;
24536
0
  (void) cached_has_bits;
24537
24538
  // .yb.AppStatusPB status = 1;
24539
0
  if (this->has_status()) {
24540
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
24541
0
      1, *this->status_, output);
24542
0
  }
24543
24544
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
24545
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
24546
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
24547
0
  }
24548
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgDeleteSequenceTupleResponsePB)
24549
0
}
24550
24551
::google::protobuf::uint8* PgDeleteSequenceTupleResponsePB::InternalSerializeWithCachedSizesToArray(
24552
282
    bool deterministic, ::google::protobuf::uint8* target) const {
24553
282
  (void)deterministic; // Unused
24554
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgDeleteSequenceTupleResponsePB)
24555
282
  ::google::protobuf::uint32 cached_has_bits = 0;
24556
282
  (void) cached_has_bits;
24557
24558
  // .yb.AppStatusPB status = 1;
24559
282
  if (this->has_status()) {
24560
0
    target = ::google::protobuf::internal::WireFormatLite::
24561
0
      InternalWriteMessageToArray(
24562
0
        1, *this->status_, deterministic, target);
24563
0
  }
24564
24565
282
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
24566
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
24567
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
24568
0
  }
24569
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgDeleteSequenceTupleResponsePB)
24570
282
  return target;
24571
282
}
24572
24573
564
size_t PgDeleteSequenceTupleResponsePB::ByteSizeLong() const {
24574
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgDeleteSequenceTupleResponsePB)
24575
564
  size_t total_size = 0;
24576
24577
564
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
24578
0
    total_size +=
24579
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
24580
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
24581
0
  }
24582
  // .yb.AppStatusPB status = 1;
24583
564
  if (this->has_status()) {
24584
0
    total_size += 1 +
24585
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
24586
0
        *this->status_);
24587
0
  }
24588
24589
564
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
24590
564
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24591
564
  _cached_size_ = cached_size;
24592
564
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
24593
564
  return total_size;
24594
564
}
24595
24596
0
void PgDeleteSequenceTupleResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
24597
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgDeleteSequenceTupleResponsePB)
24598
0
  GOOGLE_DCHECK_NE(&from, this);
24599
0
  const PgDeleteSequenceTupleResponsePB* source =
24600
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgDeleteSequenceTupleResponsePB>(
24601
0
          &from);
24602
0
  if (source == NULL) {
24603
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgDeleteSequenceTupleResponsePB)
24604
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
24605
0
  } else {
24606
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgDeleteSequenceTupleResponsePB)
24607
0
    MergeFrom(*source);
24608
0
  }
24609
0
}
24610
24611
0
void PgDeleteSequenceTupleResponsePB::MergeFrom(const PgDeleteSequenceTupleResponsePB& from) {
24612
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgDeleteSequenceTupleResponsePB)
24613
0
  GOOGLE_DCHECK_NE(&from, this);
24614
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
24615
0
  ::google::protobuf::uint32 cached_has_bits = 0;
24616
0
  (void) cached_has_bits;
24617
24618
0
  if (from.has_status()) {
24619
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
24620
0
  }
24621
0
}
24622
24623
0
void PgDeleteSequenceTupleResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
24624
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgDeleteSequenceTupleResponsePB)
24625
0
  if (&from == this) return;
24626
0
  Clear();
24627
0
  MergeFrom(from);
24628
0
}
24629
24630
0
void PgDeleteSequenceTupleResponsePB::CopyFrom(const PgDeleteSequenceTupleResponsePB& from) {
24631
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgDeleteSequenceTupleResponsePB)
24632
0
  if (&from == this) return;
24633
0
  Clear();
24634
0
  MergeFrom(from);
24635
0
}
24636
24637
564
bool PgDeleteSequenceTupleResponsePB::IsInitialized() const {
24638
564
  if (has_status()) {
24639
0
    if (!this->status_->IsInitialized()) return false;
24640
0
  }
24641
564
  return true;
24642
564
}
24643
24644
0
void PgDeleteSequenceTupleResponsePB::Swap(PgDeleteSequenceTupleResponsePB* other) {
24645
0
  if (other == this) return;
24646
0
  InternalSwap(other);
24647
0
}
24648
0
void PgDeleteSequenceTupleResponsePB::InternalSwap(PgDeleteSequenceTupleResponsePB* other) {
24649
0
  using std::swap;
24650
0
  swap(status_, other->status_);
24651
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
24652
0
  swap(_cached_size_, other->_cached_size_);
24653
0
}
24654
24655
0
::google::protobuf::Metadata PgDeleteSequenceTupleResponsePB::GetMetadata() const {
24656
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
24657
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
24658
0
}
24659
24660
24661
// ===================================================================
24662
24663
26.8k
void PgDeleteDBSequencesRequestPB::InitAsDefaultInstance() {
24664
26.8k
}
24665
#if !defined(_MSC_VER) || _MSC_VER >= 1900
24666
const int PgDeleteDBSequencesRequestPB::kSessionIdFieldNumber;
24667
const int PgDeleteDBSequencesRequestPB::kDbOidFieldNumber;
24668
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
24669
24670
PgDeleteDBSequencesRequestPB::PgDeleteDBSequencesRequestPB()
24671
27.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
24672
27.0k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
24673
142
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDeleteDBSequencesRequestPB();
24674
142
  }
24675
27.0k
  SharedCtor();
24676
  // @@protoc_insertion_point(constructor:yb.tserver.PgDeleteDBSequencesRequestPB)
24677
27.0k
}
24678
PgDeleteDBSequencesRequestPB::PgDeleteDBSequencesRequestPB(const PgDeleteDBSequencesRequestPB& from)
24679
  : ::google::protobuf::Message(),
24680
      _internal_metadata_(NULL),
24681
0
      _cached_size_(0) {
24682
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
24683
0
  ::memcpy(&session_id_, &from.session_id_,
24684
0
    static_cast<size_t>(reinterpret_cast<char*>(&db_oid_) -
24685
0
    reinterpret_cast<char*>(&session_id_)) + sizeof(db_oid_));
24686
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgDeleteDBSequencesRequestPB)
24687
0
}
24688
24689
27.0k
void PgDeleteDBSequencesRequestPB::SharedCtor() {
24690
27.0k
  ::memset(&session_id_, 0, static_cast<size_t>(
24691
27.0k
      reinterpret_cast<char*>(&db_oid_) -
24692
27.0k
      reinterpret_cast<char*>(&session_id_)) + sizeof(db_oid_));
24693
27.0k
  _cached_size_ = 0;
24694
27.0k
}
24695
24696
142
PgDeleteDBSequencesRequestPB::~PgDeleteDBSequencesRequestPB() {
24697
  // @@protoc_insertion_point(destructor:yb.tserver.PgDeleteDBSequencesRequestPB)
24698
142
  SharedDtor();
24699
142
}
24700
24701
142
void PgDeleteDBSequencesRequestPB::SharedDtor() {
24702
142
}
24703
24704
0
void PgDeleteDBSequencesRequestPB::SetCachedSize(int size) const {
24705
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24706
0
  _cached_size_ = size;
24707
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
24708
0
}
24709
0
const ::google::protobuf::Descriptor* PgDeleteDBSequencesRequestPB::descriptor() {
24710
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
24711
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
24712
0
}
24713
24714
0
const PgDeleteDBSequencesRequestPB& PgDeleteDBSequencesRequestPB::default_instance() {
24715
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDeleteDBSequencesRequestPB();
24716
0
  return *internal_default_instance();
24717
0
}
24718
24719
0
PgDeleteDBSequencesRequestPB* PgDeleteDBSequencesRequestPB::New(::google::protobuf::Arena* arena) const {
24720
0
  PgDeleteDBSequencesRequestPB* n = new PgDeleteDBSequencesRequestPB;
24721
0
  if (arena != NULL) {
24722
0
    arena->Own(n);
24723
0
  }
24724
0
  return n;
24725
0
}
24726
24727
71
void PgDeleteDBSequencesRequestPB::Clear() {
24728
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgDeleteDBSequencesRequestPB)
24729
71
  ::google::protobuf::uint32 cached_has_bits = 0;
24730
  // Prevent compiler warnings about cached_has_bits being unused
24731
71
  (void) cached_has_bits;
24732
24733
71
  ::memset(&session_id_, 0, static_cast<size_t>(
24734
71
      reinterpret_cast<char*>(&db_oid_) -
24735
71
      reinterpret_cast<char*>(&session_id_)) + sizeof(db_oid_));
24736
71
  _internal_metadata_.Clear();
24737
71
}
24738
24739
bool PgDeleteDBSequencesRequestPB::MergePartialFromCodedStream(
24740
71
    ::google::protobuf::io::CodedInputStream* input) {
24741
142
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
24742
71
  ::google::protobuf::uint32 tag;
24743
  // @@protoc_insertion_point(parse_start:yb.tserver.PgDeleteDBSequencesRequestPB)
24744
213
  for (;;) {
24745
213
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
24746
213
    tag = p.first;
24747
213
    if (!p.second) 
goto handle_unusual71
;
24748
142
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
24749
      // uint64 session_id = 1;
24750
71
      case 1: {
24751
71
        if (static_cast< ::google::protobuf::uint8>(tag) ==
24752
71
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
24753
24754
71
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
24755
71
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
24756
71
                 input, &session_id_)));
24757
71
        } else {
24758
0
          goto handle_unusual;
24759
0
        }
24760
71
        break;
24761
71
      }
24762
24763
      // int64 db_oid = 2;
24764
71
      case 2: {
24765
71
        if (static_cast< ::google::protobuf::uint8>(tag) ==
24766
71
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
24767
24768
71
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
24769
71
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
24770
71
                 input, &db_oid_)));
24771
71
        } else {
24772
0
          goto handle_unusual;
24773
0
        }
24774
71
        break;
24775
71
      }
24776
24777
71
      default: {
24778
71
      handle_unusual:
24779
71
        if (tag == 0) {
24780
71
          goto success;
24781
71
        }
24782
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
24783
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
24784
0
        break;
24785
0
      }
24786
142
    }
24787
142
  }
24788
71
success:
24789
  // @@protoc_insertion_point(parse_success:yb.tserver.PgDeleteDBSequencesRequestPB)
24790
71
  return true;
24791
0
failure:
24792
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgDeleteDBSequencesRequestPB)
24793
0
  return false;
24794
71
#undef DO_
24795
71
}
24796
24797
void PgDeleteDBSequencesRequestPB::SerializeWithCachedSizes(
24798
0
    ::google::protobuf::io::CodedOutputStream* output) const {
24799
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgDeleteDBSequencesRequestPB)
24800
0
  ::google::protobuf::uint32 cached_has_bits = 0;
24801
0
  (void) cached_has_bits;
24802
24803
  // uint64 session_id = 1;
24804
0
  if (this->session_id() != 0) {
24805
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->session_id(), output);
24806
0
  }
24807
24808
  // int64 db_oid = 2;
24809
0
  if (this->db_oid() != 0) {
24810
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->db_oid(), output);
24811
0
  }
24812
24813
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
24814
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
24815
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
24816
0
  }
24817
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgDeleteDBSequencesRequestPB)
24818
0
}
24819
24820
::google::protobuf::uint8* PgDeleteDBSequencesRequestPB::InternalSerializeWithCachedSizesToArray(
24821
71
    bool deterministic, ::google::protobuf::uint8* target) const {
24822
71
  (void)deterministic; // Unused
24823
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgDeleteDBSequencesRequestPB)
24824
71
  ::google::protobuf::uint32 cached_has_bits = 0;
24825
71
  (void) cached_has_bits;
24826
24827
  // uint64 session_id = 1;
24828
71
  if (this->session_id() != 0) {
24829
71
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->session_id(), target);
24830
71
  }
24831
24832
  // int64 db_oid = 2;
24833
71
  if (this->db_oid() != 0) {
24834
71
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->db_oid(), target);
24835
71
  }
24836
24837
71
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
24838
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
24839
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
24840
0
  }
24841
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgDeleteDBSequencesRequestPB)
24842
71
  return target;
24843
71
}
24844
24845
142
size_t PgDeleteDBSequencesRequestPB::ByteSizeLong() const {
24846
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgDeleteDBSequencesRequestPB)
24847
142
  size_t total_size = 0;
24848
24849
142
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
24850
0
    total_size +=
24851
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
24852
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
24853
0
  }
24854
  // uint64 session_id = 1;
24855
142
  if (this->session_id() != 0) {
24856
142
    total_size += 1 +
24857
142
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
24858
142
        this->session_id());
24859
142
  }
24860
24861
  // int64 db_oid = 2;
24862
142
  if (this->db_oid() != 0) {
24863
142
    total_size += 1 +
24864
142
      ::google::protobuf::internal::WireFormatLite::Int64Size(
24865
142
        this->db_oid());
24866
142
  }
24867
24868
142
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
24869
142
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24870
142
  _cached_size_ = cached_size;
24871
142
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
24872
142
  return total_size;
24873
142
}
24874
24875
0
void PgDeleteDBSequencesRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
24876
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgDeleteDBSequencesRequestPB)
24877
0
  GOOGLE_DCHECK_NE(&from, this);
24878
0
  const PgDeleteDBSequencesRequestPB* source =
24879
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgDeleteDBSequencesRequestPB>(
24880
0
          &from);
24881
0
  if (source == NULL) {
24882
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgDeleteDBSequencesRequestPB)
24883
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
24884
0
  } else {
24885
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgDeleteDBSequencesRequestPB)
24886
0
    MergeFrom(*source);
24887
0
  }
24888
0
}
24889
24890
0
void PgDeleteDBSequencesRequestPB::MergeFrom(const PgDeleteDBSequencesRequestPB& from) {
24891
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgDeleteDBSequencesRequestPB)
24892
0
  GOOGLE_DCHECK_NE(&from, this);
24893
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
24894
0
  ::google::protobuf::uint32 cached_has_bits = 0;
24895
0
  (void) cached_has_bits;
24896
24897
0
  if (from.session_id() != 0) {
24898
0
    set_session_id(from.session_id());
24899
0
  }
24900
0
  if (from.db_oid() != 0) {
24901
0
    set_db_oid(from.db_oid());
24902
0
  }
24903
0
}
24904
24905
0
void PgDeleteDBSequencesRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
24906
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgDeleteDBSequencesRequestPB)
24907
0
  if (&from == this) return;
24908
0
  Clear();
24909
0
  MergeFrom(from);
24910
0
}
24911
24912
0
void PgDeleteDBSequencesRequestPB::CopyFrom(const PgDeleteDBSequencesRequestPB& from) {
24913
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgDeleteDBSequencesRequestPB)
24914
0
  if (&from == this) return;
24915
0
  Clear();
24916
0
  MergeFrom(from);
24917
0
}
24918
24919
142
bool PgDeleteDBSequencesRequestPB::IsInitialized() const {
24920
142
  return true;
24921
142
}
24922
24923
0
void PgDeleteDBSequencesRequestPB::Swap(PgDeleteDBSequencesRequestPB* other) {
24924
0
  if (other == this) return;
24925
0
  InternalSwap(other);
24926
0
}
24927
0
void PgDeleteDBSequencesRequestPB::InternalSwap(PgDeleteDBSequencesRequestPB* other) {
24928
0
  using std::swap;
24929
0
  swap(session_id_, other->session_id_);
24930
0
  swap(db_oid_, other->db_oid_);
24931
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
24932
0
  swap(_cached_size_, other->_cached_size_);
24933
0
}
24934
24935
71
::google::protobuf::Metadata PgDeleteDBSequencesRequestPB::GetMetadata() const {
24936
71
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
24937
71
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
24938
71
}
24939
24940
24941
// ===================================================================
24942
24943
26.8k
void PgDeleteDBSequencesResponsePB::InitAsDefaultInstance() {
24944
26.8k
  ::yb::tserver::_PgDeleteDBSequencesResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
24945
26.8k
      ::yb::AppStatusPB::internal_default_instance());
24946
26.8k
}
24947
0
void PgDeleteDBSequencesResponsePB::clear_status() {
24948
0
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
24949
0
    delete status_;
24950
0
  }
24951
0
  status_ = NULL;
24952
0
}
24953
#if !defined(_MSC_VER) || _MSC_VER >= 1900
24954
const int PgDeleteDBSequencesResponsePB::kStatusFieldNumber;
24955
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
24956
24957
PgDeleteDBSequencesResponsePB::PgDeleteDBSequencesResponsePB()
24958
27.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
24959
27.0k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
24960
142
    ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDeleteDBSequencesResponsePB();
24961
142
  }
24962
27.0k
  SharedCtor();
24963
  // @@protoc_insertion_point(constructor:yb.tserver.PgDeleteDBSequencesResponsePB)
24964
27.0k
}
24965
PgDeleteDBSequencesResponsePB::PgDeleteDBSequencesResponsePB(const PgDeleteDBSequencesResponsePB& from)
24966
  : ::google::protobuf::Message(),
24967
      _internal_metadata_(NULL),
24968
0
      _cached_size_(0) {
24969
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
24970
0
  if (from.has_status()) {
24971
0
    status_ = new ::yb::AppStatusPB(*from.status_);
24972
0
  } else {
24973
0
    status_ = NULL;
24974
0
  }
24975
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PgDeleteDBSequencesResponsePB)
24976
0
}
24977
24978
27.0k
void PgDeleteDBSequencesResponsePB::SharedCtor() {
24979
27.0k
  status_ = NULL;
24980
27.0k
  _cached_size_ = 0;
24981
27.0k
}
24982
24983
142
PgDeleteDBSequencesResponsePB::~PgDeleteDBSequencesResponsePB() {
24984
  // @@protoc_insertion_point(destructor:yb.tserver.PgDeleteDBSequencesResponsePB)
24985
142
  SharedDtor();
24986
142
}
24987
24988
142
void PgDeleteDBSequencesResponsePB::SharedDtor() {
24989
142
  if (this != internal_default_instance()) delete status_;
24990
142
}
24991
24992
0
void PgDeleteDBSequencesResponsePB::SetCachedSize(int size) const {
24993
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24994
0
  _cached_size_ = size;
24995
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
24996
0
}
24997
0
const ::google::protobuf::Descriptor* PgDeleteDBSequencesResponsePB::descriptor() {
24998
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
24999
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
25000
0
}
25001
25002
0
const PgDeleteDBSequencesResponsePB& PgDeleteDBSequencesResponsePB::default_instance() {
25003
0
  ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::InitDefaultsPgDeleteDBSequencesResponsePB();
25004
0
  return *internal_default_instance();
25005
0
}
25006
25007
0
PgDeleteDBSequencesResponsePB* PgDeleteDBSequencesResponsePB::New(::google::protobuf::Arena* arena) const {
25008
0
  PgDeleteDBSequencesResponsePB* n = new PgDeleteDBSequencesResponsePB;
25009
0
  if (arena != NULL) {
25010
0
    arena->Own(n);
25011
0
  }
25012
0
  return n;
25013
0
}
25014
25015
71
void PgDeleteDBSequencesResponsePB::Clear() {
25016
// @@protoc_insertion_point(message_clear_start:yb.tserver.PgDeleteDBSequencesResponsePB)
25017
71
  ::google::protobuf::uint32 cached_has_bits = 0;
25018
  // Prevent compiler warnings about cached_has_bits being unused
25019
71
  (void) cached_has_bits;
25020
25021
71
  if (GetArenaNoVirtual() == NULL && status_ != NULL) {
25022
0
    delete status_;
25023
0
  }
25024
71
  status_ = NULL;
25025
71
  _internal_metadata_.Clear();
25026
71
}
25027
25028
bool PgDeleteDBSequencesResponsePB::MergePartialFromCodedStream(
25029
71
    ::google::protobuf::io::CodedInputStream* input) {
25030
71
#define DO_(EXPRESSION) 
if (0
!GOOGLE_PREDICT_TRUE0
(EXPRESSION))
goto failure0
25031
71
  ::google::protobuf::uint32 tag;
25032
  // @@protoc_insertion_point(parse_start:yb.tserver.PgDeleteDBSequencesResponsePB)
25033
71
  for (;;) {
25034
71
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
25035
71
    tag = p.first;
25036
71
    if (!p.second) goto handle_unusual;
25037
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
25038
      // .yb.AppStatusPB status = 1;
25039
0
      case 1: {
25040
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
25041
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
25042
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
25043
0
               input, mutable_status()));
25044
0
        } else {
25045
0
          goto handle_unusual;
25046
0
        }
25047
0
        break;
25048
0
      }
25049
25050
0
      default: {
25051
71
      handle_unusual:
25052
71
        if (tag == 0) {
25053
71
          goto success;
25054
71
        }
25055
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
25056
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
25057
0
        break;
25058
0
      }
25059
0
    }
25060
0
  }
25061
71
success:
25062
  // @@protoc_insertion_point(parse_success:yb.tserver.PgDeleteDBSequencesResponsePB)
25063
71
  return true;
25064
0
failure:
25065
  // @@protoc_insertion_point(parse_failure:yb.tserver.PgDeleteDBSequencesResponsePB)
25066
0
  return false;
25067
71
#undef DO_
25068
71
}
25069
25070
void PgDeleteDBSequencesResponsePB::SerializeWithCachedSizes(
25071
0
    ::google::protobuf::io::CodedOutputStream* output) const {
25072
  // @@protoc_insertion_point(serialize_start:yb.tserver.PgDeleteDBSequencesResponsePB)
25073
0
  ::google::protobuf::uint32 cached_has_bits = 0;
25074
0
  (void) cached_has_bits;
25075
25076
  // .yb.AppStatusPB status = 1;
25077
0
  if (this->has_status()) {
25078
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
25079
0
      1, *this->status_, output);
25080
0
  }
25081
25082
0
  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
25083
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
25084
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
25085
0
  }
25086
  // @@protoc_insertion_point(serialize_end:yb.tserver.PgDeleteDBSequencesResponsePB)
25087
0
}
25088
25089
::google::protobuf::uint8* PgDeleteDBSequencesResponsePB::InternalSerializeWithCachedSizesToArray(
25090
71
    bool deterministic, ::google::protobuf::uint8* target) const {
25091
71
  (void)deterministic; // Unused
25092
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PgDeleteDBSequencesResponsePB)
25093
71
  ::google::protobuf::uint32 cached_has_bits = 0;
25094
71
  (void) cached_has_bits;
25095
25096
  // .yb.AppStatusPB status = 1;
25097
71
  if (this->has_status()) {
25098
0
    target = ::google::protobuf::internal::WireFormatLite::
25099
0
      InternalWriteMessageToArray(
25100
0
        1, *this->status_, deterministic, target);
25101
0
  }
25102
25103
71
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
25104
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
25105
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
25106
0
  }
25107
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PgDeleteDBSequencesResponsePB)
25108
71
  return target;
25109
71
}
25110
25111
142
size_t PgDeleteDBSequencesResponsePB::ByteSizeLong() const {
25112
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PgDeleteDBSequencesResponsePB)
25113
142
  size_t total_size = 0;
25114
25115
142
  if ((_internal_metadata_.have_unknown_fields() &&  
::google::protobuf::internal::GetProto3PreserveUnknownsDefault()0
)) {
25116
0
    total_size +=
25117
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
25118
0
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
25119
0
  }
25120
  // .yb.AppStatusPB status = 1;
25121
142
  if (this->has_status()) {
25122
0
    total_size += 1 +
25123
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
25124
0
        *this->status_);
25125
0
  }
25126
25127
142
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
25128
142
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
25129
142
  _cached_size_ = cached_size;
25130
142
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
25131
142
  return total_size;
25132
142
}
25133
25134
0
void PgDeleteDBSequencesResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
25135
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PgDeleteDBSequencesResponsePB)
25136
0
  GOOGLE_DCHECK_NE(&from, this);
25137
0
  const PgDeleteDBSequencesResponsePB* source =
25138
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PgDeleteDBSequencesResponsePB>(
25139
0
          &from);
25140
0
  if (source == NULL) {
25141
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PgDeleteDBSequencesResponsePB)
25142
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
25143
0
  } else {
25144
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PgDeleteDBSequencesResponsePB)
25145
0
    MergeFrom(*source);
25146
0
  }
25147
0
}
25148
25149
0
void PgDeleteDBSequencesResponsePB::MergeFrom(const PgDeleteDBSequencesResponsePB& from) {
25150
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PgDeleteDBSequencesResponsePB)
25151
0
  GOOGLE_DCHECK_NE(&from, this);
25152
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
25153
0
  ::google::protobuf::uint32 cached_has_bits = 0;
25154
0
  (void) cached_has_bits;
25155
25156
0
  if (from.has_status()) {
25157
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
25158
0
  }
25159
0
}
25160
25161
0
void PgDeleteDBSequencesResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
25162
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PgDeleteDBSequencesResponsePB)
25163
0
  if (&from == this) return;
25164
0
  Clear();
25165
0
  MergeFrom(from);
25166
0
}
25167
25168
0
void PgDeleteDBSequencesResponsePB::CopyFrom(const PgDeleteDBSequencesResponsePB& from) {
25169
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PgDeleteDBSequencesResponsePB)
25170
0
  if (&from == this) return;
25171
0
  Clear();
25172
0
  MergeFrom(from);
25173
0
}
25174
25175
142
bool PgDeleteDBSequencesResponsePB::IsInitialized() const {
25176
142
  if (has_status()) {
25177
0
    if (!this->status_->IsInitialized()) return false;
25178
0
  }
25179
142
  return true;
25180
142
}
25181
25182
0
void PgDeleteDBSequencesResponsePB::Swap(PgDeleteDBSequencesResponsePB* other) {
25183
0
  if (other == this) return;
25184
0
  InternalSwap(other);
25185
0
}
25186
0
void PgDeleteDBSequencesResponsePB::InternalSwap(PgDeleteDBSequencesResponsePB* other) {
25187
0
  using std::swap;
25188
0
  swap(status_, other->status_);
25189
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
25190
0
  swap(_cached_size_, other->_cached_size_);
25191
0
}
25192
25193
0
::google::protobuf::Metadata PgDeleteDBSequencesResponsePB::GetMetadata() const {
25194
0
  protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptorsOnce();
25195
0
  return ::protobuf_yb_2ftserver_2fpg_5fclient_2eproto::file_level_metadata[kIndexInFileMessages];
25196
0
}
25197
25198
25199
// @@protoc_insertion_point(namespace_scope)
25200
}  // namespace tserver
25201
}  // namespace yb
25202
25203
// @@protoc_insertion_point(global_scope)