YugabyteDB (2.13.1.0-b60, 21121d69985fbf76aa6958d8f04a9bfa936293b5)

Coverage Report

Created: 2022-03-22 16:43

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/master/master_backup.pb.cc
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: yb/master/master_backup.proto
3
4
#include "yb/master/master_backup.pb.h"
5
6
#include <algorithm>
7
8
#include <google/protobuf/stubs/common.h>
9
#include <google/protobuf/stubs/port.h>
10
#include <google/protobuf/stubs/once.h>
11
#include <google/protobuf/io/coded_stream.h>
12
#include <google/protobuf/wire_format_lite_inl.h>
13
#include <google/protobuf/descriptor.h>
14
#include <google/protobuf/generated_message_reflection.h>
15
#include <google/protobuf/reflection_ops.h>
16
#include <google/protobuf/wire_format.h>
17
// This is a temporary google only hack
18
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
19
#include "third_party/protobuf/version.h"
20
#endif
21
#include "yb/util/protobuf-annotations.h"
22
// @@protoc_insertion_point(includes)
23
namespace yb {
24
namespace master {
25
class BackupRowEntryPBDefaultTypeInternal {
26
 public:
27
  ::google::protobuf::internal::ExplicitlyConstructed<BackupRowEntryPB>
28
      _instance;
29
} _BackupRowEntryPB_default_instance_;
30
class CreateSnapshotRequestPBDefaultTypeInternal {
31
 public:
32
  ::google::protobuf::internal::ExplicitlyConstructed<CreateSnapshotRequestPB>
33
      _instance;
34
} _CreateSnapshotRequestPB_default_instance_;
35
class CreateSnapshotResponsePBDefaultTypeInternal {
36
 public:
37
  ::google::protobuf::internal::ExplicitlyConstructed<CreateSnapshotResponsePB>
38
      _instance;
39
} _CreateSnapshotResponsePB_default_instance_;
40
class SnapshotInfoPBDefaultTypeInternal {
41
 public:
42
  ::google::protobuf::internal::ExplicitlyConstructed<SnapshotInfoPB>
43
      _instance;
44
} _SnapshotInfoPB_default_instance_;
45
class TabletRestorationPBDefaultTypeInternal {
46
 public:
47
  ::google::protobuf::internal::ExplicitlyConstructed<TabletRestorationPB>
48
      _instance;
49
} _TabletRestorationPB_default_instance_;
50
class SysRestorationEntryPBDefaultTypeInternal {
51
 public:
52
  ::google::protobuf::internal::ExplicitlyConstructed<SysRestorationEntryPB>
53
      _instance;
54
} _SysRestorationEntryPB_default_instance_;
55
class RestorationInfoPBDefaultTypeInternal {
56
 public:
57
  ::google::protobuf::internal::ExplicitlyConstructed<RestorationInfoPB>
58
      _instance;
59
} _RestorationInfoPB_default_instance_;
60
class ListSnapshotsRequestPBDefaultTypeInternal {
61
 public:
62
  ::google::protobuf::internal::ExplicitlyConstructed<ListSnapshotsRequestPB>
63
      _instance;
64
} _ListSnapshotsRequestPB_default_instance_;
65
class ListSnapshotsResponsePBDefaultTypeInternal {
66
 public:
67
  ::google::protobuf::internal::ExplicitlyConstructed<ListSnapshotsResponsePB>
68
      _instance;
69
} _ListSnapshotsResponsePB_default_instance_;
70
class RestoreSnapshotRequestPBDefaultTypeInternal {
71
 public:
72
  ::google::protobuf::internal::ExplicitlyConstructed<RestoreSnapshotRequestPB>
73
      _instance;
74
} _RestoreSnapshotRequestPB_default_instance_;
75
class RestoreSnapshotResponsePBDefaultTypeInternal {
76
 public:
77
  ::google::protobuf::internal::ExplicitlyConstructed<RestoreSnapshotResponsePB>
78
      _instance;
79
} _RestoreSnapshotResponsePB_default_instance_;
80
class DeleteSnapshotRequestPBDefaultTypeInternal {
81
 public:
82
  ::google::protobuf::internal::ExplicitlyConstructed<DeleteSnapshotRequestPB>
83
      _instance;
84
} _DeleteSnapshotRequestPB_default_instance_;
85
class DeleteSnapshotResponsePBDefaultTypeInternal {
86
 public:
87
  ::google::protobuf::internal::ExplicitlyConstructed<DeleteSnapshotResponsePB>
88
      _instance;
89
} _DeleteSnapshotResponsePB_default_instance_;
90
class ImportSnapshotMetaRequestPBDefaultTypeInternal {
91
 public:
92
  ::google::protobuf::internal::ExplicitlyConstructed<ImportSnapshotMetaRequestPB>
93
      _instance;
94
} _ImportSnapshotMetaRequestPB_default_instance_;
95
class ListSnapshotRestorationsRequestPBDefaultTypeInternal {
96
 public:
97
  ::google::protobuf::internal::ExplicitlyConstructed<ListSnapshotRestorationsRequestPB>
98
      _instance;
99
} _ListSnapshotRestorationsRequestPB_default_instance_;
100
class ListSnapshotRestorationsResponsePBDefaultTypeInternal {
101
 public:
102
  ::google::protobuf::internal::ExplicitlyConstructed<ListSnapshotRestorationsResponsePB>
103
      _instance;
104
} _ListSnapshotRestorationsResponsePB_default_instance_;
105
class IdPairPBDefaultTypeInternal {
106
 public:
107
  ::google::protobuf::internal::ExplicitlyConstructed<IdPairPB>
108
      _instance;
109
} _IdPairPB_default_instance_;
110
class ImportSnapshotMetaResponsePB_TableMetaPBDefaultTypeInternal {
111
 public:
112
  ::google::protobuf::internal::ExplicitlyConstructed<ImportSnapshotMetaResponsePB_TableMetaPB>
113
      _instance;
114
} _ImportSnapshotMetaResponsePB_TableMetaPB_default_instance_;
115
class ImportSnapshotMetaResponsePBDefaultTypeInternal {
116
 public:
117
  ::google::protobuf::internal::ExplicitlyConstructed<ImportSnapshotMetaResponsePB>
118
      _instance;
119
} _ImportSnapshotMetaResponsePB_default_instance_;
120
class TableIdentifiersPBDefaultTypeInternal {
121
 public:
122
  ::google::protobuf::internal::ExplicitlyConstructed<TableIdentifiersPB>
123
      _instance;
124
} _TableIdentifiersPB_default_instance_;
125
class SnapshotScheduleFilterPBDefaultTypeInternal {
126
 public:
127
  ::google::protobuf::internal::ExplicitlyConstructed<SnapshotScheduleFilterPB>
128
      _instance;
129
  const ::yb::master::TableIdentifiersPB* tables_;
130
} _SnapshotScheduleFilterPB_default_instance_;
131
class SnapshotScheduleOptionsPBDefaultTypeInternal {
132
 public:
133
  ::google::protobuf::internal::ExplicitlyConstructed<SnapshotScheduleOptionsPB>
134
      _instance;
135
} _SnapshotScheduleOptionsPB_default_instance_;
136
class CreateSnapshotScheduleRequestPBDefaultTypeInternal {
137
 public:
138
  ::google::protobuf::internal::ExplicitlyConstructed<CreateSnapshotScheduleRequestPB>
139
      _instance;
140
} _CreateSnapshotScheduleRequestPB_default_instance_;
141
class CreateSnapshotScheduleResponsePBDefaultTypeInternal {
142
 public:
143
  ::google::protobuf::internal::ExplicitlyConstructed<CreateSnapshotScheduleResponsePB>
144
      _instance;
145
} _CreateSnapshotScheduleResponsePB_default_instance_;
146
class ListSnapshotSchedulesRequestPBDefaultTypeInternal {
147
 public:
148
  ::google::protobuf::internal::ExplicitlyConstructed<ListSnapshotSchedulesRequestPB>
149
      _instance;
150
} _ListSnapshotSchedulesRequestPB_default_instance_;
151
class SnapshotScheduleInfoPBDefaultTypeInternal {
152
 public:
153
  ::google::protobuf::internal::ExplicitlyConstructed<SnapshotScheduleInfoPB>
154
      _instance;
155
} _SnapshotScheduleInfoPB_default_instance_;
156
class ListSnapshotSchedulesResponsePBDefaultTypeInternal {
157
 public:
158
  ::google::protobuf::internal::ExplicitlyConstructed<ListSnapshotSchedulesResponsePB>
159
      _instance;
160
} _ListSnapshotSchedulesResponsePB_default_instance_;
161
class DeleteSnapshotScheduleRequestPBDefaultTypeInternal {
162
 public:
163
  ::google::protobuf::internal::ExplicitlyConstructed<DeleteSnapshotScheduleRequestPB>
164
      _instance;
165
} _DeleteSnapshotScheduleRequestPB_default_instance_;
166
class DeleteSnapshotScheduleResponsePBDefaultTypeInternal {
167
 public:
168
  ::google::protobuf::internal::ExplicitlyConstructed<DeleteSnapshotScheduleResponsePB>
169
      _instance;
170
} _DeleteSnapshotScheduleResponsePB_default_instance_;
171
}  // namespace master
172
}  // namespace yb
173
namespace protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto {
174
26.8k
void InitDefaultsBackupRowEntryPBImpl() {
175
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
176
177
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
178
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
179
#else
180
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
181
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
182
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysRowEntry();
183
26.8k
  {
184
26.8k
    void* ptr = &::yb::master::_BackupRowEntryPB_default_instance_;
185
26.8k
    new (ptr) ::yb::master::BackupRowEntryPB();
186
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
187
26.8k
  }
188
26.8k
  ::yb::master::BackupRowEntryPB::InitAsDefaultInstance();
189
26.8k
}
190
191
53.7k
void InitDefaultsBackupRowEntryPB() {
192
53.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
193
53.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsBackupRowEntryPBImpl);
194
53.7k
}
195
196
26.8k
void InitDefaultsCreateSnapshotRequestPBImpl() {
197
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
198
199
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
200
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
201
#else
202
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
203
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
204
26.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTableIdentifierPB();
205
26.8k
  {
206
26.8k
    void* ptr = &::yb::master::_CreateSnapshotRequestPB_default_instance_;
207
26.8k
    new (ptr) ::yb::master::CreateSnapshotRequestPB();
208
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
209
26.8k
  }
210
26.8k
  ::yb::master::CreateSnapshotRequestPB::InitAsDefaultInstance();
211
26.8k
}
212
213
26.8k
void InitDefaultsCreateSnapshotRequestPB() {
214
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
215
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCreateSnapshotRequestPBImpl);
216
26.8k
}
217
218
26.8k
void InitDefaultsCreateSnapshotResponsePBImpl() {
219
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
220
221
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
222
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
223
#else
224
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
225
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
226
26.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
227
26.8k
  {
228
26.8k
    void* ptr = &::yb::master::_CreateSnapshotResponsePB_default_instance_;
229
26.8k
    new (ptr) ::yb::master::CreateSnapshotResponsePB();
230
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
231
26.8k
  }
232
26.8k
  ::yb::master::CreateSnapshotResponsePB::InitAsDefaultInstance();
233
26.8k
}
234
235
26.8k
void InitDefaultsCreateSnapshotResponsePB() {
236
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
237
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCreateSnapshotResponsePBImpl);
238
26.8k
}
239
240
26.8k
void InitDefaultsSnapshotInfoPBImpl() {
241
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
242
243
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
244
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
245
#else
246
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
247
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
248
26.8k
  protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysSnapshotEntryPB();
249
26.8k
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsBackupRowEntryPB();
250
26.8k
  {
251
26.8k
    void* ptr = &::yb::master::_SnapshotInfoPB_default_instance_;
252
26.8k
    new (ptr) ::yb::master::SnapshotInfoPB();
253
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
254
26.8k
  }
255
26.8k
  ::yb::master::SnapshotInfoPB::InitAsDefaultInstance();
256
26.8k
}
257
258
107k
void InitDefaultsSnapshotInfoPB() {
259
107k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
260
107k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSnapshotInfoPBImpl);
261
107k
}
262
263
26.8k
void InitDefaultsTabletRestorationPBImpl() {
264
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
265
266
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
267
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
268
#else
269
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
270
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
271
26.8k
  {
272
26.8k
    void* ptr = &::yb::master::_TabletRestorationPB_default_instance_;
273
26.8k
    new (ptr) ::yb::master::TabletRestorationPB();
274
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
275
26.8k
  }
276
26.8k
  ::yb::master::TabletRestorationPB::InitAsDefaultInstance();
277
26.8k
}
278
279
53.7k
void InitDefaultsTabletRestorationPB() {
280
53.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
281
53.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTabletRestorationPBImpl);
282
53.7k
}
283
284
26.8k
void InitDefaultsSysRestorationEntryPBImpl() {
285
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
286
287
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
288
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
289
#else
290
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
291
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
292
26.8k
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsTabletRestorationPB();
293
26.8k
  {
294
26.8k
    void* ptr = &::yb::master::_SysRestorationEntryPB_default_instance_;
295
26.8k
    new (ptr) ::yb::master::SysRestorationEntryPB();
296
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
297
26.8k
  }
298
26.8k
  ::yb::master::SysRestorationEntryPB::InitAsDefaultInstance();
299
26.8k
}
300
301
53.7k
void InitDefaultsSysRestorationEntryPB() {
302
53.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
303
53.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSysRestorationEntryPBImpl);
304
53.7k
}
305
306
26.8k
void InitDefaultsRestorationInfoPBImpl() {
307
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
308
309
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
310
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
311
#else
312
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
313
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
314
26.8k
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSysRestorationEntryPB();
315
26.8k
  {
316
26.8k
    void* ptr = &::yb::master::_RestorationInfoPB_default_instance_;
317
26.8k
    new (ptr) ::yb::master::RestorationInfoPB();
318
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
319
26.8k
  }
320
26.8k
  ::yb::master::RestorationInfoPB::InitAsDefaultInstance();
321
26.8k
}
322
323
53.7k
void InitDefaultsRestorationInfoPB() {
324
53.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
325
53.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRestorationInfoPBImpl);
326
53.7k
}
327
328
26.8k
void InitDefaultsListSnapshotsRequestPBImpl() {
329
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
330
331
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
332
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
333
#else
334
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
335
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
336
26.8k
  {
337
26.8k
    void* ptr = &::yb::master::_ListSnapshotsRequestPB_default_instance_;
338
26.8k
    new (ptr) ::yb::master::ListSnapshotsRequestPB();
339
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
340
26.8k
  }
341
26.8k
  ::yb::master::ListSnapshotsRequestPB::InitAsDefaultInstance();
342
26.8k
}
343
344
26.8k
void InitDefaultsListSnapshotsRequestPB() {
345
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
346
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListSnapshotsRequestPBImpl);
347
26.8k
}
348
349
26.8k
void InitDefaultsListSnapshotsResponsePBImpl() {
350
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
351
352
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
353
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
354
#else
355
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
356
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
357
26.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
358
26.8k
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSnapshotInfoPB();
359
26.8k
  {
360
26.8k
    void* ptr = &::yb::master::_ListSnapshotsResponsePB_default_instance_;
361
26.8k
    new (ptr) ::yb::master::ListSnapshotsResponsePB();
362
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
363
26.8k
  }
364
26.8k
  ::yb::master::ListSnapshotsResponsePB::InitAsDefaultInstance();
365
26.8k
}
366
367
26.8k
void InitDefaultsListSnapshotsResponsePB() {
368
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
369
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListSnapshotsResponsePBImpl);
370
26.8k
}
371
372
26.8k
void InitDefaultsRestoreSnapshotRequestPBImpl() {
373
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
374
375
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
376
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
377
#else
378
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
379
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
380
26.8k
  {
381
26.8k
    void* ptr = &::yb::master::_RestoreSnapshotRequestPB_default_instance_;
382
26.8k
    new (ptr) ::yb::master::RestoreSnapshotRequestPB();
383
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
384
26.8k
  }
385
26.8k
  ::yb::master::RestoreSnapshotRequestPB::InitAsDefaultInstance();
386
26.8k
}
387
388
26.8k
void InitDefaultsRestoreSnapshotRequestPB() {
389
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
390
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRestoreSnapshotRequestPBImpl);
391
26.8k
}
392
393
26.8k
void InitDefaultsRestoreSnapshotResponsePBImpl() {
394
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
395
396
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
397
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
398
#else
399
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
400
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
401
26.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
402
26.8k
  {
403
26.8k
    void* ptr = &::yb::master::_RestoreSnapshotResponsePB_default_instance_;
404
26.8k
    new (ptr) ::yb::master::RestoreSnapshotResponsePB();
405
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
406
26.8k
  }
407
26.8k
  ::yb::master::RestoreSnapshotResponsePB::InitAsDefaultInstance();
408
26.8k
}
409
410
26.8k
void InitDefaultsRestoreSnapshotResponsePB() {
411
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
412
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRestoreSnapshotResponsePBImpl);
413
26.8k
}
414
415
26.8k
void InitDefaultsDeleteSnapshotRequestPBImpl() {
416
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
417
418
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
419
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
420
#else
421
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
422
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
423
26.8k
  {
424
26.8k
    void* ptr = &::yb::master::_DeleteSnapshotRequestPB_default_instance_;
425
26.8k
    new (ptr) ::yb::master::DeleteSnapshotRequestPB();
426
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
427
26.8k
  }
428
26.8k
  ::yb::master::DeleteSnapshotRequestPB::InitAsDefaultInstance();
429
26.8k
}
430
431
26.8k
void InitDefaultsDeleteSnapshotRequestPB() {
432
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
433
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDeleteSnapshotRequestPBImpl);
434
26.8k
}
435
436
26.8k
void InitDefaultsDeleteSnapshotResponsePBImpl() {
437
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
438
439
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
440
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
441
#else
442
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
443
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
444
26.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
445
26.8k
  {
446
26.8k
    void* ptr = &::yb::master::_DeleteSnapshotResponsePB_default_instance_;
447
26.8k
    new (ptr) ::yb::master::DeleteSnapshotResponsePB();
448
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
449
26.8k
  }
450
26.8k
  ::yb::master::DeleteSnapshotResponsePB::InitAsDefaultInstance();
451
26.8k
}
452
453
26.8k
void InitDefaultsDeleteSnapshotResponsePB() {
454
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
455
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDeleteSnapshotResponsePBImpl);
456
26.8k
}
457
458
26.8k
void InitDefaultsImportSnapshotMetaRequestPBImpl() {
459
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
460
461
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
462
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
463
#else
464
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
465
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
466
26.8k
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSnapshotInfoPB();
467
26.8k
  {
468
26.8k
    void* ptr = &::yb::master::_ImportSnapshotMetaRequestPB_default_instance_;
469
26.8k
    new (ptr) ::yb::master::ImportSnapshotMetaRequestPB();
470
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
471
26.8k
  }
472
26.8k
  ::yb::master::ImportSnapshotMetaRequestPB::InitAsDefaultInstance();
473
26.8k
}
474
475
26.8k
void InitDefaultsImportSnapshotMetaRequestPB() {
476
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
477
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsImportSnapshotMetaRequestPBImpl);
478
26.8k
}
479
480
26.8k
void InitDefaultsListSnapshotRestorationsRequestPBImpl() {
481
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
482
483
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
484
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
485
#else
486
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
487
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
488
26.8k
  {
489
26.8k
    void* ptr = &::yb::master::_ListSnapshotRestorationsRequestPB_default_instance_;
490
26.8k
    new (ptr) ::yb::master::ListSnapshotRestorationsRequestPB();
491
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
492
26.8k
  }
493
26.8k
  ::yb::master::ListSnapshotRestorationsRequestPB::InitAsDefaultInstance();
494
26.8k
}
495
496
26.8k
void InitDefaultsListSnapshotRestorationsRequestPB() {
497
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
498
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListSnapshotRestorationsRequestPBImpl);
499
26.8k
}
500
501
26.8k
void InitDefaultsListSnapshotRestorationsResponsePBImpl() {
502
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
503
504
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
505
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
506
#else
507
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
508
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
509
26.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
510
26.8k
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsRestorationInfoPB();
511
26.8k
  {
512
26.8k
    void* ptr = &::yb::master::_ListSnapshotRestorationsResponsePB_default_instance_;
513
26.8k
    new (ptr) ::yb::master::ListSnapshotRestorationsResponsePB();
514
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
515
26.8k
  }
516
26.8k
  ::yb::master::ListSnapshotRestorationsResponsePB::InitAsDefaultInstance();
517
26.8k
}
518
519
26.8k
void InitDefaultsListSnapshotRestorationsResponsePB() {
520
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
521
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListSnapshotRestorationsResponsePBImpl);
522
26.8k
}
523
524
26.8k
void InitDefaultsIdPairPBImpl() {
525
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
526
527
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
528
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
529
#else
530
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
531
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
532
26.8k
  {
533
26.8k
    void* ptr = &::yb::master::_IdPairPB_default_instance_;
534
26.8k
    new (ptr) ::yb::master::IdPairPB();
535
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
536
26.8k
  }
537
26.8k
  ::yb::master::IdPairPB::InitAsDefaultInstance();
538
26.8k
}
539
540
53.7k
void InitDefaultsIdPairPB() {
541
53.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
542
53.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIdPairPBImpl);
543
53.7k
}
544
545
26.8k
void InitDefaultsImportSnapshotMetaResponsePB_TableMetaPBImpl() {
546
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
547
548
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
549
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
550
#else
551
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
552
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
553
26.8k
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsIdPairPB();
554
26.8k
  {
555
26.8k
    void* ptr = &::yb::master::_ImportSnapshotMetaResponsePB_TableMetaPB_default_instance_;
556
26.8k
    new (ptr) ::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB();
557
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
558
26.8k
  }
559
26.8k
  ::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB::InitAsDefaultInstance();
560
26.8k
}
561
562
53.7k
void InitDefaultsImportSnapshotMetaResponsePB_TableMetaPB() {
563
53.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
564
53.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsImportSnapshotMetaResponsePB_TableMetaPBImpl);
565
53.7k
}
566
567
26.8k
void InitDefaultsImportSnapshotMetaResponsePBImpl() {
568
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
569
570
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
571
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
572
#else
573
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
574
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
575
26.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
576
26.8k
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsImportSnapshotMetaResponsePB_TableMetaPB();
577
26.8k
  {
578
26.8k
    void* ptr = &::yb::master::_ImportSnapshotMetaResponsePB_default_instance_;
579
26.8k
    new (ptr) ::yb::master::ImportSnapshotMetaResponsePB();
580
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
581
26.8k
  }
582
26.8k
  ::yb::master::ImportSnapshotMetaResponsePB::InitAsDefaultInstance();
583
26.8k
}
584
585
26.8k
void InitDefaultsImportSnapshotMetaResponsePB() {
586
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
587
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsImportSnapshotMetaResponsePBImpl);
588
26.8k
}
589
590
26.8k
void InitDefaultsTableIdentifiersPBImpl() {
591
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
592
593
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
594
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
595
#else
596
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
597
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
598
26.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsTableIdentifierPB();
599
26.8k
  {
600
26.8k
    void* ptr = &::yb::master::_TableIdentifiersPB_default_instance_;
601
26.8k
    new (ptr) ::yb::master::TableIdentifiersPB();
602
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
603
26.8k
  }
604
26.8k
  ::yb::master::TableIdentifiersPB::InitAsDefaultInstance();
605
26.8k
}
606
607
53.8k
void InitDefaultsTableIdentifiersPB() {
608
53.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
609
53.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTableIdentifiersPBImpl);
610
53.8k
}
611
612
26.8k
void InitDefaultsSnapshotScheduleFilterPBImpl() {
613
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
614
615
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
616
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
617
#else
618
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
619
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
620
26.8k
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsTableIdentifiersPB();
621
26.8k
  {
622
26.8k
    void* ptr = &::yb::master::_SnapshotScheduleFilterPB_default_instance_;
623
26.8k
    new (ptr) ::yb::master::SnapshotScheduleFilterPB();
624
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
625
26.8k
  }
626
26.8k
  ::yb::master::SnapshotScheduleFilterPB::InitAsDefaultInstance();
627
26.8k
}
628
629
53.8k
void InitDefaultsSnapshotScheduleFilterPB() {
630
53.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
631
53.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSnapshotScheduleFilterPBImpl);
632
53.8k
}
633
634
26.8k
void InitDefaultsSnapshotScheduleOptionsPBImpl() {
635
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
636
637
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
638
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
639
#else
640
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
641
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
642
26.8k
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSnapshotScheduleFilterPB();
643
26.8k
  {
644
26.8k
    void* ptr = &::yb::master::_SnapshotScheduleOptionsPB_default_instance_;
645
26.8k
    new (ptr) ::yb::master::SnapshotScheduleOptionsPB();
646
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
647
26.8k
  }
648
26.8k
  ::yb::master::SnapshotScheduleOptionsPB::InitAsDefaultInstance();
649
26.8k
}
650
651
80.7k
void InitDefaultsSnapshotScheduleOptionsPB() {
652
80.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
653
80.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSnapshotScheduleOptionsPBImpl);
654
80.7k
}
655
656
26.8k
void InitDefaultsCreateSnapshotScheduleRequestPBImpl() {
657
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
658
659
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
660
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
661
#else
662
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
663
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
664
26.8k
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSnapshotScheduleOptionsPB();
665
26.8k
  {
666
26.8k
    void* ptr = &::yb::master::_CreateSnapshotScheduleRequestPB_default_instance_;
667
26.8k
    new (ptr) ::yb::master::CreateSnapshotScheduleRequestPB();
668
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
669
26.8k
  }
670
26.8k
  ::yb::master::CreateSnapshotScheduleRequestPB::InitAsDefaultInstance();
671
26.8k
}
672
673
26.8k
void InitDefaultsCreateSnapshotScheduleRequestPB() {
674
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
675
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCreateSnapshotScheduleRequestPBImpl);
676
26.8k
}
677
678
26.8k
void InitDefaultsCreateSnapshotScheduleResponsePBImpl() {
679
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
680
681
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
682
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
683
#else
684
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
685
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
686
26.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
687
26.8k
  {
688
26.8k
    void* ptr = &::yb::master::_CreateSnapshotScheduleResponsePB_default_instance_;
689
26.8k
    new (ptr) ::yb::master::CreateSnapshotScheduleResponsePB();
690
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
691
26.8k
  }
692
26.8k
  ::yb::master::CreateSnapshotScheduleResponsePB::InitAsDefaultInstance();
693
26.8k
}
694
695
26.8k
void InitDefaultsCreateSnapshotScheduleResponsePB() {
696
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
697
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCreateSnapshotScheduleResponsePBImpl);
698
26.8k
}
699
700
26.8k
void InitDefaultsListSnapshotSchedulesRequestPBImpl() {
701
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
702
703
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
704
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
705
#else
706
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
707
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
708
26.8k
  {
709
26.8k
    void* ptr = &::yb::master::_ListSnapshotSchedulesRequestPB_default_instance_;
710
26.8k
    new (ptr) ::yb::master::ListSnapshotSchedulesRequestPB();
711
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
712
26.8k
  }
713
26.8k
  ::yb::master::ListSnapshotSchedulesRequestPB::InitAsDefaultInstance();
714
26.8k
}
715
716
26.8k
void InitDefaultsListSnapshotSchedulesRequestPB() {
717
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
718
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListSnapshotSchedulesRequestPBImpl);
719
26.8k
}
720
721
26.8k
void InitDefaultsSnapshotScheduleInfoPBImpl() {
722
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
723
724
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
725
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
726
#else
727
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
728
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
729
26.8k
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSnapshotScheduleOptionsPB();
730
26.8k
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSnapshotInfoPB();
731
26.8k
  {
732
26.8k
    void* ptr = &::yb::master::_SnapshotScheduleInfoPB_default_instance_;
733
26.8k
    new (ptr) ::yb::master::SnapshotScheduleInfoPB();
734
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
735
26.8k
  }
736
26.8k
  ::yb::master::SnapshotScheduleInfoPB::InitAsDefaultInstance();
737
26.8k
}
738
739
53.7k
void InitDefaultsSnapshotScheduleInfoPB() {
740
53.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
741
53.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSnapshotScheduleInfoPBImpl);
742
53.7k
}
743
744
26.8k
void InitDefaultsListSnapshotSchedulesResponsePBImpl() {
745
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
746
747
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
748
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
749
#else
750
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
751
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
752
26.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
753
26.8k
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSnapshotScheduleInfoPB();
754
26.8k
  {
755
26.8k
    void* ptr = &::yb::master::_ListSnapshotSchedulesResponsePB_default_instance_;
756
26.8k
    new (ptr) ::yb::master::ListSnapshotSchedulesResponsePB();
757
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
758
26.8k
  }
759
26.8k
  ::yb::master::ListSnapshotSchedulesResponsePB::InitAsDefaultInstance();
760
26.8k
}
761
762
26.8k
void InitDefaultsListSnapshotSchedulesResponsePB() {
763
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
764
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListSnapshotSchedulesResponsePBImpl);
765
26.8k
}
766
767
26.8k
void InitDefaultsDeleteSnapshotScheduleRequestPBImpl() {
768
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
769
770
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
771
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
772
#else
773
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
774
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
775
26.8k
  {
776
26.8k
    void* ptr = &::yb::master::_DeleteSnapshotScheduleRequestPB_default_instance_;
777
26.8k
    new (ptr) ::yb::master::DeleteSnapshotScheduleRequestPB();
778
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
779
26.8k
  }
780
26.8k
  ::yb::master::DeleteSnapshotScheduleRequestPB::InitAsDefaultInstance();
781
26.8k
}
782
783
26.8k
void InitDefaultsDeleteSnapshotScheduleRequestPB() {
784
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
785
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDeleteSnapshotScheduleRequestPBImpl);
786
26.8k
}
787
788
26.8k
void InitDefaultsDeleteSnapshotScheduleResponsePBImpl() {
789
26.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
790
791
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
792
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
793
#else
794
26.8k
  ::google::protobuf::internal::InitProtobufDefaults();
795
26.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
796
26.8k
  protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::InitDefaultsMasterErrorPB();
797
26.8k
  {
798
26.8k
    void* ptr = &::yb::master::_DeleteSnapshotScheduleResponsePB_default_instance_;
799
26.8k
    new (ptr) ::yb::master::DeleteSnapshotScheduleResponsePB();
800
26.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
801
26.8k
  }
802
26.8k
  ::yb::master::DeleteSnapshotScheduleResponsePB::InitAsDefaultInstance();
803
26.8k
}
804
805
26.8k
void InitDefaultsDeleteSnapshotScheduleResponsePB() {
806
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
807
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDeleteSnapshotScheduleResponsePBImpl);
808
26.8k
}
809
810
::google::protobuf::Metadata file_level_metadata[29];
811
const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[1];
812
813
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
814
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackupRowEntryPB, _has_bits_),
815
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackupRowEntryPB, _internal_metadata_),
816
  ~0u,  // no _extensions_
817
  ~0u,  // no _oneof_case_
818
  ~0u,  // no _weak_field_map_
819
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackupRowEntryPB, entry_),
820
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::BackupRowEntryPB, pg_schema_name_),
821
  1,
822
  0,
823
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateSnapshotRequestPB, _has_bits_),
824
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateSnapshotRequestPB, _internal_metadata_),
825
  ~0u,  // no _extensions_
826
  ~0u,  // no _oneof_case_
827
  ~0u,  // no _weak_field_map_
828
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateSnapshotRequestPB, tables_),
829
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateSnapshotRequestPB, transaction_aware_),
830
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateSnapshotRequestPB, add_indexes_),
831
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateSnapshotRequestPB, imported_),
832
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateSnapshotRequestPB, schedule_id_),
833
  ~0u,
834
  1,
835
  2,
836
  3,
837
  0,
838
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateSnapshotResponsePB, _has_bits_),
839
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateSnapshotResponsePB, _internal_metadata_),
840
  ~0u,  // no _extensions_
841
  ~0u,  // no _oneof_case_
842
  ~0u,  // no _weak_field_map_
843
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateSnapshotResponsePB, error_),
844
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateSnapshotResponsePB, snapshot_id_),
845
  1,
846
  0,
847
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotInfoPB, _has_bits_),
848
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotInfoPB, _internal_metadata_),
849
  ~0u,  // no _extensions_
850
  ~0u,  // no _oneof_case_
851
  ~0u,  // no _weak_field_map_
852
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotInfoPB, id_),
853
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotInfoPB, entry_),
854
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotInfoPB, format_version_),
855
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotInfoPB, backup_entries_),
856
  0,
857
  1,
858
  2,
859
  ~0u,
860
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::TabletRestorationPB, _has_bits_),
861
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::TabletRestorationPB, _internal_metadata_),
862
  ~0u,  // no _extensions_
863
  ~0u,  // no _oneof_case_
864
  ~0u,  // no _weak_field_map_
865
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::TabletRestorationPB, id_),
866
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::TabletRestorationPB, state_),
867
  0,
868
  1,
869
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRestorationEntryPB, _has_bits_),
870
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRestorationEntryPB, _internal_metadata_),
871
  ~0u,  // no _extensions_
872
  ~0u,  // no _oneof_case_
873
  ~0u,  // no _weak_field_map_
874
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRestorationEntryPB, state_),
875
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRestorationEntryPB, tablet_restorations_),
876
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRestorationEntryPB, snapshot_id_),
877
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SysRestorationEntryPB, complete_time_ht_),
878
  2,
879
  ~0u,
880
  0,
881
  1,
882
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::RestorationInfoPB, _has_bits_),
883
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::RestorationInfoPB, _internal_metadata_),
884
  ~0u,  // no _extensions_
885
  ~0u,  // no _oneof_case_
886
  ~0u,  // no _weak_field_map_
887
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::RestorationInfoPB, id_),
888
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::RestorationInfoPB, entry_),
889
  0,
890
  1,
891
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotsRequestPB, _has_bits_),
892
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotsRequestPB, _internal_metadata_),
893
  ~0u,  // no _extensions_
894
  ~0u,  // no _oneof_case_
895
  ~0u,  // no _weak_field_map_
896
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotsRequestPB, snapshot_id_),
897
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotsRequestPB, list_deleted_snapshots_),
898
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotsRequestPB, prepare_for_backup_),
899
  0,
900
  1,
901
  2,
902
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotsResponsePB, _has_bits_),
903
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotsResponsePB, _internal_metadata_),
904
  ~0u,  // no _extensions_
905
  ~0u,  // no _oneof_case_
906
  ~0u,  // no _weak_field_map_
907
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotsResponsePB, error_),
908
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotsResponsePB, current_snapshot_id_),
909
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotsResponsePB, snapshots_),
910
  1,
911
  0,
912
  ~0u,
913
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::RestoreSnapshotRequestPB, _has_bits_),
914
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::RestoreSnapshotRequestPB, _internal_metadata_),
915
  ~0u,  // no _extensions_
916
  ~0u,  // no _oneof_case_
917
  ~0u,  // no _weak_field_map_
918
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::RestoreSnapshotRequestPB, snapshot_id_),
919
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::RestoreSnapshotRequestPB, restore_ht_),
920
  0,
921
  1,
922
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::RestoreSnapshotResponsePB, _has_bits_),
923
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::RestoreSnapshotResponsePB, _internal_metadata_),
924
  ~0u,  // no _extensions_
925
  ~0u,  // no _oneof_case_
926
  ~0u,  // no _weak_field_map_
927
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::RestoreSnapshotResponsePB, error_),
928
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::RestoreSnapshotResponsePB, restoration_id_),
929
  1,
930
  0,
931
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteSnapshotRequestPB, _has_bits_),
932
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteSnapshotRequestPB, _internal_metadata_),
933
  ~0u,  // no _extensions_
934
  ~0u,  // no _oneof_case_
935
  ~0u,  // no _weak_field_map_
936
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteSnapshotRequestPB, snapshot_id_),
937
  0,
938
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteSnapshotResponsePB, _has_bits_),
939
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteSnapshotResponsePB, _internal_metadata_),
940
  ~0u,  // no _extensions_
941
  ~0u,  // no _oneof_case_
942
  ~0u,  // no _weak_field_map_
943
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteSnapshotResponsePB, error_),
944
  0,
945
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ImportSnapshotMetaRequestPB, _has_bits_),
946
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ImportSnapshotMetaRequestPB, _internal_metadata_),
947
  ~0u,  // no _extensions_
948
  ~0u,  // no _oneof_case_
949
  ~0u,  // no _weak_field_map_
950
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ImportSnapshotMetaRequestPB, snapshot_),
951
  0,
952
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotRestorationsRequestPB, _has_bits_),
953
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotRestorationsRequestPB, _internal_metadata_),
954
  ~0u,  // no _extensions_
955
  ~0u,  // no _oneof_case_
956
  ~0u,  // no _weak_field_map_
957
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotRestorationsRequestPB, snapshot_id_),
958
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotRestorationsRequestPB, restoration_id_),
959
  0,
960
  1,
961
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotRestorationsResponsePB, _has_bits_),
962
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotRestorationsResponsePB, _internal_metadata_),
963
  ~0u,  // no _extensions_
964
  ~0u,  // no _oneof_case_
965
  ~0u,  // no _weak_field_map_
966
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotRestorationsResponsePB, status_),
967
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotRestorationsResponsePB, restorations_),
968
  0,
969
  ~0u,
970
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IdPairPB, _has_bits_),
971
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IdPairPB, _internal_metadata_),
972
  ~0u,  // no _extensions_
973
  ~0u,  // no _oneof_case_
974
  ~0u,  // no _weak_field_map_
975
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IdPairPB, old_id_),
976
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::IdPairPB, new_id_),
977
  0,
978
  1,
979
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB, _has_bits_),
980
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB, _internal_metadata_),
981
  ~0u,  // no _extensions_
982
  ~0u,  // no _oneof_case_
983
  ~0u,  // no _weak_field_map_
984
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB, namespace_ids_),
985
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB, table_ids_),
986
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB, tablets_ids_),
987
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB, table_type_),
988
  0,
989
  1,
990
  ~0u,
991
  2,
992
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ImportSnapshotMetaResponsePB, _has_bits_),
993
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ImportSnapshotMetaResponsePB, _internal_metadata_),
994
  ~0u,  // no _extensions_
995
  ~0u,  // no _oneof_case_
996
  ~0u,  // no _weak_field_map_
997
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ImportSnapshotMetaResponsePB, error_),
998
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ImportSnapshotMetaResponsePB, tables_meta_),
999
  0,
1000
  ~0u,
1001
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::TableIdentifiersPB, _has_bits_),
1002
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::TableIdentifiersPB, _internal_metadata_),
1003
  ~0u,  // no _extensions_
1004
  ~0u,  // no _oneof_case_
1005
  ~0u,  // no _weak_field_map_
1006
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::TableIdentifiersPB, tables_),
1007
  ~0u,
1008
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotScheduleFilterPB, _has_bits_),
1009
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotScheduleFilterPB, _internal_metadata_),
1010
  ~0u,  // no _extensions_
1011
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotScheduleFilterPB, _oneof_case_[0]),
1012
  ~0u,  // no _weak_field_map_
1013
  offsetof(::yb::master::SnapshotScheduleFilterPBDefaultTypeInternal, tables_),
1014
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotScheduleFilterPB, filter_),
1015
  ~0u,
1016
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotScheduleOptionsPB, _has_bits_),
1017
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotScheduleOptionsPB, _internal_metadata_),
1018
  ~0u,  // no _extensions_
1019
  ~0u,  // no _oneof_case_
1020
  ~0u,  // no _weak_field_map_
1021
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotScheduleOptionsPB, filter_),
1022
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotScheduleOptionsPB, interval_sec_),
1023
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotScheduleOptionsPB, retention_duration_sec_),
1024
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotScheduleOptionsPB, delete_time_),
1025
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotScheduleOptionsPB, restoration_times_),
1026
  0,
1027
  1,
1028
  2,
1029
  3,
1030
  ~0u,
1031
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateSnapshotScheduleRequestPB, _has_bits_),
1032
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateSnapshotScheduleRequestPB, _internal_metadata_),
1033
  ~0u,  // no _extensions_
1034
  ~0u,  // no _oneof_case_
1035
  ~0u,  // no _weak_field_map_
1036
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateSnapshotScheduleRequestPB, options_),
1037
  0,
1038
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateSnapshotScheduleResponsePB, _has_bits_),
1039
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateSnapshotScheduleResponsePB, _internal_metadata_),
1040
  ~0u,  // no _extensions_
1041
  ~0u,  // no _oneof_case_
1042
  ~0u,  // no _weak_field_map_
1043
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateSnapshotScheduleResponsePB, error_),
1044
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::CreateSnapshotScheduleResponsePB, snapshot_schedule_id_),
1045
  1,
1046
  0,
1047
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotSchedulesRequestPB, _has_bits_),
1048
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotSchedulesRequestPB, _internal_metadata_),
1049
  ~0u,  // no _extensions_
1050
  ~0u,  // no _oneof_case_
1051
  ~0u,  // no _weak_field_map_
1052
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotSchedulesRequestPB, snapshot_schedule_id_),
1053
  0,
1054
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotScheduleInfoPB, _has_bits_),
1055
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotScheduleInfoPB, _internal_metadata_),
1056
  ~0u,  // no _extensions_
1057
  ~0u,  // no _oneof_case_
1058
  ~0u,  // no _weak_field_map_
1059
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotScheduleInfoPB, id_),
1060
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotScheduleInfoPB, options_),
1061
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::SnapshotScheduleInfoPB, snapshots_),
1062
  0,
1063
  1,
1064
  ~0u,
1065
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotSchedulesResponsePB, _has_bits_),
1066
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotSchedulesResponsePB, _internal_metadata_),
1067
  ~0u,  // no _extensions_
1068
  ~0u,  // no _oneof_case_
1069
  ~0u,  // no _weak_field_map_
1070
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotSchedulesResponsePB, error_),
1071
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::ListSnapshotSchedulesResponsePB, schedules_),
1072
  0,
1073
  ~0u,
1074
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteSnapshotScheduleRequestPB, _has_bits_),
1075
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteSnapshotScheduleRequestPB, _internal_metadata_),
1076
  ~0u,  // no _extensions_
1077
  ~0u,  // no _oneof_case_
1078
  ~0u,  // no _weak_field_map_
1079
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteSnapshotScheduleRequestPB, snapshot_schedule_id_),
1080
  0,
1081
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteSnapshotScheduleResponsePB, _has_bits_),
1082
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteSnapshotScheduleResponsePB, _internal_metadata_),
1083
  ~0u,  // no _extensions_
1084
  ~0u,  // no _oneof_case_
1085
  ~0u,  // no _weak_field_map_
1086
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::master::DeleteSnapshotScheduleResponsePB, error_),
1087
  0,
1088
};
1089
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
1090
  { 0, 7, sizeof(::yb::master::BackupRowEntryPB)},
1091
  { 9, 19, sizeof(::yb::master::CreateSnapshotRequestPB)},
1092
  { 24, 31, sizeof(::yb::master::CreateSnapshotResponsePB)},
1093
  { 33, 42, sizeof(::yb::master::SnapshotInfoPB)},
1094
  { 46, 53, sizeof(::yb::master::TabletRestorationPB)},
1095
  { 55, 64, sizeof(::yb::master::SysRestorationEntryPB)},
1096
  { 68, 75, sizeof(::yb::master::RestorationInfoPB)},
1097
  { 77, 85, sizeof(::yb::master::ListSnapshotsRequestPB)},
1098
  { 88, 96, sizeof(::yb::master::ListSnapshotsResponsePB)},
1099
  { 99, 106, sizeof(::yb::master::RestoreSnapshotRequestPB)},
1100
  { 108, 115, sizeof(::yb::master::RestoreSnapshotResponsePB)},
1101
  { 117, 123, sizeof(::yb::master::DeleteSnapshotRequestPB)},
1102
  { 124, 130, sizeof(::yb::master::DeleteSnapshotResponsePB)},
1103
  { 131, 137, sizeof(::yb::master::ImportSnapshotMetaRequestPB)},
1104
  { 138, 145, sizeof(::yb::master::ListSnapshotRestorationsRequestPB)},
1105
  { 147, 154, sizeof(::yb::master::ListSnapshotRestorationsResponsePB)},
1106
  { 156, 163, sizeof(::yb::master::IdPairPB)},
1107
  { 165, 174, sizeof(::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB)},
1108
  { 178, 185, sizeof(::yb::master::ImportSnapshotMetaResponsePB)},
1109
  { 187, 193, sizeof(::yb::master::TableIdentifiersPB)},
1110
  { 194, 201, sizeof(::yb::master::SnapshotScheduleFilterPB)},
1111
  { 202, 212, sizeof(::yb::master::SnapshotScheduleOptionsPB)},
1112
  { 217, 223, sizeof(::yb::master::CreateSnapshotScheduleRequestPB)},
1113
  { 224, 231, sizeof(::yb::master::CreateSnapshotScheduleResponsePB)},
1114
  { 233, 239, sizeof(::yb::master::ListSnapshotSchedulesRequestPB)},
1115
  { 240, 248, sizeof(::yb::master::SnapshotScheduleInfoPB)},
1116
  { 251, 258, sizeof(::yb::master::ListSnapshotSchedulesResponsePB)},
1117
  { 260, 266, sizeof(::yb::master::DeleteSnapshotScheduleRequestPB)},
1118
  { 267, 273, sizeof(::yb::master::DeleteSnapshotScheduleResponsePB)},
1119
};
1120
1121
static ::google::protobuf::Message const * const file_default_instances[] = {
1122
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_BackupRowEntryPB_default_instance_),
1123
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_CreateSnapshotRequestPB_default_instance_),
1124
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_CreateSnapshotResponsePB_default_instance_),
1125
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SnapshotInfoPB_default_instance_),
1126
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_TabletRestorationPB_default_instance_),
1127
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SysRestorationEntryPB_default_instance_),
1128
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_RestorationInfoPB_default_instance_),
1129
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListSnapshotsRequestPB_default_instance_),
1130
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListSnapshotsResponsePB_default_instance_),
1131
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_RestoreSnapshotRequestPB_default_instance_),
1132
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_RestoreSnapshotResponsePB_default_instance_),
1133
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_DeleteSnapshotRequestPB_default_instance_),
1134
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_DeleteSnapshotResponsePB_default_instance_),
1135
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ImportSnapshotMetaRequestPB_default_instance_),
1136
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListSnapshotRestorationsRequestPB_default_instance_),
1137
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListSnapshotRestorationsResponsePB_default_instance_),
1138
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_IdPairPB_default_instance_),
1139
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ImportSnapshotMetaResponsePB_TableMetaPB_default_instance_),
1140
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ImportSnapshotMetaResponsePB_default_instance_),
1141
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_TableIdentifiersPB_default_instance_),
1142
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SnapshotScheduleFilterPB_default_instance_),
1143
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SnapshotScheduleOptionsPB_default_instance_),
1144
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_CreateSnapshotScheduleRequestPB_default_instance_),
1145
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_CreateSnapshotScheduleResponsePB_default_instance_),
1146
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListSnapshotSchedulesRequestPB_default_instance_),
1147
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_SnapshotScheduleInfoPB_default_instance_),
1148
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_ListSnapshotSchedulesResponsePB_default_instance_),
1149
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_DeleteSnapshotScheduleRequestPB_default_instance_),
1150
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::master::_DeleteSnapshotScheduleResponsePB_default_instance_),
1151
};
1152
1153
15
void protobuf_AssignDescriptors() {
1154
15
  AddDescriptors();
1155
15
  ::google::protobuf::MessageFactory* factory = NULL;
1156
15
  AssignDescriptors(
1157
15
      "yb/master/master_backup.proto", schemas, file_default_instances, TableStruct::offsets, factory,
1158
15
      file_level_metadata, file_level_enum_descriptors, NULL);
1159
15
}
1160
1161
130
void protobuf_AssignDescriptorsOnce() {
1162
130
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1163
130
  ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
1164
130
}
1165
1166
void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
1167
0
void protobuf_RegisterTypes(const ::std::string&) {
1168
0
  protobuf_AssignDescriptorsOnce();
1169
0
  ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 29);
1170
0
}
1171
1172
26.8k
void AddDescriptorsImpl() {
1173
26.8k
  InitDefaults();
1174
26.8k
  static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
1175
26.8k
      "\n\035yb/master/master_backup.proto\022\tyb.mast"
1176
26.8k
      "er\032\035yb/common/wire_protocol.proto\032#yb/ma"
1177
26.8k
      "ster/catalog_entity_info.proto\032\034yb/maste"
1178
26.8k
      "r/master_types.proto\"Q\n\020BackupRowEntryPB"
1179
26.8k
      "\022%\n\005entry\030\001 \001(\0132\026.yb.master.SysRowEntry\022"
1180
26.8k
      "\026\n\016pg_schema_name\030\002 \001(\014\"\245\001\n\027CreateSnapsh"
1181
26.8k
      "otRequestPB\022,\n\006tables\030\001 \003(\0132\034.yb.master."
1182
26.8k
      "TableIdentifierPB\022\031\n\021transaction_aware\030\002"
1183
26.8k
      " \001(\010\022\032\n\013add_indexes\030\003 \001(\010:\005false\022\020\n\010impo"
1184
26.8k
      "rted\030\004 \001(\010\022\023\n\013schedule_id\030\005 \001(\014\"X\n\030Creat"
1185
26.8k
      "eSnapshotResponsePB\022\'\n\005error\030\001 \001(\0132\030.yb."
1186
26.8k
      "master.MasterErrorPB\022\023\n\013snapshot_id\030\002 \001("
1187
26.8k
      "\014\"\232\001\n\016SnapshotInfoPB\022\n\n\002id\030\001 \001(\014\022,\n\005entr"
1188
26.8k
      "y\030\002 \001(\0132\035.yb.master.SysSnapshotEntryPB\022\031"
1189
26.8k
      "\n\016format_version\030\003 \001(\003:\0011\0223\n\016backup_entr"
1190
26.8k
      "ies\030\004 \003(\0132\033.yb.master.BackupRowEntryPB\"U"
1191
26.8k
      "\n\023TabletRestorationPB\022\n\n\002id\030\001 \001(\014\0222\n\005sta"
1192
26.8k
      "te\030\002 \001(\0162#.yb.master.SysSnapshotEntryPB."
1193
26.8k
      "State\"\300\001\n\025SysRestorationEntryPB\022;\n\005state"
1194
26.8k
      "\030\001 \001(\0162#.yb.master.SysSnapshotEntryPB.St"
1195
26.8k
      "ate:\007UNKNOWN\022;\n\023tablet_restorations\030\002 \003("
1196
26.8k
      "\0132\036.yb.master.TabletRestorationPB\022\023\n\013sna"
1197
26.8k
      "pshot_id\030\010 \001(\014\022\030\n\020complete_time_ht\030\003 \001(\006"
1198
26.8k
      "\"P\n\021RestorationInfoPB\022\n\n\002id\030\001 \001(\014\022/\n\005ent"
1199
26.8k
      "ry\030\002 \001(\0132 .yb.master.SysRestorationEntry"
1200
26.8k
      "PB\"i\n\026ListSnapshotsRequestPB\022\023\n\013snapshot"
1201
26.8k
      "_id\030\002 \001(\014\022\036\n\026list_deleted_snapshots\030\003 \001("
1202
26.8k
      "\010\022\032\n\022prepare_for_backup\030\004 \001(\010\"\215\001\n\027ListSn"
1203
26.8k
      "apshotsResponsePB\022\'\n\005error\030\001 \001(\0132\030.yb.ma"
1204
26.8k
      "ster.MasterErrorPB\022\033\n\023current_snapshot_i"
1205
26.8k
      "d\030\002 \001(\014\022,\n\tsnapshots\030\003 \003(\0132\031.yb.master.S"
1206
26.8k
      "napshotInfoPB\"C\n\030RestoreSnapshotRequestP"
1207
26.8k
      "B\022\023\n\013snapshot_id\030\002 \001(\014\022\022\n\nrestore_ht\030\003 \001"
1208
26.8k
      "(\006\"\\\n\031RestoreSnapshotResponsePB\022\'\n\005error"
1209
26.8k
      "\030\001 \001(\0132\030.yb.master.MasterErrorPB\022\026\n\016rest"
1210
26.8k
      "oration_id\030\002 \001(\014\".\n\027DeleteSnapshotReques"
1211
26.8k
      "tPB\022\023\n\013snapshot_id\030\002 \001(\014\"C\n\030DeleteSnapsh"
1212
26.8k
      "otResponsePB\022\'\n\005error\030\001 \001(\0132\030.yb.master."
1213
26.8k
      "MasterErrorPB\"J\n\033ImportSnapshotMetaReque"
1214
26.8k
      "stPB\022+\n\010snapshot\030\001 \001(\0132\031.yb.master.Snaps"
1215
26.8k
      "hotInfoPB\"P\n!ListSnapshotRestorationsReq"
1216
26.8k
      "uestPB\022\023\n\013snapshot_id\030\001 \001(\014\022\026\n\016restorati"
1217
26.8k
      "on_id\030\002 \001(\014\"y\n\"ListSnapshotRestorationsR"
1218
26.8k
      "esponsePB\022\037\n\006status\030\001 \001(\0132\017.yb.AppStatus"
1219
26.8k
      "PB\0222\n\014restorations\030\002 \003(\0132\034.yb.master.Res"
1220
26.8k
      "torationInfoPB\"*\n\010IdPairPB\022\016\n\006old_id\030\001 \001"
1221
26.8k
      "(\014\022\016\n\006new_id\030\002 \001(\014\"\266\003\n\034ImportSnapshotMet"
1222
26.8k
      "aResponsePB\022\'\n\005error\030\001 \001(\0132\030.yb.master.M"
1223
26.8k
      "asterErrorPB\022H\n\013tables_meta\030\003 \003(\01323.yb.m"
1224
26.8k
      "aster.ImportSnapshotMetaResponsePB.Table"
1225
26.8k
      "MetaPB\032\331\001\n\013TableMetaPB\022*\n\rnamespace_ids\030"
1226
26.8k
      "\001 \001(\0132\023.yb.master.IdPairPB\022&\n\ttable_ids\030"
1227
26.8k
      "\002 \001(\0132\023.yb.master.IdPairPB\022(\n\013tablets_id"
1228
26.8k
      "s\030\003 \003(\0132\023.yb.master.IdPairPB\022L\n\ntable_ty"
1229
26.8k
      "pe\030\004 \001(\01621.yb.master.ImportSnapshotMetaR"
1230
26.8k
      "esponsePB.TableType:\005TABLE\"G\n\tTableType\022"
1231
26.8k
      "\t\n\005TABLE\020\000\022\023\n\017COLOCATED_TABLE\020\001\022\032\n\026PAREN"
1232
26.8k
      "T_COLOCATED_TABLE\020\002\"B\n\022TableIdentifiersP"
1233
26.8k
      "B\022,\n\006tables\030\001 \003(\0132\034.yb.master.TableIdent"
1234
26.8k
      "ifierPB\"U\n\030SnapshotScheduleFilterPB\022/\n\006t"
1235
26.8k
      "ables\030\001 \001(\0132\035.yb.master.TableIdentifiers"
1236
26.8k
      "PBH\000B\010\n\006filter\"\266\001\n\031SnapshotScheduleOptio"
1237
26.8k
      "nsPB\0223\n\006filter\030\001 \001(\0132#.yb.master.Snapsho"
1238
26.8k
      "tScheduleFilterPB\022\024\n\014interval_sec\030\002 \001(\004\022"
1239
26.8k
      "\036\n\026retention_duration_sec\030\003 \001(\004\022\023\n\013delet"
1240
26.8k
      "e_time\030\004 \001(\006\022\031\n\021restoration_times\030\005 \003(\006\""
1241
26.8k
      "X\n\037CreateSnapshotScheduleRequestPB\0225\n\007op"
1242
26.8k
      "tions\030\001 \001(\0132$.yb.master.SnapshotSchedule"
1243
26.8k
      "OptionsPB\"i\n CreateSnapshotScheduleRespo"
1244
26.8k
      "nsePB\022\'\n\005error\030\001 \001(\0132\030.yb.master.MasterE"
1245
26.8k
      "rrorPB\022\034\n\024snapshot_schedule_id\030\002 \001(\014\">\n\036"
1246
26.8k
      "ListSnapshotSchedulesRequestPB\022\034\n\024snapsh"
1247
26.8k
      "ot_schedule_id\030\001 \001(\014\"\211\001\n\026SnapshotSchedul"
1248
26.8k
      "eInfoPB\022\n\n\002id\030\001 \001(\014\0225\n\007options\030\002 \001(\0132$.y"
1249
26.8k
      "b.master.SnapshotScheduleOptionsPB\022,\n\tsn"
1250
26.8k
      "apshots\030\003 \003(\0132\031.yb.master.SnapshotInfoPB"
1251
26.8k
      "\"\200\001\n\037ListSnapshotSchedulesResponsePB\022\'\n\005"
1252
26.8k
      "error\030\001 \001(\0132\030.yb.master.MasterErrorPB\0224\n"
1253
26.8k
      "\tschedules\030\002 \003(\0132!.yb.master.SnapshotSch"
1254
26.8k
      "eduleInfoPB\"\?\n\037DeleteSnapshotScheduleReq"
1255
26.8k
      "uestPB\022\034\n\024snapshot_schedule_id\030\001 \001(\014\"K\n "
1256
26.8k
      "DeleteSnapshotScheduleResponsePB\022\'\n\005erro"
1257
26.8k
      "r\030\001 \001(\0132\030.yb.master.MasterErrorPB2\260\007\n\014Ma"
1258
26.8k
      "sterBackup\022Y\n\016CreateSnapshot\022\".yb.master"
1259
26.8k
      ".CreateSnapshotRequestPB\032#.yb.master.Cre"
1260
26.8k
      "ateSnapshotResponsePB\022V\n\rListSnapshots\022!"
1261
26.8k
      ".yb.master.ListSnapshotsRequestPB\032\".yb.m"
1262
26.8k
      "aster.ListSnapshotsResponsePB\022w\n\030ListSna"
1263
26.8k
      "pshotRestorations\022,.yb.master.ListSnapsh"
1264
26.8k
      "otRestorationsRequestPB\032-.yb.master.List"
1265
26.8k
      "SnapshotRestorationsResponsePB\022\\\n\017Restor"
1266
26.8k
      "eSnapshot\022#.yb.master.RestoreSnapshotReq"
1267
26.8k
      "uestPB\032$.yb.master.RestoreSnapshotRespon"
1268
26.8k
      "sePB\022Y\n\016DeleteSnapshot\022\".yb.master.Delet"
1269
26.8k
      "eSnapshotRequestPB\032#.yb.master.DeleteSna"
1270
26.8k
      "pshotResponsePB\022e\n\022ImportSnapshotMeta\022&."
1271
26.8k
      "yb.master.ImportSnapshotMetaRequestPB\032\'."
1272
26.8k
      "yb.master.ImportSnapshotMetaResponsePB\022q"
1273
26.8k
      "\n\026CreateSnapshotSchedule\022*.yb.master.Cre"
1274
26.8k
      "ateSnapshotScheduleRequestPB\032+.yb.master"
1275
26.8k
      ".CreateSnapshotScheduleResponsePB\022n\n\025Lis"
1276
26.8k
      "tSnapshotSchedules\022).yb.master.ListSnaps"
1277
26.8k
      "hotSchedulesRequestPB\032*.yb.master.ListSn"
1278
26.8k
      "apshotSchedulesResponsePB\022q\n\026DeleteSnaps"
1279
26.8k
      "hotSchedule\022*.yb.master.DeleteSnapshotSc"
1280
26.8k
      "heduleRequestPB\032+.yb.master.DeleteSnapsh"
1281
26.8k
      "otScheduleResponsePBB\017\n\rorg.yb.master"
1282
26.8k
  };
1283
26.8k
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
1284
26.8k
      descriptor, 4277);
1285
26.8k
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
1286
26.8k
    "yb/master/master_backup.proto", &protobuf_RegisterTypes);
1287
26.8k
  ::protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::AddDescriptors();
1288
26.8k
  ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::AddDescriptors();
1289
26.8k
  ::protobuf_yb_2fmaster_2fmaster_5ftypes_2eproto::AddDescriptors();
1290
26.8k
}
1291
1292
26.8k
void AddDescriptors() {
1293
26.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1294
26.8k
  ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
1295
26.8k
}
1296
// Force AddDescriptors() to be called at dynamic initialization time.
1297
struct StaticDescriptorInitializer {
1298
26.8k
  StaticDescriptorInitializer() {
1299
26.8k
    AddDescriptors();
1300
26.8k
  }
1301
} static_descriptor_initializer;
1302
}  // namespace protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto
1303
namespace yb {
1304
namespace master {
1305
0
const ::google::protobuf::EnumDescriptor* ImportSnapshotMetaResponsePB_TableType_descriptor() {
1306
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
1307
0
  return protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_enum_descriptors[0];
1308
0
}
1309
0
bool ImportSnapshotMetaResponsePB_TableType_IsValid(int value) {
1310
0
  switch (value) {
1311
0
    case 0:
1312
0
    case 1:
1313
0
    case 2:
1314
0
      return true;
1315
0
    default:
1316
0
      return false;
1317
0
  }
1318
0
}
1319
1320
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1321
const ImportSnapshotMetaResponsePB_TableType ImportSnapshotMetaResponsePB::TABLE;
1322
const ImportSnapshotMetaResponsePB_TableType ImportSnapshotMetaResponsePB::COLOCATED_TABLE;
1323
const ImportSnapshotMetaResponsePB_TableType ImportSnapshotMetaResponsePB::PARENT_COLOCATED_TABLE;
1324
const ImportSnapshotMetaResponsePB_TableType ImportSnapshotMetaResponsePB::TableType_MIN;
1325
const ImportSnapshotMetaResponsePB_TableType ImportSnapshotMetaResponsePB::TableType_MAX;
1326
const int ImportSnapshotMetaResponsePB::TableType_ARRAYSIZE;
1327
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1328
1329
// ===================================================================
1330
1331
26.8k
void BackupRowEntryPB::InitAsDefaultInstance() {
1332
26.8k
  ::yb::master::_BackupRowEntryPB_default_instance_._instance.get_mutable()->entry_ = const_cast< ::yb::master::SysRowEntry*>(
1333
26.8k
      ::yb::master::SysRowEntry::internal_default_instance());
1334
26.8k
}
1335
0
void BackupRowEntryPB::clear_entry() {
1336
0
  if (entry_ != NULL) entry_->Clear();
1337
0
  clear_has_entry();
1338
0
}
1339
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1340
const int BackupRowEntryPB::kEntryFieldNumber;
1341
const int BackupRowEntryPB::kPgSchemaNameFieldNumber;
1342
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1343
1344
BackupRowEntryPB::BackupRowEntryPB()
1345
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
1346
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
1347
0
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsBackupRowEntryPB();
1348
0
  }
1349
26.8k
  SharedCtor();
1350
  // @@protoc_insertion_point(constructor:yb.master.BackupRowEntryPB)
1351
26.8k
}
1352
BackupRowEntryPB::BackupRowEntryPB(const BackupRowEntryPB& from)
1353
  : ::google::protobuf::Message(),
1354
      _internal_metadata_(NULL),
1355
      _has_bits_(from._has_bits_),
1356
0
      _cached_size_(0) {
1357
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1358
0
  pg_schema_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1359
0
  if (from.has_pg_schema_name()) {
1360
0
    pg_schema_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.pg_schema_name_);
1361
0
  }
1362
0
  if (from.has_entry()) {
1363
0
    entry_ = new ::yb::master::SysRowEntry(*from.entry_);
1364
0
  } else {
1365
0
    entry_ = NULL;
1366
0
  }
1367
  // @@protoc_insertion_point(copy_constructor:yb.master.BackupRowEntryPB)
1368
0
}
1369
1370
26.8k
void BackupRowEntryPB::SharedCtor() {
1371
26.8k
  _cached_size_ = 0;
1372
26.8k
  pg_schema_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1373
26.8k
  entry_ = NULL;
1374
26.8k
}
1375
1376
0
BackupRowEntryPB::~BackupRowEntryPB() {
1377
  // @@protoc_insertion_point(destructor:yb.master.BackupRowEntryPB)
1378
0
  SharedDtor();
1379
0
}
1380
1381
0
void BackupRowEntryPB::SharedDtor() {
1382
0
  pg_schema_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1383
0
  if (this != internal_default_instance()) delete entry_;
1384
0
}
1385
1386
0
void BackupRowEntryPB::SetCachedSize(int size) const {
1387
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1388
0
  _cached_size_ = size;
1389
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1390
0
}
1391
0
const ::google::protobuf::Descriptor* BackupRowEntryPB::descriptor() {
1392
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
1393
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
1394
0
}
1395
1396
0
const BackupRowEntryPB& BackupRowEntryPB::default_instance() {
1397
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsBackupRowEntryPB();
1398
0
  return *internal_default_instance();
1399
0
}
1400
1401
0
BackupRowEntryPB* BackupRowEntryPB::New(::google::protobuf::Arena* arena) const {
1402
0
  BackupRowEntryPB* n = new BackupRowEntryPB;
1403
0
  if (arena != NULL) {
1404
0
    arena->Own(n);
1405
0
  }
1406
0
  return n;
1407
0
}
1408
1409
0
void BackupRowEntryPB::Clear() {
1410
// @@protoc_insertion_point(message_clear_start:yb.master.BackupRowEntryPB)
1411
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1412
  // Prevent compiler warnings about cached_has_bits being unused
1413
0
  (void) cached_has_bits;
1414
1415
0
  cached_has_bits = _has_bits_[0];
1416
0
  if (cached_has_bits & 3u) {
1417
0
    if (cached_has_bits & 0x00000001u) {
1418
0
      GOOGLE_DCHECK(!pg_schema_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
1419
0
      (*pg_schema_name_.UnsafeRawStringPointer())->clear();
1420
0
    }
1421
0
    if (cached_has_bits & 0x00000002u) {
1422
0
      GOOGLE_DCHECK(entry_ != NULL);
1423
0
      entry_->Clear();
1424
0
    }
1425
0
  }
1426
0
  _has_bits_.Clear();
1427
0
  _internal_metadata_.Clear();
1428
0
}
1429
1430
bool BackupRowEntryPB::MergePartialFromCodedStream(
1431
0
    ::google::protobuf::io::CodedInputStream* input) {
1432
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
1433
0
  ::google::protobuf::uint32 tag;
1434
  // @@protoc_insertion_point(parse_start:yb.master.BackupRowEntryPB)
1435
0
  for (;;) {
1436
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1437
0
    tag = p.first;
1438
0
    if (!p.second) goto handle_unusual;
1439
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1440
      // optional .yb.master.SysRowEntry entry = 1;
1441
0
      case 1: {
1442
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1443
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
1444
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
1445
0
               input, mutable_entry()));
1446
0
        } else {
1447
0
          goto handle_unusual;
1448
0
        }
1449
0
        break;
1450
0
      }
1451
1452
      // optional bytes pg_schema_name = 2;
1453
0
      case 2: {
1454
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1455
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
1456
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
1457
0
                input, this->mutable_pg_schema_name()));
1458
0
        } else {
1459
0
          goto handle_unusual;
1460
0
        }
1461
0
        break;
1462
0
      }
1463
1464
0
      default: {
1465
0
      handle_unusual:
1466
0
        if (tag == 0) {
1467
0
          goto success;
1468
0
        }
1469
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
1470
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
1471
0
        break;
1472
0
      }
1473
0
    }
1474
0
  }
1475
0
success:
1476
  // @@protoc_insertion_point(parse_success:yb.master.BackupRowEntryPB)
1477
0
  return true;
1478
0
failure:
1479
  // @@protoc_insertion_point(parse_failure:yb.master.BackupRowEntryPB)
1480
0
  return false;
1481
0
#undef DO_
1482
0
}
1483
1484
void BackupRowEntryPB::SerializeWithCachedSizes(
1485
0
    ::google::protobuf::io::CodedOutputStream* output) const {
1486
  // @@protoc_insertion_point(serialize_start:yb.master.BackupRowEntryPB)
1487
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1488
0
  (void) cached_has_bits;
1489
1490
0
  cached_has_bits = _has_bits_[0];
1491
  // optional .yb.master.SysRowEntry entry = 1;
1492
0
  if (cached_has_bits & 0x00000002u) {
1493
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1494
0
      1, *this->entry_, output);
1495
0
  }
1496
1497
  // optional bytes pg_schema_name = 2;
1498
0
  if (cached_has_bits & 0x00000001u) {
1499
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
1500
0
      2, this->pg_schema_name(), output);
1501
0
  }
1502
1503
0
  if (_internal_metadata_.have_unknown_fields()) {
1504
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1505
0
        _internal_metadata_.unknown_fields(), output);
1506
0
  }
1507
  // @@protoc_insertion_point(serialize_end:yb.master.BackupRowEntryPB)
1508
0
}
1509
1510
::google::protobuf::uint8* BackupRowEntryPB::InternalSerializeWithCachedSizesToArray(
1511
0
    bool deterministic, ::google::protobuf::uint8* target) const {
1512
0
  (void)deterministic; // Unused
1513
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.BackupRowEntryPB)
1514
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1515
0
  (void) cached_has_bits;
1516
1517
0
  cached_has_bits = _has_bits_[0];
1518
  // optional .yb.master.SysRowEntry entry = 1;
1519
0
  if (cached_has_bits & 0x00000002u) {
1520
0
    target = ::google::protobuf::internal::WireFormatLite::
1521
0
      InternalWriteMessageToArray(
1522
0
        1, *this->entry_, deterministic, target);
1523
0
  }
1524
1525
  // optional bytes pg_schema_name = 2;
1526
0
  if (cached_has_bits & 0x00000001u) {
1527
0
    target =
1528
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
1529
0
        2, this->pg_schema_name(), target);
1530
0
  }
1531
1532
0
  if (_internal_metadata_.have_unknown_fields()) {
1533
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1534
0
        _internal_metadata_.unknown_fields(), target);
1535
0
  }
1536
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.BackupRowEntryPB)
1537
0
  return target;
1538
0
}
1539
1540
0
size_t BackupRowEntryPB::ByteSizeLong() const {
1541
// @@protoc_insertion_point(message_byte_size_start:yb.master.BackupRowEntryPB)
1542
0
  size_t total_size = 0;
1543
1544
0
  if (_internal_metadata_.have_unknown_fields()) {
1545
0
    total_size +=
1546
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1547
0
        _internal_metadata_.unknown_fields());
1548
0
  }
1549
0
  if (_has_bits_[0 / 32] & 3u) {
1550
    // optional bytes pg_schema_name = 2;
1551
0
    if (has_pg_schema_name()) {
1552
0
      total_size += 1 +
1553
0
        ::google::protobuf::internal::WireFormatLite::BytesSize(
1554
0
          this->pg_schema_name());
1555
0
    }
1556
1557
    // optional .yb.master.SysRowEntry entry = 1;
1558
0
    if (has_entry()) {
1559
0
      total_size += 1 +
1560
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
1561
0
          *this->entry_);
1562
0
    }
1563
1564
0
  }
1565
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1566
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1567
0
  _cached_size_ = cached_size;
1568
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1569
0
  return total_size;
1570
0
}
1571
1572
0
void BackupRowEntryPB::MergeFrom(const ::google::protobuf::Message& from) {
1573
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.BackupRowEntryPB)
1574
0
  GOOGLE_DCHECK_NE(&from, this);
1575
0
  const BackupRowEntryPB* source =
1576
0
      ::google::protobuf::internal::DynamicCastToGenerated<const BackupRowEntryPB>(
1577
0
          &from);
1578
0
  if (source == NULL) {
1579
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.BackupRowEntryPB)
1580
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1581
0
  } else {
1582
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.BackupRowEntryPB)
1583
0
    MergeFrom(*source);
1584
0
  }
1585
0
}
1586
1587
0
void BackupRowEntryPB::MergeFrom(const BackupRowEntryPB& from) {
1588
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.BackupRowEntryPB)
1589
0
  GOOGLE_DCHECK_NE(&from, this);
1590
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1591
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1592
0
  (void) cached_has_bits;
1593
1594
0
  cached_has_bits = from._has_bits_[0];
1595
0
  if (cached_has_bits & 3u) {
1596
0
    if (cached_has_bits & 0x00000001u) {
1597
0
      set_has_pg_schema_name();
1598
0
      pg_schema_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.pg_schema_name_);
1599
0
    }
1600
0
    if (cached_has_bits & 0x00000002u) {
1601
0
      mutable_entry()->::yb::master::SysRowEntry::MergeFrom(from.entry());
1602
0
    }
1603
0
  }
1604
0
}
1605
1606
0
void BackupRowEntryPB::CopyFrom(const ::google::protobuf::Message& from) {
1607
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.BackupRowEntryPB)
1608
0
  if (&from == this) return;
1609
0
  Clear();
1610
0
  MergeFrom(from);
1611
0
}
1612
1613
0
void BackupRowEntryPB::CopyFrom(const BackupRowEntryPB& from) {
1614
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.BackupRowEntryPB)
1615
0
  if (&from == this) return;
1616
0
  Clear();
1617
0
  MergeFrom(from);
1618
0
}
1619
1620
0
bool BackupRowEntryPB::IsInitialized() const {
1621
0
  return true;
1622
0
}
1623
1624
0
void BackupRowEntryPB::Swap(BackupRowEntryPB* other) {
1625
0
  if (other == this) return;
1626
0
  InternalSwap(other);
1627
0
}
1628
0
void BackupRowEntryPB::InternalSwap(BackupRowEntryPB* other) {
1629
0
  using std::swap;
1630
0
  pg_schema_name_.Swap(&other->pg_schema_name_);
1631
0
  swap(entry_, other->entry_);
1632
0
  swap(_has_bits_[0], other->_has_bits_[0]);
1633
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
1634
0
  swap(_cached_size_, other->_cached_size_);
1635
0
}
1636
1637
0
::google::protobuf::Metadata BackupRowEntryPB::GetMetadata() const {
1638
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
1639
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
1640
0
}
1641
1642
1643
// ===================================================================
1644
1645
26.8k
void CreateSnapshotRequestPB::InitAsDefaultInstance() {
1646
26.8k
}
1647
0
void CreateSnapshotRequestPB::clear_tables() {
1648
0
  tables_.Clear();
1649
0
}
1650
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1651
const int CreateSnapshotRequestPB::kTablesFieldNumber;
1652
const int CreateSnapshotRequestPB::kTransactionAwareFieldNumber;
1653
const int CreateSnapshotRequestPB::kAddIndexesFieldNumber;
1654
const int CreateSnapshotRequestPB::kImportedFieldNumber;
1655
const int CreateSnapshotRequestPB::kScheduleIdFieldNumber;
1656
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1657
1658
CreateSnapshotRequestPB::CreateSnapshotRequestPB()
1659
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
1660
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
1661
6
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsCreateSnapshotRequestPB();
1662
6
  }
1663
26.8k
  SharedCtor();
1664
  // @@protoc_insertion_point(constructor:yb.master.CreateSnapshotRequestPB)
1665
26.8k
}
1666
CreateSnapshotRequestPB::CreateSnapshotRequestPB(const CreateSnapshotRequestPB& from)
1667
  : ::google::protobuf::Message(),
1668
      _internal_metadata_(NULL),
1669
      _has_bits_(from._has_bits_),
1670
      _cached_size_(0),
1671
0
      tables_(from.tables_) {
1672
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1673
0
  schedule_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1674
0
  if (from.has_schedule_id()) {
1675
0
    schedule_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.schedule_id_);
1676
0
  }
1677
0
  ::memcpy(&transaction_aware_, &from.transaction_aware_,
1678
0
    static_cast<size_t>(reinterpret_cast<char*>(&imported_) -
1679
0
    reinterpret_cast<char*>(&transaction_aware_)) + sizeof(imported_));
1680
  // @@protoc_insertion_point(copy_constructor:yb.master.CreateSnapshotRequestPB)
1681
0
}
1682
1683
26.8k
void CreateSnapshotRequestPB::SharedCtor() {
1684
26.8k
  _cached_size_ = 0;
1685
26.8k
  schedule_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1686
26.8k
  ::memset(&transaction_aware_, 0, static_cast<size_t>(
1687
26.8k
      reinterpret_cast<char*>(&imported_) -
1688
26.8k
      reinterpret_cast<char*>(&transaction_aware_)) + sizeof(imported_));
1689
26.8k
}
1690
1691
6
CreateSnapshotRequestPB::~CreateSnapshotRequestPB() {
1692
  // @@protoc_insertion_point(destructor:yb.master.CreateSnapshotRequestPB)
1693
6
  SharedDtor();
1694
6
}
1695
1696
6
void CreateSnapshotRequestPB::SharedDtor() {
1697
6
  schedule_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1698
6
}
1699
1700
0
void CreateSnapshotRequestPB::SetCachedSize(int size) const {
1701
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1702
0
  _cached_size_ = size;
1703
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1704
0
}
1705
0
const ::google::protobuf::Descriptor* CreateSnapshotRequestPB::descriptor() {
1706
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
1707
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
1708
0
}
1709
1710
0
const CreateSnapshotRequestPB& CreateSnapshotRequestPB::default_instance() {
1711
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsCreateSnapshotRequestPB();
1712
0
  return *internal_default_instance();
1713
0
}
1714
1715
0
CreateSnapshotRequestPB* CreateSnapshotRequestPB::New(::google::protobuf::Arena* arena) const {
1716
0
  CreateSnapshotRequestPB* n = new CreateSnapshotRequestPB;
1717
0
  if (arena != NULL) {
1718
0
    arena->Own(n);
1719
0
  }
1720
0
  return n;
1721
0
}
1722
1723
3
void CreateSnapshotRequestPB::Clear() {
1724
// @@protoc_insertion_point(message_clear_start:yb.master.CreateSnapshotRequestPB)
1725
3
  ::google::protobuf::uint32 cached_has_bits = 0;
1726
  // Prevent compiler warnings about cached_has_bits being unused
1727
3
  (void) cached_has_bits;
1728
1729
3
  tables_.Clear();
1730
3
  cached_has_bits = _has_bits_[0];
1731
3
  if (cached_has_bits & 0x00000001u) {
1732
0
    GOOGLE_DCHECK(!schedule_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
1733
0
    (*schedule_id_.UnsafeRawStringPointer())->clear();
1734
0
  }
1735
3
  ::memset(&transaction_aware_, 0, static_cast<size_t>(
1736
3
      reinterpret_cast<char*>(&imported_) -
1737
3
      reinterpret_cast<char*>(&transaction_aware_)) + sizeof(imported_));
1738
3
  _has_bits_.Clear();
1739
3
  _internal_metadata_.Clear();
1740
3
}
1741
1742
bool CreateSnapshotRequestPB::MergePartialFromCodedStream(
1743
3
    ::google::protobuf::io::CodedInputStream* input) {
1744
8
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
1745
3
  ::google::protobuf::uint32 tag;
1746
  // @@protoc_insertion_point(parse_start:yb.master.CreateSnapshotRequestPB)
1747
11
  for (;;) {
1748
11
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1749
11
    tag = p.first;
1750
11
    if (!p.second) 
goto handle_unusual3
;
1751
8
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1752
      // repeated .yb.master.TableIdentifierPB tables = 1;
1753
3
      case 1: {
1754
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1755
3
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
1756
3
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_tables()));
1757
3
        } else {
1758
0
          goto handle_unusual;
1759
0
        }
1760
3
        break;
1761
3
      }
1762
1763
      // optional bool transaction_aware = 2;
1764
3
      case 2: {
1765
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1766
2
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
1767
2
          set_has_transaction_aware();
1768
2
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1769
2
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
1770
2
                 input, &transaction_aware_)));
1771
2
        } else {
1772
0
          goto handle_unusual;
1773
0
        }
1774
2
        break;
1775
2
      }
1776
1777
      // optional bool add_indexes = 3 [default = false];
1778
2
      case 3: {
1779
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1780
2
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
1781
2
          set_has_add_indexes();
1782
2
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1783
2
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
1784
2
                 input, &add_indexes_)));
1785
2
        } else {
1786
0
          goto handle_unusual;
1787
0
        }
1788
2
        break;
1789
2
      }
1790
1791
      // optional bool imported = 4;
1792
2
      case 4: {
1793
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1794
0
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
1795
0
          set_has_imported();
1796
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1797
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
1798
0
                 input, &imported_)));
1799
0
        } else {
1800
0
          goto handle_unusual;
1801
0
        }
1802
0
        break;
1803
0
      }
1804
1805
      // optional bytes schedule_id = 5;
1806
1
      case 5: {
1807
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1808
1
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
1809
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
1810
1
                input, this->mutable_schedule_id()));
1811
1
        } else {
1812
0
          goto handle_unusual;
1813
0
        }
1814
1
        break;
1815
1
      }
1816
1817
1
      default: {
1818
3
      handle_unusual:
1819
3
        if (tag == 0) {
1820
3
          goto success;
1821
3
        }
1822
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
1823
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
1824
0
        break;
1825
0
      }
1826
8
    }
1827
8
  }
1828
3
success:
1829
  // @@protoc_insertion_point(parse_success:yb.master.CreateSnapshotRequestPB)
1830
3
  return true;
1831
0
failure:
1832
  // @@protoc_insertion_point(parse_failure:yb.master.CreateSnapshotRequestPB)
1833
0
  return false;
1834
3
#undef DO_
1835
3
}
1836
1837
void CreateSnapshotRequestPB::SerializeWithCachedSizes(
1838
0
    ::google::protobuf::io::CodedOutputStream* output) const {
1839
  // @@protoc_insertion_point(serialize_start:yb.master.CreateSnapshotRequestPB)
1840
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1841
0
  (void) cached_has_bits;
1842
1843
  // repeated .yb.master.TableIdentifierPB tables = 1;
1844
0
  for (unsigned int i = 0,
1845
0
      n = static_cast<unsigned int>(this->tables_size()); i < n; i++) {
1846
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1847
0
      1, this->tables(static_cast<int>(i)), output);
1848
0
  }
1849
1850
0
  cached_has_bits = _has_bits_[0];
1851
  // optional bool transaction_aware = 2;
1852
0
  if (cached_has_bits & 0x00000002u) {
1853
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->transaction_aware(), output);
1854
0
  }
1855
1856
  // optional bool add_indexes = 3 [default = false];
1857
0
  if (cached_has_bits & 0x00000004u) {
1858
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->add_indexes(), output);
1859
0
  }
1860
1861
  // optional bool imported = 4;
1862
0
  if (cached_has_bits & 0x00000008u) {
1863
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->imported(), output);
1864
0
  }
1865
1866
  // optional bytes schedule_id = 5;
1867
0
  if (cached_has_bits & 0x00000001u) {
1868
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
1869
0
      5, this->schedule_id(), output);
1870
0
  }
1871
1872
0
  if (_internal_metadata_.have_unknown_fields()) {
1873
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1874
0
        _internal_metadata_.unknown_fields(), output);
1875
0
  }
1876
  // @@protoc_insertion_point(serialize_end:yb.master.CreateSnapshotRequestPB)
1877
0
}
1878
1879
::google::protobuf::uint8* CreateSnapshotRequestPB::InternalSerializeWithCachedSizesToArray(
1880
3
    bool deterministic, ::google::protobuf::uint8* target) const {
1881
3
  (void)deterministic; // Unused
1882
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.CreateSnapshotRequestPB)
1883
3
  ::google::protobuf::uint32 cached_has_bits = 0;
1884
3
  (void) cached_has_bits;
1885
1886
  // repeated .yb.master.TableIdentifierPB tables = 1;
1887
3
  for (unsigned int i = 0,
1888
6
      n = static_cast<unsigned int>(this->tables_size()); i < n; 
i++3
) {
1889
3
    target = ::google::protobuf::internal::WireFormatLite::
1890
3
      InternalWriteMessageToArray(
1891
3
        1, this->tables(static_cast<int>(i)), deterministic, target);
1892
3
  }
1893
1894
3
  cached_has_bits = _has_bits_[0];
1895
  // optional bool transaction_aware = 2;
1896
3
  if (cached_has_bits & 0x00000002u) {
1897
2
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->transaction_aware(), target);
1898
2
  }
1899
1900
  // optional bool add_indexes = 3 [default = false];
1901
3
  if (cached_has_bits & 0x00000004u) {
1902
2
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->add_indexes(), target);
1903
2
  }
1904
1905
  // optional bool imported = 4;
1906
3
  if (cached_has_bits & 0x00000008u) {
1907
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->imported(), target);
1908
0
  }
1909
1910
  // optional bytes schedule_id = 5;
1911
3
  if (cached_has_bits & 0x00000001u) {
1912
1
    target =
1913
1
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
1914
1
        5, this->schedule_id(), target);
1915
1
  }
1916
1917
3
  if (_internal_metadata_.have_unknown_fields()) {
1918
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1919
0
        _internal_metadata_.unknown_fields(), target);
1920
0
  }
1921
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.CreateSnapshotRequestPB)
1922
3
  return target;
1923
3
}
1924
1925
6
size_t CreateSnapshotRequestPB::ByteSizeLong() const {
1926
// @@protoc_insertion_point(message_byte_size_start:yb.master.CreateSnapshotRequestPB)
1927
6
  size_t total_size = 0;
1928
1929
6
  if (_internal_metadata_.have_unknown_fields()) {
1930
0
    total_size +=
1931
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1932
0
        _internal_metadata_.unknown_fields());
1933
0
  }
1934
  // repeated .yb.master.TableIdentifierPB tables = 1;
1935
6
  {
1936
6
    unsigned int count = static_cast<unsigned int>(this->tables_size());
1937
6
    total_size += 1UL * count;
1938
12
    for (unsigned int i = 0; i < count; 
i++6
) {
1939
6
      total_size +=
1940
6
        ::google::protobuf::internal::WireFormatLite::MessageSize(
1941
6
          this->tables(static_cast<int>(i)));
1942
6
    }
1943
6
  }
1944
1945
6
  if (_has_bits_[0 / 32] & 15u) {
1946
    // optional bytes schedule_id = 5;
1947
6
    if (has_schedule_id()) {
1948
2
      total_size += 1 +
1949
2
        ::google::protobuf::internal::WireFormatLite::BytesSize(
1950
2
          this->schedule_id());
1951
2
    }
1952
1953
    // optional bool transaction_aware = 2;
1954
6
    if (has_transaction_aware()) {
1955
4
      total_size += 1 + 1;
1956
4
    }
1957
1958
    // optional bool add_indexes = 3 [default = false];
1959
6
    if (has_add_indexes()) {
1960
4
      total_size += 1 + 1;
1961
4
    }
1962
1963
    // optional bool imported = 4;
1964
6
    if (has_imported()) {
1965
0
      total_size += 1 + 1;
1966
0
    }
1967
1968
6
  }
1969
6
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1970
6
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1971
6
  _cached_size_ = cached_size;
1972
6
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1973
6
  return total_size;
1974
6
}
1975
1976
0
void CreateSnapshotRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
1977
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.CreateSnapshotRequestPB)
1978
0
  GOOGLE_DCHECK_NE(&from, this);
1979
0
  const CreateSnapshotRequestPB* source =
1980
0
      ::google::protobuf::internal::DynamicCastToGenerated<const CreateSnapshotRequestPB>(
1981
0
          &from);
1982
0
  if (source == NULL) {
1983
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.CreateSnapshotRequestPB)
1984
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1985
0
  } else {
1986
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.CreateSnapshotRequestPB)
1987
0
    MergeFrom(*source);
1988
0
  }
1989
0
}
1990
1991
0
void CreateSnapshotRequestPB::MergeFrom(const CreateSnapshotRequestPB& from) {
1992
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.CreateSnapshotRequestPB)
1993
0
  GOOGLE_DCHECK_NE(&from, this);
1994
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1995
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1996
0
  (void) cached_has_bits;
1997
1998
0
  tables_.MergeFrom(from.tables_);
1999
0
  cached_has_bits = from._has_bits_[0];
2000
0
  if (cached_has_bits & 15u) {
2001
0
    if (cached_has_bits & 0x00000001u) {
2002
0
      set_has_schedule_id();
2003
0
      schedule_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.schedule_id_);
2004
0
    }
2005
0
    if (cached_has_bits & 0x00000002u) {
2006
0
      transaction_aware_ = from.transaction_aware_;
2007
0
    }
2008
0
    if (cached_has_bits & 0x00000004u) {
2009
0
      add_indexes_ = from.add_indexes_;
2010
0
    }
2011
0
    if (cached_has_bits & 0x00000008u) {
2012
0
      imported_ = from.imported_;
2013
0
    }
2014
0
    _has_bits_[0] |= cached_has_bits;
2015
0
  }
2016
0
}
2017
2018
0
void CreateSnapshotRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
2019
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.CreateSnapshotRequestPB)
2020
0
  if (&from == this) return;
2021
0
  Clear();
2022
0
  MergeFrom(from);
2023
0
}
2024
2025
0
void CreateSnapshotRequestPB::CopyFrom(const CreateSnapshotRequestPB& from) {
2026
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.CreateSnapshotRequestPB)
2027
0
  if (&from == this) return;
2028
0
  Clear();
2029
0
  MergeFrom(from);
2030
0
}
2031
2032
6
bool CreateSnapshotRequestPB::IsInitialized() const {
2033
6
  return true;
2034
6
}
2035
2036
0
void CreateSnapshotRequestPB::Swap(CreateSnapshotRequestPB* other) {
2037
0
  if (other == this) return;
2038
0
  InternalSwap(other);
2039
0
}
2040
0
void CreateSnapshotRequestPB::InternalSwap(CreateSnapshotRequestPB* other) {
2041
0
  using std::swap;
2042
0
  tables_.InternalSwap(&other->tables_);
2043
0
  schedule_id_.Swap(&other->schedule_id_);
2044
0
  swap(transaction_aware_, other->transaction_aware_);
2045
0
  swap(add_indexes_, other->add_indexes_);
2046
0
  swap(imported_, other->imported_);
2047
0
  swap(_has_bits_[0], other->_has_bits_[0]);
2048
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
2049
0
  swap(_cached_size_, other->_cached_size_);
2050
0
}
2051
2052
9
::google::protobuf::Metadata CreateSnapshotRequestPB::GetMetadata() const {
2053
9
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
2054
9
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
2055
9
}
2056
2057
2058
// ===================================================================
2059
2060
26.8k
void CreateSnapshotResponsePB::InitAsDefaultInstance() {
2061
26.8k
  ::yb::master::_CreateSnapshotResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
2062
26.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
2063
26.8k
}
2064
0
void CreateSnapshotResponsePB::clear_error() {
2065
0
  if (error_ != NULL) error_->Clear();
2066
0
  clear_has_error();
2067
0
}
2068
#if !defined(_MSC_VER) || _MSC_VER >= 1900
2069
const int CreateSnapshotResponsePB::kErrorFieldNumber;
2070
const int CreateSnapshotResponsePB::kSnapshotIdFieldNumber;
2071
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
2072
2073
CreateSnapshotResponsePB::CreateSnapshotResponsePB()
2074
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2075
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
2076
6
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsCreateSnapshotResponsePB();
2077
6
  }
2078
26.8k
  SharedCtor();
2079
  // @@protoc_insertion_point(constructor:yb.master.CreateSnapshotResponsePB)
2080
26.8k
}
2081
CreateSnapshotResponsePB::CreateSnapshotResponsePB(const CreateSnapshotResponsePB& from)
2082
  : ::google::protobuf::Message(),
2083
      _internal_metadata_(NULL),
2084
      _has_bits_(from._has_bits_),
2085
0
      _cached_size_(0) {
2086
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2087
0
  snapshot_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2088
0
  if (from.has_snapshot_id()) {
2089
0
    snapshot_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_id_);
2090
0
  }
2091
0
  if (from.has_error()) {
2092
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
2093
0
  } else {
2094
0
    error_ = NULL;
2095
0
  }
2096
  // @@protoc_insertion_point(copy_constructor:yb.master.CreateSnapshotResponsePB)
2097
0
}
2098
2099
26.8k
void CreateSnapshotResponsePB::SharedCtor() {
2100
26.8k
  _cached_size_ = 0;
2101
26.8k
  snapshot_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2102
26.8k
  error_ = NULL;
2103
26.8k
}
2104
2105
6
CreateSnapshotResponsePB::~CreateSnapshotResponsePB() {
2106
  // @@protoc_insertion_point(destructor:yb.master.CreateSnapshotResponsePB)
2107
6
  SharedDtor();
2108
6
}
2109
2110
6
void CreateSnapshotResponsePB::SharedDtor() {
2111
6
  snapshot_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2112
6
  if (this != internal_default_instance()) delete error_;
2113
6
}
2114
2115
0
void CreateSnapshotResponsePB::SetCachedSize(int size) const {
2116
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2117
0
  _cached_size_ = size;
2118
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2119
0
}
2120
0
const ::google::protobuf::Descriptor* CreateSnapshotResponsePB::descriptor() {
2121
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
2122
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2123
0
}
2124
2125
0
const CreateSnapshotResponsePB& CreateSnapshotResponsePB::default_instance() {
2126
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsCreateSnapshotResponsePB();
2127
0
  return *internal_default_instance();
2128
0
}
2129
2130
0
CreateSnapshotResponsePB* CreateSnapshotResponsePB::New(::google::protobuf::Arena* arena) const {
2131
0
  CreateSnapshotResponsePB* n = new CreateSnapshotResponsePB;
2132
0
  if (arena != NULL) {
2133
0
    arena->Own(n);
2134
0
  }
2135
0
  return n;
2136
0
}
2137
2138
5
void CreateSnapshotResponsePB::Clear() {
2139
// @@protoc_insertion_point(message_clear_start:yb.master.CreateSnapshotResponsePB)
2140
5
  ::google::protobuf::uint32 cached_has_bits = 0;
2141
  // Prevent compiler warnings about cached_has_bits being unused
2142
5
  (void) cached_has_bits;
2143
2144
5
  cached_has_bits = _has_bits_[0];
2145
5
  if (cached_has_bits & 3u) {
2146
0
    if (cached_has_bits & 0x00000001u) {
2147
0
      GOOGLE_DCHECK(!snapshot_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
2148
0
      (*snapshot_id_.UnsafeRawStringPointer())->clear();
2149
0
    }
2150
0
    if (cached_has_bits & 0x00000002u) {
2151
0
      GOOGLE_DCHECK(error_ != NULL);
2152
0
      error_->Clear();
2153
0
    }
2154
0
  }
2155
5
  _has_bits_.Clear();
2156
5
  _internal_metadata_.Clear();
2157
5
}
2158
2159
bool CreateSnapshotResponsePB::MergePartialFromCodedStream(
2160
3
    ::google::protobuf::io::CodedInputStream* input) {
2161
3
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
2162
3
  ::google::protobuf::uint32 tag;
2163
  // @@protoc_insertion_point(parse_start:yb.master.CreateSnapshotResponsePB)
2164
6
  for (;;) {
2165
6
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2166
6
    tag = p.first;
2167
6
    if (!p.second) 
goto handle_unusual3
;
2168
3
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2169
      // optional .yb.master.MasterErrorPB error = 1;
2170
0
      case 1: {
2171
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2172
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
2173
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
2174
0
               input, mutable_error()));
2175
0
        } else {
2176
0
          goto handle_unusual;
2177
0
        }
2178
0
        break;
2179
0
      }
2180
2181
      // optional bytes snapshot_id = 2;
2182
3
      case 2: {
2183
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2184
3
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
2185
3
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
2186
3
                input, this->mutable_snapshot_id()));
2187
3
        } else {
2188
0
          goto handle_unusual;
2189
0
        }
2190
3
        break;
2191
3
      }
2192
2193
3
      default: {
2194
3
      handle_unusual:
2195
3
        if (tag == 0) {
2196
3
          goto success;
2197
3
        }
2198
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
2199
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
2200
0
        break;
2201
0
      }
2202
3
    }
2203
3
  }
2204
3
success:
2205
  // @@protoc_insertion_point(parse_success:yb.master.CreateSnapshotResponsePB)
2206
3
  return true;
2207
0
failure:
2208
  // @@protoc_insertion_point(parse_failure:yb.master.CreateSnapshotResponsePB)
2209
0
  return false;
2210
3
#undef DO_
2211
3
}
2212
2213
void CreateSnapshotResponsePB::SerializeWithCachedSizes(
2214
0
    ::google::protobuf::io::CodedOutputStream* output) const {
2215
  // @@protoc_insertion_point(serialize_start:yb.master.CreateSnapshotResponsePB)
2216
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2217
0
  (void) cached_has_bits;
2218
2219
0
  cached_has_bits = _has_bits_[0];
2220
  // optional .yb.master.MasterErrorPB error = 1;
2221
0
  if (cached_has_bits & 0x00000002u) {
2222
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2223
0
      1, *this->error_, output);
2224
0
  }
2225
2226
  // optional bytes snapshot_id = 2;
2227
0
  if (cached_has_bits & 0x00000001u) {
2228
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
2229
0
      2, this->snapshot_id(), output);
2230
0
  }
2231
2232
0
  if (_internal_metadata_.have_unknown_fields()) {
2233
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2234
0
        _internal_metadata_.unknown_fields(), output);
2235
0
  }
2236
  // @@protoc_insertion_point(serialize_end:yb.master.CreateSnapshotResponsePB)
2237
0
}
2238
2239
::google::protobuf::uint8* CreateSnapshotResponsePB::InternalSerializeWithCachedSizesToArray(
2240
3
    bool deterministic, ::google::protobuf::uint8* target) const {
2241
3
  (void)deterministic; // Unused
2242
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.CreateSnapshotResponsePB)
2243
3
  ::google::protobuf::uint32 cached_has_bits = 0;
2244
3
  (void) cached_has_bits;
2245
2246
3
  cached_has_bits = _has_bits_[0];
2247
  // optional .yb.master.MasterErrorPB error = 1;
2248
3
  if (cached_has_bits & 0x00000002u) {
2249
0
    target = ::google::protobuf::internal::WireFormatLite::
2250
0
      InternalWriteMessageToArray(
2251
0
        1, *this->error_, deterministic, target);
2252
0
  }
2253
2254
  // optional bytes snapshot_id = 2;
2255
3
  if (cached_has_bits & 0x00000001u) {
2256
3
    target =
2257
3
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
2258
3
        2, this->snapshot_id(), target);
2259
3
  }
2260
2261
3
  if (_internal_metadata_.have_unknown_fields()) {
2262
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2263
0
        _internal_metadata_.unknown_fields(), target);
2264
0
  }
2265
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.CreateSnapshotResponsePB)
2266
3
  return target;
2267
3
}
2268
2269
6
size_t CreateSnapshotResponsePB::ByteSizeLong() const {
2270
// @@protoc_insertion_point(message_byte_size_start:yb.master.CreateSnapshotResponsePB)
2271
6
  size_t total_size = 0;
2272
2273
6
  if (_internal_metadata_.have_unknown_fields()) {
2274
0
    total_size +=
2275
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2276
0
        _internal_metadata_.unknown_fields());
2277
0
  }
2278
6
  if (_has_bits_[0 / 32] & 3u) {
2279
    // optional bytes snapshot_id = 2;
2280
6
    if (has_snapshot_id()) {
2281
6
      total_size += 1 +
2282
6
        ::google::protobuf::internal::WireFormatLite::BytesSize(
2283
6
          this->snapshot_id());
2284
6
    }
2285
2286
    // optional .yb.master.MasterErrorPB error = 1;
2287
6
    if (has_error()) {
2288
0
      total_size += 1 +
2289
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
2290
0
          *this->error_);
2291
0
    }
2292
2293
6
  }
2294
6
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2295
6
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2296
6
  _cached_size_ = cached_size;
2297
6
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2298
6
  return total_size;
2299
6
}
2300
2301
0
void CreateSnapshotResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
2302
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.CreateSnapshotResponsePB)
2303
0
  GOOGLE_DCHECK_NE(&from, this);
2304
0
  const CreateSnapshotResponsePB* source =
2305
0
      ::google::protobuf::internal::DynamicCastToGenerated<const CreateSnapshotResponsePB>(
2306
0
          &from);
2307
0
  if (source == NULL) {
2308
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.CreateSnapshotResponsePB)
2309
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2310
0
  } else {
2311
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.CreateSnapshotResponsePB)
2312
0
    MergeFrom(*source);
2313
0
  }
2314
0
}
2315
2316
0
void CreateSnapshotResponsePB::MergeFrom(const CreateSnapshotResponsePB& from) {
2317
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.CreateSnapshotResponsePB)
2318
0
  GOOGLE_DCHECK_NE(&from, this);
2319
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2320
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2321
0
  (void) cached_has_bits;
2322
2323
0
  cached_has_bits = from._has_bits_[0];
2324
0
  if (cached_has_bits & 3u) {
2325
0
    if (cached_has_bits & 0x00000001u) {
2326
0
      set_has_snapshot_id();
2327
0
      snapshot_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_id_);
2328
0
    }
2329
0
    if (cached_has_bits & 0x00000002u) {
2330
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
2331
0
    }
2332
0
  }
2333
0
}
2334
2335
0
void CreateSnapshotResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
2336
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.CreateSnapshotResponsePB)
2337
0
  if (&from == this) return;
2338
0
  Clear();
2339
0
  MergeFrom(from);
2340
0
}
2341
2342
0
void CreateSnapshotResponsePB::CopyFrom(const CreateSnapshotResponsePB& from) {
2343
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.CreateSnapshotResponsePB)
2344
0
  if (&from == this) return;
2345
0
  Clear();
2346
0
  MergeFrom(from);
2347
0
}
2348
2349
6
bool CreateSnapshotResponsePB::IsInitialized() const {
2350
6
  if (has_error()) {
2351
0
    if (!this->error_->IsInitialized()) return false;
2352
0
  }
2353
6
  return true;
2354
6
}
2355
2356
0
void CreateSnapshotResponsePB::Swap(CreateSnapshotResponsePB* other) {
2357
0
  if (other == this) return;
2358
0
  InternalSwap(other);
2359
0
}
2360
0
void CreateSnapshotResponsePB::InternalSwap(CreateSnapshotResponsePB* other) {
2361
0
  using std::swap;
2362
0
  snapshot_id_.Swap(&other->snapshot_id_);
2363
0
  swap(error_, other->error_);
2364
0
  swap(_has_bits_[0], other->_has_bits_[0]);
2365
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
2366
0
  swap(_cached_size_, other->_cached_size_);
2367
0
}
2368
2369
0
::google::protobuf::Metadata CreateSnapshotResponsePB::GetMetadata() const {
2370
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
2371
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
2372
0
}
2373
2374
2375
// ===================================================================
2376
2377
26.8k
void SnapshotInfoPB::InitAsDefaultInstance() {
2378
26.8k
  ::yb::master::_SnapshotInfoPB_default_instance_._instance.get_mutable()->entry_ = const_cast< ::yb::master::SysSnapshotEntryPB*>(
2379
26.8k
      ::yb::master::SysSnapshotEntryPB::internal_default_instance());
2380
26.8k
}
2381
0
void SnapshotInfoPB::clear_entry() {
2382
0
  if (entry_ != NULL) entry_->Clear();
2383
0
  clear_has_entry();
2384
0
}
2385
#if !defined(_MSC_VER) || _MSC_VER >= 1900
2386
const int SnapshotInfoPB::kIdFieldNumber;
2387
const int SnapshotInfoPB::kEntryFieldNumber;
2388
const int SnapshotInfoPB::kFormatVersionFieldNumber;
2389
const int SnapshotInfoPB::kBackupEntriesFieldNumber;
2390
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
2391
2392
SnapshotInfoPB::SnapshotInfoPB()
2393
26.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2394
26.9k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
2395
50
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSnapshotInfoPB();
2396
50
  }
2397
26.9k
  SharedCtor();
2398
  // @@protoc_insertion_point(constructor:yb.master.SnapshotInfoPB)
2399
26.9k
}
2400
SnapshotInfoPB::SnapshotInfoPB(const SnapshotInfoPB& from)
2401
  : ::google::protobuf::Message(),
2402
      _internal_metadata_(NULL),
2403
      _has_bits_(from._has_bits_),
2404
      _cached_size_(0),
2405
0
      backup_entries_(from.backup_entries_) {
2406
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2407
0
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2408
0
  if (from.has_id()) {
2409
0
    id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
2410
0
  }
2411
0
  if (from.has_entry()) {
2412
0
    entry_ = new ::yb::master::SysSnapshotEntryPB(*from.entry_);
2413
0
  } else {
2414
0
    entry_ = NULL;
2415
0
  }
2416
0
  format_version_ = from.format_version_;
2417
  // @@protoc_insertion_point(copy_constructor:yb.master.SnapshotInfoPB)
2418
0
}
2419
2420
26.9k
void SnapshotInfoPB::SharedCtor() {
2421
26.9k
  _cached_size_ = 0;
2422
26.9k
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2423
26.9k
  entry_ = NULL;
2424
26.9k
  format_version_ = GOOGLE_LONGLONG(1);
2425
26.9k
}
2426
2427
50
SnapshotInfoPB::~SnapshotInfoPB() {
2428
  // @@protoc_insertion_point(destructor:yb.master.SnapshotInfoPB)
2429
50
  SharedDtor();
2430
50
}
2431
2432
50
void SnapshotInfoPB::SharedDtor() {
2433
50
  id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2434
50
  if (this != internal_default_instance()) delete entry_;
2435
50
}
2436
2437
0
void SnapshotInfoPB::SetCachedSize(int size) const {
2438
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2439
0
  _cached_size_ = size;
2440
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2441
0
}
2442
0
const ::google::protobuf::Descriptor* SnapshotInfoPB::descriptor() {
2443
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
2444
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2445
0
}
2446
2447
0
const SnapshotInfoPB& SnapshotInfoPB::default_instance() {
2448
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSnapshotInfoPB();
2449
0
  return *internal_default_instance();
2450
0
}
2451
2452
0
SnapshotInfoPB* SnapshotInfoPB::New(::google::protobuf::Arena* arena) const {
2453
0
  SnapshotInfoPB* n = new SnapshotInfoPB;
2454
0
  if (arena != NULL) {
2455
0
    arena->Own(n);
2456
0
  }
2457
0
  return n;
2458
0
}
2459
2460
0
void SnapshotInfoPB::Clear() {
2461
// @@protoc_insertion_point(message_clear_start:yb.master.SnapshotInfoPB)
2462
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2463
  // Prevent compiler warnings about cached_has_bits being unused
2464
0
  (void) cached_has_bits;
2465
2466
0
  backup_entries_.Clear();
2467
0
  cached_has_bits = _has_bits_[0];
2468
0
  if (cached_has_bits & 7u) {
2469
0
    if (cached_has_bits & 0x00000001u) {
2470
0
      GOOGLE_DCHECK(!id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
2471
0
      (*id_.UnsafeRawStringPointer())->clear();
2472
0
    }
2473
0
    if (cached_has_bits & 0x00000002u) {
2474
0
      GOOGLE_DCHECK(entry_ != NULL);
2475
0
      entry_->Clear();
2476
0
    }
2477
0
    format_version_ = GOOGLE_LONGLONG(1);
2478
0
  }
2479
0
  _has_bits_.Clear();
2480
0
  _internal_metadata_.Clear();
2481
0
}
2482
2483
bool SnapshotInfoPB::MergePartialFromCodedStream(
2484
25
    ::google::protobuf::io::CodedInputStream* input) {
2485
50
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
2486
25
  ::google::protobuf::uint32 tag;
2487
  // @@protoc_insertion_point(parse_start:yb.master.SnapshotInfoPB)
2488
75
  for (;;) {
2489
75
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2490
75
    tag = p.first;
2491
75
    if (!p.second) 
goto handle_unusual25
;
2492
50
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2493
      // optional bytes id = 1;
2494
25
      case 1: {
2495
25
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2496
25
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
2497
25
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
2498
25
                input, this->mutable_id()));
2499
25
        } else {
2500
0
          goto handle_unusual;
2501
0
        }
2502
25
        break;
2503
25
      }
2504
2505
      // optional .yb.master.SysSnapshotEntryPB entry = 2;
2506
25
      case 2: {
2507
25
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2508
25
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
2509
25
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
2510
25
               input, mutable_entry()));
2511
25
        } else {
2512
0
          goto handle_unusual;
2513
0
        }
2514
25
        break;
2515
25
      }
2516
2517
      // optional int64 format_version = 3 [default = 1];
2518
25
      case 3: {
2519
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2520
0
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
2521
0
          set_has_format_version();
2522
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2523
0
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
2524
0
                 input, &format_version_)));
2525
0
        } else {
2526
0
          goto handle_unusual;
2527
0
        }
2528
0
        break;
2529
0
      }
2530
2531
      // repeated .yb.master.BackupRowEntryPB backup_entries = 4;
2532
0
      case 4: {
2533
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2534
0
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
2535
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_backup_entries()));
2536
0
        } else {
2537
0
          goto handle_unusual;
2538
0
        }
2539
0
        break;
2540
0
      }
2541
2542
0
      default: {
2543
25
      handle_unusual:
2544
25
        if (tag == 0) {
2545
25
          goto success;
2546
25
        }
2547
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
2548
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
2549
0
        break;
2550
0
      }
2551
50
    }
2552
50
  }
2553
25
success:
2554
  // @@protoc_insertion_point(parse_success:yb.master.SnapshotInfoPB)
2555
25
  return true;
2556
0
failure:
2557
  // @@protoc_insertion_point(parse_failure:yb.master.SnapshotInfoPB)
2558
0
  return false;
2559
25
#undef DO_
2560
25
}
2561
2562
void SnapshotInfoPB::SerializeWithCachedSizes(
2563
0
    ::google::protobuf::io::CodedOutputStream* output) const {
2564
  // @@protoc_insertion_point(serialize_start:yb.master.SnapshotInfoPB)
2565
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2566
0
  (void) cached_has_bits;
2567
2568
0
  cached_has_bits = _has_bits_[0];
2569
  // optional bytes id = 1;
2570
0
  if (cached_has_bits & 0x00000001u) {
2571
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
2572
0
      1, this->id(), output);
2573
0
  }
2574
2575
  // optional .yb.master.SysSnapshotEntryPB entry = 2;
2576
0
  if (cached_has_bits & 0x00000002u) {
2577
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2578
0
      2, *this->entry_, output);
2579
0
  }
2580
2581
  // optional int64 format_version = 3 [default = 1];
2582
0
  if (cached_has_bits & 0x00000004u) {
2583
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->format_version(), output);
2584
0
  }
2585
2586
  // repeated .yb.master.BackupRowEntryPB backup_entries = 4;
2587
0
  for (unsigned int i = 0,
2588
0
      n = static_cast<unsigned int>(this->backup_entries_size()); i < n; i++) {
2589
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2590
0
      4, this->backup_entries(static_cast<int>(i)), output);
2591
0
  }
2592
2593
0
  if (_internal_metadata_.have_unknown_fields()) {
2594
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2595
0
        _internal_metadata_.unknown_fields(), output);
2596
0
  }
2597
  // @@protoc_insertion_point(serialize_end:yb.master.SnapshotInfoPB)
2598
0
}
2599
2600
::google::protobuf::uint8* SnapshotInfoPB::InternalSerializeWithCachedSizesToArray(
2601
25
    bool deterministic, ::google::protobuf::uint8* target) const {
2602
25
  (void)deterministic; // Unused
2603
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SnapshotInfoPB)
2604
25
  ::google::protobuf::uint32 cached_has_bits = 0;
2605
25
  (void) cached_has_bits;
2606
2607
25
  cached_has_bits = _has_bits_[0];
2608
  // optional bytes id = 1;
2609
25
  if (cached_has_bits & 0x00000001u) {
2610
25
    target =
2611
25
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
2612
25
        1, this->id(), target);
2613
25
  }
2614
2615
  // optional .yb.master.SysSnapshotEntryPB entry = 2;
2616
25
  if (cached_has_bits & 0x00000002u) {
2617
25
    target = ::google::protobuf::internal::WireFormatLite::
2618
25
      InternalWriteMessageToArray(
2619
25
        2, *this->entry_, deterministic, target);
2620
25
  }
2621
2622
  // optional int64 format_version = 3 [default = 1];
2623
25
  if (cached_has_bits & 0x00000004u) {
2624
0
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(3, this->format_version(), target);
2625
0
  }
2626
2627
  // repeated .yb.master.BackupRowEntryPB backup_entries = 4;
2628
25
  for (unsigned int i = 0,
2629
25
      n = static_cast<unsigned int>(this->backup_entries_size()); i < n; 
i++0
) {
2630
0
    target = ::google::protobuf::internal::WireFormatLite::
2631
0
      InternalWriteMessageToArray(
2632
0
        4, this->backup_entries(static_cast<int>(i)), deterministic, target);
2633
0
  }
2634
2635
25
  if (_internal_metadata_.have_unknown_fields()) {
2636
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2637
0
        _internal_metadata_.unknown_fields(), target);
2638
0
  }
2639
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SnapshotInfoPB)
2640
25
  return target;
2641
25
}
2642
2643
50
size_t SnapshotInfoPB::ByteSizeLong() const {
2644
// @@protoc_insertion_point(message_byte_size_start:yb.master.SnapshotInfoPB)
2645
50
  size_t total_size = 0;
2646
2647
50
  if (_internal_metadata_.have_unknown_fields()) {
2648
0
    total_size +=
2649
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2650
0
        _internal_metadata_.unknown_fields());
2651
0
  }
2652
  // repeated .yb.master.BackupRowEntryPB backup_entries = 4;
2653
50
  {
2654
50
    unsigned int count = static_cast<unsigned int>(this->backup_entries_size());
2655
50
    total_size += 1UL * count;
2656
50
    for (unsigned int i = 0; i < count; 
i++0
) {
2657
0
      total_size +=
2658
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
2659
0
          this->backup_entries(static_cast<int>(i)));
2660
0
    }
2661
50
  }
2662
2663
50
  if (_has_bits_[0 / 32] & 7u) {
2664
    // optional bytes id = 1;
2665
50
    if (has_id()) {
2666
50
      total_size += 1 +
2667
50
        ::google::protobuf::internal::WireFormatLite::BytesSize(
2668
50
          this->id());
2669
50
    }
2670
2671
    // optional .yb.master.SysSnapshotEntryPB entry = 2;
2672
50
    if (has_entry()) {
2673
50
      total_size += 1 +
2674
50
        ::google::protobuf::internal::WireFormatLite::MessageSize(
2675
50
          *this->entry_);
2676
50
    }
2677
2678
    // optional int64 format_version = 3 [default = 1];
2679
50
    if (has_format_version()) {
2680
0
      total_size += 1 +
2681
0
        ::google::protobuf::internal::WireFormatLite::Int64Size(
2682
0
          this->format_version());
2683
0
    }
2684
2685
50
  }
2686
50
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2687
50
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2688
50
  _cached_size_ = cached_size;
2689
50
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2690
50
  return total_size;
2691
50
}
2692
2693
0
void SnapshotInfoPB::MergeFrom(const ::google::protobuf::Message& from) {
2694
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SnapshotInfoPB)
2695
0
  GOOGLE_DCHECK_NE(&from, this);
2696
0
  const SnapshotInfoPB* source =
2697
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SnapshotInfoPB>(
2698
0
          &from);
2699
0
  if (source == NULL) {
2700
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SnapshotInfoPB)
2701
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2702
0
  } else {
2703
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SnapshotInfoPB)
2704
0
    MergeFrom(*source);
2705
0
  }
2706
0
}
2707
2708
0
void SnapshotInfoPB::MergeFrom(const SnapshotInfoPB& from) {
2709
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SnapshotInfoPB)
2710
0
  GOOGLE_DCHECK_NE(&from, this);
2711
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2712
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2713
0
  (void) cached_has_bits;
2714
2715
0
  backup_entries_.MergeFrom(from.backup_entries_);
2716
0
  cached_has_bits = from._has_bits_[0];
2717
0
  if (cached_has_bits & 7u) {
2718
0
    if (cached_has_bits & 0x00000001u) {
2719
0
      set_has_id();
2720
0
      id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
2721
0
    }
2722
0
    if (cached_has_bits & 0x00000002u) {
2723
0
      mutable_entry()->::yb::master::SysSnapshotEntryPB::MergeFrom(from.entry());
2724
0
    }
2725
0
    if (cached_has_bits & 0x00000004u) {
2726
0
      format_version_ = from.format_version_;
2727
0
    }
2728
0
    _has_bits_[0] |= cached_has_bits;
2729
0
  }
2730
0
}
2731
2732
0
void SnapshotInfoPB::CopyFrom(const ::google::protobuf::Message& from) {
2733
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SnapshotInfoPB)
2734
0
  if (&from == this) return;
2735
0
  Clear();
2736
0
  MergeFrom(from);
2737
0
}
2738
2739
0
void SnapshotInfoPB::CopyFrom(const SnapshotInfoPB& from) {
2740
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SnapshotInfoPB)
2741
0
  if (&from == this) return;
2742
0
  Clear();
2743
0
  MergeFrom(from);
2744
0
}
2745
2746
0
bool SnapshotInfoPB::IsInitialized() const {
2747
0
  return true;
2748
0
}
2749
2750
0
void SnapshotInfoPB::Swap(SnapshotInfoPB* other) {
2751
0
  if (other == this) return;
2752
0
  InternalSwap(other);
2753
0
}
2754
0
void SnapshotInfoPB::InternalSwap(SnapshotInfoPB* other) {
2755
0
  using std::swap;
2756
0
  backup_entries_.InternalSwap(&other->backup_entries_);
2757
0
  id_.Swap(&other->id_);
2758
0
  swap(entry_, other->entry_);
2759
0
  swap(format_version_, other->format_version_);
2760
0
  swap(_has_bits_[0], other->_has_bits_[0]);
2761
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
2762
0
  swap(_cached_size_, other->_cached_size_);
2763
0
}
2764
2765
0
::google::protobuf::Metadata SnapshotInfoPB::GetMetadata() const {
2766
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
2767
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
2768
0
}
2769
2770
2771
// ===================================================================
2772
2773
26.8k
void TabletRestorationPB::InitAsDefaultInstance() {
2774
26.8k
}
2775
#if !defined(_MSC_VER) || _MSC_VER >= 1900
2776
const int TabletRestorationPB::kIdFieldNumber;
2777
const int TabletRestorationPB::kStateFieldNumber;
2778
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
2779
2780
TabletRestorationPB::TabletRestorationPB()
2781
26.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2782
26.9k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
2783
44
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsTabletRestorationPB();
2784
44
  }
2785
26.9k
  SharedCtor();
2786
  // @@protoc_insertion_point(constructor:yb.master.TabletRestorationPB)
2787
26.9k
}
2788
TabletRestorationPB::TabletRestorationPB(const TabletRestorationPB& from)
2789
  : ::google::protobuf::Message(),
2790
      _internal_metadata_(NULL),
2791
      _has_bits_(from._has_bits_),
2792
0
      _cached_size_(0) {
2793
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2794
0
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2795
0
  if (from.has_id()) {
2796
0
    id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
2797
0
  }
2798
0
  state_ = from.state_;
2799
  // @@protoc_insertion_point(copy_constructor:yb.master.TabletRestorationPB)
2800
0
}
2801
2802
26.9k
void TabletRestorationPB::SharedCtor() {
2803
26.9k
  _cached_size_ = 0;
2804
26.9k
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2805
26.9k
  state_ = 0;
2806
26.9k
}
2807
2808
44
TabletRestorationPB::~TabletRestorationPB() {
2809
  // @@protoc_insertion_point(destructor:yb.master.TabletRestorationPB)
2810
44
  SharedDtor();
2811
44
}
2812
2813
44
void TabletRestorationPB::SharedDtor() {
2814
44
  id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2815
44
}
2816
2817
0
void TabletRestorationPB::SetCachedSize(int size) const {
2818
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2819
0
  _cached_size_ = size;
2820
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2821
0
}
2822
0
const ::google::protobuf::Descriptor* TabletRestorationPB::descriptor() {
2823
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
2824
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2825
0
}
2826
2827
0
const TabletRestorationPB& TabletRestorationPB::default_instance() {
2828
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsTabletRestorationPB();
2829
0
  return *internal_default_instance();
2830
0
}
2831
2832
0
TabletRestorationPB* TabletRestorationPB::New(::google::protobuf::Arena* arena) const {
2833
0
  TabletRestorationPB* n = new TabletRestorationPB;
2834
0
  if (arena != NULL) {
2835
0
    arena->Own(n);
2836
0
  }
2837
0
  return n;
2838
0
}
2839
2840
0
void TabletRestorationPB::Clear() {
2841
// @@protoc_insertion_point(message_clear_start:yb.master.TabletRestorationPB)
2842
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2843
  // Prevent compiler warnings about cached_has_bits being unused
2844
0
  (void) cached_has_bits;
2845
2846
0
  cached_has_bits = _has_bits_[0];
2847
0
  if (cached_has_bits & 0x00000001u) {
2848
0
    GOOGLE_DCHECK(!id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
2849
0
    (*id_.UnsafeRawStringPointer())->clear();
2850
0
  }
2851
0
  state_ = 0;
2852
0
  _has_bits_.Clear();
2853
0
  _internal_metadata_.Clear();
2854
0
}
2855
2856
bool TabletRestorationPB::MergePartialFromCodedStream(
2857
22
    ::google::protobuf::io::CodedInputStream* input) {
2858
44
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
2859
22
  ::google::protobuf::uint32 tag;
2860
  // @@protoc_insertion_point(parse_start:yb.master.TabletRestorationPB)
2861
66
  for (;;) {
2862
66
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2863
66
    tag = p.first;
2864
66
    if (!p.second) 
goto handle_unusual22
;
2865
44
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2866
      // optional bytes id = 1;
2867
22
      case 1: {
2868
22
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2869
22
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
2870
22
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
2871
22
                input, this->mutable_id()));
2872
22
        } else {
2873
0
          goto handle_unusual;
2874
0
        }
2875
22
        break;
2876
22
      }
2877
2878
      // optional .yb.master.SysSnapshotEntryPB.State state = 2;
2879
22
      case 2: {
2880
22
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2881
22
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
2882
22
          int value;
2883
22
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2884
22
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
2885
22
                 input, &value)));
2886
22
          if (::yb::master::SysSnapshotEntryPB_State_IsValid(value)) {
2887
22
            set_state(static_cast< ::yb::master::SysSnapshotEntryPB_State >(value));
2888
22
          } else {
2889
0
            mutable_unknown_fields()->AddVarint(
2890
0
                2, static_cast< ::google::protobuf::uint64>(value));
2891
0
          }
2892
22
        } else {
2893
0
          goto handle_unusual;
2894
0
        }
2895
22
        break;
2896
22
      }
2897
2898
22
      default: {
2899
22
      handle_unusual:
2900
22
        if (tag == 0) {
2901
22
          goto success;
2902
22
        }
2903
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
2904
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
2905
0
        break;
2906
0
      }
2907
44
    }
2908
44
  }
2909
22
success:
2910
  // @@protoc_insertion_point(parse_success:yb.master.TabletRestorationPB)
2911
22
  return true;
2912
0
failure:
2913
  // @@protoc_insertion_point(parse_failure:yb.master.TabletRestorationPB)
2914
0
  return false;
2915
22
#undef DO_
2916
22
}
2917
2918
void TabletRestorationPB::SerializeWithCachedSizes(
2919
0
    ::google::protobuf::io::CodedOutputStream* output) const {
2920
  // @@protoc_insertion_point(serialize_start:yb.master.TabletRestorationPB)
2921
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2922
0
  (void) cached_has_bits;
2923
2924
0
  cached_has_bits = _has_bits_[0];
2925
  // optional bytes id = 1;
2926
0
  if (cached_has_bits & 0x00000001u) {
2927
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
2928
0
      1, this->id(), output);
2929
0
  }
2930
2931
  // optional .yb.master.SysSnapshotEntryPB.State state = 2;
2932
0
  if (cached_has_bits & 0x00000002u) {
2933
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
2934
0
      2, this->state(), output);
2935
0
  }
2936
2937
0
  if (_internal_metadata_.have_unknown_fields()) {
2938
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2939
0
        _internal_metadata_.unknown_fields(), output);
2940
0
  }
2941
  // @@protoc_insertion_point(serialize_end:yb.master.TabletRestorationPB)
2942
0
}
2943
2944
::google::protobuf::uint8* TabletRestorationPB::InternalSerializeWithCachedSizesToArray(
2945
22
    bool deterministic, ::google::protobuf::uint8* target) const {
2946
22
  (void)deterministic; // Unused
2947
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.TabletRestorationPB)
2948
22
  ::google::protobuf::uint32 cached_has_bits = 0;
2949
22
  (void) cached_has_bits;
2950
2951
22
  cached_has_bits = _has_bits_[0];
2952
  // optional bytes id = 1;
2953
22
  if (cached_has_bits & 0x00000001u) {
2954
22
    target =
2955
22
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
2956
22
        1, this->id(), target);
2957
22
  }
2958
2959
  // optional .yb.master.SysSnapshotEntryPB.State state = 2;
2960
22
  if (cached_has_bits & 0x00000002u) {
2961
22
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
2962
22
      2, this->state(), target);
2963
22
  }
2964
2965
22
  if (_internal_metadata_.have_unknown_fields()) {
2966
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2967
0
        _internal_metadata_.unknown_fields(), target);
2968
0
  }
2969
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.TabletRestorationPB)
2970
22
  return target;
2971
22
}
2972
2973
44
size_t TabletRestorationPB::ByteSizeLong() const {
2974
// @@protoc_insertion_point(message_byte_size_start:yb.master.TabletRestorationPB)
2975
44
  size_t total_size = 0;
2976
2977
44
  if (_internal_metadata_.have_unknown_fields()) {
2978
0
    total_size +=
2979
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2980
0
        _internal_metadata_.unknown_fields());
2981
0
  }
2982
44
  if (_has_bits_[0 / 32] & 3u) {
2983
    // optional bytes id = 1;
2984
44
    if (has_id()) {
2985
44
      total_size += 1 +
2986
44
        ::google::protobuf::internal::WireFormatLite::BytesSize(
2987
44
          this->id());
2988
44
    }
2989
2990
    // optional .yb.master.SysSnapshotEntryPB.State state = 2;
2991
44
    if (has_state()) {
2992
44
      total_size += 1 +
2993
44
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->state());
2994
44
    }
2995
2996
44
  }
2997
44
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2998
44
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2999
44
  _cached_size_ = cached_size;
3000
44
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3001
44
  return total_size;
3002
44
}
3003
3004
0
void TabletRestorationPB::MergeFrom(const ::google::protobuf::Message& from) {
3005
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.TabletRestorationPB)
3006
0
  GOOGLE_DCHECK_NE(&from, this);
3007
0
  const TabletRestorationPB* source =
3008
0
      ::google::protobuf::internal::DynamicCastToGenerated<const TabletRestorationPB>(
3009
0
          &from);
3010
0
  if (source == NULL) {
3011
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.TabletRestorationPB)
3012
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3013
0
  } else {
3014
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.TabletRestorationPB)
3015
0
    MergeFrom(*source);
3016
0
  }
3017
0
}
3018
3019
0
void TabletRestorationPB::MergeFrom(const TabletRestorationPB& from) {
3020
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.TabletRestorationPB)
3021
0
  GOOGLE_DCHECK_NE(&from, this);
3022
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3023
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3024
0
  (void) cached_has_bits;
3025
3026
0
  cached_has_bits = from._has_bits_[0];
3027
0
  if (cached_has_bits & 3u) {
3028
0
    if (cached_has_bits & 0x00000001u) {
3029
0
      set_has_id();
3030
0
      id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
3031
0
    }
3032
0
    if (cached_has_bits & 0x00000002u) {
3033
0
      state_ = from.state_;
3034
0
    }
3035
0
    _has_bits_[0] |= cached_has_bits;
3036
0
  }
3037
0
}
3038
3039
0
void TabletRestorationPB::CopyFrom(const ::google::protobuf::Message& from) {
3040
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.TabletRestorationPB)
3041
0
  if (&from == this) return;
3042
0
  Clear();
3043
0
  MergeFrom(from);
3044
0
}
3045
3046
0
void TabletRestorationPB::CopyFrom(const TabletRestorationPB& from) {
3047
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.TabletRestorationPB)
3048
0
  if (&from == this) return;
3049
0
  Clear();
3050
0
  MergeFrom(from);
3051
0
}
3052
3053
0
bool TabletRestorationPB::IsInitialized() const {
3054
0
  return true;
3055
0
}
3056
3057
0
void TabletRestorationPB::Swap(TabletRestorationPB* other) {
3058
0
  if (other == this) return;
3059
0
  InternalSwap(other);
3060
0
}
3061
0
void TabletRestorationPB::InternalSwap(TabletRestorationPB* other) {
3062
0
  using std::swap;
3063
0
  id_.Swap(&other->id_);
3064
0
  swap(state_, other->state_);
3065
0
  swap(_has_bits_[0], other->_has_bits_[0]);
3066
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
3067
0
  swap(_cached_size_, other->_cached_size_);
3068
0
}
3069
3070
0
::google::protobuf::Metadata TabletRestorationPB::GetMetadata() const {
3071
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
3072
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
3073
0
}
3074
3075
3076
// ===================================================================
3077
3078
26.8k
void SysRestorationEntryPB::InitAsDefaultInstance() {
3079
26.8k
}
3080
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3081
const int SysRestorationEntryPB::kStateFieldNumber;
3082
const int SysRestorationEntryPB::kTabletRestorationsFieldNumber;
3083
const int SysRestorationEntryPB::kSnapshotIdFieldNumber;
3084
const int SysRestorationEntryPB::kCompleteTimeHtFieldNumber;
3085
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3086
3087
SysRestorationEntryPB::SysRestorationEntryPB()
3088
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3089
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3090
10
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSysRestorationEntryPB();
3091
10
  }
3092
26.8k
  SharedCtor();
3093
  // @@protoc_insertion_point(constructor:yb.master.SysRestorationEntryPB)
3094
26.8k
}
3095
SysRestorationEntryPB::SysRestorationEntryPB(const SysRestorationEntryPB& from)
3096
  : ::google::protobuf::Message(),
3097
      _internal_metadata_(NULL),
3098
      _has_bits_(from._has_bits_),
3099
      _cached_size_(0),
3100
0
      tablet_restorations_(from.tablet_restorations_) {
3101
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3102
0
  snapshot_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3103
0
  if (from.has_snapshot_id()) {
3104
0
    snapshot_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_id_);
3105
0
  }
3106
0
  ::memcpy(&complete_time_ht_, &from.complete_time_ht_,
3107
0
    static_cast<size_t>(reinterpret_cast<char*>(&state_) -
3108
0
    reinterpret_cast<char*>(&complete_time_ht_)) + sizeof(state_));
3109
  // @@protoc_insertion_point(copy_constructor:yb.master.SysRestorationEntryPB)
3110
0
}
3111
3112
26.8k
void SysRestorationEntryPB::SharedCtor() {
3113
26.8k
  _cached_size_ = 0;
3114
26.8k
  snapshot_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3115
26.8k
  ::memset(&complete_time_ht_, 0, static_cast<size_t>(
3116
26.8k
      reinterpret_cast<char*>(&state_) -
3117
26.8k
      reinterpret_cast<char*>(&complete_time_ht_)) + sizeof(state_));
3118
26.8k
}
3119
3120
10
SysRestorationEntryPB::~SysRestorationEntryPB() {
3121
  // @@protoc_insertion_point(destructor:yb.master.SysRestorationEntryPB)
3122
10
  SharedDtor();
3123
10
}
3124
3125
10
void SysRestorationEntryPB::SharedDtor() {
3126
10
  snapshot_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3127
10
}
3128
3129
0
void SysRestorationEntryPB::SetCachedSize(int size) const {
3130
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3131
0
  _cached_size_ = size;
3132
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3133
0
}
3134
0
const ::google::protobuf::Descriptor* SysRestorationEntryPB::descriptor() {
3135
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
3136
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3137
0
}
3138
3139
0
const SysRestorationEntryPB& SysRestorationEntryPB::default_instance() {
3140
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSysRestorationEntryPB();
3141
0
  return *internal_default_instance();
3142
0
}
3143
3144
0
SysRestorationEntryPB* SysRestorationEntryPB::New(::google::protobuf::Arena* arena) const {
3145
0
  SysRestorationEntryPB* n = new SysRestorationEntryPB;
3146
0
  if (arena != NULL) {
3147
0
    arena->Own(n);
3148
0
  }
3149
0
  return n;
3150
0
}
3151
3152
0
void SysRestorationEntryPB::Clear() {
3153
// @@protoc_insertion_point(message_clear_start:yb.master.SysRestorationEntryPB)
3154
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3155
  // Prevent compiler warnings about cached_has_bits being unused
3156
0
  (void) cached_has_bits;
3157
3158
0
  tablet_restorations_.Clear();
3159
0
  cached_has_bits = _has_bits_[0];
3160
0
  if (cached_has_bits & 0x00000001u) {
3161
0
    GOOGLE_DCHECK(!snapshot_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3162
0
    (*snapshot_id_.UnsafeRawStringPointer())->clear();
3163
0
  }
3164
0
  if (cached_has_bits & 6u) {
3165
0
    ::memset(&complete_time_ht_, 0, static_cast<size_t>(
3166
0
        reinterpret_cast<char*>(&state_) -
3167
0
        reinterpret_cast<char*>(&complete_time_ht_)) + sizeof(state_));
3168
0
  }
3169
0
  _has_bits_.Clear();
3170
0
  _internal_metadata_.Clear();
3171
0
}
3172
3173
bool SysRestorationEntryPB::MergePartialFromCodedStream(
3174
5
    ::google::protobuf::io::CodedInputStream* input) {
3175
35
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
3176
5
  ::google::protobuf::uint32 tag;
3177
  // @@protoc_insertion_point(parse_start:yb.master.SysRestorationEntryPB)
3178
40
  for (;;) {
3179
40
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3180
40
    tag = p.first;
3181
40
    if (!p.second) 
goto handle_unusual5
;
3182
35
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3183
      // optional .yb.master.SysSnapshotEntryPB.State state = 1 [default = UNKNOWN];
3184
5
      case 1: {
3185
5
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3186
5
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
3187
5
          int value;
3188
5
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3189
5
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
3190
5
                 input, &value)));
3191
5
          if (::yb::master::SysSnapshotEntryPB_State_IsValid(value)) {
3192
5
            set_state(static_cast< ::yb::master::SysSnapshotEntryPB_State >(value));
3193
5
          } else {
3194
0
            mutable_unknown_fields()->AddVarint(
3195
0
                1, static_cast< ::google::protobuf::uint64>(value));
3196
0
          }
3197
5
        } else {
3198
0
          goto handle_unusual;
3199
0
        }
3200
5
        break;
3201
5
      }
3202
3203
      // repeated .yb.master.TabletRestorationPB tablet_restorations = 2;
3204
22
      case 2: {
3205
22
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3206
22
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
3207
22
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_tablet_restorations()));
3208
22
        } else {
3209
0
          goto handle_unusual;
3210
0
        }
3211
22
        break;
3212
22
      }
3213
3214
      // optional fixed64 complete_time_ht = 3;
3215
22
      case 3: {
3216
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3217
3
            static_cast< ::google::protobuf::uint8>(25u /* 25 & 0xFF */)) {
3218
3
          set_has_complete_time_ht();
3219
3
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3220
3
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
3221
3
                 input, &complete_time_ht_)));
3222
3
        } else {
3223
0
          goto handle_unusual;
3224
0
        }
3225
3
        break;
3226
3
      }
3227
3228
      // optional bytes snapshot_id = 8;
3229
5
      case 8: {
3230
5
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3231
5
            static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
3232
5
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3233
5
                input, this->mutable_snapshot_id()));
3234
5
        } else {
3235
0
          goto handle_unusual;
3236
0
        }
3237
5
        break;
3238
5
      }
3239
3240
5
      default: {
3241
5
      handle_unusual:
3242
5
        if (tag == 0) {
3243
5
          goto success;
3244
5
        }
3245
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3246
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3247
0
        break;
3248
0
      }
3249
35
    }
3250
35
  }
3251
5
success:
3252
  // @@protoc_insertion_point(parse_success:yb.master.SysRestorationEntryPB)
3253
5
  return true;
3254
0
failure:
3255
  // @@protoc_insertion_point(parse_failure:yb.master.SysRestorationEntryPB)
3256
0
  return false;
3257
5
#undef DO_
3258
5
}
3259
3260
void SysRestorationEntryPB::SerializeWithCachedSizes(
3261
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3262
  // @@protoc_insertion_point(serialize_start:yb.master.SysRestorationEntryPB)
3263
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3264
0
  (void) cached_has_bits;
3265
3266
0
  cached_has_bits = _has_bits_[0];
3267
  // optional .yb.master.SysSnapshotEntryPB.State state = 1 [default = UNKNOWN];
3268
0
  if (cached_has_bits & 0x00000004u) {
3269
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
3270
0
      1, this->state(), output);
3271
0
  }
3272
3273
  // repeated .yb.master.TabletRestorationPB tablet_restorations = 2;
3274
0
  for (unsigned int i = 0,
3275
0
      n = static_cast<unsigned int>(this->tablet_restorations_size()); i < n; i++) {
3276
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3277
0
      2, this->tablet_restorations(static_cast<int>(i)), output);
3278
0
  }
3279
3280
  // optional fixed64 complete_time_ht = 3;
3281
0
  if (cached_has_bits & 0x00000002u) {
3282
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(3, this->complete_time_ht(), output);
3283
0
  }
3284
3285
  // optional bytes snapshot_id = 8;
3286
0
  if (cached_has_bits & 0x00000001u) {
3287
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
3288
0
      8, this->snapshot_id(), output);
3289
0
  }
3290
3291
0
  if (_internal_metadata_.have_unknown_fields()) {
3292
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3293
0
        _internal_metadata_.unknown_fields(), output);
3294
0
  }
3295
  // @@protoc_insertion_point(serialize_end:yb.master.SysRestorationEntryPB)
3296
0
}
3297
3298
::google::protobuf::uint8* SysRestorationEntryPB::InternalSerializeWithCachedSizesToArray(
3299
5
    bool deterministic, ::google::protobuf::uint8* target) const {
3300
5
  (void)deterministic; // Unused
3301
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SysRestorationEntryPB)
3302
5
  ::google::protobuf::uint32 cached_has_bits = 0;
3303
5
  (void) cached_has_bits;
3304
3305
5
  cached_has_bits = _has_bits_[0];
3306
  // optional .yb.master.SysSnapshotEntryPB.State state = 1 [default = UNKNOWN];
3307
5
  if (cached_has_bits & 0x00000004u) {
3308
5
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
3309
5
      1, this->state(), target);
3310
5
  }
3311
3312
  // repeated .yb.master.TabletRestorationPB tablet_restorations = 2;
3313
5
  for (unsigned int i = 0,
3314
27
      n = static_cast<unsigned int>(this->tablet_restorations_size()); i < n; 
i++22
) {
3315
22
    target = ::google::protobuf::internal::WireFormatLite::
3316
22
      InternalWriteMessageToArray(
3317
22
        2, this->tablet_restorations(static_cast<int>(i)), deterministic, target);
3318
22
  }
3319
3320
  // optional fixed64 complete_time_ht = 3;
3321
5
  if (cached_has_bits & 0x00000002u) {
3322
3
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(3, this->complete_time_ht(), target);
3323
3
  }
3324
3325
  // optional bytes snapshot_id = 8;
3326
5
  if (cached_has_bits & 0x00000001u) {
3327
5
    target =
3328
5
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
3329
5
        8, this->snapshot_id(), target);
3330
5
  }
3331
3332
5
  if (_internal_metadata_.have_unknown_fields()) {
3333
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3334
0
        _internal_metadata_.unknown_fields(), target);
3335
0
  }
3336
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SysRestorationEntryPB)
3337
5
  return target;
3338
5
}
3339
3340
10
size_t SysRestorationEntryPB::ByteSizeLong() const {
3341
// @@protoc_insertion_point(message_byte_size_start:yb.master.SysRestorationEntryPB)
3342
10
  size_t total_size = 0;
3343
3344
10
  if (_internal_metadata_.have_unknown_fields()) {
3345
0
    total_size +=
3346
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3347
0
        _internal_metadata_.unknown_fields());
3348
0
  }
3349
  // repeated .yb.master.TabletRestorationPB tablet_restorations = 2;
3350
10
  {
3351
10
    unsigned int count = static_cast<unsigned int>(this->tablet_restorations_size());
3352
10
    total_size += 1UL * count;
3353
54
    for (unsigned int i = 0; i < count; 
i++44
) {
3354
44
      total_size +=
3355
44
        ::google::protobuf::internal::WireFormatLite::MessageSize(
3356
44
          this->tablet_restorations(static_cast<int>(i)));
3357
44
    }
3358
10
  }
3359
3360
10
  if (_has_bits_[0 / 32] & 7u) {
3361
    // optional bytes snapshot_id = 8;
3362
10
    if (has_snapshot_id()) {
3363
10
      total_size += 1 +
3364
10
        ::google::protobuf::internal::WireFormatLite::BytesSize(
3365
10
          this->snapshot_id());
3366
10
    }
3367
3368
    // optional fixed64 complete_time_ht = 3;
3369
10
    if (has_complete_time_ht()) {
3370
6
      total_size += 1 + 8;
3371
6
    }
3372
3373
    // optional .yb.master.SysSnapshotEntryPB.State state = 1 [default = UNKNOWN];
3374
10
    if (has_state()) {
3375
10
      total_size += 1 +
3376
10
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->state());
3377
10
    }
3378
3379
10
  }
3380
10
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3381
10
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3382
10
  _cached_size_ = cached_size;
3383
10
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3384
10
  return total_size;
3385
10
}
3386
3387
0
void SysRestorationEntryPB::MergeFrom(const ::google::protobuf::Message& from) {
3388
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SysRestorationEntryPB)
3389
0
  GOOGLE_DCHECK_NE(&from, this);
3390
0
  const SysRestorationEntryPB* source =
3391
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SysRestorationEntryPB>(
3392
0
          &from);
3393
0
  if (source == NULL) {
3394
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SysRestorationEntryPB)
3395
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3396
0
  } else {
3397
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SysRestorationEntryPB)
3398
0
    MergeFrom(*source);
3399
0
  }
3400
0
}
3401
3402
0
void SysRestorationEntryPB::MergeFrom(const SysRestorationEntryPB& from) {
3403
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SysRestorationEntryPB)
3404
0
  GOOGLE_DCHECK_NE(&from, this);
3405
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3406
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3407
0
  (void) cached_has_bits;
3408
3409
0
  tablet_restorations_.MergeFrom(from.tablet_restorations_);
3410
0
  cached_has_bits = from._has_bits_[0];
3411
0
  if (cached_has_bits & 7u) {
3412
0
    if (cached_has_bits & 0x00000001u) {
3413
0
      set_has_snapshot_id();
3414
0
      snapshot_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_id_);
3415
0
    }
3416
0
    if (cached_has_bits & 0x00000002u) {
3417
0
      complete_time_ht_ = from.complete_time_ht_;
3418
0
    }
3419
0
    if (cached_has_bits & 0x00000004u) {
3420
0
      state_ = from.state_;
3421
0
    }
3422
0
    _has_bits_[0] |= cached_has_bits;
3423
0
  }
3424
0
}
3425
3426
0
void SysRestorationEntryPB::CopyFrom(const ::google::protobuf::Message& from) {
3427
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SysRestorationEntryPB)
3428
0
  if (&from == this) return;
3429
0
  Clear();
3430
0
  MergeFrom(from);
3431
0
}
3432
3433
0
void SysRestorationEntryPB::CopyFrom(const SysRestorationEntryPB& from) {
3434
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SysRestorationEntryPB)
3435
0
  if (&from == this) return;
3436
0
  Clear();
3437
0
  MergeFrom(from);
3438
0
}
3439
3440
0
bool SysRestorationEntryPB::IsInitialized() const {
3441
0
  return true;
3442
0
}
3443
3444
0
void SysRestorationEntryPB::Swap(SysRestorationEntryPB* other) {
3445
0
  if (other == this) return;
3446
0
  InternalSwap(other);
3447
0
}
3448
0
void SysRestorationEntryPB::InternalSwap(SysRestorationEntryPB* other) {
3449
0
  using std::swap;
3450
0
  tablet_restorations_.InternalSwap(&other->tablet_restorations_);
3451
0
  snapshot_id_.Swap(&other->snapshot_id_);
3452
0
  swap(complete_time_ht_, other->complete_time_ht_);
3453
0
  swap(state_, other->state_);
3454
0
  swap(_has_bits_[0], other->_has_bits_[0]);
3455
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
3456
0
  swap(_cached_size_, other->_cached_size_);
3457
0
}
3458
3459
0
::google::protobuf::Metadata SysRestorationEntryPB::GetMetadata() const {
3460
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
3461
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
3462
0
}
3463
3464
3465
// ===================================================================
3466
3467
26.8k
void RestorationInfoPB::InitAsDefaultInstance() {
3468
26.8k
  ::yb::master::_RestorationInfoPB_default_instance_._instance.get_mutable()->entry_ = const_cast< ::yb::master::SysRestorationEntryPB*>(
3469
26.8k
      ::yb::master::SysRestorationEntryPB::internal_default_instance());
3470
26.8k
}
3471
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3472
const int RestorationInfoPB::kIdFieldNumber;
3473
const int RestorationInfoPB::kEntryFieldNumber;
3474
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3475
3476
RestorationInfoPB::RestorationInfoPB()
3477
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3478
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3479
10
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsRestorationInfoPB();
3480
10
  }
3481
26.8k
  SharedCtor();
3482
  // @@protoc_insertion_point(constructor:yb.master.RestorationInfoPB)
3483
26.8k
}
3484
RestorationInfoPB::RestorationInfoPB(const RestorationInfoPB& from)
3485
  : ::google::protobuf::Message(),
3486
      _internal_metadata_(NULL),
3487
      _has_bits_(from._has_bits_),
3488
0
      _cached_size_(0) {
3489
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3490
0
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3491
0
  if (from.has_id()) {
3492
0
    id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
3493
0
  }
3494
0
  if (from.has_entry()) {
3495
0
    entry_ = new ::yb::master::SysRestorationEntryPB(*from.entry_);
3496
0
  } else {
3497
0
    entry_ = NULL;
3498
0
  }
3499
  // @@protoc_insertion_point(copy_constructor:yb.master.RestorationInfoPB)
3500
0
}
3501
3502
26.8k
void RestorationInfoPB::SharedCtor() {
3503
26.8k
  _cached_size_ = 0;
3504
26.8k
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3505
26.8k
  entry_ = NULL;
3506
26.8k
}
3507
3508
10
RestorationInfoPB::~RestorationInfoPB() {
3509
  // @@protoc_insertion_point(destructor:yb.master.RestorationInfoPB)
3510
10
  SharedDtor();
3511
10
}
3512
3513
10
void RestorationInfoPB::SharedDtor() {
3514
10
  id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3515
10
  if (this != internal_default_instance()) delete entry_;
3516
10
}
3517
3518
0
void RestorationInfoPB::SetCachedSize(int size) const {
3519
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3520
0
  _cached_size_ = size;
3521
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3522
0
}
3523
0
const ::google::protobuf::Descriptor* RestorationInfoPB::descriptor() {
3524
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
3525
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3526
0
}
3527
3528
0
const RestorationInfoPB& RestorationInfoPB::default_instance() {
3529
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsRestorationInfoPB();
3530
0
  return *internal_default_instance();
3531
0
}
3532
3533
0
RestorationInfoPB* RestorationInfoPB::New(::google::protobuf::Arena* arena) const {
3534
0
  RestorationInfoPB* n = new RestorationInfoPB;
3535
0
  if (arena != NULL) {
3536
0
    arena->Own(n);
3537
0
  }
3538
0
  return n;
3539
0
}
3540
3541
0
void RestorationInfoPB::Clear() {
3542
// @@protoc_insertion_point(message_clear_start:yb.master.RestorationInfoPB)
3543
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3544
  // Prevent compiler warnings about cached_has_bits being unused
3545
0
  (void) cached_has_bits;
3546
3547
0
  cached_has_bits = _has_bits_[0];
3548
0
  if (cached_has_bits & 3u) {
3549
0
    if (cached_has_bits & 0x00000001u) {
3550
0
      GOOGLE_DCHECK(!id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3551
0
      (*id_.UnsafeRawStringPointer())->clear();
3552
0
    }
3553
0
    if (cached_has_bits & 0x00000002u) {
3554
0
      GOOGLE_DCHECK(entry_ != NULL);
3555
0
      entry_->Clear();
3556
0
    }
3557
0
  }
3558
0
  _has_bits_.Clear();
3559
0
  _internal_metadata_.Clear();
3560
0
}
3561
3562
bool RestorationInfoPB::MergePartialFromCodedStream(
3563
5
    ::google::protobuf::io::CodedInputStream* input) {
3564
10
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
3565
5
  ::google::protobuf::uint32 tag;
3566
  // @@protoc_insertion_point(parse_start:yb.master.RestorationInfoPB)
3567
15
  for (;;) {
3568
15
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3569
15
    tag = p.first;
3570
15
    if (!p.second) 
goto handle_unusual5
;
3571
10
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3572
      // optional bytes id = 1;
3573
5
      case 1: {
3574
5
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3575
5
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
3576
5
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3577
5
                input, this->mutable_id()));
3578
5
        } else {
3579
0
          goto handle_unusual;
3580
0
        }
3581
5
        break;
3582
5
      }
3583
3584
      // optional .yb.master.SysRestorationEntryPB entry = 2;
3585
5
      case 2: {
3586
5
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3587
5
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
3588
5
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3589
5
               input, mutable_entry()));
3590
5
        } else {
3591
0
          goto handle_unusual;
3592
0
        }
3593
5
        break;
3594
5
      }
3595
3596
5
      default: {
3597
5
      handle_unusual:
3598
5
        if (tag == 0) {
3599
5
          goto success;
3600
5
        }
3601
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3602
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3603
0
        break;
3604
0
      }
3605
10
    }
3606
10
  }
3607
5
success:
3608
  // @@protoc_insertion_point(parse_success:yb.master.RestorationInfoPB)
3609
5
  return true;
3610
0
failure:
3611
  // @@protoc_insertion_point(parse_failure:yb.master.RestorationInfoPB)
3612
0
  return false;
3613
5
#undef DO_
3614
5
}
3615
3616
void RestorationInfoPB::SerializeWithCachedSizes(
3617
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3618
  // @@protoc_insertion_point(serialize_start:yb.master.RestorationInfoPB)
3619
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3620
0
  (void) cached_has_bits;
3621
3622
0
  cached_has_bits = _has_bits_[0];
3623
  // optional bytes id = 1;
3624
0
  if (cached_has_bits & 0x00000001u) {
3625
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
3626
0
      1, this->id(), output);
3627
0
  }
3628
3629
  // optional .yb.master.SysRestorationEntryPB entry = 2;
3630
0
  if (cached_has_bits & 0x00000002u) {
3631
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3632
0
      2, *this->entry_, output);
3633
0
  }
3634
3635
0
  if (_internal_metadata_.have_unknown_fields()) {
3636
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3637
0
        _internal_metadata_.unknown_fields(), output);
3638
0
  }
3639
  // @@protoc_insertion_point(serialize_end:yb.master.RestorationInfoPB)
3640
0
}
3641
3642
::google::protobuf::uint8* RestorationInfoPB::InternalSerializeWithCachedSizesToArray(
3643
5
    bool deterministic, ::google::protobuf::uint8* target) const {
3644
5
  (void)deterministic; // Unused
3645
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.RestorationInfoPB)
3646
5
  ::google::protobuf::uint32 cached_has_bits = 0;
3647
5
  (void) cached_has_bits;
3648
3649
5
  cached_has_bits = _has_bits_[0];
3650
  // optional bytes id = 1;
3651
5
  if (cached_has_bits & 0x00000001u) {
3652
5
    target =
3653
5
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
3654
5
        1, this->id(), target);
3655
5
  }
3656
3657
  // optional .yb.master.SysRestorationEntryPB entry = 2;
3658
5
  if (cached_has_bits & 0x00000002u) {
3659
5
    target = ::google::protobuf::internal::WireFormatLite::
3660
5
      InternalWriteMessageToArray(
3661
5
        2, *this->entry_, deterministic, target);
3662
5
  }
3663
3664
5
  if (_internal_metadata_.have_unknown_fields()) {
3665
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3666
0
        _internal_metadata_.unknown_fields(), target);
3667
0
  }
3668
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.RestorationInfoPB)
3669
5
  return target;
3670
5
}
3671
3672
10
size_t RestorationInfoPB::ByteSizeLong() const {
3673
// @@protoc_insertion_point(message_byte_size_start:yb.master.RestorationInfoPB)
3674
10
  size_t total_size = 0;
3675
3676
10
  if (_internal_metadata_.have_unknown_fields()) {
3677
0
    total_size +=
3678
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3679
0
        _internal_metadata_.unknown_fields());
3680
0
  }
3681
10
  if (_has_bits_[0 / 32] & 3u) {
3682
    // optional bytes id = 1;
3683
10
    if (has_id()) {
3684
10
      total_size += 1 +
3685
10
        ::google::protobuf::internal::WireFormatLite::BytesSize(
3686
10
          this->id());
3687
10
    }
3688
3689
    // optional .yb.master.SysRestorationEntryPB entry = 2;
3690
10
    if (has_entry()) {
3691
10
      total_size += 1 +
3692
10
        ::google::protobuf::internal::WireFormatLite::MessageSize(
3693
10
          *this->entry_);
3694
10
    }
3695
3696
10
  }
3697
10
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3698
10
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3699
10
  _cached_size_ = cached_size;
3700
10
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3701
10
  return total_size;
3702
10
}
3703
3704
0
void RestorationInfoPB::MergeFrom(const ::google::protobuf::Message& from) {
3705
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.RestorationInfoPB)
3706
0
  GOOGLE_DCHECK_NE(&from, this);
3707
0
  const RestorationInfoPB* source =
3708
0
      ::google::protobuf::internal::DynamicCastToGenerated<const RestorationInfoPB>(
3709
0
          &from);
3710
0
  if (source == NULL) {
3711
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.RestorationInfoPB)
3712
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3713
0
  } else {
3714
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.RestorationInfoPB)
3715
0
    MergeFrom(*source);
3716
0
  }
3717
0
}
3718
3719
0
void RestorationInfoPB::MergeFrom(const RestorationInfoPB& from) {
3720
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.RestorationInfoPB)
3721
0
  GOOGLE_DCHECK_NE(&from, this);
3722
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3723
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3724
0
  (void) cached_has_bits;
3725
3726
0
  cached_has_bits = from._has_bits_[0];
3727
0
  if (cached_has_bits & 3u) {
3728
0
    if (cached_has_bits & 0x00000001u) {
3729
0
      set_has_id();
3730
0
      id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
3731
0
    }
3732
0
    if (cached_has_bits & 0x00000002u) {
3733
0
      mutable_entry()->::yb::master::SysRestorationEntryPB::MergeFrom(from.entry());
3734
0
    }
3735
0
  }
3736
0
}
3737
3738
0
void RestorationInfoPB::CopyFrom(const ::google::protobuf::Message& from) {
3739
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.RestorationInfoPB)
3740
0
  if (&from == this) return;
3741
0
  Clear();
3742
0
  MergeFrom(from);
3743
0
}
3744
3745
0
void RestorationInfoPB::CopyFrom(const RestorationInfoPB& from) {
3746
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.RestorationInfoPB)
3747
0
  if (&from == this) return;
3748
0
  Clear();
3749
0
  MergeFrom(from);
3750
0
}
3751
3752
0
bool RestorationInfoPB::IsInitialized() const {
3753
0
  return true;
3754
0
}
3755
3756
0
void RestorationInfoPB::Swap(RestorationInfoPB* other) {
3757
0
  if (other == this) return;
3758
0
  InternalSwap(other);
3759
0
}
3760
0
void RestorationInfoPB::InternalSwap(RestorationInfoPB* other) {
3761
0
  using std::swap;
3762
0
  id_.Swap(&other->id_);
3763
0
  swap(entry_, other->entry_);
3764
0
  swap(_has_bits_[0], other->_has_bits_[0]);
3765
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
3766
0
  swap(_cached_size_, other->_cached_size_);
3767
0
}
3768
3769
0
::google::protobuf::Metadata RestorationInfoPB::GetMetadata() const {
3770
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
3771
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
3772
0
}
3773
3774
3775
// ===================================================================
3776
3777
26.8k
void ListSnapshotsRequestPB::InitAsDefaultInstance() {
3778
26.8k
}
3779
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3780
const int ListSnapshotsRequestPB::kSnapshotIdFieldNumber;
3781
const int ListSnapshotsRequestPB::kListDeletedSnapshotsFieldNumber;
3782
const int ListSnapshotsRequestPB::kPrepareForBackupFieldNumber;
3783
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3784
3785
ListSnapshotsRequestPB::ListSnapshotsRequestPB()
3786
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3787
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3788
18
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsListSnapshotsRequestPB();
3789
18
  }
3790
26.8k
  SharedCtor();
3791
  // @@protoc_insertion_point(constructor:yb.master.ListSnapshotsRequestPB)
3792
26.8k
}
3793
ListSnapshotsRequestPB::ListSnapshotsRequestPB(const ListSnapshotsRequestPB& from)
3794
  : ::google::protobuf::Message(),
3795
      _internal_metadata_(NULL),
3796
      _has_bits_(from._has_bits_),
3797
0
      _cached_size_(0) {
3798
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3799
0
  snapshot_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3800
0
  if (from.has_snapshot_id()) {
3801
0
    snapshot_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_id_);
3802
0
  }
3803
0
  ::memcpy(&list_deleted_snapshots_, &from.list_deleted_snapshots_,
3804
0
    static_cast<size_t>(reinterpret_cast<char*>(&prepare_for_backup_) -
3805
0
    reinterpret_cast<char*>(&list_deleted_snapshots_)) + sizeof(prepare_for_backup_));
3806
  // @@protoc_insertion_point(copy_constructor:yb.master.ListSnapshotsRequestPB)
3807
0
}
3808
3809
26.8k
void ListSnapshotsRequestPB::SharedCtor() {
3810
26.8k
  _cached_size_ = 0;
3811
26.8k
  snapshot_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3812
26.8k
  ::memset(&list_deleted_snapshots_, 0, static_cast<size_t>(
3813
26.8k
      reinterpret_cast<char*>(&prepare_for_backup_) -
3814
26.8k
      reinterpret_cast<char*>(&list_deleted_snapshots_)) + sizeof(prepare_for_backup_));
3815
26.8k
}
3816
3817
18
ListSnapshotsRequestPB::~ListSnapshotsRequestPB() {
3818
  // @@protoc_insertion_point(destructor:yb.master.ListSnapshotsRequestPB)
3819
18
  SharedDtor();
3820
18
}
3821
3822
18
void ListSnapshotsRequestPB::SharedDtor() {
3823
18
  snapshot_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3824
18
}
3825
3826
0
void ListSnapshotsRequestPB::SetCachedSize(int size) const {
3827
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3828
0
  _cached_size_ = size;
3829
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3830
0
}
3831
0
const ::google::protobuf::Descriptor* ListSnapshotsRequestPB::descriptor() {
3832
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
3833
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3834
0
}
3835
3836
0
const ListSnapshotsRequestPB& ListSnapshotsRequestPB::default_instance() {
3837
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsListSnapshotsRequestPB();
3838
0
  return *internal_default_instance();
3839
0
}
3840
3841
0
ListSnapshotsRequestPB* ListSnapshotsRequestPB::New(::google::protobuf::Arena* arena) const {
3842
0
  ListSnapshotsRequestPB* n = new ListSnapshotsRequestPB;
3843
0
  if (arena != NULL) {
3844
0
    arena->Own(n);
3845
0
  }
3846
0
  return n;
3847
0
}
3848
3849
9
void ListSnapshotsRequestPB::Clear() {
3850
// @@protoc_insertion_point(message_clear_start:yb.master.ListSnapshotsRequestPB)
3851
9
  ::google::protobuf::uint32 cached_has_bits = 0;
3852
  // Prevent compiler warnings about cached_has_bits being unused
3853
9
  (void) cached_has_bits;
3854
3855
9
  cached_has_bits = _has_bits_[0];
3856
9
  if (cached_has_bits & 0x00000001u) {
3857
0
    GOOGLE_DCHECK(!snapshot_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3858
0
    (*snapshot_id_.UnsafeRawStringPointer())->clear();
3859
0
  }
3860
9
  ::memset(&list_deleted_snapshots_, 0, static_cast<size_t>(
3861
9
      reinterpret_cast<char*>(&prepare_for_backup_) -
3862
9
      reinterpret_cast<char*>(&list_deleted_snapshots_)) + sizeof(prepare_for_backup_));
3863
9
  _has_bits_.Clear();
3864
9
  _internal_metadata_.Clear();
3865
9
}
3866
3867
bool ListSnapshotsRequestPB::MergePartialFromCodedStream(
3868
9
    ::google::protobuf::io::CodedInputStream* input) {
3869
9
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
3870
9
  ::google::protobuf::uint32 tag;
3871
  // @@protoc_insertion_point(parse_start:yb.master.ListSnapshotsRequestPB)
3872
18
  for (;;) {
3873
18
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3874
18
    tag = p.first;
3875
18
    if (!p.second) 
goto handle_unusual9
;
3876
9
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3877
      // optional bytes snapshot_id = 2;
3878
8
      case 2: {
3879
8
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3880
8
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
3881
8
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3882
8
                input, this->mutable_snapshot_id()));
3883
8
        } else {
3884
0
          goto handle_unusual;
3885
0
        }
3886
8
        break;
3887
8
      }
3888
3889
      // optional bool list_deleted_snapshots = 3;
3890
8
      case 3: {
3891
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3892
1
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
3893
1
          set_has_list_deleted_snapshots();
3894
1
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3895
1
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
3896
1
                 input, &list_deleted_snapshots_)));
3897
1
        } else {
3898
0
          goto handle_unusual;
3899
0
        }
3900
1
        break;
3901
1
      }
3902
3903
      // optional bool prepare_for_backup = 4;
3904
1
      case 4: {
3905
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3906
0
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
3907
0
          set_has_prepare_for_backup();
3908
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3909
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
3910
0
                 input, &prepare_for_backup_)));
3911
0
        } else {
3912
0
          goto handle_unusual;
3913
0
        }
3914
0
        break;
3915
0
      }
3916
3917
0
      default: {
3918
9
      handle_unusual:
3919
9
        if (tag == 0) {
3920
9
          goto success;
3921
9
        }
3922
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3923
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3924
0
        break;
3925
0
      }
3926
9
    }
3927
9
  }
3928
9
success:
3929
  // @@protoc_insertion_point(parse_success:yb.master.ListSnapshotsRequestPB)
3930
9
  return true;
3931
0
failure:
3932
  // @@protoc_insertion_point(parse_failure:yb.master.ListSnapshotsRequestPB)
3933
0
  return false;
3934
9
#undef DO_
3935
9
}
3936
3937
void ListSnapshotsRequestPB::SerializeWithCachedSizes(
3938
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3939
  // @@protoc_insertion_point(serialize_start:yb.master.ListSnapshotsRequestPB)
3940
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3941
0
  (void) cached_has_bits;
3942
3943
0
  cached_has_bits = _has_bits_[0];
3944
  // optional bytes snapshot_id = 2;
3945
0
  if (cached_has_bits & 0x00000001u) {
3946
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
3947
0
      2, this->snapshot_id(), output);
3948
0
  }
3949
3950
  // optional bool list_deleted_snapshots = 3;
3951
0
  if (cached_has_bits & 0x00000002u) {
3952
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->list_deleted_snapshots(), output);
3953
0
  }
3954
3955
  // optional bool prepare_for_backup = 4;
3956
0
  if (cached_has_bits & 0x00000004u) {
3957
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->prepare_for_backup(), output);
3958
0
  }
3959
3960
0
  if (_internal_metadata_.have_unknown_fields()) {
3961
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3962
0
        _internal_metadata_.unknown_fields(), output);
3963
0
  }
3964
  // @@protoc_insertion_point(serialize_end:yb.master.ListSnapshotsRequestPB)
3965
0
}
3966
3967
::google::protobuf::uint8* ListSnapshotsRequestPB::InternalSerializeWithCachedSizesToArray(
3968
9
    bool deterministic, ::google::protobuf::uint8* target) const {
3969
9
  (void)deterministic; // Unused
3970
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListSnapshotsRequestPB)
3971
9
  ::google::protobuf::uint32 cached_has_bits = 0;
3972
9
  (void) cached_has_bits;
3973
3974
9
  cached_has_bits = _has_bits_[0];
3975
  // optional bytes snapshot_id = 2;
3976
9
  if (cached_has_bits & 0x00000001u) {
3977
8
    target =
3978
8
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
3979
8
        2, this->snapshot_id(), target);
3980
8
  }
3981
3982
  // optional bool list_deleted_snapshots = 3;
3983
9
  if (cached_has_bits & 0x00000002u) {
3984
1
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->list_deleted_snapshots(), target);
3985
1
  }
3986
3987
  // optional bool prepare_for_backup = 4;
3988
9
  if (cached_has_bits & 0x00000004u) {
3989
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->prepare_for_backup(), target);
3990
0
  }
3991
3992
9
  if (_internal_metadata_.have_unknown_fields()) {
3993
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3994
0
        _internal_metadata_.unknown_fields(), target);
3995
0
  }
3996
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListSnapshotsRequestPB)
3997
9
  return target;
3998
9
}
3999
4000
18
size_t ListSnapshotsRequestPB::ByteSizeLong() const {
4001
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListSnapshotsRequestPB)
4002
18
  size_t total_size = 0;
4003
4004
18
  if (_internal_metadata_.have_unknown_fields()) {
4005
0
    total_size +=
4006
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4007
0
        _internal_metadata_.unknown_fields());
4008
0
  }
4009
18
  if (_has_bits_[0 / 32] & 7u) {
4010
    // optional bytes snapshot_id = 2;
4011
18
    if (has_snapshot_id()) {
4012
16
      total_size += 1 +
4013
16
        ::google::protobuf::internal::WireFormatLite::BytesSize(
4014
16
          this->snapshot_id());
4015
16
    }
4016
4017
    // optional bool list_deleted_snapshots = 3;
4018
18
    if (has_list_deleted_snapshots()) {
4019
2
      total_size += 1 + 1;
4020
2
    }
4021
4022
    // optional bool prepare_for_backup = 4;
4023
18
    if (has_prepare_for_backup()) {
4024
0
      total_size += 1 + 1;
4025
0
    }
4026
4027
18
  }
4028
18
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4029
18
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4030
18
  _cached_size_ = cached_size;
4031
18
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4032
18
  return total_size;
4033
18
}
4034
4035
0
void ListSnapshotsRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
4036
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListSnapshotsRequestPB)
4037
0
  GOOGLE_DCHECK_NE(&from, this);
4038
0
  const ListSnapshotsRequestPB* source =
4039
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListSnapshotsRequestPB>(
4040
0
          &from);
4041
0
  if (source == NULL) {
4042
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListSnapshotsRequestPB)
4043
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4044
0
  } else {
4045
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListSnapshotsRequestPB)
4046
0
    MergeFrom(*source);
4047
0
  }
4048
0
}
4049
4050
0
void ListSnapshotsRequestPB::MergeFrom(const ListSnapshotsRequestPB& from) {
4051
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListSnapshotsRequestPB)
4052
0
  GOOGLE_DCHECK_NE(&from, this);
4053
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4054
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4055
0
  (void) cached_has_bits;
4056
4057
0
  cached_has_bits = from._has_bits_[0];
4058
0
  if (cached_has_bits & 7u) {
4059
0
    if (cached_has_bits & 0x00000001u) {
4060
0
      set_has_snapshot_id();
4061
0
      snapshot_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_id_);
4062
0
    }
4063
0
    if (cached_has_bits & 0x00000002u) {
4064
0
      list_deleted_snapshots_ = from.list_deleted_snapshots_;
4065
0
    }
4066
0
    if (cached_has_bits & 0x00000004u) {
4067
0
      prepare_for_backup_ = from.prepare_for_backup_;
4068
0
    }
4069
0
    _has_bits_[0] |= cached_has_bits;
4070
0
  }
4071
0
}
4072
4073
0
void ListSnapshotsRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
4074
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListSnapshotsRequestPB)
4075
0
  if (&from == this) return;
4076
0
  Clear();
4077
0
  MergeFrom(from);
4078
0
}
4079
4080
0
void ListSnapshotsRequestPB::CopyFrom(const ListSnapshotsRequestPB& from) {
4081
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListSnapshotsRequestPB)
4082
0
  if (&from == this) return;
4083
0
  Clear();
4084
0
  MergeFrom(from);
4085
0
}
4086
4087
18
bool ListSnapshotsRequestPB::IsInitialized() const {
4088
18
  return true;
4089
18
}
4090
4091
0
void ListSnapshotsRequestPB::Swap(ListSnapshotsRequestPB* other) {
4092
0
  if (other == this) return;
4093
0
  InternalSwap(other);
4094
0
}
4095
0
void ListSnapshotsRequestPB::InternalSwap(ListSnapshotsRequestPB* other) {
4096
0
  using std::swap;
4097
0
  snapshot_id_.Swap(&other->snapshot_id_);
4098
0
  swap(list_deleted_snapshots_, other->list_deleted_snapshots_);
4099
0
  swap(prepare_for_backup_, other->prepare_for_backup_);
4100
0
  swap(_has_bits_[0], other->_has_bits_[0]);
4101
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
4102
0
  swap(_cached_size_, other->_cached_size_);
4103
0
}
4104
4105
9
::google::protobuf::Metadata ListSnapshotsRequestPB::GetMetadata() const {
4106
9
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
4107
9
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
4108
9
}
4109
4110
4111
// ===================================================================
4112
4113
26.8k
void ListSnapshotsResponsePB::InitAsDefaultInstance() {
4114
26.8k
  ::yb::master::_ListSnapshotsResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
4115
26.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
4116
26.8k
}
4117
0
void ListSnapshotsResponsePB::clear_error() {
4118
0
  if (error_ != NULL) error_->Clear();
4119
0
  clear_has_error();
4120
0
}
4121
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4122
const int ListSnapshotsResponsePB::kErrorFieldNumber;
4123
const int ListSnapshotsResponsePB::kCurrentSnapshotIdFieldNumber;
4124
const int ListSnapshotsResponsePB::kSnapshotsFieldNumber;
4125
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4126
4127
ListSnapshotsResponsePB::ListSnapshotsResponsePB()
4128
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4129
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4130
18
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsListSnapshotsResponsePB();
4131
18
  }
4132
26.8k
  SharedCtor();
4133
  // @@protoc_insertion_point(constructor:yb.master.ListSnapshotsResponsePB)
4134
26.8k
}
4135
ListSnapshotsResponsePB::ListSnapshotsResponsePB(const ListSnapshotsResponsePB& from)
4136
  : ::google::protobuf::Message(),
4137
      _internal_metadata_(NULL),
4138
      _has_bits_(from._has_bits_),
4139
      _cached_size_(0),
4140
0
      snapshots_(from.snapshots_) {
4141
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4142
0
  current_snapshot_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4143
0
  if (from.has_current_snapshot_id()) {
4144
0
    current_snapshot_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.current_snapshot_id_);
4145
0
  }
4146
0
  if (from.has_error()) {
4147
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
4148
0
  } else {
4149
0
    error_ = NULL;
4150
0
  }
4151
  // @@protoc_insertion_point(copy_constructor:yb.master.ListSnapshotsResponsePB)
4152
0
}
4153
4154
26.8k
void ListSnapshotsResponsePB::SharedCtor() {
4155
26.8k
  _cached_size_ = 0;
4156
26.8k
  current_snapshot_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4157
26.8k
  error_ = NULL;
4158
26.8k
}
4159
4160
18
ListSnapshotsResponsePB::~ListSnapshotsResponsePB() {
4161
  // @@protoc_insertion_point(destructor:yb.master.ListSnapshotsResponsePB)
4162
18
  SharedDtor();
4163
18
}
4164
4165
18
void ListSnapshotsResponsePB::SharedDtor() {
4166
18
  current_snapshot_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4167
18
  if (this != internal_default_instance()) delete error_;
4168
18
}
4169
4170
0
void ListSnapshotsResponsePB::SetCachedSize(int size) const {
4171
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4172
0
  _cached_size_ = size;
4173
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4174
0
}
4175
0
const ::google::protobuf::Descriptor* ListSnapshotsResponsePB::descriptor() {
4176
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
4177
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4178
0
}
4179
4180
0
const ListSnapshotsResponsePB& ListSnapshotsResponsePB::default_instance() {
4181
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsListSnapshotsResponsePB();
4182
0
  return *internal_default_instance();
4183
0
}
4184
4185
0
ListSnapshotsResponsePB* ListSnapshotsResponsePB::New(::google::protobuf::Arena* arena) const {
4186
0
  ListSnapshotsResponsePB* n = new ListSnapshotsResponsePB;
4187
0
  if (arena != NULL) {
4188
0
    arena->Own(n);
4189
0
  }
4190
0
  return n;
4191
0
}
4192
4193
10
void ListSnapshotsResponsePB::Clear() {
4194
// @@protoc_insertion_point(message_clear_start:yb.master.ListSnapshotsResponsePB)
4195
10
  ::google::protobuf::uint32 cached_has_bits = 0;
4196
  // Prevent compiler warnings about cached_has_bits being unused
4197
10
  (void) cached_has_bits;
4198
4199
10
  snapshots_.Clear();
4200
10
  cached_has_bits = _has_bits_[0];
4201
10
  if (cached_has_bits & 3u) {
4202
0
    if (cached_has_bits & 0x00000001u) {
4203
0
      GOOGLE_DCHECK(!current_snapshot_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
4204
0
      (*current_snapshot_id_.UnsafeRawStringPointer())->clear();
4205
0
    }
4206
0
    if (cached_has_bits & 0x00000002u) {
4207
0
      GOOGLE_DCHECK(error_ != NULL);
4208
0
      error_->Clear();
4209
0
    }
4210
0
  }
4211
10
  _has_bits_.Clear();
4212
10
  _internal_metadata_.Clear();
4213
10
}
4214
4215
bool ListSnapshotsResponsePB::MergePartialFromCodedStream(
4216
9
    ::google::protobuf::io::CodedInputStream* input) {
4217
9
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
4218
9
  ::google::protobuf::uint32 tag;
4219
  // @@protoc_insertion_point(parse_start:yb.master.ListSnapshotsResponsePB)
4220
18
  for (;;) {
4221
18
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4222
18
    tag = p.first;
4223
18
    if (!p.second) 
goto handle_unusual9
;
4224
9
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4225
      // optional .yb.master.MasterErrorPB error = 1;
4226
0
      case 1: {
4227
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4228
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4229
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4230
0
               input, mutable_error()));
4231
0
        } else {
4232
0
          goto handle_unusual;
4233
0
        }
4234
0
        break;
4235
0
      }
4236
4237
      // optional bytes current_snapshot_id = 2;
4238
0
      case 2: {
4239
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4240
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
4241
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
4242
0
                input, this->mutable_current_snapshot_id()));
4243
0
        } else {
4244
0
          goto handle_unusual;
4245
0
        }
4246
0
        break;
4247
0
      }
4248
4249
      // repeated .yb.master.SnapshotInfoPB snapshots = 3;
4250
9
      case 3: {
4251
9
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4252
9
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
4253
9
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_snapshots()));
4254
9
        } else {
4255
0
          goto handle_unusual;
4256
0
        }
4257
9
        break;
4258
9
      }
4259
4260
9
      default: {
4261
9
      handle_unusual:
4262
9
        if (tag == 0) {
4263
9
          goto success;
4264
9
        }
4265
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
4266
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
4267
0
        break;
4268
0
      }
4269
9
    }
4270
9
  }
4271
9
success:
4272
  // @@protoc_insertion_point(parse_success:yb.master.ListSnapshotsResponsePB)
4273
9
  return true;
4274
0
failure:
4275
  // @@protoc_insertion_point(parse_failure:yb.master.ListSnapshotsResponsePB)
4276
0
  return false;
4277
9
#undef DO_
4278
9
}
4279
4280
void ListSnapshotsResponsePB::SerializeWithCachedSizes(
4281
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4282
  // @@protoc_insertion_point(serialize_start:yb.master.ListSnapshotsResponsePB)
4283
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4284
0
  (void) cached_has_bits;
4285
4286
0
  cached_has_bits = _has_bits_[0];
4287
  // optional .yb.master.MasterErrorPB error = 1;
4288
0
  if (cached_has_bits & 0x00000002u) {
4289
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4290
0
      1, *this->error_, output);
4291
0
  }
4292
4293
  // optional bytes current_snapshot_id = 2;
4294
0
  if (cached_has_bits & 0x00000001u) {
4295
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4296
0
      2, this->current_snapshot_id(), output);
4297
0
  }
4298
4299
  // repeated .yb.master.SnapshotInfoPB snapshots = 3;
4300
0
  for (unsigned int i = 0,
4301
0
      n = static_cast<unsigned int>(this->snapshots_size()); i < n; i++) {
4302
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4303
0
      3, this->snapshots(static_cast<int>(i)), output);
4304
0
  }
4305
4306
0
  if (_internal_metadata_.have_unknown_fields()) {
4307
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4308
0
        _internal_metadata_.unknown_fields(), output);
4309
0
  }
4310
  // @@protoc_insertion_point(serialize_end:yb.master.ListSnapshotsResponsePB)
4311
0
}
4312
4313
::google::protobuf::uint8* ListSnapshotsResponsePB::InternalSerializeWithCachedSizesToArray(
4314
9
    bool deterministic, ::google::protobuf::uint8* target) const {
4315
9
  (void)deterministic; // Unused
4316
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListSnapshotsResponsePB)
4317
9
  ::google::protobuf::uint32 cached_has_bits = 0;
4318
9
  (void) cached_has_bits;
4319
4320
9
  cached_has_bits = _has_bits_[0];
4321
  // optional .yb.master.MasterErrorPB error = 1;
4322
9
  if (cached_has_bits & 0x00000002u) {
4323
0
    target = ::google::protobuf::internal::WireFormatLite::
4324
0
      InternalWriteMessageToArray(
4325
0
        1, *this->error_, deterministic, target);
4326
0
  }
4327
4328
  // optional bytes current_snapshot_id = 2;
4329
9
  if (cached_has_bits & 0x00000001u) {
4330
0
    target =
4331
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
4332
0
        2, this->current_snapshot_id(), target);
4333
0
  }
4334
4335
  // repeated .yb.master.SnapshotInfoPB snapshots = 3;
4336
9
  for (unsigned int i = 0,
4337
18
      n = static_cast<unsigned int>(this->snapshots_size()); i < n; 
i++9
) {
4338
9
    target = ::google::protobuf::internal::WireFormatLite::
4339
9
      InternalWriteMessageToArray(
4340
9
        3, this->snapshots(static_cast<int>(i)), deterministic, target);
4341
9
  }
4342
4343
9
  if (_internal_metadata_.have_unknown_fields()) {
4344
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4345
0
        _internal_metadata_.unknown_fields(), target);
4346
0
  }
4347
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListSnapshotsResponsePB)
4348
9
  return target;
4349
9
}
4350
4351
18
size_t ListSnapshotsResponsePB::ByteSizeLong() const {
4352
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListSnapshotsResponsePB)
4353
18
  size_t total_size = 0;
4354
4355
18
  if (_internal_metadata_.have_unknown_fields()) {
4356
0
    total_size +=
4357
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4358
0
        _internal_metadata_.unknown_fields());
4359
0
  }
4360
  // repeated .yb.master.SnapshotInfoPB snapshots = 3;
4361
18
  {
4362
18
    unsigned int count = static_cast<unsigned int>(this->snapshots_size());
4363
18
    total_size += 1UL * count;
4364
36
    for (unsigned int i = 0; i < count; 
i++18
) {
4365
18
      total_size +=
4366
18
        ::google::protobuf::internal::WireFormatLite::MessageSize(
4367
18
          this->snapshots(static_cast<int>(i)));
4368
18
    }
4369
18
  }
4370
4371
18
  if (_has_bits_[0 / 32] & 3u) {
4372
    // optional bytes current_snapshot_id = 2;
4373
0
    if (has_current_snapshot_id()) {
4374
0
      total_size += 1 +
4375
0
        ::google::protobuf::internal::WireFormatLite::BytesSize(
4376
0
          this->current_snapshot_id());
4377
0
    }
4378
4379
    // optional .yb.master.MasterErrorPB error = 1;
4380
0
    if (has_error()) {
4381
0
      total_size += 1 +
4382
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
4383
0
          *this->error_);
4384
0
    }
4385
4386
0
  }
4387
18
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4388
18
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4389
18
  _cached_size_ = cached_size;
4390
18
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4391
18
  return total_size;
4392
18
}
4393
4394
0
void ListSnapshotsResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
4395
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListSnapshotsResponsePB)
4396
0
  GOOGLE_DCHECK_NE(&from, this);
4397
0
  const ListSnapshotsResponsePB* source =
4398
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListSnapshotsResponsePB>(
4399
0
          &from);
4400
0
  if (source == NULL) {
4401
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListSnapshotsResponsePB)
4402
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4403
0
  } else {
4404
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListSnapshotsResponsePB)
4405
0
    MergeFrom(*source);
4406
0
  }
4407
0
}
4408
4409
0
void ListSnapshotsResponsePB::MergeFrom(const ListSnapshotsResponsePB& from) {
4410
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListSnapshotsResponsePB)
4411
0
  GOOGLE_DCHECK_NE(&from, this);
4412
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4413
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4414
0
  (void) cached_has_bits;
4415
4416
0
  snapshots_.MergeFrom(from.snapshots_);
4417
0
  cached_has_bits = from._has_bits_[0];
4418
0
  if (cached_has_bits & 3u) {
4419
0
    if (cached_has_bits & 0x00000001u) {
4420
0
      set_has_current_snapshot_id();
4421
0
      current_snapshot_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.current_snapshot_id_);
4422
0
    }
4423
0
    if (cached_has_bits & 0x00000002u) {
4424
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
4425
0
    }
4426
0
  }
4427
0
}
4428
4429
0
void ListSnapshotsResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
4430
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListSnapshotsResponsePB)
4431
0
  if (&from == this) return;
4432
0
  Clear();
4433
0
  MergeFrom(from);
4434
0
}
4435
4436
0
void ListSnapshotsResponsePB::CopyFrom(const ListSnapshotsResponsePB& from) {
4437
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListSnapshotsResponsePB)
4438
0
  if (&from == this) return;
4439
0
  Clear();
4440
0
  MergeFrom(from);
4441
0
}
4442
4443
18
bool ListSnapshotsResponsePB::IsInitialized() const {
4444
18
  if (has_error()) {
4445
0
    if (!this->error_->IsInitialized()) return false;
4446
0
  }
4447
18
  return true;
4448
18
}
4449
4450
0
void ListSnapshotsResponsePB::Swap(ListSnapshotsResponsePB* other) {
4451
0
  if (other == this) return;
4452
0
  InternalSwap(other);
4453
0
}
4454
0
void ListSnapshotsResponsePB::InternalSwap(ListSnapshotsResponsePB* other) {
4455
0
  using std::swap;
4456
0
  snapshots_.InternalSwap(&other->snapshots_);
4457
0
  current_snapshot_id_.Swap(&other->current_snapshot_id_);
4458
0
  swap(error_, other->error_);
4459
0
  swap(_has_bits_[0], other->_has_bits_[0]);
4460
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
4461
0
  swap(_cached_size_, other->_cached_size_);
4462
0
}
4463
4464
0
::google::protobuf::Metadata ListSnapshotsResponsePB::GetMetadata() const {
4465
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
4466
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
4467
0
}
4468
4469
4470
// ===================================================================
4471
4472
26.8k
void RestoreSnapshotRequestPB::InitAsDefaultInstance() {
4473
26.8k
}
4474
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4475
const int RestoreSnapshotRequestPB::kSnapshotIdFieldNumber;
4476
const int RestoreSnapshotRequestPB::kRestoreHtFieldNumber;
4477
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4478
4479
RestoreSnapshotRequestPB::RestoreSnapshotRequestPB()
4480
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4481
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4482
6
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsRestoreSnapshotRequestPB();
4483
6
  }
4484
26.8k
  SharedCtor();
4485
  // @@protoc_insertion_point(constructor:yb.master.RestoreSnapshotRequestPB)
4486
26.8k
}
4487
RestoreSnapshotRequestPB::RestoreSnapshotRequestPB(const RestoreSnapshotRequestPB& from)
4488
  : ::google::protobuf::Message(),
4489
      _internal_metadata_(NULL),
4490
      _has_bits_(from._has_bits_),
4491
0
      _cached_size_(0) {
4492
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4493
0
  snapshot_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4494
0
  if (from.has_snapshot_id()) {
4495
0
    snapshot_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_id_);
4496
0
  }
4497
0
  restore_ht_ = from.restore_ht_;
4498
  // @@protoc_insertion_point(copy_constructor:yb.master.RestoreSnapshotRequestPB)
4499
0
}
4500
4501
26.8k
void RestoreSnapshotRequestPB::SharedCtor() {
4502
26.8k
  _cached_size_ = 0;
4503
26.8k
  snapshot_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4504
26.8k
  restore_ht_ = GOOGLE_ULONGLONG(0);
4505
26.8k
}
4506
4507
6
RestoreSnapshotRequestPB::~RestoreSnapshotRequestPB() {
4508
  // @@protoc_insertion_point(destructor:yb.master.RestoreSnapshotRequestPB)
4509
6
  SharedDtor();
4510
6
}
4511
4512
6
void RestoreSnapshotRequestPB::SharedDtor() {
4513
6
  snapshot_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4514
6
}
4515
4516
0
void RestoreSnapshotRequestPB::SetCachedSize(int size) const {
4517
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4518
0
  _cached_size_ = size;
4519
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4520
0
}
4521
0
const ::google::protobuf::Descriptor* RestoreSnapshotRequestPB::descriptor() {
4522
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
4523
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4524
0
}
4525
4526
0
const RestoreSnapshotRequestPB& RestoreSnapshotRequestPB::default_instance() {
4527
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsRestoreSnapshotRequestPB();
4528
0
  return *internal_default_instance();
4529
0
}
4530
4531
0
RestoreSnapshotRequestPB* RestoreSnapshotRequestPB::New(::google::protobuf::Arena* arena) const {
4532
0
  RestoreSnapshotRequestPB* n = new RestoreSnapshotRequestPB;
4533
0
  if (arena != NULL) {
4534
0
    arena->Own(n);
4535
0
  }
4536
0
  return n;
4537
0
}
4538
4539
3
void RestoreSnapshotRequestPB::Clear() {
4540
// @@protoc_insertion_point(message_clear_start:yb.master.RestoreSnapshotRequestPB)
4541
3
  ::google::protobuf::uint32 cached_has_bits = 0;
4542
  // Prevent compiler warnings about cached_has_bits being unused
4543
3
  (void) cached_has_bits;
4544
4545
3
  cached_has_bits = _has_bits_[0];
4546
3
  if (cached_has_bits & 0x00000001u) {
4547
0
    GOOGLE_DCHECK(!snapshot_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
4548
0
    (*snapshot_id_.UnsafeRawStringPointer())->clear();
4549
0
  }
4550
3
  restore_ht_ = GOOGLE_ULONGLONG(0);
4551
3
  _has_bits_.Clear();
4552
3
  _internal_metadata_.Clear();
4553
3
}
4554
4555
bool RestoreSnapshotRequestPB::MergePartialFromCodedStream(
4556
3
    ::google::protobuf::io::CodedInputStream* input) {
4557
6
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
4558
3
  ::google::protobuf::uint32 tag;
4559
  // @@protoc_insertion_point(parse_start:yb.master.RestoreSnapshotRequestPB)
4560
9
  for (;;) {
4561
9
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4562
9
    tag = p.first;
4563
9
    if (!p.second) 
goto handle_unusual3
;
4564
6
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4565
      // optional bytes snapshot_id = 2;
4566
3
      case 2: {
4567
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4568
3
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
4569
3
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
4570
3
                input, this->mutable_snapshot_id()));
4571
3
        } else {
4572
0
          goto handle_unusual;
4573
0
        }
4574
3
        break;
4575
3
      }
4576
4577
      // optional fixed64 restore_ht = 3;
4578
3
      case 3: {
4579
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4580
3
            static_cast< ::google::protobuf::uint8>(25u /* 25 & 0xFF */)) {
4581
3
          set_has_restore_ht();
4582
3
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4583
3
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
4584
3
                 input, &restore_ht_)));
4585
3
        } else {
4586
0
          goto handle_unusual;
4587
0
        }
4588
3
        break;
4589
3
      }
4590
4591
3
      default: {
4592
3
      handle_unusual:
4593
3
        if (tag == 0) {
4594
3
          goto success;
4595
3
        }
4596
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
4597
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
4598
0
        break;
4599
0
      }
4600
6
    }
4601
6
  }
4602
3
success:
4603
  // @@protoc_insertion_point(parse_success:yb.master.RestoreSnapshotRequestPB)
4604
3
  return true;
4605
0
failure:
4606
  // @@protoc_insertion_point(parse_failure:yb.master.RestoreSnapshotRequestPB)
4607
0
  return false;
4608
3
#undef DO_
4609
3
}
4610
4611
void RestoreSnapshotRequestPB::SerializeWithCachedSizes(
4612
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4613
  // @@protoc_insertion_point(serialize_start:yb.master.RestoreSnapshotRequestPB)
4614
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4615
0
  (void) cached_has_bits;
4616
4617
0
  cached_has_bits = _has_bits_[0];
4618
  // optional bytes snapshot_id = 2;
4619
0
  if (cached_has_bits & 0x00000001u) {
4620
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4621
0
      2, this->snapshot_id(), output);
4622
0
  }
4623
4624
  // optional fixed64 restore_ht = 3;
4625
0
  if (cached_has_bits & 0x00000002u) {
4626
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(3, this->restore_ht(), output);
4627
0
  }
4628
4629
0
  if (_internal_metadata_.have_unknown_fields()) {
4630
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4631
0
        _internal_metadata_.unknown_fields(), output);
4632
0
  }
4633
  // @@protoc_insertion_point(serialize_end:yb.master.RestoreSnapshotRequestPB)
4634
0
}
4635
4636
::google::protobuf::uint8* RestoreSnapshotRequestPB::InternalSerializeWithCachedSizesToArray(
4637
3
    bool deterministic, ::google::protobuf::uint8* target) const {
4638
3
  (void)deterministic; // Unused
4639
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.RestoreSnapshotRequestPB)
4640
3
  ::google::protobuf::uint32 cached_has_bits = 0;
4641
3
  (void) cached_has_bits;
4642
4643
3
  cached_has_bits = _has_bits_[0];
4644
  // optional bytes snapshot_id = 2;
4645
3
  if (cached_has_bits & 0x00000001u) {
4646
3
    target =
4647
3
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
4648
3
        2, this->snapshot_id(), target);
4649
3
  }
4650
4651
  // optional fixed64 restore_ht = 3;
4652
3
  if (cached_has_bits & 0x00000002u) {
4653
3
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(3, this->restore_ht(), target);
4654
3
  }
4655
4656
3
  if (_internal_metadata_.have_unknown_fields()) {
4657
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4658
0
        _internal_metadata_.unknown_fields(), target);
4659
0
  }
4660
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.RestoreSnapshotRequestPB)
4661
3
  return target;
4662
3
}
4663
4664
6
size_t RestoreSnapshotRequestPB::ByteSizeLong() const {
4665
// @@protoc_insertion_point(message_byte_size_start:yb.master.RestoreSnapshotRequestPB)
4666
6
  size_t total_size = 0;
4667
4668
6
  if (_internal_metadata_.have_unknown_fields()) {
4669
0
    total_size +=
4670
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4671
0
        _internal_metadata_.unknown_fields());
4672
0
  }
4673
6
  if (_has_bits_[0 / 32] & 3u) {
4674
    // optional bytes snapshot_id = 2;
4675
6
    if (has_snapshot_id()) {
4676
6
      total_size += 1 +
4677
6
        ::google::protobuf::internal::WireFormatLite::BytesSize(
4678
6
          this->snapshot_id());
4679
6
    }
4680
4681
    // optional fixed64 restore_ht = 3;
4682
6
    if (has_restore_ht()) {
4683
6
      total_size += 1 + 8;
4684
6
    }
4685
4686
6
  }
4687
6
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4688
6
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4689
6
  _cached_size_ = cached_size;
4690
6
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4691
6
  return total_size;
4692
6
}
4693
4694
0
void RestoreSnapshotRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
4695
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.RestoreSnapshotRequestPB)
4696
0
  GOOGLE_DCHECK_NE(&from, this);
4697
0
  const RestoreSnapshotRequestPB* source =
4698
0
      ::google::protobuf::internal::DynamicCastToGenerated<const RestoreSnapshotRequestPB>(
4699
0
          &from);
4700
0
  if (source == NULL) {
4701
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.RestoreSnapshotRequestPB)
4702
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4703
0
  } else {
4704
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.RestoreSnapshotRequestPB)
4705
0
    MergeFrom(*source);
4706
0
  }
4707
0
}
4708
4709
0
void RestoreSnapshotRequestPB::MergeFrom(const RestoreSnapshotRequestPB& from) {
4710
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.RestoreSnapshotRequestPB)
4711
0
  GOOGLE_DCHECK_NE(&from, this);
4712
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4713
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4714
0
  (void) cached_has_bits;
4715
4716
0
  cached_has_bits = from._has_bits_[0];
4717
0
  if (cached_has_bits & 3u) {
4718
0
    if (cached_has_bits & 0x00000001u) {
4719
0
      set_has_snapshot_id();
4720
0
      snapshot_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_id_);
4721
0
    }
4722
0
    if (cached_has_bits & 0x00000002u) {
4723
0
      restore_ht_ = from.restore_ht_;
4724
0
    }
4725
0
    _has_bits_[0] |= cached_has_bits;
4726
0
  }
4727
0
}
4728
4729
0
void RestoreSnapshotRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
4730
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.RestoreSnapshotRequestPB)
4731
0
  if (&from == this) return;
4732
0
  Clear();
4733
0
  MergeFrom(from);
4734
0
}
4735
4736
0
void RestoreSnapshotRequestPB::CopyFrom(const RestoreSnapshotRequestPB& from) {
4737
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.RestoreSnapshotRequestPB)
4738
0
  if (&from == this) return;
4739
0
  Clear();
4740
0
  MergeFrom(from);
4741
0
}
4742
4743
6
bool RestoreSnapshotRequestPB::IsInitialized() const {
4744
6
  return true;
4745
6
}
4746
4747
0
void RestoreSnapshotRequestPB::Swap(RestoreSnapshotRequestPB* other) {
4748
0
  if (other == this) return;
4749
0
  InternalSwap(other);
4750
0
}
4751
0
void RestoreSnapshotRequestPB::InternalSwap(RestoreSnapshotRequestPB* other) {
4752
0
  using std::swap;
4753
0
  snapshot_id_.Swap(&other->snapshot_id_);
4754
0
  swap(restore_ht_, other->restore_ht_);
4755
0
  swap(_has_bits_[0], other->_has_bits_[0]);
4756
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
4757
0
  swap(_cached_size_, other->_cached_size_);
4758
0
}
4759
4760
9
::google::protobuf::Metadata RestoreSnapshotRequestPB::GetMetadata() const {
4761
9
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
4762
9
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
4763
9
}
4764
4765
4766
// ===================================================================
4767
4768
26.8k
void RestoreSnapshotResponsePB::InitAsDefaultInstance() {
4769
26.8k
  ::yb::master::_RestoreSnapshotResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
4770
26.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
4771
26.8k
}
4772
0
void RestoreSnapshotResponsePB::clear_error() {
4773
0
  if (error_ != NULL) error_->Clear();
4774
0
  clear_has_error();
4775
0
}
4776
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4777
const int RestoreSnapshotResponsePB::kErrorFieldNumber;
4778
const int RestoreSnapshotResponsePB::kRestorationIdFieldNumber;
4779
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4780
4781
RestoreSnapshotResponsePB::RestoreSnapshotResponsePB()
4782
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4783
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4784
6
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsRestoreSnapshotResponsePB();
4785
6
  }
4786
26.8k
  SharedCtor();
4787
  // @@protoc_insertion_point(constructor:yb.master.RestoreSnapshotResponsePB)
4788
26.8k
}
4789
RestoreSnapshotResponsePB::RestoreSnapshotResponsePB(const RestoreSnapshotResponsePB& from)
4790
  : ::google::protobuf::Message(),
4791
      _internal_metadata_(NULL),
4792
      _has_bits_(from._has_bits_),
4793
0
      _cached_size_(0) {
4794
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4795
0
  restoration_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4796
0
  if (from.has_restoration_id()) {
4797
0
    restoration_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.restoration_id_);
4798
0
  }
4799
0
  if (from.has_error()) {
4800
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
4801
0
  } else {
4802
0
    error_ = NULL;
4803
0
  }
4804
  // @@protoc_insertion_point(copy_constructor:yb.master.RestoreSnapshotResponsePB)
4805
0
}
4806
4807
26.8k
void RestoreSnapshotResponsePB::SharedCtor() {
4808
26.8k
  _cached_size_ = 0;
4809
26.8k
  restoration_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4810
26.8k
  error_ = NULL;
4811
26.8k
}
4812
4813
6
RestoreSnapshotResponsePB::~RestoreSnapshotResponsePB() {
4814
  // @@protoc_insertion_point(destructor:yb.master.RestoreSnapshotResponsePB)
4815
6
  SharedDtor();
4816
6
}
4817
4818
6
void RestoreSnapshotResponsePB::SharedDtor() {
4819
6
  restoration_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4820
6
  if (this != internal_default_instance()) delete error_;
4821
6
}
4822
4823
0
void RestoreSnapshotResponsePB::SetCachedSize(int size) const {
4824
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4825
0
  _cached_size_ = size;
4826
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4827
0
}
4828
0
const ::google::protobuf::Descriptor* RestoreSnapshotResponsePB::descriptor() {
4829
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
4830
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4831
0
}
4832
4833
0
const RestoreSnapshotResponsePB& RestoreSnapshotResponsePB::default_instance() {
4834
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsRestoreSnapshotResponsePB();
4835
0
  return *internal_default_instance();
4836
0
}
4837
4838
0
RestoreSnapshotResponsePB* RestoreSnapshotResponsePB::New(::google::protobuf::Arena* arena) const {
4839
0
  RestoreSnapshotResponsePB* n = new RestoreSnapshotResponsePB;
4840
0
  if (arena != NULL) {
4841
0
    arena->Own(n);
4842
0
  }
4843
0
  return n;
4844
0
}
4845
4846
3
void RestoreSnapshotResponsePB::Clear() {
4847
// @@protoc_insertion_point(message_clear_start:yb.master.RestoreSnapshotResponsePB)
4848
3
  ::google::protobuf::uint32 cached_has_bits = 0;
4849
  // Prevent compiler warnings about cached_has_bits being unused
4850
3
  (void) cached_has_bits;
4851
4852
3
  cached_has_bits = _has_bits_[0];
4853
3
  if (cached_has_bits & 3u) {
4854
0
    if (cached_has_bits & 0x00000001u) {
4855
0
      GOOGLE_DCHECK(!restoration_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
4856
0
      (*restoration_id_.UnsafeRawStringPointer())->clear();
4857
0
    }
4858
0
    if (cached_has_bits & 0x00000002u) {
4859
0
      GOOGLE_DCHECK(error_ != NULL);
4860
0
      error_->Clear();
4861
0
    }
4862
0
  }
4863
3
  _has_bits_.Clear();
4864
3
  _internal_metadata_.Clear();
4865
3
}
4866
4867
bool RestoreSnapshotResponsePB::MergePartialFromCodedStream(
4868
3
    ::google::protobuf::io::CodedInputStream* input) {
4869
3
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
4870
3
  ::google::protobuf::uint32 tag;
4871
  // @@protoc_insertion_point(parse_start:yb.master.RestoreSnapshotResponsePB)
4872
6
  for (;;) {
4873
6
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4874
6
    tag = p.first;
4875
6
    if (!p.second) 
goto handle_unusual3
;
4876
3
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4877
      // optional .yb.master.MasterErrorPB error = 1;
4878
0
      case 1: {
4879
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4880
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4881
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4882
0
               input, mutable_error()));
4883
0
        } else {
4884
0
          goto handle_unusual;
4885
0
        }
4886
0
        break;
4887
0
      }
4888
4889
      // optional bytes restoration_id = 2;
4890
3
      case 2: {
4891
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4892
3
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
4893
3
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
4894
3
                input, this->mutable_restoration_id()));
4895
3
        } else {
4896
0
          goto handle_unusual;
4897
0
        }
4898
3
        break;
4899
3
      }
4900
4901
3
      default: {
4902
3
      handle_unusual:
4903
3
        if (tag == 0) {
4904
3
          goto success;
4905
3
        }
4906
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
4907
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
4908
0
        break;
4909
0
      }
4910
3
    }
4911
3
  }
4912
3
success:
4913
  // @@protoc_insertion_point(parse_success:yb.master.RestoreSnapshotResponsePB)
4914
3
  return true;
4915
0
failure:
4916
  // @@protoc_insertion_point(parse_failure:yb.master.RestoreSnapshotResponsePB)
4917
0
  return false;
4918
3
#undef DO_
4919
3
}
4920
4921
void RestoreSnapshotResponsePB::SerializeWithCachedSizes(
4922
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4923
  // @@protoc_insertion_point(serialize_start:yb.master.RestoreSnapshotResponsePB)
4924
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4925
0
  (void) cached_has_bits;
4926
4927
0
  cached_has_bits = _has_bits_[0];
4928
  // optional .yb.master.MasterErrorPB error = 1;
4929
0
  if (cached_has_bits & 0x00000002u) {
4930
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4931
0
      1, *this->error_, output);
4932
0
  }
4933
4934
  // optional bytes restoration_id = 2;
4935
0
  if (cached_has_bits & 0x00000001u) {
4936
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4937
0
      2, this->restoration_id(), output);
4938
0
  }
4939
4940
0
  if (_internal_metadata_.have_unknown_fields()) {
4941
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4942
0
        _internal_metadata_.unknown_fields(), output);
4943
0
  }
4944
  // @@protoc_insertion_point(serialize_end:yb.master.RestoreSnapshotResponsePB)
4945
0
}
4946
4947
::google::protobuf::uint8* RestoreSnapshotResponsePB::InternalSerializeWithCachedSizesToArray(
4948
3
    bool deterministic, ::google::protobuf::uint8* target) const {
4949
3
  (void)deterministic; // Unused
4950
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.RestoreSnapshotResponsePB)
4951
3
  ::google::protobuf::uint32 cached_has_bits = 0;
4952
3
  (void) cached_has_bits;
4953
4954
3
  cached_has_bits = _has_bits_[0];
4955
  // optional .yb.master.MasterErrorPB error = 1;
4956
3
  if (cached_has_bits & 0x00000002u) {
4957
0
    target = ::google::protobuf::internal::WireFormatLite::
4958
0
      InternalWriteMessageToArray(
4959
0
        1, *this->error_, deterministic, target);
4960
0
  }
4961
4962
  // optional bytes restoration_id = 2;
4963
3
  if (cached_has_bits & 0x00000001u) {
4964
3
    target =
4965
3
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
4966
3
        2, this->restoration_id(), target);
4967
3
  }
4968
4969
3
  if (_internal_metadata_.have_unknown_fields()) {
4970
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4971
0
        _internal_metadata_.unknown_fields(), target);
4972
0
  }
4973
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.RestoreSnapshotResponsePB)
4974
3
  return target;
4975
3
}
4976
4977
6
size_t RestoreSnapshotResponsePB::ByteSizeLong() const {
4978
// @@protoc_insertion_point(message_byte_size_start:yb.master.RestoreSnapshotResponsePB)
4979
6
  size_t total_size = 0;
4980
4981
6
  if (_internal_metadata_.have_unknown_fields()) {
4982
0
    total_size +=
4983
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4984
0
        _internal_metadata_.unknown_fields());
4985
0
  }
4986
6
  if (_has_bits_[0 / 32] & 3u) {
4987
    // optional bytes restoration_id = 2;
4988
6
    if (has_restoration_id()) {
4989
6
      total_size += 1 +
4990
6
        ::google::protobuf::internal::WireFormatLite::BytesSize(
4991
6
          this->restoration_id());
4992
6
    }
4993
4994
    // optional .yb.master.MasterErrorPB error = 1;
4995
6
    if (has_error()) {
4996
0
      total_size += 1 +
4997
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
4998
0
          *this->error_);
4999
0
    }
5000
5001
6
  }
5002
6
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5003
6
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5004
6
  _cached_size_ = cached_size;
5005
6
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5006
6
  return total_size;
5007
6
}
5008
5009
0
void RestoreSnapshotResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
5010
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.RestoreSnapshotResponsePB)
5011
0
  GOOGLE_DCHECK_NE(&from, this);
5012
0
  const RestoreSnapshotResponsePB* source =
5013
0
      ::google::protobuf::internal::DynamicCastToGenerated<const RestoreSnapshotResponsePB>(
5014
0
          &from);
5015
0
  if (source == NULL) {
5016
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.RestoreSnapshotResponsePB)
5017
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5018
0
  } else {
5019
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.RestoreSnapshotResponsePB)
5020
0
    MergeFrom(*source);
5021
0
  }
5022
0
}
5023
5024
0
void RestoreSnapshotResponsePB::MergeFrom(const RestoreSnapshotResponsePB& from) {
5025
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.RestoreSnapshotResponsePB)
5026
0
  GOOGLE_DCHECK_NE(&from, this);
5027
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5028
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5029
0
  (void) cached_has_bits;
5030
5031
0
  cached_has_bits = from._has_bits_[0];
5032
0
  if (cached_has_bits & 3u) {
5033
0
    if (cached_has_bits & 0x00000001u) {
5034
0
      set_has_restoration_id();
5035
0
      restoration_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.restoration_id_);
5036
0
    }
5037
0
    if (cached_has_bits & 0x00000002u) {
5038
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
5039
0
    }
5040
0
  }
5041
0
}
5042
5043
0
void RestoreSnapshotResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
5044
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.RestoreSnapshotResponsePB)
5045
0
  if (&from == this) return;
5046
0
  Clear();
5047
0
  MergeFrom(from);
5048
0
}
5049
5050
0
void RestoreSnapshotResponsePB::CopyFrom(const RestoreSnapshotResponsePB& from) {
5051
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.RestoreSnapshotResponsePB)
5052
0
  if (&from == this) return;
5053
0
  Clear();
5054
0
  MergeFrom(from);
5055
0
}
5056
5057
6
bool RestoreSnapshotResponsePB::IsInitialized() const {
5058
6
  if (has_error()) {
5059
0
    if (!this->error_->IsInitialized()) return false;
5060
0
  }
5061
6
  return true;
5062
6
}
5063
5064
0
void RestoreSnapshotResponsePB::Swap(RestoreSnapshotResponsePB* other) {
5065
0
  if (other == this) return;
5066
0
  InternalSwap(other);
5067
0
}
5068
0
void RestoreSnapshotResponsePB::InternalSwap(RestoreSnapshotResponsePB* other) {
5069
0
  using std::swap;
5070
0
  restoration_id_.Swap(&other->restoration_id_);
5071
0
  swap(error_, other->error_);
5072
0
  swap(_has_bits_[0], other->_has_bits_[0]);
5073
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
5074
0
  swap(_cached_size_, other->_cached_size_);
5075
0
}
5076
5077
0
::google::protobuf::Metadata RestoreSnapshotResponsePB::GetMetadata() const {
5078
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
5079
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
5080
0
}
5081
5082
5083
// ===================================================================
5084
5085
26.8k
void DeleteSnapshotRequestPB::InitAsDefaultInstance() {
5086
26.8k
}
5087
#if !defined(_MSC_VER) || _MSC_VER >= 1900
5088
const int DeleteSnapshotRequestPB::kSnapshotIdFieldNumber;
5089
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
5090
5091
DeleteSnapshotRequestPB::DeleteSnapshotRequestPB()
5092
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
5093
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
5094
0
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsDeleteSnapshotRequestPB();
5095
0
  }
5096
26.8k
  SharedCtor();
5097
  // @@protoc_insertion_point(constructor:yb.master.DeleteSnapshotRequestPB)
5098
26.8k
}
5099
DeleteSnapshotRequestPB::DeleteSnapshotRequestPB(const DeleteSnapshotRequestPB& from)
5100
  : ::google::protobuf::Message(),
5101
      _internal_metadata_(NULL),
5102
      _has_bits_(from._has_bits_),
5103
0
      _cached_size_(0) {
5104
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5105
0
  snapshot_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5106
0
  if (from.has_snapshot_id()) {
5107
0
    snapshot_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_id_);
5108
0
  }
5109
  // @@protoc_insertion_point(copy_constructor:yb.master.DeleteSnapshotRequestPB)
5110
0
}
5111
5112
26.8k
void DeleteSnapshotRequestPB::SharedCtor() {
5113
26.8k
  _cached_size_ = 0;
5114
26.8k
  snapshot_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5115
26.8k
}
5116
5117
0
DeleteSnapshotRequestPB::~DeleteSnapshotRequestPB() {
5118
  // @@protoc_insertion_point(destructor:yb.master.DeleteSnapshotRequestPB)
5119
0
  SharedDtor();
5120
0
}
5121
5122
0
void DeleteSnapshotRequestPB::SharedDtor() {
5123
0
  snapshot_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5124
0
}
5125
5126
0
void DeleteSnapshotRequestPB::SetCachedSize(int size) const {
5127
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5128
0
  _cached_size_ = size;
5129
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5130
0
}
5131
0
const ::google::protobuf::Descriptor* DeleteSnapshotRequestPB::descriptor() {
5132
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
5133
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
5134
0
}
5135
5136
0
const DeleteSnapshotRequestPB& DeleteSnapshotRequestPB::default_instance() {
5137
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsDeleteSnapshotRequestPB();
5138
0
  return *internal_default_instance();
5139
0
}
5140
5141
0
DeleteSnapshotRequestPB* DeleteSnapshotRequestPB::New(::google::protobuf::Arena* arena) const {
5142
0
  DeleteSnapshotRequestPB* n = new DeleteSnapshotRequestPB;
5143
0
  if (arena != NULL) {
5144
0
    arena->Own(n);
5145
0
  }
5146
0
  return n;
5147
0
}
5148
5149
0
void DeleteSnapshotRequestPB::Clear() {
5150
// @@protoc_insertion_point(message_clear_start:yb.master.DeleteSnapshotRequestPB)
5151
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5152
  // Prevent compiler warnings about cached_has_bits being unused
5153
0
  (void) cached_has_bits;
5154
5155
0
  cached_has_bits = _has_bits_[0];
5156
0
  if (cached_has_bits & 0x00000001u) {
5157
0
    GOOGLE_DCHECK(!snapshot_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
5158
0
    (*snapshot_id_.UnsafeRawStringPointer())->clear();
5159
0
  }
5160
0
  _has_bits_.Clear();
5161
0
  _internal_metadata_.Clear();
5162
0
}
5163
5164
bool DeleteSnapshotRequestPB::MergePartialFromCodedStream(
5165
0
    ::google::protobuf::io::CodedInputStream* input) {
5166
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
5167
0
  ::google::protobuf::uint32 tag;
5168
  // @@protoc_insertion_point(parse_start:yb.master.DeleteSnapshotRequestPB)
5169
0
  for (;;) {
5170
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5171
0
    tag = p.first;
5172
0
    if (!p.second) goto handle_unusual;
5173
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5174
      // optional bytes snapshot_id = 2;
5175
0
      case 2: {
5176
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5177
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
5178
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
5179
0
                input, this->mutable_snapshot_id()));
5180
0
        } else {
5181
0
          goto handle_unusual;
5182
0
        }
5183
0
        break;
5184
0
      }
5185
5186
0
      default: {
5187
0
      handle_unusual:
5188
0
        if (tag == 0) {
5189
0
          goto success;
5190
0
        }
5191
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
5192
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
5193
0
        break;
5194
0
      }
5195
0
    }
5196
0
  }
5197
0
success:
5198
  // @@protoc_insertion_point(parse_success:yb.master.DeleteSnapshotRequestPB)
5199
0
  return true;
5200
0
failure:
5201
  // @@protoc_insertion_point(parse_failure:yb.master.DeleteSnapshotRequestPB)
5202
0
  return false;
5203
0
#undef DO_
5204
0
}
5205
5206
void DeleteSnapshotRequestPB::SerializeWithCachedSizes(
5207
0
    ::google::protobuf::io::CodedOutputStream* output) const {
5208
  // @@protoc_insertion_point(serialize_start:yb.master.DeleteSnapshotRequestPB)
5209
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5210
0
  (void) cached_has_bits;
5211
5212
0
  cached_has_bits = _has_bits_[0];
5213
  // optional bytes snapshot_id = 2;
5214
0
  if (cached_has_bits & 0x00000001u) {
5215
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
5216
0
      2, this->snapshot_id(), output);
5217
0
  }
5218
5219
0
  if (_internal_metadata_.have_unknown_fields()) {
5220
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5221
0
        _internal_metadata_.unknown_fields(), output);
5222
0
  }
5223
  // @@protoc_insertion_point(serialize_end:yb.master.DeleteSnapshotRequestPB)
5224
0
}
5225
5226
::google::protobuf::uint8* DeleteSnapshotRequestPB::InternalSerializeWithCachedSizesToArray(
5227
0
    bool deterministic, ::google::protobuf::uint8* target) const {
5228
0
  (void)deterministic; // Unused
5229
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.DeleteSnapshotRequestPB)
5230
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5231
0
  (void) cached_has_bits;
5232
5233
0
  cached_has_bits = _has_bits_[0];
5234
  // optional bytes snapshot_id = 2;
5235
0
  if (cached_has_bits & 0x00000001u) {
5236
0
    target =
5237
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
5238
0
        2, this->snapshot_id(), target);
5239
0
  }
5240
5241
0
  if (_internal_metadata_.have_unknown_fields()) {
5242
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5243
0
        _internal_metadata_.unknown_fields(), target);
5244
0
  }
5245
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.DeleteSnapshotRequestPB)
5246
0
  return target;
5247
0
}
5248
5249
0
size_t DeleteSnapshotRequestPB::ByteSizeLong() const {
5250
// @@protoc_insertion_point(message_byte_size_start:yb.master.DeleteSnapshotRequestPB)
5251
0
  size_t total_size = 0;
5252
5253
0
  if (_internal_metadata_.have_unknown_fields()) {
5254
0
    total_size +=
5255
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5256
0
        _internal_metadata_.unknown_fields());
5257
0
  }
5258
  // optional bytes snapshot_id = 2;
5259
0
  if (has_snapshot_id()) {
5260
0
    total_size += 1 +
5261
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
5262
0
        this->snapshot_id());
5263
0
  }
5264
5265
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5266
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5267
0
  _cached_size_ = cached_size;
5268
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5269
0
  return total_size;
5270
0
}
5271
5272
0
void DeleteSnapshotRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
5273
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.DeleteSnapshotRequestPB)
5274
0
  GOOGLE_DCHECK_NE(&from, this);
5275
0
  const DeleteSnapshotRequestPB* source =
5276
0
      ::google::protobuf::internal::DynamicCastToGenerated<const DeleteSnapshotRequestPB>(
5277
0
          &from);
5278
0
  if (source == NULL) {
5279
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.DeleteSnapshotRequestPB)
5280
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5281
0
  } else {
5282
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.DeleteSnapshotRequestPB)
5283
0
    MergeFrom(*source);
5284
0
  }
5285
0
}
5286
5287
0
void DeleteSnapshotRequestPB::MergeFrom(const DeleteSnapshotRequestPB& from) {
5288
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.DeleteSnapshotRequestPB)
5289
0
  GOOGLE_DCHECK_NE(&from, this);
5290
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5291
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5292
0
  (void) cached_has_bits;
5293
5294
0
  if (from.has_snapshot_id()) {
5295
0
    set_has_snapshot_id();
5296
0
    snapshot_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_id_);
5297
0
  }
5298
0
}
5299
5300
0
void DeleteSnapshotRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
5301
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.DeleteSnapshotRequestPB)
5302
0
  if (&from == this) return;
5303
0
  Clear();
5304
0
  MergeFrom(from);
5305
0
}
5306
5307
0
void DeleteSnapshotRequestPB::CopyFrom(const DeleteSnapshotRequestPB& from) {
5308
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.DeleteSnapshotRequestPB)
5309
0
  if (&from == this) return;
5310
0
  Clear();
5311
0
  MergeFrom(from);
5312
0
}
5313
5314
0
bool DeleteSnapshotRequestPB::IsInitialized() const {
5315
0
  return true;
5316
0
}
5317
5318
0
void DeleteSnapshotRequestPB::Swap(DeleteSnapshotRequestPB* other) {
5319
0
  if (other == this) return;
5320
0
  InternalSwap(other);
5321
0
}
5322
0
void DeleteSnapshotRequestPB::InternalSwap(DeleteSnapshotRequestPB* other) {
5323
0
  using std::swap;
5324
0
  snapshot_id_.Swap(&other->snapshot_id_);
5325
0
  swap(_has_bits_[0], other->_has_bits_[0]);
5326
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
5327
0
  swap(_cached_size_, other->_cached_size_);
5328
0
}
5329
5330
0
::google::protobuf::Metadata DeleteSnapshotRequestPB::GetMetadata() const {
5331
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
5332
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
5333
0
}
5334
5335
5336
// ===================================================================
5337
5338
26.8k
void DeleteSnapshotResponsePB::InitAsDefaultInstance() {
5339
26.8k
  ::yb::master::_DeleteSnapshotResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
5340
26.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
5341
26.8k
}
5342
0
void DeleteSnapshotResponsePB::clear_error() {
5343
0
  if (error_ != NULL) error_->Clear();
5344
0
  clear_has_error();
5345
0
}
5346
#if !defined(_MSC_VER) || _MSC_VER >= 1900
5347
const int DeleteSnapshotResponsePB::kErrorFieldNumber;
5348
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
5349
5350
DeleteSnapshotResponsePB::DeleteSnapshotResponsePB()
5351
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
5352
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
5353
0
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsDeleteSnapshotResponsePB();
5354
0
  }
5355
26.8k
  SharedCtor();
5356
  // @@protoc_insertion_point(constructor:yb.master.DeleteSnapshotResponsePB)
5357
26.8k
}
5358
DeleteSnapshotResponsePB::DeleteSnapshotResponsePB(const DeleteSnapshotResponsePB& from)
5359
  : ::google::protobuf::Message(),
5360
      _internal_metadata_(NULL),
5361
      _has_bits_(from._has_bits_),
5362
0
      _cached_size_(0) {
5363
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5364
0
  if (from.has_error()) {
5365
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
5366
0
  } else {
5367
0
    error_ = NULL;
5368
0
  }
5369
  // @@protoc_insertion_point(copy_constructor:yb.master.DeleteSnapshotResponsePB)
5370
0
}
5371
5372
26.8k
void DeleteSnapshotResponsePB::SharedCtor() {
5373
26.8k
  _cached_size_ = 0;
5374
26.8k
  error_ = NULL;
5375
26.8k
}
5376
5377
0
DeleteSnapshotResponsePB::~DeleteSnapshotResponsePB() {
5378
  // @@protoc_insertion_point(destructor:yb.master.DeleteSnapshotResponsePB)
5379
0
  SharedDtor();
5380
0
}
5381
5382
0
void DeleteSnapshotResponsePB::SharedDtor() {
5383
0
  if (this != internal_default_instance()) delete error_;
5384
0
}
5385
5386
0
void DeleteSnapshotResponsePB::SetCachedSize(int size) const {
5387
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5388
0
  _cached_size_ = size;
5389
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5390
0
}
5391
0
const ::google::protobuf::Descriptor* DeleteSnapshotResponsePB::descriptor() {
5392
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
5393
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
5394
0
}
5395
5396
0
const DeleteSnapshotResponsePB& DeleteSnapshotResponsePB::default_instance() {
5397
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsDeleteSnapshotResponsePB();
5398
0
  return *internal_default_instance();
5399
0
}
5400
5401
0
DeleteSnapshotResponsePB* DeleteSnapshotResponsePB::New(::google::protobuf::Arena* arena) const {
5402
0
  DeleteSnapshotResponsePB* n = new DeleteSnapshotResponsePB;
5403
0
  if (arena != NULL) {
5404
0
    arena->Own(n);
5405
0
  }
5406
0
  return n;
5407
0
}
5408
5409
0
void DeleteSnapshotResponsePB::Clear() {
5410
// @@protoc_insertion_point(message_clear_start:yb.master.DeleteSnapshotResponsePB)
5411
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5412
  // Prevent compiler warnings about cached_has_bits being unused
5413
0
  (void) cached_has_bits;
5414
5415
0
  cached_has_bits = _has_bits_[0];
5416
0
  if (cached_has_bits & 0x00000001u) {
5417
0
    GOOGLE_DCHECK(error_ != NULL);
5418
0
    error_->Clear();
5419
0
  }
5420
0
  _has_bits_.Clear();
5421
0
  _internal_metadata_.Clear();
5422
0
}
5423
5424
bool DeleteSnapshotResponsePB::MergePartialFromCodedStream(
5425
0
    ::google::protobuf::io::CodedInputStream* input) {
5426
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
5427
0
  ::google::protobuf::uint32 tag;
5428
  // @@protoc_insertion_point(parse_start:yb.master.DeleteSnapshotResponsePB)
5429
0
  for (;;) {
5430
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5431
0
    tag = p.first;
5432
0
    if (!p.second) goto handle_unusual;
5433
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5434
      // optional .yb.master.MasterErrorPB error = 1;
5435
0
      case 1: {
5436
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5437
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
5438
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5439
0
               input, mutable_error()));
5440
0
        } else {
5441
0
          goto handle_unusual;
5442
0
        }
5443
0
        break;
5444
0
      }
5445
5446
0
      default: {
5447
0
      handle_unusual:
5448
0
        if (tag == 0) {
5449
0
          goto success;
5450
0
        }
5451
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
5452
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
5453
0
        break;
5454
0
      }
5455
0
    }
5456
0
  }
5457
0
success:
5458
  // @@protoc_insertion_point(parse_success:yb.master.DeleteSnapshotResponsePB)
5459
0
  return true;
5460
0
failure:
5461
  // @@protoc_insertion_point(parse_failure:yb.master.DeleteSnapshotResponsePB)
5462
0
  return false;
5463
0
#undef DO_
5464
0
}
5465
5466
void DeleteSnapshotResponsePB::SerializeWithCachedSizes(
5467
0
    ::google::protobuf::io::CodedOutputStream* output) const {
5468
  // @@protoc_insertion_point(serialize_start:yb.master.DeleteSnapshotResponsePB)
5469
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5470
0
  (void) cached_has_bits;
5471
5472
0
  cached_has_bits = _has_bits_[0];
5473
  // optional .yb.master.MasterErrorPB error = 1;
5474
0
  if (cached_has_bits & 0x00000001u) {
5475
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5476
0
      1, *this->error_, output);
5477
0
  }
5478
5479
0
  if (_internal_metadata_.have_unknown_fields()) {
5480
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5481
0
        _internal_metadata_.unknown_fields(), output);
5482
0
  }
5483
  // @@protoc_insertion_point(serialize_end:yb.master.DeleteSnapshotResponsePB)
5484
0
}
5485
5486
::google::protobuf::uint8* DeleteSnapshotResponsePB::InternalSerializeWithCachedSizesToArray(
5487
0
    bool deterministic, ::google::protobuf::uint8* target) const {
5488
0
  (void)deterministic; // Unused
5489
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.DeleteSnapshotResponsePB)
5490
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5491
0
  (void) cached_has_bits;
5492
5493
0
  cached_has_bits = _has_bits_[0];
5494
  // optional .yb.master.MasterErrorPB error = 1;
5495
0
  if (cached_has_bits & 0x00000001u) {
5496
0
    target = ::google::protobuf::internal::WireFormatLite::
5497
0
      InternalWriteMessageToArray(
5498
0
        1, *this->error_, deterministic, target);
5499
0
  }
5500
5501
0
  if (_internal_metadata_.have_unknown_fields()) {
5502
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5503
0
        _internal_metadata_.unknown_fields(), target);
5504
0
  }
5505
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.DeleteSnapshotResponsePB)
5506
0
  return target;
5507
0
}
5508
5509
0
size_t DeleteSnapshotResponsePB::ByteSizeLong() const {
5510
// @@protoc_insertion_point(message_byte_size_start:yb.master.DeleteSnapshotResponsePB)
5511
0
  size_t total_size = 0;
5512
5513
0
  if (_internal_metadata_.have_unknown_fields()) {
5514
0
    total_size +=
5515
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5516
0
        _internal_metadata_.unknown_fields());
5517
0
  }
5518
  // optional .yb.master.MasterErrorPB error = 1;
5519
0
  if (has_error()) {
5520
0
    total_size += 1 +
5521
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
5522
0
        *this->error_);
5523
0
  }
5524
5525
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5526
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5527
0
  _cached_size_ = cached_size;
5528
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5529
0
  return total_size;
5530
0
}
5531
5532
0
void DeleteSnapshotResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
5533
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.DeleteSnapshotResponsePB)
5534
0
  GOOGLE_DCHECK_NE(&from, this);
5535
0
  const DeleteSnapshotResponsePB* source =
5536
0
      ::google::protobuf::internal::DynamicCastToGenerated<const DeleteSnapshotResponsePB>(
5537
0
          &from);
5538
0
  if (source == NULL) {
5539
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.DeleteSnapshotResponsePB)
5540
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5541
0
  } else {
5542
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.DeleteSnapshotResponsePB)
5543
0
    MergeFrom(*source);
5544
0
  }
5545
0
}
5546
5547
0
void DeleteSnapshotResponsePB::MergeFrom(const DeleteSnapshotResponsePB& from) {
5548
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.DeleteSnapshotResponsePB)
5549
0
  GOOGLE_DCHECK_NE(&from, this);
5550
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5551
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5552
0
  (void) cached_has_bits;
5553
5554
0
  if (from.has_error()) {
5555
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
5556
0
  }
5557
0
}
5558
5559
0
void DeleteSnapshotResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
5560
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.DeleteSnapshotResponsePB)
5561
0
  if (&from == this) return;
5562
0
  Clear();
5563
0
  MergeFrom(from);
5564
0
}
5565
5566
0
void DeleteSnapshotResponsePB::CopyFrom(const DeleteSnapshotResponsePB& from) {
5567
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.DeleteSnapshotResponsePB)
5568
0
  if (&from == this) return;
5569
0
  Clear();
5570
0
  MergeFrom(from);
5571
0
}
5572
5573
0
bool DeleteSnapshotResponsePB::IsInitialized() const {
5574
0
  if (has_error()) {
5575
0
    if (!this->error_->IsInitialized()) return false;
5576
0
  }
5577
0
  return true;
5578
0
}
5579
5580
0
void DeleteSnapshotResponsePB::Swap(DeleteSnapshotResponsePB* other) {
5581
0
  if (other == this) return;
5582
0
  InternalSwap(other);
5583
0
}
5584
0
void DeleteSnapshotResponsePB::InternalSwap(DeleteSnapshotResponsePB* other) {
5585
0
  using std::swap;
5586
0
  swap(error_, other->error_);
5587
0
  swap(_has_bits_[0], other->_has_bits_[0]);
5588
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
5589
0
  swap(_cached_size_, other->_cached_size_);
5590
0
}
5591
5592
0
::google::protobuf::Metadata DeleteSnapshotResponsePB::GetMetadata() const {
5593
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
5594
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
5595
0
}
5596
5597
5598
// ===================================================================
5599
5600
26.8k
void ImportSnapshotMetaRequestPB::InitAsDefaultInstance() {
5601
26.8k
  ::yb::master::_ImportSnapshotMetaRequestPB_default_instance_._instance.get_mutable()->snapshot_ = const_cast< ::yb::master::SnapshotInfoPB*>(
5602
26.8k
      ::yb::master::SnapshotInfoPB::internal_default_instance());
5603
26.8k
}
5604
#if !defined(_MSC_VER) || _MSC_VER >= 1900
5605
const int ImportSnapshotMetaRequestPB::kSnapshotFieldNumber;
5606
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
5607
5608
ImportSnapshotMetaRequestPB::ImportSnapshotMetaRequestPB()
5609
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
5610
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
5611
0
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsImportSnapshotMetaRequestPB();
5612
0
  }
5613
26.8k
  SharedCtor();
5614
  // @@protoc_insertion_point(constructor:yb.master.ImportSnapshotMetaRequestPB)
5615
26.8k
}
5616
ImportSnapshotMetaRequestPB::ImportSnapshotMetaRequestPB(const ImportSnapshotMetaRequestPB& from)
5617
  : ::google::protobuf::Message(),
5618
      _internal_metadata_(NULL),
5619
      _has_bits_(from._has_bits_),
5620
0
      _cached_size_(0) {
5621
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5622
0
  if (from.has_snapshot()) {
5623
0
    snapshot_ = new ::yb::master::SnapshotInfoPB(*from.snapshot_);
5624
0
  } else {
5625
0
    snapshot_ = NULL;
5626
0
  }
5627
  // @@protoc_insertion_point(copy_constructor:yb.master.ImportSnapshotMetaRequestPB)
5628
0
}
5629
5630
26.8k
void ImportSnapshotMetaRequestPB::SharedCtor() {
5631
26.8k
  _cached_size_ = 0;
5632
26.8k
  snapshot_ = NULL;
5633
26.8k
}
5634
5635
0
ImportSnapshotMetaRequestPB::~ImportSnapshotMetaRequestPB() {
5636
  // @@protoc_insertion_point(destructor:yb.master.ImportSnapshotMetaRequestPB)
5637
0
  SharedDtor();
5638
0
}
5639
5640
0
void ImportSnapshotMetaRequestPB::SharedDtor() {
5641
0
  if (this != internal_default_instance()) delete snapshot_;
5642
0
}
5643
5644
0
void ImportSnapshotMetaRequestPB::SetCachedSize(int size) const {
5645
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5646
0
  _cached_size_ = size;
5647
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5648
0
}
5649
0
const ::google::protobuf::Descriptor* ImportSnapshotMetaRequestPB::descriptor() {
5650
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
5651
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
5652
0
}
5653
5654
0
const ImportSnapshotMetaRequestPB& ImportSnapshotMetaRequestPB::default_instance() {
5655
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsImportSnapshotMetaRequestPB();
5656
0
  return *internal_default_instance();
5657
0
}
5658
5659
0
ImportSnapshotMetaRequestPB* ImportSnapshotMetaRequestPB::New(::google::protobuf::Arena* arena) const {
5660
0
  ImportSnapshotMetaRequestPB* n = new ImportSnapshotMetaRequestPB;
5661
0
  if (arena != NULL) {
5662
0
    arena->Own(n);
5663
0
  }
5664
0
  return n;
5665
0
}
5666
5667
0
void ImportSnapshotMetaRequestPB::Clear() {
5668
// @@protoc_insertion_point(message_clear_start:yb.master.ImportSnapshotMetaRequestPB)
5669
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5670
  // Prevent compiler warnings about cached_has_bits being unused
5671
0
  (void) cached_has_bits;
5672
5673
0
  cached_has_bits = _has_bits_[0];
5674
0
  if (cached_has_bits & 0x00000001u) {
5675
0
    GOOGLE_DCHECK(snapshot_ != NULL);
5676
0
    snapshot_->Clear();
5677
0
  }
5678
0
  _has_bits_.Clear();
5679
0
  _internal_metadata_.Clear();
5680
0
}
5681
5682
bool ImportSnapshotMetaRequestPB::MergePartialFromCodedStream(
5683
0
    ::google::protobuf::io::CodedInputStream* input) {
5684
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
5685
0
  ::google::protobuf::uint32 tag;
5686
  // @@protoc_insertion_point(parse_start:yb.master.ImportSnapshotMetaRequestPB)
5687
0
  for (;;) {
5688
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5689
0
    tag = p.first;
5690
0
    if (!p.second) goto handle_unusual;
5691
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5692
      // optional .yb.master.SnapshotInfoPB snapshot = 1;
5693
0
      case 1: {
5694
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5695
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
5696
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5697
0
               input, mutable_snapshot()));
5698
0
        } else {
5699
0
          goto handle_unusual;
5700
0
        }
5701
0
        break;
5702
0
      }
5703
5704
0
      default: {
5705
0
      handle_unusual:
5706
0
        if (tag == 0) {
5707
0
          goto success;
5708
0
        }
5709
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
5710
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
5711
0
        break;
5712
0
      }
5713
0
    }
5714
0
  }
5715
0
success:
5716
  // @@protoc_insertion_point(parse_success:yb.master.ImportSnapshotMetaRequestPB)
5717
0
  return true;
5718
0
failure:
5719
  // @@protoc_insertion_point(parse_failure:yb.master.ImportSnapshotMetaRequestPB)
5720
0
  return false;
5721
0
#undef DO_
5722
0
}
5723
5724
void ImportSnapshotMetaRequestPB::SerializeWithCachedSizes(
5725
0
    ::google::protobuf::io::CodedOutputStream* output) const {
5726
  // @@protoc_insertion_point(serialize_start:yb.master.ImportSnapshotMetaRequestPB)
5727
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5728
0
  (void) cached_has_bits;
5729
5730
0
  cached_has_bits = _has_bits_[0];
5731
  // optional .yb.master.SnapshotInfoPB snapshot = 1;
5732
0
  if (cached_has_bits & 0x00000001u) {
5733
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5734
0
      1, *this->snapshot_, output);
5735
0
  }
5736
5737
0
  if (_internal_metadata_.have_unknown_fields()) {
5738
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5739
0
        _internal_metadata_.unknown_fields(), output);
5740
0
  }
5741
  // @@protoc_insertion_point(serialize_end:yb.master.ImportSnapshotMetaRequestPB)
5742
0
}
5743
5744
::google::protobuf::uint8* ImportSnapshotMetaRequestPB::InternalSerializeWithCachedSizesToArray(
5745
0
    bool deterministic, ::google::protobuf::uint8* target) const {
5746
0
  (void)deterministic; // Unused
5747
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ImportSnapshotMetaRequestPB)
5748
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5749
0
  (void) cached_has_bits;
5750
5751
0
  cached_has_bits = _has_bits_[0];
5752
  // optional .yb.master.SnapshotInfoPB snapshot = 1;
5753
0
  if (cached_has_bits & 0x00000001u) {
5754
0
    target = ::google::protobuf::internal::WireFormatLite::
5755
0
      InternalWriteMessageToArray(
5756
0
        1, *this->snapshot_, deterministic, target);
5757
0
  }
5758
5759
0
  if (_internal_metadata_.have_unknown_fields()) {
5760
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5761
0
        _internal_metadata_.unknown_fields(), target);
5762
0
  }
5763
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ImportSnapshotMetaRequestPB)
5764
0
  return target;
5765
0
}
5766
5767
0
size_t ImportSnapshotMetaRequestPB::ByteSizeLong() const {
5768
// @@protoc_insertion_point(message_byte_size_start:yb.master.ImportSnapshotMetaRequestPB)
5769
0
  size_t total_size = 0;
5770
5771
0
  if (_internal_metadata_.have_unknown_fields()) {
5772
0
    total_size +=
5773
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5774
0
        _internal_metadata_.unknown_fields());
5775
0
  }
5776
  // optional .yb.master.SnapshotInfoPB snapshot = 1;
5777
0
  if (has_snapshot()) {
5778
0
    total_size += 1 +
5779
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
5780
0
        *this->snapshot_);
5781
0
  }
5782
5783
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5784
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5785
0
  _cached_size_ = cached_size;
5786
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5787
0
  return total_size;
5788
0
}
5789
5790
0
void ImportSnapshotMetaRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
5791
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ImportSnapshotMetaRequestPB)
5792
0
  GOOGLE_DCHECK_NE(&from, this);
5793
0
  const ImportSnapshotMetaRequestPB* source =
5794
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ImportSnapshotMetaRequestPB>(
5795
0
          &from);
5796
0
  if (source == NULL) {
5797
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ImportSnapshotMetaRequestPB)
5798
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5799
0
  } else {
5800
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ImportSnapshotMetaRequestPB)
5801
0
    MergeFrom(*source);
5802
0
  }
5803
0
}
5804
5805
0
void ImportSnapshotMetaRequestPB::MergeFrom(const ImportSnapshotMetaRequestPB& from) {
5806
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ImportSnapshotMetaRequestPB)
5807
0
  GOOGLE_DCHECK_NE(&from, this);
5808
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5809
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5810
0
  (void) cached_has_bits;
5811
5812
0
  if (from.has_snapshot()) {
5813
0
    mutable_snapshot()->::yb::master::SnapshotInfoPB::MergeFrom(from.snapshot());
5814
0
  }
5815
0
}
5816
5817
0
void ImportSnapshotMetaRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
5818
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ImportSnapshotMetaRequestPB)
5819
0
  if (&from == this) return;
5820
0
  Clear();
5821
0
  MergeFrom(from);
5822
0
}
5823
5824
0
void ImportSnapshotMetaRequestPB::CopyFrom(const ImportSnapshotMetaRequestPB& from) {
5825
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ImportSnapshotMetaRequestPB)
5826
0
  if (&from == this) return;
5827
0
  Clear();
5828
0
  MergeFrom(from);
5829
0
}
5830
5831
0
bool ImportSnapshotMetaRequestPB::IsInitialized() const {
5832
0
  return true;
5833
0
}
5834
5835
0
void ImportSnapshotMetaRequestPB::Swap(ImportSnapshotMetaRequestPB* other) {
5836
0
  if (other == this) return;
5837
0
  InternalSwap(other);
5838
0
}
5839
0
void ImportSnapshotMetaRequestPB::InternalSwap(ImportSnapshotMetaRequestPB* other) {
5840
0
  using std::swap;
5841
0
  swap(snapshot_, other->snapshot_);
5842
0
  swap(_has_bits_[0], other->_has_bits_[0]);
5843
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
5844
0
  swap(_cached_size_, other->_cached_size_);
5845
0
}
5846
5847
0
::google::protobuf::Metadata ImportSnapshotMetaRequestPB::GetMetadata() const {
5848
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
5849
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
5850
0
}
5851
5852
5853
// ===================================================================
5854
5855
26.8k
void ListSnapshotRestorationsRequestPB::InitAsDefaultInstance() {
5856
26.8k
}
5857
#if !defined(_MSC_VER) || _MSC_VER >= 1900
5858
const int ListSnapshotRestorationsRequestPB::kSnapshotIdFieldNumber;
5859
const int ListSnapshotRestorationsRequestPB::kRestorationIdFieldNumber;
5860
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
5861
5862
ListSnapshotRestorationsRequestPB::ListSnapshotRestorationsRequestPB()
5863
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
5864
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
5865
12
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsListSnapshotRestorationsRequestPB();
5866
12
  }
5867
26.8k
  SharedCtor();
5868
  // @@protoc_insertion_point(constructor:yb.master.ListSnapshotRestorationsRequestPB)
5869
26.8k
}
5870
ListSnapshotRestorationsRequestPB::ListSnapshotRestorationsRequestPB(const ListSnapshotRestorationsRequestPB& from)
5871
  : ::google::protobuf::Message(),
5872
      _internal_metadata_(NULL),
5873
      _has_bits_(from._has_bits_),
5874
0
      _cached_size_(0) {
5875
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5876
0
  snapshot_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5877
0
  if (from.has_snapshot_id()) {
5878
0
    snapshot_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_id_);
5879
0
  }
5880
0
  restoration_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5881
0
  if (from.has_restoration_id()) {
5882
0
    restoration_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.restoration_id_);
5883
0
  }
5884
  // @@protoc_insertion_point(copy_constructor:yb.master.ListSnapshotRestorationsRequestPB)
5885
0
}
5886
5887
26.8k
void ListSnapshotRestorationsRequestPB::SharedCtor() {
5888
26.8k
  _cached_size_ = 0;
5889
26.8k
  snapshot_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5890
26.8k
  restoration_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5891
26.8k
}
5892
5893
12
ListSnapshotRestorationsRequestPB::~ListSnapshotRestorationsRequestPB() {
5894
  // @@protoc_insertion_point(destructor:yb.master.ListSnapshotRestorationsRequestPB)
5895
12
  SharedDtor();
5896
12
}
5897
5898
12
void ListSnapshotRestorationsRequestPB::SharedDtor() {
5899
12
  snapshot_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5900
12
  restoration_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5901
12
}
5902
5903
0
void ListSnapshotRestorationsRequestPB::SetCachedSize(int size) const {
5904
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5905
0
  _cached_size_ = size;
5906
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5907
0
}
5908
0
const ::google::protobuf::Descriptor* ListSnapshotRestorationsRequestPB::descriptor() {
5909
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
5910
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
5911
0
}
5912
5913
0
const ListSnapshotRestorationsRequestPB& ListSnapshotRestorationsRequestPB::default_instance() {
5914
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsListSnapshotRestorationsRequestPB();
5915
0
  return *internal_default_instance();
5916
0
}
5917
5918
0
ListSnapshotRestorationsRequestPB* ListSnapshotRestorationsRequestPB::New(::google::protobuf::Arena* arena) const {
5919
0
  ListSnapshotRestorationsRequestPB* n = new ListSnapshotRestorationsRequestPB;
5920
0
  if (arena != NULL) {
5921
0
    arena->Own(n);
5922
0
  }
5923
0
  return n;
5924
0
}
5925
5926
6
void ListSnapshotRestorationsRequestPB::Clear() {
5927
// @@protoc_insertion_point(message_clear_start:yb.master.ListSnapshotRestorationsRequestPB)
5928
6
  ::google::protobuf::uint32 cached_has_bits = 0;
5929
  // Prevent compiler warnings about cached_has_bits being unused
5930
6
  (void) cached_has_bits;
5931
5932
6
  cached_has_bits = _has_bits_[0];
5933
6
  if (cached_has_bits & 3u) {
5934
0
    if (cached_has_bits & 0x00000001u) {
5935
0
      GOOGLE_DCHECK(!snapshot_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
5936
0
      (*snapshot_id_.UnsafeRawStringPointer())->clear();
5937
0
    }
5938
0
    if (cached_has_bits & 0x00000002u) {
5939
0
      GOOGLE_DCHECK(!restoration_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
5940
0
      (*restoration_id_.UnsafeRawStringPointer())->clear();
5941
0
    }
5942
0
  }
5943
6
  _has_bits_.Clear();
5944
6
  _internal_metadata_.Clear();
5945
6
}
5946
5947
bool ListSnapshotRestorationsRequestPB::MergePartialFromCodedStream(
5948
6
    ::google::protobuf::io::CodedInputStream* input) {
5949
6
#define DO_(EXPRESSION) 
if (5
!GOOGLE_PREDICT_TRUE5
(EXPRESSION))
goto failure0
5950
6
  ::google::protobuf::uint32 tag;
5951
  // @@protoc_insertion_point(parse_start:yb.master.ListSnapshotRestorationsRequestPB)
5952
11
  for (;;) {
5953
11
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5954
11
    tag = p.first;
5955
11
    if (!p.second) 
goto handle_unusual6
;
5956
5
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5957
      // optional bytes snapshot_id = 1;
5958
0
      case 1: {
5959
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5960
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
5961
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
5962
0
                input, this->mutable_snapshot_id()));
5963
0
        } else {
5964
0
          goto handle_unusual;
5965
0
        }
5966
0
        break;
5967
0
      }
5968
5969
      // optional bytes restoration_id = 2;
5970
5
      case 2: {
5971
5
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5972
5
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
5973
5
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
5974
5
                input, this->mutable_restoration_id()));
5975
5
        } else {
5976
0
          goto handle_unusual;
5977
0
        }
5978
5
        break;
5979
5
      }
5980
5981
5
      default: {
5982
6
      handle_unusual:
5983
6
        if (tag == 0) {
5984
6
          goto success;
5985
6
        }
5986
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
5987
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
5988
0
        break;
5989
0
      }
5990
5
    }
5991
5
  }
5992
6
success:
5993
  // @@protoc_insertion_point(parse_success:yb.master.ListSnapshotRestorationsRequestPB)
5994
6
  return true;
5995
0
failure:
5996
  // @@protoc_insertion_point(parse_failure:yb.master.ListSnapshotRestorationsRequestPB)
5997
0
  return false;
5998
6
#undef DO_
5999
6
}
6000
6001
void ListSnapshotRestorationsRequestPB::SerializeWithCachedSizes(
6002
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6003
  // @@protoc_insertion_point(serialize_start:yb.master.ListSnapshotRestorationsRequestPB)
6004
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6005
0
  (void) cached_has_bits;
6006
6007
0
  cached_has_bits = _has_bits_[0];
6008
  // optional bytes snapshot_id = 1;
6009
0
  if (cached_has_bits & 0x00000001u) {
6010
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
6011
0
      1, this->snapshot_id(), output);
6012
0
  }
6013
6014
  // optional bytes restoration_id = 2;
6015
0
  if (cached_has_bits & 0x00000002u) {
6016
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
6017
0
      2, this->restoration_id(), output);
6018
0
  }
6019
6020
0
  if (_internal_metadata_.have_unknown_fields()) {
6021
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6022
0
        _internal_metadata_.unknown_fields(), output);
6023
0
  }
6024
  // @@protoc_insertion_point(serialize_end:yb.master.ListSnapshotRestorationsRequestPB)
6025
0
}
6026
6027
::google::protobuf::uint8* ListSnapshotRestorationsRequestPB::InternalSerializeWithCachedSizesToArray(
6028
6
    bool deterministic, ::google::protobuf::uint8* target) const {
6029
6
  (void)deterministic; // Unused
6030
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListSnapshotRestorationsRequestPB)
6031
6
  ::google::protobuf::uint32 cached_has_bits = 0;
6032
6
  (void) cached_has_bits;
6033
6034
6
  cached_has_bits = _has_bits_[0];
6035
  // optional bytes snapshot_id = 1;
6036
6
  if (cached_has_bits & 0x00000001u) {
6037
0
    target =
6038
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
6039
0
        1, this->snapshot_id(), target);
6040
0
  }
6041
6042
  // optional bytes restoration_id = 2;
6043
6
  if (cached_has_bits & 0x00000002u) {
6044
5
    target =
6045
5
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
6046
5
        2, this->restoration_id(), target);
6047
5
  }
6048
6049
6
  if (_internal_metadata_.have_unknown_fields()) {
6050
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6051
0
        _internal_metadata_.unknown_fields(), target);
6052
0
  }
6053
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListSnapshotRestorationsRequestPB)
6054
6
  return target;
6055
6
}
6056
6057
12
size_t ListSnapshotRestorationsRequestPB::ByteSizeLong() const {
6058
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListSnapshotRestorationsRequestPB)
6059
12
  size_t total_size = 0;
6060
6061
12
  if (_internal_metadata_.have_unknown_fields()) {
6062
0
    total_size +=
6063
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6064
0
        _internal_metadata_.unknown_fields());
6065
0
  }
6066
12
  if (_has_bits_[0 / 32] & 3u) {
6067
    // optional bytes snapshot_id = 1;
6068
10
    if (has_snapshot_id()) {
6069
0
      total_size += 1 +
6070
0
        ::google::protobuf::internal::WireFormatLite::BytesSize(
6071
0
          this->snapshot_id());
6072
0
    }
6073
6074
    // optional bytes restoration_id = 2;
6075
10
    if (has_restoration_id()) {
6076
10
      total_size += 1 +
6077
10
        ::google::protobuf::internal::WireFormatLite::BytesSize(
6078
10
          this->restoration_id());
6079
10
    }
6080
6081
10
  }
6082
12
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6083
12
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6084
12
  _cached_size_ = cached_size;
6085
12
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6086
12
  return total_size;
6087
12
}
6088
6089
0
void ListSnapshotRestorationsRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
6090
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListSnapshotRestorationsRequestPB)
6091
0
  GOOGLE_DCHECK_NE(&from, this);
6092
0
  const ListSnapshotRestorationsRequestPB* source =
6093
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListSnapshotRestorationsRequestPB>(
6094
0
          &from);
6095
0
  if (source == NULL) {
6096
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListSnapshotRestorationsRequestPB)
6097
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6098
0
  } else {
6099
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListSnapshotRestorationsRequestPB)
6100
0
    MergeFrom(*source);
6101
0
  }
6102
0
}
6103
6104
0
void ListSnapshotRestorationsRequestPB::MergeFrom(const ListSnapshotRestorationsRequestPB& from) {
6105
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListSnapshotRestorationsRequestPB)
6106
0
  GOOGLE_DCHECK_NE(&from, this);
6107
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6108
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6109
0
  (void) cached_has_bits;
6110
6111
0
  cached_has_bits = from._has_bits_[0];
6112
0
  if (cached_has_bits & 3u) {
6113
0
    if (cached_has_bits & 0x00000001u) {
6114
0
      set_has_snapshot_id();
6115
0
      snapshot_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_id_);
6116
0
    }
6117
0
    if (cached_has_bits & 0x00000002u) {
6118
0
      set_has_restoration_id();
6119
0
      restoration_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.restoration_id_);
6120
0
    }
6121
0
  }
6122
0
}
6123
6124
0
void ListSnapshotRestorationsRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
6125
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListSnapshotRestorationsRequestPB)
6126
0
  if (&from == this) return;
6127
0
  Clear();
6128
0
  MergeFrom(from);
6129
0
}
6130
6131
0
void ListSnapshotRestorationsRequestPB::CopyFrom(const ListSnapshotRestorationsRequestPB& from) {
6132
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListSnapshotRestorationsRequestPB)
6133
0
  if (&from == this) return;
6134
0
  Clear();
6135
0
  MergeFrom(from);
6136
0
}
6137
6138
12
bool ListSnapshotRestorationsRequestPB::IsInitialized() const {
6139
12
  return true;
6140
12
}
6141
6142
0
void ListSnapshotRestorationsRequestPB::Swap(ListSnapshotRestorationsRequestPB* other) {
6143
0
  if (other == this) return;
6144
0
  InternalSwap(other);
6145
0
}
6146
0
void ListSnapshotRestorationsRequestPB::InternalSwap(ListSnapshotRestorationsRequestPB* other) {
6147
0
  using std::swap;
6148
0
  snapshot_id_.Swap(&other->snapshot_id_);
6149
0
  restoration_id_.Swap(&other->restoration_id_);
6150
0
  swap(_has_bits_[0], other->_has_bits_[0]);
6151
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
6152
0
  swap(_cached_size_, other->_cached_size_);
6153
0
}
6154
6155
6
::google::protobuf::Metadata ListSnapshotRestorationsRequestPB::GetMetadata() const {
6156
6
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
6157
6
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
6158
6
}
6159
6160
6161
// ===================================================================
6162
6163
26.8k
void ListSnapshotRestorationsResponsePB::InitAsDefaultInstance() {
6164
26.8k
  ::yb::master::_ListSnapshotRestorationsResponsePB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
6165
26.8k
      ::yb::AppStatusPB::internal_default_instance());
6166
26.8k
}
6167
0
void ListSnapshotRestorationsResponsePB::clear_status() {
6168
0
  if (status_ != NULL) status_->Clear();
6169
0
  clear_has_status();
6170
0
}
6171
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6172
const int ListSnapshotRestorationsResponsePB::kStatusFieldNumber;
6173
const int ListSnapshotRestorationsResponsePB::kRestorationsFieldNumber;
6174
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6175
6176
ListSnapshotRestorationsResponsePB::ListSnapshotRestorationsResponsePB()
6177
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6178
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6179
12
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsListSnapshotRestorationsResponsePB();
6180
12
  }
6181
26.8k
  SharedCtor();
6182
  // @@protoc_insertion_point(constructor:yb.master.ListSnapshotRestorationsResponsePB)
6183
26.8k
}
6184
ListSnapshotRestorationsResponsePB::ListSnapshotRestorationsResponsePB(const ListSnapshotRestorationsResponsePB& from)
6185
  : ::google::protobuf::Message(),
6186
      _internal_metadata_(NULL),
6187
      _has_bits_(from._has_bits_),
6188
      _cached_size_(0),
6189
0
      restorations_(from.restorations_) {
6190
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6191
0
  if (from.has_status()) {
6192
0
    status_ = new ::yb::AppStatusPB(*from.status_);
6193
0
  } else {
6194
0
    status_ = NULL;
6195
0
  }
6196
  // @@protoc_insertion_point(copy_constructor:yb.master.ListSnapshotRestorationsResponsePB)
6197
0
}
6198
6199
26.8k
void ListSnapshotRestorationsResponsePB::SharedCtor() {
6200
26.8k
  _cached_size_ = 0;
6201
26.8k
  status_ = NULL;
6202
26.8k
}
6203
6204
12
ListSnapshotRestorationsResponsePB::~ListSnapshotRestorationsResponsePB() {
6205
  // @@protoc_insertion_point(destructor:yb.master.ListSnapshotRestorationsResponsePB)
6206
12
  SharedDtor();
6207
12
}
6208
6209
12
void ListSnapshotRestorationsResponsePB::SharedDtor() {
6210
12
  if (this != internal_default_instance()) delete status_;
6211
12
}
6212
6213
0
void ListSnapshotRestorationsResponsePB::SetCachedSize(int size) const {
6214
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6215
0
  _cached_size_ = size;
6216
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6217
0
}
6218
0
const ::google::protobuf::Descriptor* ListSnapshotRestorationsResponsePB::descriptor() {
6219
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
6220
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6221
0
}
6222
6223
0
const ListSnapshotRestorationsResponsePB& ListSnapshotRestorationsResponsePB::default_instance() {
6224
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsListSnapshotRestorationsResponsePB();
6225
0
  return *internal_default_instance();
6226
0
}
6227
6228
0
ListSnapshotRestorationsResponsePB* ListSnapshotRestorationsResponsePB::New(::google::protobuf::Arena* arena) const {
6229
0
  ListSnapshotRestorationsResponsePB* n = new ListSnapshotRestorationsResponsePB;
6230
0
  if (arena != NULL) {
6231
0
    arena->Own(n);
6232
0
  }
6233
0
  return n;
6234
0
}
6235
6236
12
void ListSnapshotRestorationsResponsePB::Clear() {
6237
// @@protoc_insertion_point(message_clear_start:yb.master.ListSnapshotRestorationsResponsePB)
6238
12
  ::google::protobuf::uint32 cached_has_bits = 0;
6239
  // Prevent compiler warnings about cached_has_bits being unused
6240
12
  (void) cached_has_bits;
6241
6242
12
  restorations_.Clear();
6243
12
  cached_has_bits = _has_bits_[0];
6244
12
  if (cached_has_bits & 0x00000001u) {
6245
0
    GOOGLE_DCHECK(status_ != NULL);
6246
0
    status_->Clear();
6247
0
  }
6248
12
  _has_bits_.Clear();
6249
12
  _internal_metadata_.Clear();
6250
12
}
6251
6252
bool ListSnapshotRestorationsResponsePB::MergePartialFromCodedStream(
6253
6
    ::google::protobuf::io::CodedInputStream* input) {
6254
6
#define DO_(EXPRESSION) 
if (5
!GOOGLE_PREDICT_TRUE5
(EXPRESSION))
goto failure0
6255
6
  ::google::protobuf::uint32 tag;
6256
  // @@protoc_insertion_point(parse_start:yb.master.ListSnapshotRestorationsResponsePB)
6257
11
  for (;;) {
6258
11
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6259
11
    tag = p.first;
6260
11
    if (!p.second) 
goto handle_unusual6
;
6261
5
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6262
      // optional .yb.AppStatusPB status = 1;
6263
0
      case 1: {
6264
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6265
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
6266
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
6267
0
               input, mutable_status()));
6268
0
        } else {
6269
0
          goto handle_unusual;
6270
0
        }
6271
0
        break;
6272
0
      }
6273
6274
      // repeated .yb.master.RestorationInfoPB restorations = 2;
6275
5
      case 2: {
6276
5
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6277
5
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
6278
5
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_restorations()));
6279
5
        } else {
6280
0
          goto handle_unusual;
6281
0
        }
6282
5
        break;
6283
5
      }
6284
6285
5
      default: {
6286
6
      handle_unusual:
6287
6
        if (tag == 0) {
6288
6
          goto success;
6289
6
        }
6290
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
6291
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
6292
0
        break;
6293
0
      }
6294
5
    }
6295
5
  }
6296
6
success:
6297
  // @@protoc_insertion_point(parse_success:yb.master.ListSnapshotRestorationsResponsePB)
6298
6
  return true;
6299
0
failure:
6300
  // @@protoc_insertion_point(parse_failure:yb.master.ListSnapshotRestorationsResponsePB)
6301
0
  return false;
6302
6
#undef DO_
6303
6
}
6304
6305
void ListSnapshotRestorationsResponsePB::SerializeWithCachedSizes(
6306
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6307
  // @@protoc_insertion_point(serialize_start:yb.master.ListSnapshotRestorationsResponsePB)
6308
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6309
0
  (void) cached_has_bits;
6310
6311
0
  cached_has_bits = _has_bits_[0];
6312
  // optional .yb.AppStatusPB status = 1;
6313
0
  if (cached_has_bits & 0x00000001u) {
6314
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6315
0
      1, *this->status_, output);
6316
0
  }
6317
6318
  // repeated .yb.master.RestorationInfoPB restorations = 2;
6319
0
  for (unsigned int i = 0,
6320
0
      n = static_cast<unsigned int>(this->restorations_size()); i < n; i++) {
6321
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6322
0
      2, this->restorations(static_cast<int>(i)), output);
6323
0
  }
6324
6325
0
  if (_internal_metadata_.have_unknown_fields()) {
6326
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6327
0
        _internal_metadata_.unknown_fields(), output);
6328
0
  }
6329
  // @@protoc_insertion_point(serialize_end:yb.master.ListSnapshotRestorationsResponsePB)
6330
0
}
6331
6332
::google::protobuf::uint8* ListSnapshotRestorationsResponsePB::InternalSerializeWithCachedSizesToArray(
6333
6
    bool deterministic, ::google::protobuf::uint8* target) const {
6334
6
  (void)deterministic; // Unused
6335
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListSnapshotRestorationsResponsePB)
6336
6
  ::google::protobuf::uint32 cached_has_bits = 0;
6337
6
  (void) cached_has_bits;
6338
6339
6
  cached_has_bits = _has_bits_[0];
6340
  // optional .yb.AppStatusPB status = 1;
6341
6
  if (cached_has_bits & 0x00000001u) {
6342
0
    target = ::google::protobuf::internal::WireFormatLite::
6343
0
      InternalWriteMessageToArray(
6344
0
        1, *this->status_, deterministic, target);
6345
0
  }
6346
6347
  // repeated .yb.master.RestorationInfoPB restorations = 2;
6348
6
  for (unsigned int i = 0,
6349
11
      n = static_cast<unsigned int>(this->restorations_size()); i < n; 
i++5
) {
6350
5
    target = ::google::protobuf::internal::WireFormatLite::
6351
5
      InternalWriteMessageToArray(
6352
5
        2, this->restorations(static_cast<int>(i)), deterministic, target);
6353
5
  }
6354
6355
6
  if (_internal_metadata_.have_unknown_fields()) {
6356
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6357
0
        _internal_metadata_.unknown_fields(), target);
6358
0
  }
6359
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListSnapshotRestorationsResponsePB)
6360
6
  return target;
6361
6
}
6362
6363
12
size_t ListSnapshotRestorationsResponsePB::ByteSizeLong() const {
6364
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListSnapshotRestorationsResponsePB)
6365
12
  size_t total_size = 0;
6366
6367
12
  if (_internal_metadata_.have_unknown_fields()) {
6368
0
    total_size +=
6369
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6370
0
        _internal_metadata_.unknown_fields());
6371
0
  }
6372
  // repeated .yb.master.RestorationInfoPB restorations = 2;
6373
12
  {
6374
12
    unsigned int count = static_cast<unsigned int>(this->restorations_size());
6375
12
    total_size += 1UL * count;
6376
22
    for (unsigned int i = 0; i < count; 
i++10
) {
6377
10
      total_size +=
6378
10
        ::google::protobuf::internal::WireFormatLite::MessageSize(
6379
10
          this->restorations(static_cast<int>(i)));
6380
10
    }
6381
12
  }
6382
6383
  // optional .yb.AppStatusPB status = 1;
6384
12
  if (has_status()) {
6385
0
    total_size += 1 +
6386
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
6387
0
        *this->status_);
6388
0
  }
6389
6390
12
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6391
12
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6392
12
  _cached_size_ = cached_size;
6393
12
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6394
12
  return total_size;
6395
12
}
6396
6397
0
void ListSnapshotRestorationsResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
6398
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListSnapshotRestorationsResponsePB)
6399
0
  GOOGLE_DCHECK_NE(&from, this);
6400
0
  const ListSnapshotRestorationsResponsePB* source =
6401
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListSnapshotRestorationsResponsePB>(
6402
0
          &from);
6403
0
  if (source == NULL) {
6404
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListSnapshotRestorationsResponsePB)
6405
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6406
0
  } else {
6407
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListSnapshotRestorationsResponsePB)
6408
0
    MergeFrom(*source);
6409
0
  }
6410
0
}
6411
6412
0
void ListSnapshotRestorationsResponsePB::MergeFrom(const ListSnapshotRestorationsResponsePB& from) {
6413
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListSnapshotRestorationsResponsePB)
6414
0
  GOOGLE_DCHECK_NE(&from, this);
6415
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6416
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6417
0
  (void) cached_has_bits;
6418
6419
0
  restorations_.MergeFrom(from.restorations_);
6420
0
  if (from.has_status()) {
6421
0
    mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
6422
0
  }
6423
0
}
6424
6425
0
void ListSnapshotRestorationsResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
6426
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListSnapshotRestorationsResponsePB)
6427
0
  if (&from == this) return;
6428
0
  Clear();
6429
0
  MergeFrom(from);
6430
0
}
6431
6432
0
void ListSnapshotRestorationsResponsePB::CopyFrom(const ListSnapshotRestorationsResponsePB& from) {
6433
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListSnapshotRestorationsResponsePB)
6434
0
  if (&from == this) return;
6435
0
  Clear();
6436
0
  MergeFrom(from);
6437
0
}
6438
6439
12
bool ListSnapshotRestorationsResponsePB::IsInitialized() const {
6440
12
  if (has_status()) {
6441
0
    if (!this->status_->IsInitialized()) return false;
6442
0
  }
6443
12
  return true;
6444
12
}
6445
6446
0
void ListSnapshotRestorationsResponsePB::Swap(ListSnapshotRestorationsResponsePB* other) {
6447
0
  if (other == this) return;
6448
0
  InternalSwap(other);
6449
0
}
6450
0
void ListSnapshotRestorationsResponsePB::InternalSwap(ListSnapshotRestorationsResponsePB* other) {
6451
0
  using std::swap;
6452
0
  restorations_.InternalSwap(&other->restorations_);
6453
0
  swap(status_, other->status_);
6454
0
  swap(_has_bits_[0], other->_has_bits_[0]);
6455
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
6456
0
  swap(_cached_size_, other->_cached_size_);
6457
0
}
6458
6459
0
::google::protobuf::Metadata ListSnapshotRestorationsResponsePB::GetMetadata() const {
6460
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
6461
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
6462
0
}
6463
6464
6465
// ===================================================================
6466
6467
26.8k
void IdPairPB::InitAsDefaultInstance() {
6468
26.8k
}
6469
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6470
const int IdPairPB::kOldIdFieldNumber;
6471
const int IdPairPB::kNewIdFieldNumber;
6472
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6473
6474
IdPairPB::IdPairPB()
6475
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6476
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6477
0
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsIdPairPB();
6478
0
  }
6479
26.8k
  SharedCtor();
6480
  // @@protoc_insertion_point(constructor:yb.master.IdPairPB)
6481
26.8k
}
6482
IdPairPB::IdPairPB(const IdPairPB& from)
6483
  : ::google::protobuf::Message(),
6484
      _internal_metadata_(NULL),
6485
      _has_bits_(from._has_bits_),
6486
0
      _cached_size_(0) {
6487
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6488
0
  old_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6489
0
  if (from.has_old_id()) {
6490
0
    old_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.old_id_);
6491
0
  }
6492
0
  new_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6493
0
  if (from.has_new_id()) {
6494
0
    new_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.new_id_);
6495
0
  }
6496
  // @@protoc_insertion_point(copy_constructor:yb.master.IdPairPB)
6497
0
}
6498
6499
26.8k
void IdPairPB::SharedCtor() {
6500
26.8k
  _cached_size_ = 0;
6501
26.8k
  old_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6502
26.8k
  new_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6503
26.8k
}
6504
6505
0
IdPairPB::~IdPairPB() {
6506
  // @@protoc_insertion_point(destructor:yb.master.IdPairPB)
6507
0
  SharedDtor();
6508
0
}
6509
6510
0
void IdPairPB::SharedDtor() {
6511
0
  old_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6512
0
  new_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6513
0
}
6514
6515
0
void IdPairPB::SetCachedSize(int size) const {
6516
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6517
0
  _cached_size_ = size;
6518
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6519
0
}
6520
0
const ::google::protobuf::Descriptor* IdPairPB::descriptor() {
6521
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
6522
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6523
0
}
6524
6525
0
const IdPairPB& IdPairPB::default_instance() {
6526
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsIdPairPB();
6527
0
  return *internal_default_instance();
6528
0
}
6529
6530
0
IdPairPB* IdPairPB::New(::google::protobuf::Arena* arena) const {
6531
0
  IdPairPB* n = new IdPairPB;
6532
0
  if (arena != NULL) {
6533
0
    arena->Own(n);
6534
0
  }
6535
0
  return n;
6536
0
}
6537
6538
0
void IdPairPB::Clear() {
6539
// @@protoc_insertion_point(message_clear_start:yb.master.IdPairPB)
6540
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6541
  // Prevent compiler warnings about cached_has_bits being unused
6542
0
  (void) cached_has_bits;
6543
6544
0
  cached_has_bits = _has_bits_[0];
6545
0
  if (cached_has_bits & 3u) {
6546
0
    if (cached_has_bits & 0x00000001u) {
6547
0
      GOOGLE_DCHECK(!old_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
6548
0
      (*old_id_.UnsafeRawStringPointer())->clear();
6549
0
    }
6550
0
    if (cached_has_bits & 0x00000002u) {
6551
0
      GOOGLE_DCHECK(!new_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
6552
0
      (*new_id_.UnsafeRawStringPointer())->clear();
6553
0
    }
6554
0
  }
6555
0
  _has_bits_.Clear();
6556
0
  _internal_metadata_.Clear();
6557
0
}
6558
6559
bool IdPairPB::MergePartialFromCodedStream(
6560
0
    ::google::protobuf::io::CodedInputStream* input) {
6561
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
6562
0
  ::google::protobuf::uint32 tag;
6563
  // @@protoc_insertion_point(parse_start:yb.master.IdPairPB)
6564
0
  for (;;) {
6565
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6566
0
    tag = p.first;
6567
0
    if (!p.second) goto handle_unusual;
6568
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6569
      // optional bytes old_id = 1;
6570
0
      case 1: {
6571
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6572
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
6573
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
6574
0
                input, this->mutable_old_id()));
6575
0
        } else {
6576
0
          goto handle_unusual;
6577
0
        }
6578
0
        break;
6579
0
      }
6580
6581
      // optional bytes new_id = 2;
6582
0
      case 2: {
6583
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6584
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
6585
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
6586
0
                input, this->mutable_new_id()));
6587
0
        } else {
6588
0
          goto handle_unusual;
6589
0
        }
6590
0
        break;
6591
0
      }
6592
6593
0
      default: {
6594
0
      handle_unusual:
6595
0
        if (tag == 0) {
6596
0
          goto success;
6597
0
        }
6598
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
6599
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
6600
0
        break;
6601
0
      }
6602
0
    }
6603
0
  }
6604
0
success:
6605
  // @@protoc_insertion_point(parse_success:yb.master.IdPairPB)
6606
0
  return true;
6607
0
failure:
6608
  // @@protoc_insertion_point(parse_failure:yb.master.IdPairPB)
6609
0
  return false;
6610
0
#undef DO_
6611
0
}
6612
6613
void IdPairPB::SerializeWithCachedSizes(
6614
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6615
  // @@protoc_insertion_point(serialize_start:yb.master.IdPairPB)
6616
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6617
0
  (void) cached_has_bits;
6618
6619
0
  cached_has_bits = _has_bits_[0];
6620
  // optional bytes old_id = 1;
6621
0
  if (cached_has_bits & 0x00000001u) {
6622
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
6623
0
      1, this->old_id(), output);
6624
0
  }
6625
6626
  // optional bytes new_id = 2;
6627
0
  if (cached_has_bits & 0x00000002u) {
6628
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
6629
0
      2, this->new_id(), output);
6630
0
  }
6631
6632
0
  if (_internal_metadata_.have_unknown_fields()) {
6633
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6634
0
        _internal_metadata_.unknown_fields(), output);
6635
0
  }
6636
  // @@protoc_insertion_point(serialize_end:yb.master.IdPairPB)
6637
0
}
6638
6639
::google::protobuf::uint8* IdPairPB::InternalSerializeWithCachedSizesToArray(
6640
0
    bool deterministic, ::google::protobuf::uint8* target) const {
6641
0
  (void)deterministic; // Unused
6642
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.IdPairPB)
6643
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6644
0
  (void) cached_has_bits;
6645
6646
0
  cached_has_bits = _has_bits_[0];
6647
  // optional bytes old_id = 1;
6648
0
  if (cached_has_bits & 0x00000001u) {
6649
0
    target =
6650
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
6651
0
        1, this->old_id(), target);
6652
0
  }
6653
6654
  // optional bytes new_id = 2;
6655
0
  if (cached_has_bits & 0x00000002u) {
6656
0
    target =
6657
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
6658
0
        2, this->new_id(), target);
6659
0
  }
6660
6661
0
  if (_internal_metadata_.have_unknown_fields()) {
6662
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6663
0
        _internal_metadata_.unknown_fields(), target);
6664
0
  }
6665
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.IdPairPB)
6666
0
  return target;
6667
0
}
6668
6669
0
size_t IdPairPB::ByteSizeLong() const {
6670
// @@protoc_insertion_point(message_byte_size_start:yb.master.IdPairPB)
6671
0
  size_t total_size = 0;
6672
6673
0
  if (_internal_metadata_.have_unknown_fields()) {
6674
0
    total_size +=
6675
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6676
0
        _internal_metadata_.unknown_fields());
6677
0
  }
6678
0
  if (_has_bits_[0 / 32] & 3u) {
6679
    // optional bytes old_id = 1;
6680
0
    if (has_old_id()) {
6681
0
      total_size += 1 +
6682
0
        ::google::protobuf::internal::WireFormatLite::BytesSize(
6683
0
          this->old_id());
6684
0
    }
6685
6686
    // optional bytes new_id = 2;
6687
0
    if (has_new_id()) {
6688
0
      total_size += 1 +
6689
0
        ::google::protobuf::internal::WireFormatLite::BytesSize(
6690
0
          this->new_id());
6691
0
    }
6692
6693
0
  }
6694
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6695
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6696
0
  _cached_size_ = cached_size;
6697
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6698
0
  return total_size;
6699
0
}
6700
6701
0
void IdPairPB::MergeFrom(const ::google::protobuf::Message& from) {
6702
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.IdPairPB)
6703
0
  GOOGLE_DCHECK_NE(&from, this);
6704
0
  const IdPairPB* source =
6705
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IdPairPB>(
6706
0
          &from);
6707
0
  if (source == NULL) {
6708
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.IdPairPB)
6709
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6710
0
  } else {
6711
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.IdPairPB)
6712
0
    MergeFrom(*source);
6713
0
  }
6714
0
}
6715
6716
0
void IdPairPB::MergeFrom(const IdPairPB& from) {
6717
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.IdPairPB)
6718
0
  GOOGLE_DCHECK_NE(&from, this);
6719
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6720
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6721
0
  (void) cached_has_bits;
6722
6723
0
  cached_has_bits = from._has_bits_[0];
6724
0
  if (cached_has_bits & 3u) {
6725
0
    if (cached_has_bits & 0x00000001u) {
6726
0
      set_has_old_id();
6727
0
      old_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.old_id_);
6728
0
    }
6729
0
    if (cached_has_bits & 0x00000002u) {
6730
0
      set_has_new_id();
6731
0
      new_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.new_id_);
6732
0
    }
6733
0
  }
6734
0
}
6735
6736
0
void IdPairPB::CopyFrom(const ::google::protobuf::Message& from) {
6737
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.IdPairPB)
6738
0
  if (&from == this) return;
6739
0
  Clear();
6740
0
  MergeFrom(from);
6741
0
}
6742
6743
0
void IdPairPB::CopyFrom(const IdPairPB& from) {
6744
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.IdPairPB)
6745
0
  if (&from == this) return;
6746
0
  Clear();
6747
0
  MergeFrom(from);
6748
0
}
6749
6750
0
bool IdPairPB::IsInitialized() const {
6751
0
  return true;
6752
0
}
6753
6754
0
void IdPairPB::Swap(IdPairPB* other) {
6755
0
  if (other == this) return;
6756
0
  InternalSwap(other);
6757
0
}
6758
0
void IdPairPB::InternalSwap(IdPairPB* other) {
6759
0
  using std::swap;
6760
0
  old_id_.Swap(&other->old_id_);
6761
0
  new_id_.Swap(&other->new_id_);
6762
0
  swap(_has_bits_[0], other->_has_bits_[0]);
6763
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
6764
0
  swap(_cached_size_, other->_cached_size_);
6765
0
}
6766
6767
0
::google::protobuf::Metadata IdPairPB::GetMetadata() const {
6768
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
6769
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
6770
0
}
6771
6772
6773
// ===================================================================
6774
6775
26.8k
void ImportSnapshotMetaResponsePB_TableMetaPB::InitAsDefaultInstance() {
6776
26.8k
  ::yb::master::_ImportSnapshotMetaResponsePB_TableMetaPB_default_instance_._instance.get_mutable()->namespace_ids_ = const_cast< ::yb::master::IdPairPB*>(
6777
26.8k
      ::yb::master::IdPairPB::internal_default_instance());
6778
26.8k
  ::yb::master::_ImportSnapshotMetaResponsePB_TableMetaPB_default_instance_._instance.get_mutable()->table_ids_ = const_cast< ::yb::master::IdPairPB*>(
6779
26.8k
      ::yb::master::IdPairPB::internal_default_instance());
6780
26.8k
}
6781
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6782
const int ImportSnapshotMetaResponsePB_TableMetaPB::kNamespaceIdsFieldNumber;
6783
const int ImportSnapshotMetaResponsePB_TableMetaPB::kTableIdsFieldNumber;
6784
const int ImportSnapshotMetaResponsePB_TableMetaPB::kTabletsIdsFieldNumber;
6785
const int ImportSnapshotMetaResponsePB_TableMetaPB::kTableTypeFieldNumber;
6786
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6787
6788
ImportSnapshotMetaResponsePB_TableMetaPB::ImportSnapshotMetaResponsePB_TableMetaPB()
6789
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6790
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6791
0
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsImportSnapshotMetaResponsePB_TableMetaPB();
6792
0
  }
6793
26.8k
  SharedCtor();
6794
  // @@protoc_insertion_point(constructor:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB)
6795
26.8k
}
6796
ImportSnapshotMetaResponsePB_TableMetaPB::ImportSnapshotMetaResponsePB_TableMetaPB(const ImportSnapshotMetaResponsePB_TableMetaPB& from)
6797
  : ::google::protobuf::Message(),
6798
      _internal_metadata_(NULL),
6799
      _has_bits_(from._has_bits_),
6800
      _cached_size_(0),
6801
0
      tablets_ids_(from.tablets_ids_) {
6802
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6803
0
  if (from.has_namespace_ids()) {
6804
0
    namespace_ids_ = new ::yb::master::IdPairPB(*from.namespace_ids_);
6805
0
  } else {
6806
0
    namespace_ids_ = NULL;
6807
0
  }
6808
0
  if (from.has_table_ids()) {
6809
0
    table_ids_ = new ::yb::master::IdPairPB(*from.table_ids_);
6810
0
  } else {
6811
0
    table_ids_ = NULL;
6812
0
  }
6813
0
  table_type_ = from.table_type_;
6814
  // @@protoc_insertion_point(copy_constructor:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB)
6815
0
}
6816
6817
26.8k
void ImportSnapshotMetaResponsePB_TableMetaPB::SharedCtor() {
6818
26.8k
  _cached_size_ = 0;
6819
26.8k
  ::memset(&namespace_ids_, 0, static_cast<size_t>(
6820
26.8k
      reinterpret_cast<char*>(&table_type_) -
6821
26.8k
      reinterpret_cast<char*>(&namespace_ids_)) + sizeof(table_type_));
6822
26.8k
}
6823
6824
0
ImportSnapshotMetaResponsePB_TableMetaPB::~ImportSnapshotMetaResponsePB_TableMetaPB() {
6825
  // @@protoc_insertion_point(destructor:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB)
6826
0
  SharedDtor();
6827
0
}
6828
6829
0
void ImportSnapshotMetaResponsePB_TableMetaPB::SharedDtor() {
6830
0
  if (this != internal_default_instance()) delete namespace_ids_;
6831
0
  if (this != internal_default_instance()) delete table_ids_;
6832
0
}
6833
6834
0
void ImportSnapshotMetaResponsePB_TableMetaPB::SetCachedSize(int size) const {
6835
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6836
0
  _cached_size_ = size;
6837
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6838
0
}
6839
0
const ::google::protobuf::Descriptor* ImportSnapshotMetaResponsePB_TableMetaPB::descriptor() {
6840
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
6841
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6842
0
}
6843
6844
0
const ImportSnapshotMetaResponsePB_TableMetaPB& ImportSnapshotMetaResponsePB_TableMetaPB::default_instance() {
6845
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsImportSnapshotMetaResponsePB_TableMetaPB();
6846
0
  return *internal_default_instance();
6847
0
}
6848
6849
0
ImportSnapshotMetaResponsePB_TableMetaPB* ImportSnapshotMetaResponsePB_TableMetaPB::New(::google::protobuf::Arena* arena) const {
6850
0
  ImportSnapshotMetaResponsePB_TableMetaPB* n = new ImportSnapshotMetaResponsePB_TableMetaPB;
6851
0
  if (arena != NULL) {
6852
0
    arena->Own(n);
6853
0
  }
6854
0
  return n;
6855
0
}
6856
6857
0
void ImportSnapshotMetaResponsePB_TableMetaPB::Clear() {
6858
// @@protoc_insertion_point(message_clear_start:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB)
6859
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6860
  // Prevent compiler warnings about cached_has_bits being unused
6861
0
  (void) cached_has_bits;
6862
6863
0
  tablets_ids_.Clear();
6864
0
  cached_has_bits = _has_bits_[0];
6865
0
  if (cached_has_bits & 3u) {
6866
0
    if (cached_has_bits & 0x00000001u) {
6867
0
      GOOGLE_DCHECK(namespace_ids_ != NULL);
6868
0
      namespace_ids_->Clear();
6869
0
    }
6870
0
    if (cached_has_bits & 0x00000002u) {
6871
0
      GOOGLE_DCHECK(table_ids_ != NULL);
6872
0
      table_ids_->Clear();
6873
0
    }
6874
0
  }
6875
0
  table_type_ = 0;
6876
0
  _has_bits_.Clear();
6877
0
  _internal_metadata_.Clear();
6878
0
}
6879
6880
bool ImportSnapshotMetaResponsePB_TableMetaPB::MergePartialFromCodedStream(
6881
0
    ::google::protobuf::io::CodedInputStream* input) {
6882
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
6883
0
  ::google::protobuf::uint32 tag;
6884
  // @@protoc_insertion_point(parse_start:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB)
6885
0
  for (;;) {
6886
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6887
0
    tag = p.first;
6888
0
    if (!p.second) goto handle_unusual;
6889
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6890
      // optional .yb.master.IdPairPB namespace_ids = 1;
6891
0
      case 1: {
6892
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6893
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
6894
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
6895
0
               input, mutable_namespace_ids()));
6896
0
        } else {
6897
0
          goto handle_unusual;
6898
0
        }
6899
0
        break;
6900
0
      }
6901
6902
      // optional .yb.master.IdPairPB table_ids = 2;
6903
0
      case 2: {
6904
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6905
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
6906
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
6907
0
               input, mutable_table_ids()));
6908
0
        } else {
6909
0
          goto handle_unusual;
6910
0
        }
6911
0
        break;
6912
0
      }
6913
6914
      // repeated .yb.master.IdPairPB tablets_ids = 3;
6915
0
      case 3: {
6916
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6917
0
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
6918
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_tablets_ids()));
6919
0
        } else {
6920
0
          goto handle_unusual;
6921
0
        }
6922
0
        break;
6923
0
      }
6924
6925
      // optional .yb.master.ImportSnapshotMetaResponsePB.TableType table_type = 4 [default = TABLE];
6926
0
      case 4: {
6927
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6928
0
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
6929
0
          int value;
6930
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6931
0
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
6932
0
                 input, &value)));
6933
0
          if (::yb::master::ImportSnapshotMetaResponsePB_TableType_IsValid(value)) {
6934
0
            set_table_type(static_cast< ::yb::master::ImportSnapshotMetaResponsePB_TableType >(value));
6935
0
          } else {
6936
0
            mutable_unknown_fields()->AddVarint(
6937
0
                4, static_cast< ::google::protobuf::uint64>(value));
6938
0
          }
6939
0
        } else {
6940
0
          goto handle_unusual;
6941
0
        }
6942
0
        break;
6943
0
      }
6944
6945
0
      default: {
6946
0
      handle_unusual:
6947
0
        if (tag == 0) {
6948
0
          goto success;
6949
0
        }
6950
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
6951
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
6952
0
        break;
6953
0
      }
6954
0
    }
6955
0
  }
6956
0
success:
6957
  // @@protoc_insertion_point(parse_success:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB)
6958
0
  return true;
6959
0
failure:
6960
  // @@protoc_insertion_point(parse_failure:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB)
6961
0
  return false;
6962
0
#undef DO_
6963
0
}
6964
6965
void ImportSnapshotMetaResponsePB_TableMetaPB::SerializeWithCachedSizes(
6966
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6967
  // @@protoc_insertion_point(serialize_start:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB)
6968
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6969
0
  (void) cached_has_bits;
6970
6971
0
  cached_has_bits = _has_bits_[0];
6972
  // optional .yb.master.IdPairPB namespace_ids = 1;
6973
0
  if (cached_has_bits & 0x00000001u) {
6974
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6975
0
      1, *this->namespace_ids_, output);
6976
0
  }
6977
6978
  // optional .yb.master.IdPairPB table_ids = 2;
6979
0
  if (cached_has_bits & 0x00000002u) {
6980
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6981
0
      2, *this->table_ids_, output);
6982
0
  }
6983
6984
  // repeated .yb.master.IdPairPB tablets_ids = 3;
6985
0
  for (unsigned int i = 0,
6986
0
      n = static_cast<unsigned int>(this->tablets_ids_size()); i < n; i++) {
6987
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6988
0
      3, this->tablets_ids(static_cast<int>(i)), output);
6989
0
  }
6990
6991
  // optional .yb.master.ImportSnapshotMetaResponsePB.TableType table_type = 4 [default = TABLE];
6992
0
  if (cached_has_bits & 0x00000004u) {
6993
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
6994
0
      4, this->table_type(), output);
6995
0
  }
6996
6997
0
  if (_internal_metadata_.have_unknown_fields()) {
6998
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6999
0
        _internal_metadata_.unknown_fields(), output);
7000
0
  }
7001
  // @@protoc_insertion_point(serialize_end:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB)
7002
0
}
7003
7004
::google::protobuf::uint8* ImportSnapshotMetaResponsePB_TableMetaPB::InternalSerializeWithCachedSizesToArray(
7005
0
    bool deterministic, ::google::protobuf::uint8* target) const {
7006
0
  (void)deterministic; // Unused
7007
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB)
7008
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7009
0
  (void) cached_has_bits;
7010
7011
0
  cached_has_bits = _has_bits_[0];
7012
  // optional .yb.master.IdPairPB namespace_ids = 1;
7013
0
  if (cached_has_bits & 0x00000001u) {
7014
0
    target = ::google::protobuf::internal::WireFormatLite::
7015
0
      InternalWriteMessageToArray(
7016
0
        1, *this->namespace_ids_, deterministic, target);
7017
0
  }
7018
7019
  // optional .yb.master.IdPairPB table_ids = 2;
7020
0
  if (cached_has_bits & 0x00000002u) {
7021
0
    target = ::google::protobuf::internal::WireFormatLite::
7022
0
      InternalWriteMessageToArray(
7023
0
        2, *this->table_ids_, deterministic, target);
7024
0
  }
7025
7026
  // repeated .yb.master.IdPairPB tablets_ids = 3;
7027
0
  for (unsigned int i = 0,
7028
0
      n = static_cast<unsigned int>(this->tablets_ids_size()); i < n; i++) {
7029
0
    target = ::google::protobuf::internal::WireFormatLite::
7030
0
      InternalWriteMessageToArray(
7031
0
        3, this->tablets_ids(static_cast<int>(i)), deterministic, target);
7032
0
  }
7033
7034
  // optional .yb.master.ImportSnapshotMetaResponsePB.TableType table_type = 4 [default = TABLE];
7035
0
  if (cached_has_bits & 0x00000004u) {
7036
0
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
7037
0
      4, this->table_type(), target);
7038
0
  }
7039
7040
0
  if (_internal_metadata_.have_unknown_fields()) {
7041
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7042
0
        _internal_metadata_.unknown_fields(), target);
7043
0
  }
7044
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB)
7045
0
  return target;
7046
0
}
7047
7048
0
size_t ImportSnapshotMetaResponsePB_TableMetaPB::ByteSizeLong() const {
7049
// @@protoc_insertion_point(message_byte_size_start:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB)
7050
0
  size_t total_size = 0;
7051
7052
0
  if (_internal_metadata_.have_unknown_fields()) {
7053
0
    total_size +=
7054
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7055
0
        _internal_metadata_.unknown_fields());
7056
0
  }
7057
  // repeated .yb.master.IdPairPB tablets_ids = 3;
7058
0
  {
7059
0
    unsigned int count = static_cast<unsigned int>(this->tablets_ids_size());
7060
0
    total_size += 1UL * count;
7061
0
    for (unsigned int i = 0; i < count; i++) {
7062
0
      total_size +=
7063
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
7064
0
          this->tablets_ids(static_cast<int>(i)));
7065
0
    }
7066
0
  }
7067
7068
0
  if (_has_bits_[0 / 32] & 7u) {
7069
    // optional .yb.master.IdPairPB namespace_ids = 1;
7070
0
    if (has_namespace_ids()) {
7071
0
      total_size += 1 +
7072
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
7073
0
          *this->namespace_ids_);
7074
0
    }
7075
7076
    // optional .yb.master.IdPairPB table_ids = 2;
7077
0
    if (has_table_ids()) {
7078
0
      total_size += 1 +
7079
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
7080
0
          *this->table_ids_);
7081
0
    }
7082
7083
    // optional .yb.master.ImportSnapshotMetaResponsePB.TableType table_type = 4 [default = TABLE];
7084
0
    if (has_table_type()) {
7085
0
      total_size += 1 +
7086
0
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->table_type());
7087
0
    }
7088
7089
0
  }
7090
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7091
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7092
0
  _cached_size_ = cached_size;
7093
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7094
0
  return total_size;
7095
0
}
7096
7097
0
void ImportSnapshotMetaResponsePB_TableMetaPB::MergeFrom(const ::google::protobuf::Message& from) {
7098
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB)
7099
0
  GOOGLE_DCHECK_NE(&from, this);
7100
0
  const ImportSnapshotMetaResponsePB_TableMetaPB* source =
7101
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ImportSnapshotMetaResponsePB_TableMetaPB>(
7102
0
          &from);
7103
0
  if (source == NULL) {
7104
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB)
7105
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7106
0
  } else {
7107
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB)
7108
0
    MergeFrom(*source);
7109
0
  }
7110
0
}
7111
7112
0
void ImportSnapshotMetaResponsePB_TableMetaPB::MergeFrom(const ImportSnapshotMetaResponsePB_TableMetaPB& from) {
7113
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB)
7114
0
  GOOGLE_DCHECK_NE(&from, this);
7115
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7116
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7117
0
  (void) cached_has_bits;
7118
7119
0
  tablets_ids_.MergeFrom(from.tablets_ids_);
7120
0
  cached_has_bits = from._has_bits_[0];
7121
0
  if (cached_has_bits & 7u) {
7122
0
    if (cached_has_bits & 0x00000001u) {
7123
0
      mutable_namespace_ids()->::yb::master::IdPairPB::MergeFrom(from.namespace_ids());
7124
0
    }
7125
0
    if (cached_has_bits & 0x00000002u) {
7126
0
      mutable_table_ids()->::yb::master::IdPairPB::MergeFrom(from.table_ids());
7127
0
    }
7128
0
    if (cached_has_bits & 0x00000004u) {
7129
0
      table_type_ = from.table_type_;
7130
0
    }
7131
0
    _has_bits_[0] |= cached_has_bits;
7132
0
  }
7133
0
}
7134
7135
0
void ImportSnapshotMetaResponsePB_TableMetaPB::CopyFrom(const ::google::protobuf::Message& from) {
7136
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB)
7137
0
  if (&from == this) return;
7138
0
  Clear();
7139
0
  MergeFrom(from);
7140
0
}
7141
7142
0
void ImportSnapshotMetaResponsePB_TableMetaPB::CopyFrom(const ImportSnapshotMetaResponsePB_TableMetaPB& from) {
7143
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB)
7144
0
  if (&from == this) return;
7145
0
  Clear();
7146
0
  MergeFrom(from);
7147
0
}
7148
7149
0
bool ImportSnapshotMetaResponsePB_TableMetaPB::IsInitialized() const {
7150
0
  return true;
7151
0
}
7152
7153
0
void ImportSnapshotMetaResponsePB_TableMetaPB::Swap(ImportSnapshotMetaResponsePB_TableMetaPB* other) {
7154
0
  if (other == this) return;
7155
0
  InternalSwap(other);
7156
0
}
7157
0
void ImportSnapshotMetaResponsePB_TableMetaPB::InternalSwap(ImportSnapshotMetaResponsePB_TableMetaPB* other) {
7158
0
  using std::swap;
7159
0
  tablets_ids_.InternalSwap(&other->tablets_ids_);
7160
0
  swap(namespace_ids_, other->namespace_ids_);
7161
0
  swap(table_ids_, other->table_ids_);
7162
0
  swap(table_type_, other->table_type_);
7163
0
  swap(_has_bits_[0], other->_has_bits_[0]);
7164
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7165
0
  swap(_cached_size_, other->_cached_size_);
7166
0
}
7167
7168
0
::google::protobuf::Metadata ImportSnapshotMetaResponsePB_TableMetaPB::GetMetadata() const {
7169
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
7170
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
7171
0
}
7172
7173
7174
// ===================================================================
7175
7176
26.8k
void ImportSnapshotMetaResponsePB::InitAsDefaultInstance() {
7177
26.8k
  ::yb::master::_ImportSnapshotMetaResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
7178
26.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
7179
26.8k
}
7180
0
void ImportSnapshotMetaResponsePB::clear_error() {
7181
0
  if (error_ != NULL) error_->Clear();
7182
0
  clear_has_error();
7183
0
}
7184
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7185
const int ImportSnapshotMetaResponsePB::kErrorFieldNumber;
7186
const int ImportSnapshotMetaResponsePB::kTablesMetaFieldNumber;
7187
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7188
7189
ImportSnapshotMetaResponsePB::ImportSnapshotMetaResponsePB()
7190
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7191
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7192
0
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsImportSnapshotMetaResponsePB();
7193
0
  }
7194
26.8k
  SharedCtor();
7195
  // @@protoc_insertion_point(constructor:yb.master.ImportSnapshotMetaResponsePB)
7196
26.8k
}
7197
ImportSnapshotMetaResponsePB::ImportSnapshotMetaResponsePB(const ImportSnapshotMetaResponsePB& from)
7198
  : ::google::protobuf::Message(),
7199
      _internal_metadata_(NULL),
7200
      _has_bits_(from._has_bits_),
7201
      _cached_size_(0),
7202
0
      tables_meta_(from.tables_meta_) {
7203
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7204
0
  if (from.has_error()) {
7205
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
7206
0
  } else {
7207
0
    error_ = NULL;
7208
0
  }
7209
  // @@protoc_insertion_point(copy_constructor:yb.master.ImportSnapshotMetaResponsePB)
7210
0
}
7211
7212
26.8k
void ImportSnapshotMetaResponsePB::SharedCtor() {
7213
26.8k
  _cached_size_ = 0;
7214
26.8k
  error_ = NULL;
7215
26.8k
}
7216
7217
0
ImportSnapshotMetaResponsePB::~ImportSnapshotMetaResponsePB() {
7218
  // @@protoc_insertion_point(destructor:yb.master.ImportSnapshotMetaResponsePB)
7219
0
  SharedDtor();
7220
0
}
7221
7222
0
void ImportSnapshotMetaResponsePB::SharedDtor() {
7223
0
  if (this != internal_default_instance()) delete error_;
7224
0
}
7225
7226
0
void ImportSnapshotMetaResponsePB::SetCachedSize(int size) const {
7227
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7228
0
  _cached_size_ = size;
7229
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7230
0
}
7231
0
const ::google::protobuf::Descriptor* ImportSnapshotMetaResponsePB::descriptor() {
7232
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
7233
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7234
0
}
7235
7236
0
const ImportSnapshotMetaResponsePB& ImportSnapshotMetaResponsePB::default_instance() {
7237
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsImportSnapshotMetaResponsePB();
7238
0
  return *internal_default_instance();
7239
0
}
7240
7241
0
ImportSnapshotMetaResponsePB* ImportSnapshotMetaResponsePB::New(::google::protobuf::Arena* arena) const {
7242
0
  ImportSnapshotMetaResponsePB* n = new ImportSnapshotMetaResponsePB;
7243
0
  if (arena != NULL) {
7244
0
    arena->Own(n);
7245
0
  }
7246
0
  return n;
7247
0
}
7248
7249
0
void ImportSnapshotMetaResponsePB::Clear() {
7250
// @@protoc_insertion_point(message_clear_start:yb.master.ImportSnapshotMetaResponsePB)
7251
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7252
  // Prevent compiler warnings about cached_has_bits being unused
7253
0
  (void) cached_has_bits;
7254
7255
0
  tables_meta_.Clear();
7256
0
  cached_has_bits = _has_bits_[0];
7257
0
  if (cached_has_bits & 0x00000001u) {
7258
0
    GOOGLE_DCHECK(error_ != NULL);
7259
0
    error_->Clear();
7260
0
  }
7261
0
  _has_bits_.Clear();
7262
0
  _internal_metadata_.Clear();
7263
0
}
7264
7265
bool ImportSnapshotMetaResponsePB::MergePartialFromCodedStream(
7266
0
    ::google::protobuf::io::CodedInputStream* input) {
7267
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7268
0
  ::google::protobuf::uint32 tag;
7269
  // @@protoc_insertion_point(parse_start:yb.master.ImportSnapshotMetaResponsePB)
7270
0
  for (;;) {
7271
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7272
0
    tag = p.first;
7273
0
    if (!p.second) goto handle_unusual;
7274
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7275
      // optional .yb.master.MasterErrorPB error = 1;
7276
0
      case 1: {
7277
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7278
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7279
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
7280
0
               input, mutable_error()));
7281
0
        } else {
7282
0
          goto handle_unusual;
7283
0
        }
7284
0
        break;
7285
0
      }
7286
7287
      // repeated .yb.master.ImportSnapshotMetaResponsePB.TableMetaPB tables_meta = 3;
7288
0
      case 3: {
7289
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7290
0
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
7291
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_tables_meta()));
7292
0
        } else {
7293
0
          goto handle_unusual;
7294
0
        }
7295
0
        break;
7296
0
      }
7297
7298
0
      default: {
7299
0
      handle_unusual:
7300
0
        if (tag == 0) {
7301
0
          goto success;
7302
0
        }
7303
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
7304
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
7305
0
        break;
7306
0
      }
7307
0
    }
7308
0
  }
7309
0
success:
7310
  // @@protoc_insertion_point(parse_success:yb.master.ImportSnapshotMetaResponsePB)
7311
0
  return true;
7312
0
failure:
7313
  // @@protoc_insertion_point(parse_failure:yb.master.ImportSnapshotMetaResponsePB)
7314
0
  return false;
7315
0
#undef DO_
7316
0
}
7317
7318
void ImportSnapshotMetaResponsePB::SerializeWithCachedSizes(
7319
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7320
  // @@protoc_insertion_point(serialize_start:yb.master.ImportSnapshotMetaResponsePB)
7321
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7322
0
  (void) cached_has_bits;
7323
7324
0
  cached_has_bits = _has_bits_[0];
7325
  // optional .yb.master.MasterErrorPB error = 1;
7326
0
  if (cached_has_bits & 0x00000001u) {
7327
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7328
0
      1, *this->error_, output);
7329
0
  }
7330
7331
  // repeated .yb.master.ImportSnapshotMetaResponsePB.TableMetaPB tables_meta = 3;
7332
0
  for (unsigned int i = 0,
7333
0
      n = static_cast<unsigned int>(this->tables_meta_size()); i < n; i++) {
7334
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7335
0
      3, this->tables_meta(static_cast<int>(i)), output);
7336
0
  }
7337
7338
0
  if (_internal_metadata_.have_unknown_fields()) {
7339
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7340
0
        _internal_metadata_.unknown_fields(), output);
7341
0
  }
7342
  // @@protoc_insertion_point(serialize_end:yb.master.ImportSnapshotMetaResponsePB)
7343
0
}
7344
7345
::google::protobuf::uint8* ImportSnapshotMetaResponsePB::InternalSerializeWithCachedSizesToArray(
7346
0
    bool deterministic, ::google::protobuf::uint8* target) const {
7347
0
  (void)deterministic; // Unused
7348
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ImportSnapshotMetaResponsePB)
7349
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7350
0
  (void) cached_has_bits;
7351
7352
0
  cached_has_bits = _has_bits_[0];
7353
  // optional .yb.master.MasterErrorPB error = 1;
7354
0
  if (cached_has_bits & 0x00000001u) {
7355
0
    target = ::google::protobuf::internal::WireFormatLite::
7356
0
      InternalWriteMessageToArray(
7357
0
        1, *this->error_, deterministic, target);
7358
0
  }
7359
7360
  // repeated .yb.master.ImportSnapshotMetaResponsePB.TableMetaPB tables_meta = 3;
7361
0
  for (unsigned int i = 0,
7362
0
      n = static_cast<unsigned int>(this->tables_meta_size()); i < n; i++) {
7363
0
    target = ::google::protobuf::internal::WireFormatLite::
7364
0
      InternalWriteMessageToArray(
7365
0
        3, this->tables_meta(static_cast<int>(i)), deterministic, target);
7366
0
  }
7367
7368
0
  if (_internal_metadata_.have_unknown_fields()) {
7369
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7370
0
        _internal_metadata_.unknown_fields(), target);
7371
0
  }
7372
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ImportSnapshotMetaResponsePB)
7373
0
  return target;
7374
0
}
7375
7376
0
size_t ImportSnapshotMetaResponsePB::ByteSizeLong() const {
7377
// @@protoc_insertion_point(message_byte_size_start:yb.master.ImportSnapshotMetaResponsePB)
7378
0
  size_t total_size = 0;
7379
7380
0
  if (_internal_metadata_.have_unknown_fields()) {
7381
0
    total_size +=
7382
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7383
0
        _internal_metadata_.unknown_fields());
7384
0
  }
7385
  // repeated .yb.master.ImportSnapshotMetaResponsePB.TableMetaPB tables_meta = 3;
7386
0
  {
7387
0
    unsigned int count = static_cast<unsigned int>(this->tables_meta_size());
7388
0
    total_size += 1UL * count;
7389
0
    for (unsigned int i = 0; i < count; i++) {
7390
0
      total_size +=
7391
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
7392
0
          this->tables_meta(static_cast<int>(i)));
7393
0
    }
7394
0
  }
7395
7396
  // optional .yb.master.MasterErrorPB error = 1;
7397
0
  if (has_error()) {
7398
0
    total_size += 1 +
7399
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
7400
0
        *this->error_);
7401
0
  }
7402
7403
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7404
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7405
0
  _cached_size_ = cached_size;
7406
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7407
0
  return total_size;
7408
0
}
7409
7410
0
void ImportSnapshotMetaResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
7411
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ImportSnapshotMetaResponsePB)
7412
0
  GOOGLE_DCHECK_NE(&from, this);
7413
0
  const ImportSnapshotMetaResponsePB* source =
7414
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ImportSnapshotMetaResponsePB>(
7415
0
          &from);
7416
0
  if (source == NULL) {
7417
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ImportSnapshotMetaResponsePB)
7418
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7419
0
  } else {
7420
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ImportSnapshotMetaResponsePB)
7421
0
    MergeFrom(*source);
7422
0
  }
7423
0
}
7424
7425
0
void ImportSnapshotMetaResponsePB::MergeFrom(const ImportSnapshotMetaResponsePB& from) {
7426
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ImportSnapshotMetaResponsePB)
7427
0
  GOOGLE_DCHECK_NE(&from, this);
7428
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7429
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7430
0
  (void) cached_has_bits;
7431
7432
0
  tables_meta_.MergeFrom(from.tables_meta_);
7433
0
  if (from.has_error()) {
7434
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
7435
0
  }
7436
0
}
7437
7438
0
void ImportSnapshotMetaResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
7439
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ImportSnapshotMetaResponsePB)
7440
0
  if (&from == this) return;
7441
0
  Clear();
7442
0
  MergeFrom(from);
7443
0
}
7444
7445
0
void ImportSnapshotMetaResponsePB::CopyFrom(const ImportSnapshotMetaResponsePB& from) {
7446
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ImportSnapshotMetaResponsePB)
7447
0
  if (&from == this) return;
7448
0
  Clear();
7449
0
  MergeFrom(from);
7450
0
}
7451
7452
0
bool ImportSnapshotMetaResponsePB::IsInitialized() const {
7453
0
  if (has_error()) {
7454
0
    if (!this->error_->IsInitialized()) return false;
7455
0
  }
7456
0
  return true;
7457
0
}
7458
7459
0
void ImportSnapshotMetaResponsePB::Swap(ImportSnapshotMetaResponsePB* other) {
7460
0
  if (other == this) return;
7461
0
  InternalSwap(other);
7462
0
}
7463
0
void ImportSnapshotMetaResponsePB::InternalSwap(ImportSnapshotMetaResponsePB* other) {
7464
0
  using std::swap;
7465
0
  tables_meta_.InternalSwap(&other->tables_meta_);
7466
0
  swap(error_, other->error_);
7467
0
  swap(_has_bits_[0], other->_has_bits_[0]);
7468
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7469
0
  swap(_cached_size_, other->_cached_size_);
7470
0
}
7471
7472
0
::google::protobuf::Metadata ImportSnapshotMetaResponsePB::GetMetadata() const {
7473
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
7474
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
7475
0
}
7476
7477
7478
// ===================================================================
7479
7480
26.8k
void TableIdentifiersPB::InitAsDefaultInstance() {
7481
26.8k
}
7482
0
void TableIdentifiersPB::clear_tables() {
7483
0
  tables_.Clear();
7484
0
}
7485
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7486
const int TableIdentifiersPB::kTablesFieldNumber;
7487
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7488
7489
TableIdentifiersPB::TableIdentifiersPB()
7490
27.0k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7491
27.0k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7492
158
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsTableIdentifiersPB();
7493
158
  }
7494
27.0k
  SharedCtor();
7495
  // @@protoc_insertion_point(constructor:yb.master.TableIdentifiersPB)
7496
27.0k
}
7497
TableIdentifiersPB::TableIdentifiersPB(const TableIdentifiersPB& from)
7498
  : ::google::protobuf::Message(),
7499
      _internal_metadata_(NULL),
7500
      _has_bits_(from._has_bits_),
7501
      _cached_size_(0),
7502
0
      tables_(from.tables_) {
7503
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7504
  // @@protoc_insertion_point(copy_constructor:yb.master.TableIdentifiersPB)
7505
0
}
7506
7507
27.0k
void TableIdentifiersPB::SharedCtor() {
7508
27.0k
  _cached_size_ = 0;
7509
27.0k
}
7510
7511
134
TableIdentifiersPB::~TableIdentifiersPB() {
7512
  // @@protoc_insertion_point(destructor:yb.master.TableIdentifiersPB)
7513
134
  SharedDtor();
7514
134
}
7515
7516
134
void TableIdentifiersPB::SharedDtor() {
7517
134
}
7518
7519
0
void TableIdentifiersPB::SetCachedSize(int size) const {
7520
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7521
0
  _cached_size_ = size;
7522
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7523
0
}
7524
0
const ::google::protobuf::Descriptor* TableIdentifiersPB::descriptor() {
7525
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
7526
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7527
0
}
7528
7529
0
const TableIdentifiersPB& TableIdentifiersPB::default_instance() {
7530
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsTableIdentifiersPB();
7531
0
  return *internal_default_instance();
7532
0
}
7533
7534
0
TableIdentifiersPB* TableIdentifiersPB::New(::google::protobuf::Arena* arena) const {
7535
0
  TableIdentifiersPB* n = new TableIdentifiersPB;
7536
0
  if (arena != NULL) {
7537
0
    arena->Own(n);
7538
0
  }
7539
0
  return n;
7540
0
}
7541
7542
0
void TableIdentifiersPB::Clear() {
7543
// @@protoc_insertion_point(message_clear_start:yb.master.TableIdentifiersPB)
7544
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7545
  // Prevent compiler warnings about cached_has_bits being unused
7546
0
  (void) cached_has_bits;
7547
7548
0
  tables_.Clear();
7549
0
  _has_bits_.Clear();
7550
0
  _internal_metadata_.Clear();
7551
0
}
7552
7553
bool TableIdentifiersPB::MergePartialFromCodedStream(
7554
52
    ::google::protobuf::io::CodedInputStream* input) {
7555
52
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
7556
52
  ::google::protobuf::uint32 tag;
7557
  // @@protoc_insertion_point(parse_start:yb.master.TableIdentifiersPB)
7558
104
  for (;;) {
7559
104
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7560
104
    tag = p.first;
7561
104
    if (!p.second) 
goto handle_unusual52
;
7562
52
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7563
      // repeated .yb.master.TableIdentifierPB tables = 1;
7564
52
      case 1: {
7565
52
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7566
52
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7567
52
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_tables()));
7568
52
        } else {
7569
0
          goto handle_unusual;
7570
0
        }
7571
52
        break;
7572
52
      }
7573
7574
52
      default: {
7575
52
      handle_unusual:
7576
52
        if (tag == 0) {
7577
52
          goto success;
7578
52
        }
7579
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
7580
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
7581
0
        break;
7582
0
      }
7583
52
    }
7584
52
  }
7585
52
success:
7586
  // @@protoc_insertion_point(parse_success:yb.master.TableIdentifiersPB)
7587
52
  return true;
7588
0
failure:
7589
  // @@protoc_insertion_point(parse_failure:yb.master.TableIdentifiersPB)
7590
0
  return false;
7591
52
#undef DO_
7592
52
}
7593
7594
void TableIdentifiersPB::SerializeWithCachedSizes(
7595
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7596
  // @@protoc_insertion_point(serialize_start:yb.master.TableIdentifiersPB)
7597
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7598
0
  (void) cached_has_bits;
7599
7600
  // repeated .yb.master.TableIdentifierPB tables = 1;
7601
0
  for (unsigned int i = 0,
7602
0
      n = static_cast<unsigned int>(this->tables_size()); i < n; i++) {
7603
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7604
0
      1, this->tables(static_cast<int>(i)), output);
7605
0
  }
7606
7607
0
  if (_internal_metadata_.have_unknown_fields()) {
7608
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7609
0
        _internal_metadata_.unknown_fields(), output);
7610
0
  }
7611
  // @@protoc_insertion_point(serialize_end:yb.master.TableIdentifiersPB)
7612
0
}
7613
7614
::google::protobuf::uint8* TableIdentifiersPB::InternalSerializeWithCachedSizesToArray(
7615
30
    bool deterministic, ::google::protobuf::uint8* target) const {
7616
30
  (void)deterministic; // Unused
7617
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.TableIdentifiersPB)
7618
30
  ::google::protobuf::uint32 cached_has_bits = 0;
7619
30
  (void) cached_has_bits;
7620
7621
  // repeated .yb.master.TableIdentifierPB tables = 1;
7622
30
  for (unsigned int i = 0,
7623
60
      n = static_cast<unsigned int>(this->tables_size()); i < n; 
i++30
) {
7624
30
    target = ::google::protobuf::internal::WireFormatLite::
7625
30
      InternalWriteMessageToArray(
7626
30
        1, this->tables(static_cast<int>(i)), deterministic, target);
7627
30
  }
7628
7629
30
  if (_internal_metadata_.have_unknown_fields()) {
7630
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7631
0
        _internal_metadata_.unknown_fields(), target);
7632
0
  }
7633
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.TableIdentifiersPB)
7634
30
  return target;
7635
30
}
7636
7637
49
size_t TableIdentifiersPB::ByteSizeLong() const {
7638
// @@protoc_insertion_point(message_byte_size_start:yb.master.TableIdentifiersPB)
7639
49
  size_t total_size = 0;
7640
7641
49
  if (_internal_metadata_.have_unknown_fields()) {
7642
0
    total_size +=
7643
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7644
0
        _internal_metadata_.unknown_fields());
7645
0
  }
7646
  // repeated .yb.master.TableIdentifierPB tables = 1;
7647
49
  {
7648
49
    unsigned int count = static_cast<unsigned int>(this->tables_size());
7649
49
    total_size += 1UL * count;
7650
98
    for (unsigned int i = 0; i < count; 
i++49
) {
7651
49
      total_size +=
7652
49
        ::google::protobuf::internal::WireFormatLite::MessageSize(
7653
49
          this->tables(static_cast<int>(i)));
7654
49
    }
7655
49
  }
7656
7657
49
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7658
49
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7659
49
  _cached_size_ = cached_size;
7660
49
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7661
49
  return total_size;
7662
49
}
7663
7664
0
void TableIdentifiersPB::MergeFrom(const ::google::protobuf::Message& from) {
7665
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.TableIdentifiersPB)
7666
0
  GOOGLE_DCHECK_NE(&from, this);
7667
0
  const TableIdentifiersPB* source =
7668
0
      ::google::protobuf::internal::DynamicCastToGenerated<const TableIdentifiersPB>(
7669
0
          &from);
7670
0
  if (source == NULL) {
7671
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.TableIdentifiersPB)
7672
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7673
0
  } else {
7674
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.TableIdentifiersPB)
7675
0
    MergeFrom(*source);
7676
0
  }
7677
0
}
7678
7679
97
void TableIdentifiersPB::MergeFrom(const TableIdentifiersPB& from) {
7680
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.TableIdentifiersPB)
7681
97
  GOOGLE_DCHECK_NE(&from, this);
7682
97
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7683
97
  ::google::protobuf::uint32 cached_has_bits = 0;
7684
97
  (void) cached_has_bits;
7685
7686
97
  tables_.MergeFrom(from.tables_);
7687
97
}
7688
7689
0
void TableIdentifiersPB::CopyFrom(const ::google::protobuf::Message& from) {
7690
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.TableIdentifiersPB)
7691
0
  if (&from == this) return;
7692
0
  Clear();
7693
0
  MergeFrom(from);
7694
0
}
7695
7696
0
void TableIdentifiersPB::CopyFrom(const TableIdentifiersPB& from) {
7697
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.TableIdentifiersPB)
7698
0
  if (&from == this) return;
7699
0
  Clear();
7700
0
  MergeFrom(from);
7701
0
}
7702
7703
0
bool TableIdentifiersPB::IsInitialized() const {
7704
0
  return true;
7705
0
}
7706
7707
0
void TableIdentifiersPB::Swap(TableIdentifiersPB* other) {
7708
0
  if (other == this) return;
7709
0
  InternalSwap(other);
7710
0
}
7711
0
void TableIdentifiersPB::InternalSwap(TableIdentifiersPB* other) {
7712
0
  using std::swap;
7713
0
  tables_.InternalSwap(&other->tables_);
7714
0
  swap(_has_bits_[0], other->_has_bits_[0]);
7715
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7716
0
  swap(_cached_size_, other->_cached_size_);
7717
0
}
7718
7719
26
::google::protobuf::Metadata TableIdentifiersPB::GetMetadata() const {
7720
26
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
7721
26
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
7722
26
}
7723
7724
7725
// ===================================================================
7726
7727
26.8k
void SnapshotScheduleFilterPB::InitAsDefaultInstance() {
7728
26.8k
  ::yb::master::_SnapshotScheduleFilterPB_default_instance_.tables_ = const_cast< ::yb::master::TableIdentifiersPB*>(
7729
26.8k
      ::yb::master::TableIdentifiersPB::internal_default_instance());
7730
26.8k
}
7731
0
void SnapshotScheduleFilterPB::set_allocated_tables(::yb::master::TableIdentifiersPB* tables) {
7732
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
7733
0
  clear_filter();
7734
0
  if (tables) {
7735
0
    ::google::protobuf::Arena* submessage_arena = NULL;
7736
0
    if (message_arena != submessage_arena) {
7737
0
      tables = ::google::protobuf::internal::GetOwnedMessage(
7738
0
          message_arena, tables, submessage_arena);
7739
0
    }
7740
0
    set_has_tables();
7741
0
    filter_.tables_ = tables;
7742
0
  }
7743
  // @@protoc_insertion_point(field_set_allocated:yb.master.SnapshotScheduleFilterPB.tables)
7744
0
}
7745
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7746
const int SnapshotScheduleFilterPB::kTablesFieldNumber;
7747
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7748
7749
SnapshotScheduleFilterPB::SnapshotScheduleFilterPB()
7750
26.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7751
26.9k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7752
94
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSnapshotScheduleFilterPB();
7753
94
  }
7754
26.9k
  SharedCtor();
7755
  // @@protoc_insertion_point(constructor:yb.master.SnapshotScheduleFilterPB)
7756
26.9k
}
7757
SnapshotScheduleFilterPB::SnapshotScheduleFilterPB(const SnapshotScheduleFilterPB& from)
7758
  : ::google::protobuf::Message(),
7759
      _internal_metadata_(NULL),
7760
      _has_bits_(from._has_bits_),
7761
86
      _cached_size_(0) {
7762
86
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7763
86
  clear_has_filter();
7764
86
  switch (from.filter_case()) {
7765
86
    case kTables: {
7766
86
      mutable_tables()->::yb::master::TableIdentifiersPB::MergeFrom(from.tables());
7767
86
      break;
7768
0
    }
7769
0
    case FILTER_NOT_SET: {
7770
0
      break;
7771
0
    }
7772
86
  }
7773
  // @@protoc_insertion_point(copy_constructor:yb.master.SnapshotScheduleFilterPB)
7774
86
}
7775
7776
26.9k
void SnapshotScheduleFilterPB::SharedCtor() {
7777
26.9k
  _cached_size_ = 0;
7778
26.9k
  clear_has_filter();
7779
26.9k
}
7780
7781
156
SnapshotScheduleFilterPB::~SnapshotScheduleFilterPB() {
7782
  // @@protoc_insertion_point(destructor:yb.master.SnapshotScheduleFilterPB)
7783
156
  SharedDtor();
7784
156
}
7785
7786
156
void SnapshotScheduleFilterPB::SharedDtor() {
7787
156
  if (has_filter()) {
7788
134
    clear_filter();
7789
134
  }
7790
156
}
7791
7792
0
void SnapshotScheduleFilterPB::SetCachedSize(int size) const {
7793
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7794
0
  _cached_size_ = size;
7795
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7796
0
}
7797
0
const ::google::protobuf::Descriptor* SnapshotScheduleFilterPB::descriptor() {
7798
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
7799
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7800
0
}
7801
7802
0
const SnapshotScheduleFilterPB& SnapshotScheduleFilterPB::default_instance() {
7803
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSnapshotScheduleFilterPB();
7804
0
  return *internal_default_instance();
7805
0
}
7806
7807
0
SnapshotScheduleFilterPB* SnapshotScheduleFilterPB::New(::google::protobuf::Arena* arena) const {
7808
0
  SnapshotScheduleFilterPB* n = new SnapshotScheduleFilterPB;
7809
0
  if (arena != NULL) {
7810
0
    arena->Own(n);
7811
0
  }
7812
0
  return n;
7813
0
}
7814
7815
292
void SnapshotScheduleFilterPB::clear_filter() {
7816
// @@protoc_insertion_point(one_of_clear_start:yb.master.SnapshotScheduleFilterPB)
7817
292
  switch (filter_case()) {
7818
134
    case kTables: {
7819
134
      delete filter_.tables_;
7820
134
      break;
7821
0
    }
7822
158
    case FILTER_NOT_SET: {
7823
158
      break;
7824
0
    }
7825
292
  }
7826
292
  _oneof_case_[0] = FILTER_NOT_SET;
7827
292
}
7828
7829
7830
0
void SnapshotScheduleFilterPB::Clear() {
7831
// @@protoc_insertion_point(message_clear_start:yb.master.SnapshotScheduleFilterPB)
7832
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7833
  // Prevent compiler warnings about cached_has_bits being unused
7834
0
  (void) cached_has_bits;
7835
7836
0
  clear_filter();
7837
0
  _has_bits_.Clear();
7838
0
  _internal_metadata_.Clear();
7839
0
}
7840
7841
bool SnapshotScheduleFilterPB::MergePartialFromCodedStream(
7842
52
    ::google::protobuf::io::CodedInputStream* input) {
7843
52
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
7844
52
  ::google::protobuf::uint32 tag;
7845
  // @@protoc_insertion_point(parse_start:yb.master.SnapshotScheduleFilterPB)
7846
104
  for (;;) {
7847
104
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7848
104
    tag = p.first;
7849
104
    if (!p.second) 
goto handle_unusual52
;
7850
52
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7851
      // optional .yb.master.TableIdentifiersPB tables = 1;
7852
52
      case 1: {
7853
52
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7854
52
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7855
52
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
7856
52
               input, mutable_tables()));
7857
52
        } else {
7858
0
          goto handle_unusual;
7859
0
        }
7860
52
        break;
7861
52
      }
7862
7863
52
      default: {
7864
52
      handle_unusual:
7865
52
        if (tag == 0) {
7866
52
          goto success;
7867
52
        }
7868
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
7869
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
7870
0
        break;
7871
0
      }
7872
52
    }
7873
52
  }
7874
52
success:
7875
  // @@protoc_insertion_point(parse_success:yb.master.SnapshotScheduleFilterPB)
7876
52
  return true;
7877
0
failure:
7878
  // @@protoc_insertion_point(parse_failure:yb.master.SnapshotScheduleFilterPB)
7879
0
  return false;
7880
52
#undef DO_
7881
52
}
7882
7883
void SnapshotScheduleFilterPB::SerializeWithCachedSizes(
7884
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7885
  // @@protoc_insertion_point(serialize_start:yb.master.SnapshotScheduleFilterPB)
7886
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7887
0
  (void) cached_has_bits;
7888
7889
  // optional .yb.master.TableIdentifiersPB tables = 1;
7890
0
  if (has_tables()) {
7891
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7892
0
      1, *filter_.tables_, output);
7893
0
  }
7894
7895
0
  if (_internal_metadata_.have_unknown_fields()) {
7896
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7897
0
        _internal_metadata_.unknown_fields(), output);
7898
0
  }
7899
  // @@protoc_insertion_point(serialize_end:yb.master.SnapshotScheduleFilterPB)
7900
0
}
7901
7902
::google::protobuf::uint8* SnapshotScheduleFilterPB::InternalSerializeWithCachedSizesToArray(
7903
30
    bool deterministic, ::google::protobuf::uint8* target) const {
7904
30
  (void)deterministic; // Unused
7905
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SnapshotScheduleFilterPB)
7906
30
  ::google::protobuf::uint32 cached_has_bits = 0;
7907
30
  (void) cached_has_bits;
7908
7909
  // optional .yb.master.TableIdentifiersPB tables = 1;
7910
30
  if (has_tables()) {
7911
30
    target = ::google::protobuf::internal::WireFormatLite::
7912
30
      InternalWriteMessageToArray(
7913
30
        1, *filter_.tables_, deterministic, target);
7914
30
  }
7915
7916
30
  if (_internal_metadata_.have_unknown_fields()) {
7917
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7918
0
        _internal_metadata_.unknown_fields(), target);
7919
0
  }
7920
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SnapshotScheduleFilterPB)
7921
30
  return target;
7922
30
}
7923
7924
49
size_t SnapshotScheduleFilterPB::ByteSizeLong() const {
7925
// @@protoc_insertion_point(message_byte_size_start:yb.master.SnapshotScheduleFilterPB)
7926
49
  size_t total_size = 0;
7927
7928
49
  if (_internal_metadata_.have_unknown_fields()) {
7929
0
    total_size +=
7930
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7931
0
        _internal_metadata_.unknown_fields());
7932
0
  }
7933
49
  switch (filter_case()) {
7934
    // optional .yb.master.TableIdentifiersPB tables = 1;
7935
49
    case kTables: {
7936
49
      total_size += 1 +
7937
49
        ::google::protobuf::internal::WireFormatLite::MessageSize(
7938
49
          *filter_.tables_);
7939
49
      break;
7940
0
    }
7941
0
    case FILTER_NOT_SET: {
7942
0
      break;
7943
0
    }
7944
49
  }
7945
49
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7946
49
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7947
49
  _cached_size_ = cached_size;
7948
49
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7949
49
  return total_size;
7950
49
}
7951
7952
0
void SnapshotScheduleFilterPB::MergeFrom(const ::google::protobuf::Message& from) {
7953
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SnapshotScheduleFilterPB)
7954
0
  GOOGLE_DCHECK_NE(&from, this);
7955
0
  const SnapshotScheduleFilterPB* source =
7956
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SnapshotScheduleFilterPB>(
7957
0
          &from);
7958
0
  if (source == NULL) {
7959
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SnapshotScheduleFilterPB)
7960
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7961
0
  } else {
7962
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SnapshotScheduleFilterPB)
7963
0
    MergeFrom(*source);
7964
0
  }
7965
0
}
7966
7967
11
void SnapshotScheduleFilterPB::MergeFrom(const SnapshotScheduleFilterPB& from) {
7968
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SnapshotScheduleFilterPB)
7969
11
  GOOGLE_DCHECK_NE(&from, this);
7970
11
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7971
11
  ::google::protobuf::uint32 cached_has_bits = 0;
7972
11
  (void) cached_has_bits;
7973
7974
11
  switch (from.filter_case()) {
7975
11
    case kTables: {
7976
11
      mutable_tables()->::yb::master::TableIdentifiersPB::MergeFrom(from.tables());
7977
11
      break;
7978
0
    }
7979
0
    case FILTER_NOT_SET: {
7980
0
      break;
7981
0
    }
7982
11
  }
7983
11
}
7984
7985
0
void SnapshotScheduleFilterPB::CopyFrom(const ::google::protobuf::Message& from) {
7986
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SnapshotScheduleFilterPB)
7987
0
  if (&from == this) return;
7988
0
  Clear();
7989
0
  MergeFrom(from);
7990
0
}
7991
7992
0
void SnapshotScheduleFilterPB::CopyFrom(const SnapshotScheduleFilterPB& from) {
7993
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SnapshotScheduleFilterPB)
7994
0
  if (&from == this) return;
7995
0
  Clear();
7996
0
  MergeFrom(from);
7997
0
}
7998
7999
0
bool SnapshotScheduleFilterPB::IsInitialized() const {
8000
0
  return true;
8001
0
}
8002
8003
9
void SnapshotScheduleFilterPB::Swap(SnapshotScheduleFilterPB* other) {
8004
9
  if (other == this) return;
8005
0
  InternalSwap(other);
8006
0
}
8007
22
void SnapshotScheduleFilterPB::InternalSwap(SnapshotScheduleFilterPB* other) {
8008
22
  using std::swap;
8009
22
  swap(filter_, other->filter_);
8010
22
  swap(_oneof_case_[0], other->_oneof_case_[0]);
8011
22
  swap(_has_bits_[0], other->_has_bits_[0]);
8012
22
  _internal_metadata_.Swap(&other->_internal_metadata_);
8013
22
  swap(_cached_size_, other->_cached_size_);
8014
22
}
8015
8016
26
::google::protobuf::Metadata SnapshotScheduleFilterPB::GetMetadata() const {
8017
26
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
8018
26
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
8019
26
}
8020
8021
8022
// ===================================================================
8023
8024
26.8k
void SnapshotScheduleOptionsPB::InitAsDefaultInstance() {
8025
26.8k
  ::yb::master::_SnapshotScheduleOptionsPB_default_instance_._instance.get_mutable()->filter_ = const_cast< ::yb::master::SnapshotScheduleFilterPB*>(
8026
26.8k
      ::yb::master::SnapshotScheduleFilterPB::internal_default_instance());
8027
26.8k
}
8028
#if !defined(_MSC_VER) || _MSC_VER >= 1900
8029
const int SnapshotScheduleOptionsPB::kFilterFieldNumber;
8030
const int SnapshotScheduleOptionsPB::kIntervalSecFieldNumber;
8031
const int SnapshotScheduleOptionsPB::kRetentionDurationSecFieldNumber;
8032
const int SnapshotScheduleOptionsPB::kDeleteTimeFieldNumber;
8033
const int SnapshotScheduleOptionsPB::kRestorationTimesFieldNumber;
8034
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
8035
8036
SnapshotScheduleOptionsPB::SnapshotScheduleOptionsPB()
8037
26.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8038
26.9k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
8039
137
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSnapshotScheduleOptionsPB();
8040
137
  }
8041
26.9k
  SharedCtor();
8042
  // @@protoc_insertion_point(constructor:yb.master.SnapshotScheduleOptionsPB)
8043
26.9k
}
8044
SnapshotScheduleOptionsPB::SnapshotScheduleOptionsPB(const SnapshotScheduleOptionsPB& from)
8045
  : ::google::protobuf::Message(),
8046
      _internal_metadata_(NULL),
8047
      _has_bits_(from._has_bits_),
8048
      _cached_size_(0),
8049
41
      restoration_times_(from.restoration_times_) {
8050
41
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8051
41
  if (from.has_filter()) {
8052
41
    filter_ = new ::yb::master::SnapshotScheduleFilterPB(*from.filter_);
8053
41
  } else {
8054
0
    filter_ = NULL;
8055
0
  }
8056
41
  ::memcpy(&interval_sec_, &from.interval_sec_,
8057
41
    static_cast<size_t>(reinterpret_cast<char*>(&delete_time_) -
8058
41
    reinterpret_cast<char*>(&interval_sec_)) + sizeof(delete_time_));
8059
  // @@protoc_insertion_point(copy_constructor:yb.master.SnapshotScheduleOptionsPB)
8060
41
}
8061
8062
26.9k
void SnapshotScheduleOptionsPB::SharedCtor() {
8063
26.9k
  _cached_size_ = 0;
8064
26.9k
  ::memset(&filter_, 0, static_cast<size_t>(
8065
26.9k
      reinterpret_cast<char*>(&delete_time_) -
8066
26.9k
      reinterpret_cast<char*>(&filter_)) + sizeof(delete_time_));
8067
26.9k
}
8068
8069
154
SnapshotScheduleOptionsPB::~SnapshotScheduleOptionsPB() {
8070
  // @@protoc_insertion_point(destructor:yb.master.SnapshotScheduleOptionsPB)
8071
154
  SharedDtor();
8072
154
}
8073
8074
154
void SnapshotScheduleOptionsPB::SharedDtor() {
8075
154
  if (this != internal_default_instance()) delete filter_;
8076
154
}
8077
8078
0
void SnapshotScheduleOptionsPB::SetCachedSize(int size) const {
8079
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8080
0
  _cached_size_ = size;
8081
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8082
0
}
8083
0
const ::google::protobuf::Descriptor* SnapshotScheduleOptionsPB::descriptor() {
8084
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
8085
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
8086
0
}
8087
8088
0
const SnapshotScheduleOptionsPB& SnapshotScheduleOptionsPB::default_instance() {
8089
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSnapshotScheduleOptionsPB();
8090
0
  return *internal_default_instance();
8091
0
}
8092
8093
0
SnapshotScheduleOptionsPB* SnapshotScheduleOptionsPB::New(::google::protobuf::Arena* arena) const {
8094
0
  SnapshotScheduleOptionsPB* n = new SnapshotScheduleOptionsPB;
8095
0
  if (arena != NULL) {
8096
0
    arena->Own(n);
8097
0
  }
8098
0
  return n;
8099
0
}
8100
8101
44
void SnapshotScheduleOptionsPB::Clear() {
8102
// @@protoc_insertion_point(message_clear_start:yb.master.SnapshotScheduleOptionsPB)
8103
44
  ::google::protobuf::uint32 cached_has_bits = 0;
8104
  // Prevent compiler warnings about cached_has_bits being unused
8105
44
  (void) cached_has_bits;
8106
8107
44
  restoration_times_.Clear();
8108
44
  cached_has_bits = _has_bits_[0];
8109
44
  if (cached_has_bits & 0x00000001u) {
8110
0
    GOOGLE_DCHECK(filter_ != NULL);
8111
0
    filter_->Clear();
8112
0
  }
8113
44
  if (cached_has_bits & 14u) {
8114
0
    ::memset(&interval_sec_, 0, static_cast<size_t>(
8115
0
        reinterpret_cast<char*>(&delete_time_) -
8116
0
        reinterpret_cast<char*>(&interval_sec_)) + sizeof(delete_time_));
8117
0
  }
8118
44
  _has_bits_.Clear();
8119
44
  _internal_metadata_.Clear();
8120
44
}
8121
8122
bool SnapshotScheduleOptionsPB::MergePartialFromCodedStream(
8123
52
    ::google::protobuf::io::CodedInputStream* input) {
8124
165
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
8125
52
  ::google::protobuf::uint32 tag;
8126
  // @@protoc_insertion_point(parse_start:yb.master.SnapshotScheduleOptionsPB)
8127
217
  for (;;) {
8128
217
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8129
217
    tag = p.first;
8130
217
    if (!p.second) 
goto handle_unusual52
;
8131
165
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8132
      // optional .yb.master.SnapshotScheduleFilterPB filter = 1;
8133
52
      case 1: {
8134
52
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8135
52
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
8136
52
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8137
52
               input, mutable_filter()));
8138
52
        } else {
8139
0
          goto handle_unusual;
8140
0
        }
8141
52
        break;
8142
52
      }
8143
8144
      // optional uint64 interval_sec = 2;
8145
52
      case 2: {
8146
52
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8147
52
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
8148
52
          set_has_interval_sec();
8149
52
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8150
52
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
8151
52
                 input, &interval_sec_)));
8152
52
        } else {
8153
0
          goto handle_unusual;
8154
0
        }
8155
52
        break;
8156
52
      }
8157
8158
      // optional uint64 retention_duration_sec = 3;
8159
52
      case 3: {
8160
52
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8161
52
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
8162
52
          set_has_retention_duration_sec();
8163
52
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8164
52
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
8165
52
                 input, &retention_duration_sec_)));
8166
52
        } else {
8167
0
          goto handle_unusual;
8168
0
        }
8169
52
        break;
8170
52
      }
8171
8172
      // optional fixed64 delete_time = 4;
8173
52
      case 4: {
8174
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8175
0
            static_cast< ::google::protobuf::uint8>(33u /* 33 & 0xFF */)) {
8176
0
          set_has_delete_time();
8177
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8178
0
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
8179
0
                 input, &delete_time_)));
8180
0
        } else {
8181
0
          goto handle_unusual;
8182
0
        }
8183
0
        break;
8184
0
      }
8185
8186
      // repeated fixed64 restoration_times = 5;
8187
9
      case 5: {
8188
9
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8189
9
            static_cast< ::google::protobuf::uint8>(41u /* 41 & 0xFF */)) {
8190
9
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
8191
9
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
8192
9
                 1, 41u, input, this->mutable_restoration_times())));
8193
9
        } else if (
8194
0
            static_cast< ::google::protobuf::uint8>(tag) ==
8195
0
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
8196
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
8197
0
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
8198
0
                 input, this->mutable_restoration_times())));
8199
0
        } else {
8200
0
          goto handle_unusual;
8201
0
        }
8202
9
        break;
8203
9
      }
8204
8205
9
      default: {
8206
52
      handle_unusual:
8207
52
        if (tag == 0) {
8208
52
          goto success;
8209
52
        }
8210
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
8211
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
8212
0
        break;
8213
0
      }
8214
165
    }
8215
165
  }
8216
52
success:
8217
  // @@protoc_insertion_point(parse_success:yb.master.SnapshotScheduleOptionsPB)
8218
52
  return true;
8219
0
failure:
8220
  // @@protoc_insertion_point(parse_failure:yb.master.SnapshotScheduleOptionsPB)
8221
0
  return false;
8222
52
#undef DO_
8223
52
}
8224
8225
void SnapshotScheduleOptionsPB::SerializeWithCachedSizes(
8226
0
    ::google::protobuf::io::CodedOutputStream* output) const {
8227
  // @@protoc_insertion_point(serialize_start:yb.master.SnapshotScheduleOptionsPB)
8228
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8229
0
  (void) cached_has_bits;
8230
8231
0
  cached_has_bits = _has_bits_[0];
8232
  // optional .yb.master.SnapshotScheduleFilterPB filter = 1;
8233
0
  if (cached_has_bits & 0x00000001u) {
8234
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8235
0
      1, *this->filter_, output);
8236
0
  }
8237
8238
  // optional uint64 interval_sec = 2;
8239
0
  if (cached_has_bits & 0x00000002u) {
8240
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->interval_sec(), output);
8241
0
  }
8242
8243
  // optional uint64 retention_duration_sec = 3;
8244
0
  if (cached_has_bits & 0x00000004u) {
8245
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->retention_duration_sec(), output);
8246
0
  }
8247
8248
  // optional fixed64 delete_time = 4;
8249
0
  if (cached_has_bits & 0x00000008u) {
8250
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(4, this->delete_time(), output);
8251
0
  }
8252
8253
  // repeated fixed64 restoration_times = 5;
8254
0
  for (int i = 0, n = this->restoration_times_size(); i < n; i++) {
8255
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(
8256
0
      5, this->restoration_times(i), output);
8257
0
  }
8258
8259
0
  if (_internal_metadata_.have_unknown_fields()) {
8260
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8261
0
        _internal_metadata_.unknown_fields(), output);
8262
0
  }
8263
  // @@protoc_insertion_point(serialize_end:yb.master.SnapshotScheduleOptionsPB)
8264
0
}
8265
8266
::google::protobuf::uint8* SnapshotScheduleOptionsPB::InternalSerializeWithCachedSizesToArray(
8267
30
    bool deterministic, ::google::protobuf::uint8* target) const {
8268
30
  (void)deterministic; // Unused
8269
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SnapshotScheduleOptionsPB)
8270
30
  ::google::protobuf::uint32 cached_has_bits = 0;
8271
30
  (void) cached_has_bits;
8272
8273
30
  cached_has_bits = _has_bits_[0];
8274
  // optional .yb.master.SnapshotScheduleFilterPB filter = 1;
8275
30
  if (cached_has_bits & 0x00000001u) {
8276
30
    target = ::google::protobuf::internal::WireFormatLite::
8277
30
      InternalWriteMessageToArray(
8278
30
        1, *this->filter_, deterministic, target);
8279
30
  }
8280
8281
  // optional uint64 interval_sec = 2;
8282
30
  if (cached_has_bits & 0x00000002u) {
8283
30
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->interval_sec(), target);
8284
30
  }
8285
8286
  // optional uint64 retention_duration_sec = 3;
8287
30
  if (cached_has_bits & 0x00000004u) {
8288
30
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->retention_duration_sec(), target);
8289
30
  }
8290
8291
  // optional fixed64 delete_time = 4;
8292
30
  if (cached_has_bits & 0x00000008u) {
8293
0
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(4, this->delete_time(), target);
8294
0
  }
8295
8296
  // repeated fixed64 restoration_times = 5;
8297
30
  target = ::google::protobuf::internal::WireFormatLite::
8298
30
    WriteFixed64ToArray(5, this->restoration_times_, target);
8299
8300
30
  if (_internal_metadata_.have_unknown_fields()) {
8301
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8302
0
        _internal_metadata_.unknown_fields(), target);
8303
0
  }
8304
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SnapshotScheduleOptionsPB)
8305
30
  return target;
8306
30
}
8307
8308
49
size_t SnapshotScheduleOptionsPB::ByteSizeLong() const {
8309
// @@protoc_insertion_point(message_byte_size_start:yb.master.SnapshotScheduleOptionsPB)
8310
49
  size_t total_size = 0;
8311
8312
49
  if (_internal_metadata_.have_unknown_fields()) {
8313
0
    total_size +=
8314
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8315
0
        _internal_metadata_.unknown_fields());
8316
0
  }
8317
  // repeated fixed64 restoration_times = 5;
8318
49
  {
8319
49
    unsigned int count = static_cast<unsigned int>(this->restoration_times_size());
8320
49
    size_t data_size = 8UL * count;
8321
49
    total_size += 1 *
8322
49
                  ::google::protobuf::internal::FromIntSize(this->restoration_times_size());
8323
49
    total_size += data_size;
8324
49
  }
8325
8326
49
  if (_has_bits_[0 / 32] & 15u) {
8327
    // optional .yb.master.SnapshotScheduleFilterPB filter = 1;
8328
49
    if (has_filter()) {
8329
49
      total_size += 1 +
8330
49
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8331
49
          *this->filter_);
8332
49
    }
8333
8334
    // optional uint64 interval_sec = 2;
8335
49
    if (has_interval_sec()) {
8336
49
      total_size += 1 +
8337
49
        ::google::protobuf::internal::WireFormatLite::UInt64Size(
8338
49
          this->interval_sec());
8339
49
    }
8340
8341
    // optional uint64 retention_duration_sec = 3;
8342
49
    if (has_retention_duration_sec()) {
8343
49
      total_size += 1 +
8344
49
        ::google::protobuf::internal::WireFormatLite::UInt64Size(
8345
49
          this->retention_duration_sec());
8346
49
    }
8347
8348
    // optional fixed64 delete_time = 4;
8349
49
    if (has_delete_time()) {
8350
0
      total_size += 1 + 8;
8351
0
    }
8352
8353
49
  }
8354
49
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8355
49
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8356
49
  _cached_size_ = cached_size;
8357
49
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8358
49
  return total_size;
8359
49
}
8360
8361
0
void SnapshotScheduleOptionsPB::MergeFrom(const ::google::protobuf::Message& from) {
8362
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SnapshotScheduleOptionsPB)
8363
0
  GOOGLE_DCHECK_NE(&from, this);
8364
0
  const SnapshotScheduleOptionsPB* source =
8365
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SnapshotScheduleOptionsPB>(
8366
0
          &from);
8367
0
  if (source == NULL) {
8368
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SnapshotScheduleOptionsPB)
8369
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8370
0
  } else {
8371
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SnapshotScheduleOptionsPB)
8372
0
    MergeFrom(*source);
8373
0
  }
8374
0
}
8375
8376
11
void SnapshotScheduleOptionsPB::MergeFrom(const SnapshotScheduleOptionsPB& from) {
8377
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SnapshotScheduleOptionsPB)
8378
11
  GOOGLE_DCHECK_NE(&from, this);
8379
11
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8380
11
  ::google::protobuf::uint32 cached_has_bits = 0;
8381
11
  (void) cached_has_bits;
8382
8383
11
  restoration_times_.MergeFrom(from.restoration_times_);
8384
11
  cached_has_bits = from._has_bits_[0];
8385
11
  if (cached_has_bits & 15u) {
8386
11
    if (cached_has_bits & 0x00000001u) {
8387
11
      mutable_filter()->::yb::master::SnapshotScheduleFilterPB::MergeFrom(from.filter());
8388
11
    }
8389
11
    if (cached_has_bits & 0x00000002u) {
8390
11
      interval_sec_ = from.interval_sec_;
8391
11
    }
8392
11
    if (cached_has_bits & 0x00000004u) {
8393
11
      retention_duration_sec_ = from.retention_duration_sec_;
8394
11
    }
8395
11
    if (cached_has_bits & 0x00000008u) {
8396
0
      delete_time_ = from.delete_time_;
8397
0
    }
8398
11
    _has_bits_[0] |= cached_has_bits;
8399
11
  }
8400
11
}
8401
8402
0
void SnapshotScheduleOptionsPB::CopyFrom(const ::google::protobuf::Message& from) {
8403
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SnapshotScheduleOptionsPB)
8404
0
  if (&from == this) return;
8405
0
  Clear();
8406
0
  MergeFrom(from);
8407
0
}
8408
8409
11
void SnapshotScheduleOptionsPB::CopyFrom(const SnapshotScheduleOptionsPB& from) {
8410
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SnapshotScheduleOptionsPB)
8411
11
  if (&from == this) 
return0
;
8412
11
  Clear();
8413
11
  MergeFrom(from);
8414
11
}
8415
8416
33
bool SnapshotScheduleOptionsPB::IsInitialized() const {
8417
33
  return true;
8418
33
}
8419
8420
0
void SnapshotScheduleOptionsPB::Swap(SnapshotScheduleOptionsPB* other) {
8421
0
  if (other == this) return;
8422
0
  InternalSwap(other);
8423
0
}
8424
66
void SnapshotScheduleOptionsPB::InternalSwap(SnapshotScheduleOptionsPB* other) {
8425
66
  using std::swap;
8426
66
  restoration_times_.InternalSwap(&other->restoration_times_);
8427
66
  swap(filter_, other->filter_);
8428
66
  swap(interval_sec_, other->interval_sec_);
8429
66
  swap(retention_duration_sec_, other->retention_duration_sec_);
8430
66
  swap(delete_time_, other->delete_time_);
8431
66
  swap(_has_bits_[0], other->_has_bits_[0]);
8432
66
  _internal_metadata_.Swap(&other->_internal_metadata_);
8433
66
  swap(_cached_size_, other->_cached_size_);
8434
66
}
8435
8436
26
::google::protobuf::Metadata SnapshotScheduleOptionsPB::GetMetadata() const {
8437
26
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
8438
26
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
8439
26
}
8440
8441
8442
// ===================================================================
8443
8444
26.8k
void CreateSnapshotScheduleRequestPB::InitAsDefaultInstance() {
8445
26.8k
  ::yb::master::_CreateSnapshotScheduleRequestPB_default_instance_._instance.get_mutable()->options_ = const_cast< ::yb::master::SnapshotScheduleOptionsPB*>(
8446
26.8k
      ::yb::master::SnapshotScheduleOptionsPB::internal_default_instance());
8447
26.8k
}
8448
#if !defined(_MSC_VER) || _MSC_VER >= 1900
8449
const int CreateSnapshotScheduleRequestPB::kOptionsFieldNumber;
8450
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
8451
8452
CreateSnapshotScheduleRequestPB::CreateSnapshotScheduleRequestPB()
8453
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8454
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
8455
16
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsCreateSnapshotScheduleRequestPB();
8456
16
  }
8457
26.8k
  SharedCtor();
8458
  // @@protoc_insertion_point(constructor:yb.master.CreateSnapshotScheduleRequestPB)
8459
26.8k
}
8460
CreateSnapshotScheduleRequestPB::CreateSnapshotScheduleRequestPB(const CreateSnapshotScheduleRequestPB& from)
8461
  : ::google::protobuf::Message(),
8462
      _internal_metadata_(NULL),
8463
      _has_bits_(from._has_bits_),
8464
0
      _cached_size_(0) {
8465
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8466
0
  if (from.has_options()) {
8467
0
    options_ = new ::yb::master::SnapshotScheduleOptionsPB(*from.options_);
8468
0
  } else {
8469
0
    options_ = NULL;
8470
0
  }
8471
  // @@protoc_insertion_point(copy_constructor:yb.master.CreateSnapshotScheduleRequestPB)
8472
0
}
8473
8474
26.8k
void CreateSnapshotScheduleRequestPB::SharedCtor() {
8475
26.8k
  _cached_size_ = 0;
8476
26.8k
  options_ = NULL;
8477
26.8k
}
8478
8479
16
CreateSnapshotScheduleRequestPB::~CreateSnapshotScheduleRequestPB() {
8480
  // @@protoc_insertion_point(destructor:yb.master.CreateSnapshotScheduleRequestPB)
8481
16
  SharedDtor();
8482
16
}
8483
8484
16
void CreateSnapshotScheduleRequestPB::SharedDtor() {
8485
16
  if (this != internal_default_instance()) delete options_;
8486
16
}
8487
8488
0
void CreateSnapshotScheduleRequestPB::SetCachedSize(int size) const {
8489
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8490
0
  _cached_size_ = size;
8491
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8492
0
}
8493
0
const ::google::protobuf::Descriptor* CreateSnapshotScheduleRequestPB::descriptor() {
8494
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
8495
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
8496
0
}
8497
8498
0
const CreateSnapshotScheduleRequestPB& CreateSnapshotScheduleRequestPB::default_instance() {
8499
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsCreateSnapshotScheduleRequestPB();
8500
0
  return *internal_default_instance();
8501
0
}
8502
8503
0
CreateSnapshotScheduleRequestPB* CreateSnapshotScheduleRequestPB::New(::google::protobuf::Arena* arena) const {
8504
0
  CreateSnapshotScheduleRequestPB* n = new CreateSnapshotScheduleRequestPB;
8505
0
  if (arena != NULL) {
8506
0
    arena->Own(n);
8507
0
  }
8508
0
  return n;
8509
0
}
8510
8511
8
void CreateSnapshotScheduleRequestPB::Clear() {
8512
// @@protoc_insertion_point(message_clear_start:yb.master.CreateSnapshotScheduleRequestPB)
8513
8
  ::google::protobuf::uint32 cached_has_bits = 0;
8514
  // Prevent compiler warnings about cached_has_bits being unused
8515
8
  (void) cached_has_bits;
8516
8517
8
  cached_has_bits = _has_bits_[0];
8518
8
  if (cached_has_bits & 0x00000001u) {
8519
0
    GOOGLE_DCHECK(options_ != NULL);
8520
0
    options_->Clear();
8521
0
  }
8522
8
  _has_bits_.Clear();
8523
8
  _internal_metadata_.Clear();
8524
8
}
8525
8526
bool CreateSnapshotScheduleRequestPB::MergePartialFromCodedStream(
8527
8
    ::google::protobuf::io::CodedInputStream* input) {
8528
8
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
8529
8
  ::google::protobuf::uint32 tag;
8530
  // @@protoc_insertion_point(parse_start:yb.master.CreateSnapshotScheduleRequestPB)
8531
16
  for (;;) {
8532
16
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8533
16
    tag = p.first;
8534
16
    if (!p.second) 
goto handle_unusual8
;
8535
8
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8536
      // optional .yb.master.SnapshotScheduleOptionsPB options = 1;
8537
8
      case 1: {
8538
8
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8539
8
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
8540
8
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8541
8
               input, mutable_options()));
8542
8
        } else {
8543
0
          goto handle_unusual;
8544
0
        }
8545
8
        break;
8546
8
      }
8547
8548
8
      default: {
8549
8
      handle_unusual:
8550
8
        if (tag == 0) {
8551
8
          goto success;
8552
8
        }
8553
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
8554
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
8555
0
        break;
8556
0
      }
8557
8
    }
8558
8
  }
8559
8
success:
8560
  // @@protoc_insertion_point(parse_success:yb.master.CreateSnapshotScheduleRequestPB)
8561
8
  return true;
8562
0
failure:
8563
  // @@protoc_insertion_point(parse_failure:yb.master.CreateSnapshotScheduleRequestPB)
8564
0
  return false;
8565
8
#undef DO_
8566
8
}
8567
8568
void CreateSnapshotScheduleRequestPB::SerializeWithCachedSizes(
8569
0
    ::google::protobuf::io::CodedOutputStream* output) const {
8570
  // @@protoc_insertion_point(serialize_start:yb.master.CreateSnapshotScheduleRequestPB)
8571
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8572
0
  (void) cached_has_bits;
8573
8574
0
  cached_has_bits = _has_bits_[0];
8575
  // optional .yb.master.SnapshotScheduleOptionsPB options = 1;
8576
0
  if (cached_has_bits & 0x00000001u) {
8577
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8578
0
      1, *this->options_, output);
8579
0
  }
8580
8581
0
  if (_internal_metadata_.have_unknown_fields()) {
8582
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8583
0
        _internal_metadata_.unknown_fields(), output);
8584
0
  }
8585
  // @@protoc_insertion_point(serialize_end:yb.master.CreateSnapshotScheduleRequestPB)
8586
0
}
8587
8588
::google::protobuf::uint8* CreateSnapshotScheduleRequestPB::InternalSerializeWithCachedSizesToArray(
8589
8
    bool deterministic, ::google::protobuf::uint8* target) const {
8590
8
  (void)deterministic; // Unused
8591
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.CreateSnapshotScheduleRequestPB)
8592
8
  ::google::protobuf::uint32 cached_has_bits = 0;
8593
8
  (void) cached_has_bits;
8594
8595
8
  cached_has_bits = _has_bits_[0];
8596
  // optional .yb.master.SnapshotScheduleOptionsPB options = 1;
8597
8
  if (cached_has_bits & 0x00000001u) {
8598
8
    target = ::google::protobuf::internal::WireFormatLite::
8599
8
      InternalWriteMessageToArray(
8600
8
        1, *this->options_, deterministic, target);
8601
8
  }
8602
8603
8
  if (_internal_metadata_.have_unknown_fields()) {
8604
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8605
0
        _internal_metadata_.unknown_fields(), target);
8606
0
  }
8607
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.CreateSnapshotScheduleRequestPB)
8608
8
  return target;
8609
8
}
8610
8611
16
size_t CreateSnapshotScheduleRequestPB::ByteSizeLong() const {
8612
// @@protoc_insertion_point(message_byte_size_start:yb.master.CreateSnapshotScheduleRequestPB)
8613
16
  size_t total_size = 0;
8614
8615
16
  if (_internal_metadata_.have_unknown_fields()) {
8616
0
    total_size +=
8617
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8618
0
        _internal_metadata_.unknown_fields());
8619
0
  }
8620
  // optional .yb.master.SnapshotScheduleOptionsPB options = 1;
8621
16
  if (has_options()) {
8622
16
    total_size += 1 +
8623
16
      ::google::protobuf::internal::WireFormatLite::MessageSize(
8624
16
        *this->options_);
8625
16
  }
8626
8627
16
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8628
16
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8629
16
  _cached_size_ = cached_size;
8630
16
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8631
16
  return total_size;
8632
16
}
8633
8634
0
void CreateSnapshotScheduleRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
8635
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.CreateSnapshotScheduleRequestPB)
8636
0
  GOOGLE_DCHECK_NE(&from, this);
8637
0
  const CreateSnapshotScheduleRequestPB* source =
8638
0
      ::google::protobuf::internal::DynamicCastToGenerated<const CreateSnapshotScheduleRequestPB>(
8639
0
          &from);
8640
0
  if (source == NULL) {
8641
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.CreateSnapshotScheduleRequestPB)
8642
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8643
0
  } else {
8644
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.CreateSnapshotScheduleRequestPB)
8645
0
    MergeFrom(*source);
8646
0
  }
8647
0
}
8648
8649
0
void CreateSnapshotScheduleRequestPB::MergeFrom(const CreateSnapshotScheduleRequestPB& from) {
8650
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.CreateSnapshotScheduleRequestPB)
8651
0
  GOOGLE_DCHECK_NE(&from, this);
8652
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8653
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8654
0
  (void) cached_has_bits;
8655
8656
0
  if (from.has_options()) {
8657
0
    mutable_options()->::yb::master::SnapshotScheduleOptionsPB::MergeFrom(from.options());
8658
0
  }
8659
0
}
8660
8661
0
void CreateSnapshotScheduleRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
8662
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.CreateSnapshotScheduleRequestPB)
8663
0
  if (&from == this) return;
8664
0
  Clear();
8665
0
  MergeFrom(from);
8666
0
}
8667
8668
0
void CreateSnapshotScheduleRequestPB::CopyFrom(const CreateSnapshotScheduleRequestPB& from) {
8669
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.CreateSnapshotScheduleRequestPB)
8670
0
  if (&from == this) return;
8671
0
  Clear();
8672
0
  MergeFrom(from);
8673
0
}
8674
8675
16
bool CreateSnapshotScheduleRequestPB::IsInitialized() const {
8676
16
  return true;
8677
16
}
8678
8679
0
void CreateSnapshotScheduleRequestPB::Swap(CreateSnapshotScheduleRequestPB* other) {
8680
0
  if (other == this) return;
8681
0
  InternalSwap(other);
8682
0
}
8683
0
void CreateSnapshotScheduleRequestPB::InternalSwap(CreateSnapshotScheduleRequestPB* other) {
8684
0
  using std::swap;
8685
0
  swap(options_, other->options_);
8686
0
  swap(_has_bits_[0], other->_has_bits_[0]);
8687
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
8688
0
  swap(_cached_size_, other->_cached_size_);
8689
0
}
8690
8691
8
::google::protobuf::Metadata CreateSnapshotScheduleRequestPB::GetMetadata() const {
8692
8
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
8693
8
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
8694
8
}
8695
8696
8697
// ===================================================================
8698
8699
26.8k
void CreateSnapshotScheduleResponsePB::InitAsDefaultInstance() {
8700
26.8k
  ::yb::master::_CreateSnapshotScheduleResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
8701
26.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
8702
26.8k
}
8703
0
void CreateSnapshotScheduleResponsePB::clear_error() {
8704
0
  if (error_ != NULL) error_->Clear();
8705
0
  clear_has_error();
8706
0
}
8707
#if !defined(_MSC_VER) || _MSC_VER >= 1900
8708
const int CreateSnapshotScheduleResponsePB::kErrorFieldNumber;
8709
const int CreateSnapshotScheduleResponsePB::kSnapshotScheduleIdFieldNumber;
8710
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
8711
8712
CreateSnapshotScheduleResponsePB::CreateSnapshotScheduleResponsePB()
8713
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8714
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
8715
16
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsCreateSnapshotScheduleResponsePB();
8716
16
  }
8717
26.8k
  SharedCtor();
8718
  // @@protoc_insertion_point(constructor:yb.master.CreateSnapshotScheduleResponsePB)
8719
26.8k
}
8720
CreateSnapshotScheduleResponsePB::CreateSnapshotScheduleResponsePB(const CreateSnapshotScheduleResponsePB& from)
8721
  : ::google::protobuf::Message(),
8722
      _internal_metadata_(NULL),
8723
      _has_bits_(from._has_bits_),
8724
0
      _cached_size_(0) {
8725
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8726
0
  snapshot_schedule_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8727
0
  if (from.has_snapshot_schedule_id()) {
8728
0
    snapshot_schedule_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_schedule_id_);
8729
0
  }
8730
0
  if (from.has_error()) {
8731
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
8732
0
  } else {
8733
0
    error_ = NULL;
8734
0
  }
8735
  // @@protoc_insertion_point(copy_constructor:yb.master.CreateSnapshotScheduleResponsePB)
8736
0
}
8737
8738
26.8k
void CreateSnapshotScheduleResponsePB::SharedCtor() {
8739
26.8k
  _cached_size_ = 0;
8740
26.8k
  snapshot_schedule_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8741
26.8k
  error_ = NULL;
8742
26.8k
}
8743
8744
16
CreateSnapshotScheduleResponsePB::~CreateSnapshotScheduleResponsePB() {
8745
  // @@protoc_insertion_point(destructor:yb.master.CreateSnapshotScheduleResponsePB)
8746
16
  SharedDtor();
8747
16
}
8748
8749
16
void CreateSnapshotScheduleResponsePB::SharedDtor() {
8750
16
  snapshot_schedule_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8751
16
  if (this != internal_default_instance()) delete error_;
8752
16
}
8753
8754
0
void CreateSnapshotScheduleResponsePB::SetCachedSize(int size) const {
8755
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8756
0
  _cached_size_ = size;
8757
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8758
0
}
8759
0
const ::google::protobuf::Descriptor* CreateSnapshotScheduleResponsePB::descriptor() {
8760
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
8761
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
8762
0
}
8763
8764
0
const CreateSnapshotScheduleResponsePB& CreateSnapshotScheduleResponsePB::default_instance() {
8765
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsCreateSnapshotScheduleResponsePB();
8766
0
  return *internal_default_instance();
8767
0
}
8768
8769
0
CreateSnapshotScheduleResponsePB* CreateSnapshotScheduleResponsePB::New(::google::protobuf::Arena* arena) const {
8770
0
  CreateSnapshotScheduleResponsePB* n = new CreateSnapshotScheduleResponsePB;
8771
0
  if (arena != NULL) {
8772
0
    arena->Own(n);
8773
0
  }
8774
0
  return n;
8775
0
}
8776
8777
16
void CreateSnapshotScheduleResponsePB::Clear() {
8778
// @@protoc_insertion_point(message_clear_start:yb.master.CreateSnapshotScheduleResponsePB)
8779
16
  ::google::protobuf::uint32 cached_has_bits = 0;
8780
  // Prevent compiler warnings about cached_has_bits being unused
8781
16
  (void) cached_has_bits;
8782
8783
16
  cached_has_bits = _has_bits_[0];
8784
16
  if (cached_has_bits & 3u) {
8785
0
    if (cached_has_bits & 0x00000001u) {
8786
0
      GOOGLE_DCHECK(!snapshot_schedule_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
8787
0
      (*snapshot_schedule_id_.UnsafeRawStringPointer())->clear();
8788
0
    }
8789
0
    if (cached_has_bits & 0x00000002u) {
8790
0
      GOOGLE_DCHECK(error_ != NULL);
8791
0
      error_->Clear();
8792
0
    }
8793
0
  }
8794
16
  _has_bits_.Clear();
8795
16
  _internal_metadata_.Clear();
8796
16
}
8797
8798
bool CreateSnapshotScheduleResponsePB::MergePartialFromCodedStream(
8799
8
    ::google::protobuf::io::CodedInputStream* input) {
8800
8
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
8801
8
  ::google::protobuf::uint32 tag;
8802
  // @@protoc_insertion_point(parse_start:yb.master.CreateSnapshotScheduleResponsePB)
8803
16
  for (;;) {
8804
16
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8805
16
    tag = p.first;
8806
16
    if (!p.second) 
goto handle_unusual8
;
8807
8
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8808
      // optional .yb.master.MasterErrorPB error = 1;
8809
0
      case 1: {
8810
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8811
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
8812
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8813
0
               input, mutable_error()));
8814
0
        } else {
8815
0
          goto handle_unusual;
8816
0
        }
8817
0
        break;
8818
0
      }
8819
8820
      // optional bytes snapshot_schedule_id = 2;
8821
8
      case 2: {
8822
8
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8823
8
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
8824
8
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
8825
8
                input, this->mutable_snapshot_schedule_id()));
8826
8
        } else {
8827
0
          goto handle_unusual;
8828
0
        }
8829
8
        break;
8830
8
      }
8831
8832
8
      default: {
8833
8
      handle_unusual:
8834
8
        if (tag == 0) {
8835
8
          goto success;
8836
8
        }
8837
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
8838
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
8839
0
        break;
8840
0
      }
8841
8
    }
8842
8
  }
8843
8
success:
8844
  // @@protoc_insertion_point(parse_success:yb.master.CreateSnapshotScheduleResponsePB)
8845
8
  return true;
8846
0
failure:
8847
  // @@protoc_insertion_point(parse_failure:yb.master.CreateSnapshotScheduleResponsePB)
8848
0
  return false;
8849
8
#undef DO_
8850
8
}
8851
8852
void CreateSnapshotScheduleResponsePB::SerializeWithCachedSizes(
8853
0
    ::google::protobuf::io::CodedOutputStream* output) const {
8854
  // @@protoc_insertion_point(serialize_start:yb.master.CreateSnapshotScheduleResponsePB)
8855
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8856
0
  (void) cached_has_bits;
8857
8858
0
  cached_has_bits = _has_bits_[0];
8859
  // optional .yb.master.MasterErrorPB error = 1;
8860
0
  if (cached_has_bits & 0x00000002u) {
8861
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8862
0
      1, *this->error_, output);
8863
0
  }
8864
8865
  // optional bytes snapshot_schedule_id = 2;
8866
0
  if (cached_has_bits & 0x00000001u) {
8867
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
8868
0
      2, this->snapshot_schedule_id(), output);
8869
0
  }
8870
8871
0
  if (_internal_metadata_.have_unknown_fields()) {
8872
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8873
0
        _internal_metadata_.unknown_fields(), output);
8874
0
  }
8875
  // @@protoc_insertion_point(serialize_end:yb.master.CreateSnapshotScheduleResponsePB)
8876
0
}
8877
8878
::google::protobuf::uint8* CreateSnapshotScheduleResponsePB::InternalSerializeWithCachedSizesToArray(
8879
8
    bool deterministic, ::google::protobuf::uint8* target) const {
8880
8
  (void)deterministic; // Unused
8881
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.CreateSnapshotScheduleResponsePB)
8882
8
  ::google::protobuf::uint32 cached_has_bits = 0;
8883
8
  (void) cached_has_bits;
8884
8885
8
  cached_has_bits = _has_bits_[0];
8886
  // optional .yb.master.MasterErrorPB error = 1;
8887
8
  if (cached_has_bits & 0x00000002u) {
8888
0
    target = ::google::protobuf::internal::WireFormatLite::
8889
0
      InternalWriteMessageToArray(
8890
0
        1, *this->error_, deterministic, target);
8891
0
  }
8892
8893
  // optional bytes snapshot_schedule_id = 2;
8894
8
  if (cached_has_bits & 0x00000001u) {
8895
8
    target =
8896
8
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
8897
8
        2, this->snapshot_schedule_id(), target);
8898
8
  }
8899
8900
8
  if (_internal_metadata_.have_unknown_fields()) {
8901
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8902
0
        _internal_metadata_.unknown_fields(), target);
8903
0
  }
8904
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.CreateSnapshotScheduleResponsePB)
8905
8
  return target;
8906
8
}
8907
8908
16
size_t CreateSnapshotScheduleResponsePB::ByteSizeLong() const {
8909
// @@protoc_insertion_point(message_byte_size_start:yb.master.CreateSnapshotScheduleResponsePB)
8910
16
  size_t total_size = 0;
8911
8912
16
  if (_internal_metadata_.have_unknown_fields()) {
8913
0
    total_size +=
8914
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8915
0
        _internal_metadata_.unknown_fields());
8916
0
  }
8917
16
  if (_has_bits_[0 / 32] & 3u) {
8918
    // optional bytes snapshot_schedule_id = 2;
8919
16
    if (has_snapshot_schedule_id()) {
8920
16
      total_size += 1 +
8921
16
        ::google::protobuf::internal::WireFormatLite::BytesSize(
8922
16
          this->snapshot_schedule_id());
8923
16
    }
8924
8925
    // optional .yb.master.MasterErrorPB error = 1;
8926
16
    if (has_error()) {
8927
0
      total_size += 1 +
8928
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8929
0
          *this->error_);
8930
0
    }
8931
8932
16
  }
8933
16
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8934
16
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8935
16
  _cached_size_ = cached_size;
8936
16
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8937
16
  return total_size;
8938
16
}
8939
8940
0
void CreateSnapshotScheduleResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
8941
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.CreateSnapshotScheduleResponsePB)
8942
0
  GOOGLE_DCHECK_NE(&from, this);
8943
0
  const CreateSnapshotScheduleResponsePB* source =
8944
0
      ::google::protobuf::internal::DynamicCastToGenerated<const CreateSnapshotScheduleResponsePB>(
8945
0
          &from);
8946
0
  if (source == NULL) {
8947
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.CreateSnapshotScheduleResponsePB)
8948
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8949
0
  } else {
8950
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.CreateSnapshotScheduleResponsePB)
8951
0
    MergeFrom(*source);
8952
0
  }
8953
0
}
8954
8955
0
void CreateSnapshotScheduleResponsePB::MergeFrom(const CreateSnapshotScheduleResponsePB& from) {
8956
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.CreateSnapshotScheduleResponsePB)
8957
0
  GOOGLE_DCHECK_NE(&from, this);
8958
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8959
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8960
0
  (void) cached_has_bits;
8961
8962
0
  cached_has_bits = from._has_bits_[0];
8963
0
  if (cached_has_bits & 3u) {
8964
0
    if (cached_has_bits & 0x00000001u) {
8965
0
      set_has_snapshot_schedule_id();
8966
0
      snapshot_schedule_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_schedule_id_);
8967
0
    }
8968
0
    if (cached_has_bits & 0x00000002u) {
8969
0
      mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
8970
0
    }
8971
0
  }
8972
0
}
8973
8974
0
void CreateSnapshotScheduleResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
8975
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.CreateSnapshotScheduleResponsePB)
8976
0
  if (&from == this) return;
8977
0
  Clear();
8978
0
  MergeFrom(from);
8979
0
}
8980
8981
0
void CreateSnapshotScheduleResponsePB::CopyFrom(const CreateSnapshotScheduleResponsePB& from) {
8982
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.CreateSnapshotScheduleResponsePB)
8983
0
  if (&from == this) return;
8984
0
  Clear();
8985
0
  MergeFrom(from);
8986
0
}
8987
8988
16
bool CreateSnapshotScheduleResponsePB::IsInitialized() const {
8989
16
  if (has_error()) {
8990
0
    if (!this->error_->IsInitialized()) return false;
8991
0
  }
8992
16
  return true;
8993
16
}
8994
8995
0
void CreateSnapshotScheduleResponsePB::Swap(CreateSnapshotScheduleResponsePB* other) {
8996
0
  if (other == this) return;
8997
0
  InternalSwap(other);
8998
0
}
8999
0
void CreateSnapshotScheduleResponsePB::InternalSwap(CreateSnapshotScheduleResponsePB* other) {
9000
0
  using std::swap;
9001
0
  snapshot_schedule_id_.Swap(&other->snapshot_schedule_id_);
9002
0
  swap(error_, other->error_);
9003
0
  swap(_has_bits_[0], other->_has_bits_[0]);
9004
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
9005
0
  swap(_cached_size_, other->_cached_size_);
9006
0
}
9007
9008
0
::google::protobuf::Metadata CreateSnapshotScheduleResponsePB::GetMetadata() const {
9009
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
9010
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
9011
0
}
9012
9013
9014
// ===================================================================
9015
9016
26.8k
void ListSnapshotSchedulesRequestPB::InitAsDefaultInstance() {
9017
26.8k
}
9018
#if !defined(_MSC_VER) || _MSC_VER >= 1900
9019
const int ListSnapshotSchedulesRequestPB::kSnapshotScheduleIdFieldNumber;
9020
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
9021
9022
ListSnapshotSchedulesRequestPB::ListSnapshotSchedulesRequestPB()
9023
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9024
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
9025
22
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsListSnapshotSchedulesRequestPB();
9026
22
  }
9027
26.8k
  SharedCtor();
9028
  // @@protoc_insertion_point(constructor:yb.master.ListSnapshotSchedulesRequestPB)
9029
26.8k
}
9030
ListSnapshotSchedulesRequestPB::ListSnapshotSchedulesRequestPB(const ListSnapshotSchedulesRequestPB& from)
9031
  : ::google::protobuf::Message(),
9032
      _internal_metadata_(NULL),
9033
      _has_bits_(from._has_bits_),
9034
0
      _cached_size_(0) {
9035
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9036
0
  snapshot_schedule_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9037
0
  if (from.has_snapshot_schedule_id()) {
9038
0
    snapshot_schedule_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_schedule_id_);
9039
0
  }
9040
  // @@protoc_insertion_point(copy_constructor:yb.master.ListSnapshotSchedulesRequestPB)
9041
0
}
9042
9043
26.8k
void ListSnapshotSchedulesRequestPB::SharedCtor() {
9044
26.8k
  _cached_size_ = 0;
9045
26.8k
  snapshot_schedule_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9046
26.8k
}
9047
9048
22
ListSnapshotSchedulesRequestPB::~ListSnapshotSchedulesRequestPB() {
9049
  // @@protoc_insertion_point(destructor:yb.master.ListSnapshotSchedulesRequestPB)
9050
22
  SharedDtor();
9051
22
}
9052
9053
22
void ListSnapshotSchedulesRequestPB::SharedDtor() {
9054
22
  snapshot_schedule_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9055
22
}
9056
9057
0
void ListSnapshotSchedulesRequestPB::SetCachedSize(int size) const {
9058
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9059
0
  _cached_size_ = size;
9060
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9061
0
}
9062
0
const ::google::protobuf::Descriptor* ListSnapshotSchedulesRequestPB::descriptor() {
9063
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
9064
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9065
0
}
9066
9067
0
const ListSnapshotSchedulesRequestPB& ListSnapshotSchedulesRequestPB::default_instance() {
9068
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsListSnapshotSchedulesRequestPB();
9069
0
  return *internal_default_instance();
9070
0
}
9071
9072
0
ListSnapshotSchedulesRequestPB* ListSnapshotSchedulesRequestPB::New(::google::protobuf::Arena* arena) const {
9073
0
  ListSnapshotSchedulesRequestPB* n = new ListSnapshotSchedulesRequestPB;
9074
0
  if (arena != NULL) {
9075
0
    arena->Own(n);
9076
0
  }
9077
0
  return n;
9078
0
}
9079
9080
11
void ListSnapshotSchedulesRequestPB::Clear() {
9081
// @@protoc_insertion_point(message_clear_start:yb.master.ListSnapshotSchedulesRequestPB)
9082
11
  ::google::protobuf::uint32 cached_has_bits = 0;
9083
  // Prevent compiler warnings about cached_has_bits being unused
9084
11
  (void) cached_has_bits;
9085
9086
11
  cached_has_bits = _has_bits_[0];
9087
11
  if (cached_has_bits & 0x00000001u) {
9088
0
    GOOGLE_DCHECK(!snapshot_schedule_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
9089
0
    (*snapshot_schedule_id_.UnsafeRawStringPointer())->clear();
9090
0
  }
9091
11
  _has_bits_.Clear();
9092
11
  _internal_metadata_.Clear();
9093
11
}
9094
9095
bool ListSnapshotSchedulesRequestPB::MergePartialFromCodedStream(
9096
11
    ::google::protobuf::io::CodedInputStream* input) {
9097
11
#define DO_(EXPRESSION) 
if (10
!GOOGLE_PREDICT_TRUE10
(EXPRESSION))
goto failure0
9098
11
  ::google::protobuf::uint32 tag;
9099
  // @@protoc_insertion_point(parse_start:yb.master.ListSnapshotSchedulesRequestPB)
9100
21
  for (;;) {
9101
21
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9102
21
    tag = p.first;
9103
21
    if (!p.second) 
goto handle_unusual11
;
9104
10
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9105
      // optional bytes snapshot_schedule_id = 1;
9106
10
      case 1: {
9107
10
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9108
10
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
9109
10
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
9110
10
                input, this->mutable_snapshot_schedule_id()));
9111
10
        } else {
9112
0
          goto handle_unusual;
9113
0
        }
9114
10
        break;
9115
10
      }
9116
9117
10
      default: {
9118
11
      handle_unusual:
9119
11
        if (tag == 0) {
9120
11
          goto success;
9121
11
        }
9122
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
9123
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
9124
0
        break;
9125
0
      }
9126
10
    }
9127
10
  }
9128
11
success:
9129
  // @@protoc_insertion_point(parse_success:yb.master.ListSnapshotSchedulesRequestPB)
9130
11
  return true;
9131
0
failure:
9132
  // @@protoc_insertion_point(parse_failure:yb.master.ListSnapshotSchedulesRequestPB)
9133
0
  return false;
9134
11
#undef DO_
9135
11
}
9136
9137
void ListSnapshotSchedulesRequestPB::SerializeWithCachedSizes(
9138
0
    ::google::protobuf::io::CodedOutputStream* output) const {
9139
  // @@protoc_insertion_point(serialize_start:yb.master.ListSnapshotSchedulesRequestPB)
9140
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9141
0
  (void) cached_has_bits;
9142
9143
0
  cached_has_bits = _has_bits_[0];
9144
  // optional bytes snapshot_schedule_id = 1;
9145
0
  if (cached_has_bits & 0x00000001u) {
9146
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
9147
0
      1, this->snapshot_schedule_id(), output);
9148
0
  }
9149
9150
0
  if (_internal_metadata_.have_unknown_fields()) {
9151
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9152
0
        _internal_metadata_.unknown_fields(), output);
9153
0
  }
9154
  // @@protoc_insertion_point(serialize_end:yb.master.ListSnapshotSchedulesRequestPB)
9155
0
}
9156
9157
::google::protobuf::uint8* ListSnapshotSchedulesRequestPB::InternalSerializeWithCachedSizesToArray(
9158
11
    bool deterministic, ::google::protobuf::uint8* target) const {
9159
11
  (void)deterministic; // Unused
9160
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListSnapshotSchedulesRequestPB)
9161
11
  ::google::protobuf::uint32 cached_has_bits = 0;
9162
11
  (void) cached_has_bits;
9163
9164
11
  cached_has_bits = _has_bits_[0];
9165
  // optional bytes snapshot_schedule_id = 1;
9166
11
  if (cached_has_bits & 0x00000001u) {
9167
10
    target =
9168
10
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
9169
10
        1, this->snapshot_schedule_id(), target);
9170
10
  }
9171
9172
11
  if (_internal_metadata_.have_unknown_fields()) {
9173
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9174
0
        _internal_metadata_.unknown_fields(), target);
9175
0
  }
9176
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListSnapshotSchedulesRequestPB)
9177
11
  return target;
9178
11
}
9179
9180
22
size_t ListSnapshotSchedulesRequestPB::ByteSizeLong() const {
9181
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListSnapshotSchedulesRequestPB)
9182
22
  size_t total_size = 0;
9183
9184
22
  if (_internal_metadata_.have_unknown_fields()) {
9185
0
    total_size +=
9186
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9187
0
        _internal_metadata_.unknown_fields());
9188
0
  }
9189
  // optional bytes snapshot_schedule_id = 1;
9190
22
  if (has_snapshot_schedule_id()) {
9191
20
    total_size += 1 +
9192
20
      ::google::protobuf::internal::WireFormatLite::BytesSize(
9193
20
        this->snapshot_schedule_id());
9194
20
  }
9195
9196
22
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9197
22
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9198
22
  _cached_size_ = cached_size;
9199
22
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9200
22
  return total_size;
9201
22
}
9202
9203
0
void ListSnapshotSchedulesRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
9204
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListSnapshotSchedulesRequestPB)
9205
0
  GOOGLE_DCHECK_NE(&from, this);
9206
0
  const ListSnapshotSchedulesRequestPB* source =
9207
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListSnapshotSchedulesRequestPB>(
9208
0
          &from);
9209
0
  if (source == NULL) {
9210
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListSnapshotSchedulesRequestPB)
9211
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9212
0
  } else {
9213
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListSnapshotSchedulesRequestPB)
9214
0
    MergeFrom(*source);
9215
0
  }
9216
0
}
9217
9218
0
void ListSnapshotSchedulesRequestPB::MergeFrom(const ListSnapshotSchedulesRequestPB& from) {
9219
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListSnapshotSchedulesRequestPB)
9220
0
  GOOGLE_DCHECK_NE(&from, this);
9221
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9222
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9223
0
  (void) cached_has_bits;
9224
9225
0
  if (from.has_snapshot_schedule_id()) {
9226
0
    set_has_snapshot_schedule_id();
9227
0
    snapshot_schedule_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_schedule_id_);
9228
0
  }
9229
0
}
9230
9231
0
void ListSnapshotSchedulesRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
9232
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListSnapshotSchedulesRequestPB)
9233
0
  if (&from == this) return;
9234
0
  Clear();
9235
0
  MergeFrom(from);
9236
0
}
9237
9238
0
void ListSnapshotSchedulesRequestPB::CopyFrom(const ListSnapshotSchedulesRequestPB& from) {
9239
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListSnapshotSchedulesRequestPB)
9240
0
  if (&from == this) return;
9241
0
  Clear();
9242
0
  MergeFrom(from);
9243
0
}
9244
9245
22
bool ListSnapshotSchedulesRequestPB::IsInitialized() const {
9246
22
  return true;
9247
22
}
9248
9249
0
void ListSnapshotSchedulesRequestPB::Swap(ListSnapshotSchedulesRequestPB* other) {
9250
0
  if (other == this) return;
9251
0
  InternalSwap(other);
9252
0
}
9253
0
void ListSnapshotSchedulesRequestPB::InternalSwap(ListSnapshotSchedulesRequestPB* other) {
9254
0
  using std::swap;
9255
0
  snapshot_schedule_id_.Swap(&other->snapshot_schedule_id_);
9256
0
  swap(_has_bits_[0], other->_has_bits_[0]);
9257
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
9258
0
  swap(_cached_size_, other->_cached_size_);
9259
0
}
9260
9261
11
::google::protobuf::Metadata ListSnapshotSchedulesRequestPB::GetMetadata() const {
9262
11
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
9263
11
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
9264
11
}
9265
9266
9267
// ===================================================================
9268
9269
26.8k
void SnapshotScheduleInfoPB::InitAsDefaultInstance() {
9270
26.8k
  ::yb::master::_SnapshotScheduleInfoPB_default_instance_._instance.get_mutable()->options_ = const_cast< ::yb::master::SnapshotScheduleOptionsPB*>(
9271
26.8k
      ::yb::master::SnapshotScheduleOptionsPB::internal_default_instance());
9272
26.8k
}
9273
#if !defined(_MSC_VER) || _MSC_VER >= 1900
9274
const int SnapshotScheduleInfoPB::kIdFieldNumber;
9275
const int SnapshotScheduleInfoPB::kOptionsFieldNumber;
9276
const int SnapshotScheduleInfoPB::kSnapshotsFieldNumber;
9277
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
9278
9279
SnapshotScheduleInfoPB::SnapshotScheduleInfoPB()
9280
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9281
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
9282
22
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSnapshotScheduleInfoPB();
9283
22
  }
9284
26.8k
  SharedCtor();
9285
  // @@protoc_insertion_point(constructor:yb.master.SnapshotScheduleInfoPB)
9286
26.8k
}
9287
SnapshotScheduleInfoPB::SnapshotScheduleInfoPB(const SnapshotScheduleInfoPB& from)
9288
  : ::google::protobuf::Message(),
9289
      _internal_metadata_(NULL),
9290
      _has_bits_(from._has_bits_),
9291
      _cached_size_(0),
9292
0
      snapshots_(from.snapshots_) {
9293
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9294
0
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9295
0
  if (from.has_id()) {
9296
0
    id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
9297
0
  }
9298
0
  if (from.has_options()) {
9299
0
    options_ = new ::yb::master::SnapshotScheduleOptionsPB(*from.options_);
9300
0
  } else {
9301
0
    options_ = NULL;
9302
0
  }
9303
  // @@protoc_insertion_point(copy_constructor:yb.master.SnapshotScheduleInfoPB)
9304
0
}
9305
9306
26.8k
void SnapshotScheduleInfoPB::SharedCtor() {
9307
26.8k
  _cached_size_ = 0;
9308
26.8k
  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9309
26.8k
  options_ = NULL;
9310
26.8k
}
9311
9312
22
SnapshotScheduleInfoPB::~SnapshotScheduleInfoPB() {
9313
  // @@protoc_insertion_point(destructor:yb.master.SnapshotScheduleInfoPB)
9314
22
  SharedDtor();
9315
22
}
9316
9317
22
void SnapshotScheduleInfoPB::SharedDtor() {
9318
22
  id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9319
22
  if (this != internal_default_instance()) delete options_;
9320
22
}
9321
9322
0
void SnapshotScheduleInfoPB::SetCachedSize(int size) const {
9323
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9324
0
  _cached_size_ = size;
9325
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9326
0
}
9327
0
const ::google::protobuf::Descriptor* SnapshotScheduleInfoPB::descriptor() {
9328
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
9329
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9330
0
}
9331
9332
0
const SnapshotScheduleInfoPB& SnapshotScheduleInfoPB::default_instance() {
9333
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSnapshotScheduleInfoPB();
9334
0
  return *internal_default_instance();
9335
0
}
9336
9337
0
SnapshotScheduleInfoPB* SnapshotScheduleInfoPB::New(::google::protobuf::Arena* arena) const {
9338
0
  SnapshotScheduleInfoPB* n = new SnapshotScheduleInfoPB;
9339
0
  if (arena != NULL) {
9340
0
    arena->Own(n);
9341
0
  }
9342
0
  return n;
9343
0
}
9344
9345
0
void SnapshotScheduleInfoPB::Clear() {
9346
// @@protoc_insertion_point(message_clear_start:yb.master.SnapshotScheduleInfoPB)
9347
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9348
  // Prevent compiler warnings about cached_has_bits being unused
9349
0
  (void) cached_has_bits;
9350
9351
0
  snapshots_.Clear();
9352
0
  cached_has_bits = _has_bits_[0];
9353
0
  if (cached_has_bits & 3u) {
9354
0
    if (cached_has_bits & 0x00000001u) {
9355
0
      GOOGLE_DCHECK(!id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
9356
0
      (*id_.UnsafeRawStringPointer())->clear();
9357
0
    }
9358
0
    if (cached_has_bits & 0x00000002u) {
9359
0
      GOOGLE_DCHECK(options_ != NULL);
9360
0
      options_->Clear();
9361
0
    }
9362
0
  }
9363
0
  _has_bits_.Clear();
9364
0
  _internal_metadata_.Clear();
9365
0
}
9366
9367
bool SnapshotScheduleInfoPB::MergePartialFromCodedStream(
9368
11
    ::google::protobuf::io::CodedInputStream* input) {
9369
38
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
9370
11
  ::google::protobuf::uint32 tag;
9371
  // @@protoc_insertion_point(parse_start:yb.master.SnapshotScheduleInfoPB)
9372
49
  for (;;) {
9373
49
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9374
49
    tag = p.first;
9375
49
    if (!p.second) 
goto handle_unusual11
;
9376
38
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9377
      // optional bytes id = 1;
9378
11
      case 1: {
9379
11
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9380
11
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
9381
11
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
9382
11
                input, this->mutable_id()));
9383
11
        } else {
9384
0
          goto handle_unusual;
9385
0
        }
9386
11
        break;
9387
11
      }
9388
9389
      // optional .yb.master.SnapshotScheduleOptionsPB options = 2;
9390
11
      case 2: {
9391
11
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9392
11
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
9393
11
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
9394
11
               input, mutable_options()));
9395
11
        } else {
9396
0
          goto handle_unusual;
9397
0
        }
9398
11
        break;
9399
11
      }
9400
9401
      // repeated .yb.master.SnapshotInfoPB snapshots = 3;
9402
16
      case 3: {
9403
16
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9404
16
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
9405
16
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_snapshots()));
9406
16
        } else {
9407
0
          goto handle_unusual;
9408
0
        }
9409
16
        break;
9410
16
      }
9411
9412
16
      default: {
9413
11
      handle_unusual:
9414
11
        if (tag == 0) {
9415
11
          goto success;
9416
11
        }
9417
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
9418
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
9419
0
        break;
9420
0
      }
9421
38
    }
9422
38
  }
9423
11
success:
9424
  // @@protoc_insertion_point(parse_success:yb.master.SnapshotScheduleInfoPB)
9425
11
  return true;
9426
0
failure:
9427
  // @@protoc_insertion_point(parse_failure:yb.master.SnapshotScheduleInfoPB)
9428
0
  return false;
9429
11
#undef DO_
9430
11
}
9431
9432
void SnapshotScheduleInfoPB::SerializeWithCachedSizes(
9433
0
    ::google::protobuf::io::CodedOutputStream* output) const {
9434
  // @@protoc_insertion_point(serialize_start:yb.master.SnapshotScheduleInfoPB)
9435
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9436
0
  (void) cached_has_bits;
9437
9438
0
  cached_has_bits = _has_bits_[0];
9439
  // optional bytes id = 1;
9440
0
  if (cached_has_bits & 0x00000001u) {
9441
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
9442
0
      1, this->id(), output);
9443
0
  }
9444
9445
  // optional .yb.master.SnapshotScheduleOptionsPB options = 2;
9446
0
  if (cached_has_bits & 0x00000002u) {
9447
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9448
0
      2, *this->options_, output);
9449
0
  }
9450
9451
  // repeated .yb.master.SnapshotInfoPB snapshots = 3;
9452
0
  for (unsigned int i = 0,
9453
0
      n = static_cast<unsigned int>(this->snapshots_size()); i < n; i++) {
9454
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9455
0
      3, this->snapshots(static_cast<int>(i)), output);
9456
0
  }
9457
9458
0
  if (_internal_metadata_.have_unknown_fields()) {
9459
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9460
0
        _internal_metadata_.unknown_fields(), output);
9461
0
  }
9462
  // @@protoc_insertion_point(serialize_end:yb.master.SnapshotScheduleInfoPB)
9463
0
}
9464
9465
::google::protobuf::uint8* SnapshotScheduleInfoPB::InternalSerializeWithCachedSizesToArray(
9466
11
    bool deterministic, ::google::protobuf::uint8* target) const {
9467
11
  (void)deterministic; // Unused
9468
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.SnapshotScheduleInfoPB)
9469
11
  ::google::protobuf::uint32 cached_has_bits = 0;
9470
11
  (void) cached_has_bits;
9471
9472
11
  cached_has_bits = _has_bits_[0];
9473
  // optional bytes id = 1;
9474
11
  if (cached_has_bits & 0x00000001u) {
9475
11
    target =
9476
11
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
9477
11
        1, this->id(), target);
9478
11
  }
9479
9480
  // optional .yb.master.SnapshotScheduleOptionsPB options = 2;
9481
11
  if (cached_has_bits & 0x00000002u) {
9482
11
    target = ::google::protobuf::internal::WireFormatLite::
9483
11
      InternalWriteMessageToArray(
9484
11
        2, *this->options_, deterministic, target);
9485
11
  }
9486
9487
  // repeated .yb.master.SnapshotInfoPB snapshots = 3;
9488
11
  for (unsigned int i = 0,
9489
27
      n = static_cast<unsigned int>(this->snapshots_size()); i < n; 
i++16
) {
9490
16
    target = ::google::protobuf::internal::WireFormatLite::
9491
16
      InternalWriteMessageToArray(
9492
16
        3, this->snapshots(static_cast<int>(i)), deterministic, target);
9493
16
  }
9494
9495
11
  if (_internal_metadata_.have_unknown_fields()) {
9496
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9497
0
        _internal_metadata_.unknown_fields(), target);
9498
0
  }
9499
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.SnapshotScheduleInfoPB)
9500
11
  return target;
9501
11
}
9502
9503
22
size_t SnapshotScheduleInfoPB::ByteSizeLong() const {
9504
// @@protoc_insertion_point(message_byte_size_start:yb.master.SnapshotScheduleInfoPB)
9505
22
  size_t total_size = 0;
9506
9507
22
  if (_internal_metadata_.have_unknown_fields()) {
9508
0
    total_size +=
9509
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9510
0
        _internal_metadata_.unknown_fields());
9511
0
  }
9512
  // repeated .yb.master.SnapshotInfoPB snapshots = 3;
9513
22
  {
9514
22
    unsigned int count = static_cast<unsigned int>(this->snapshots_size());
9515
22
    total_size += 1UL * count;
9516
54
    for (unsigned int i = 0; i < count; 
i++32
) {
9517
32
      total_size +=
9518
32
        ::google::protobuf::internal::WireFormatLite::MessageSize(
9519
32
          this->snapshots(static_cast<int>(i)));
9520
32
    }
9521
22
  }
9522
9523
22
  if (_has_bits_[0 / 32] & 3u) {
9524
    // optional bytes id = 1;
9525
22
    if (has_id()) {
9526
22
      total_size += 1 +
9527
22
        ::google::protobuf::internal::WireFormatLite::BytesSize(
9528
22
          this->id());
9529
22
    }
9530
9531
    // optional .yb.master.SnapshotScheduleOptionsPB options = 2;
9532
22
    if (has_options()) {
9533
22
      total_size += 1 +
9534
22
        ::google::protobuf::internal::WireFormatLite::MessageSize(
9535
22
          *this->options_);
9536
22
    }
9537
9538
22
  }
9539
22
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9540
22
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9541
22
  _cached_size_ = cached_size;
9542
22
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9543
22
  return total_size;
9544
22
}
9545
9546
0
void SnapshotScheduleInfoPB::MergeFrom(const ::google::protobuf::Message& from) {
9547
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.SnapshotScheduleInfoPB)
9548
0
  GOOGLE_DCHECK_NE(&from, this);
9549
0
  const SnapshotScheduleInfoPB* source =
9550
0
      ::google::protobuf::internal::DynamicCastToGenerated<const SnapshotScheduleInfoPB>(
9551
0
          &from);
9552
0
  if (source == NULL) {
9553
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.SnapshotScheduleInfoPB)
9554
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9555
0
  } else {
9556
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.SnapshotScheduleInfoPB)
9557
0
    MergeFrom(*source);
9558
0
  }
9559
0
}
9560
9561
0
void SnapshotScheduleInfoPB::MergeFrom(const SnapshotScheduleInfoPB& from) {
9562
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.SnapshotScheduleInfoPB)
9563
0
  GOOGLE_DCHECK_NE(&from, this);
9564
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9565
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9566
0
  (void) cached_has_bits;
9567
9568
0
  snapshots_.MergeFrom(from.snapshots_);
9569
0
  cached_has_bits = from._has_bits_[0];
9570
0
  if (cached_has_bits & 3u) {
9571
0
    if (cached_has_bits & 0x00000001u) {
9572
0
      set_has_id();
9573
0
      id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
9574
0
    }
9575
0
    if (cached_has_bits & 0x00000002u) {
9576
0
      mutable_options()->::yb::master::SnapshotScheduleOptionsPB::MergeFrom(from.options());
9577
0
    }
9578
0
  }
9579
0
}
9580
9581
0
void SnapshotScheduleInfoPB::CopyFrom(const ::google::protobuf::Message& from) {
9582
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.SnapshotScheduleInfoPB)
9583
0
  if (&from == this) return;
9584
0
  Clear();
9585
0
  MergeFrom(from);
9586
0
}
9587
9588
0
void SnapshotScheduleInfoPB::CopyFrom(const SnapshotScheduleInfoPB& from) {
9589
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.SnapshotScheduleInfoPB)
9590
0
  if (&from == this) return;
9591
0
  Clear();
9592
0
  MergeFrom(from);
9593
0
}
9594
9595
0
bool SnapshotScheduleInfoPB::IsInitialized() const {
9596
0
  return true;
9597
0
}
9598
9599
0
void SnapshotScheduleInfoPB::Swap(SnapshotScheduleInfoPB* other) {
9600
0
  if (other == this) return;
9601
0
  InternalSwap(other);
9602
0
}
9603
0
void SnapshotScheduleInfoPB::InternalSwap(SnapshotScheduleInfoPB* other) {
9604
0
  using std::swap;
9605
0
  snapshots_.InternalSwap(&other->snapshots_);
9606
0
  id_.Swap(&other->id_);
9607
0
  swap(options_, other->options_);
9608
0
  swap(_has_bits_[0], other->_has_bits_[0]);
9609
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
9610
0
  swap(_cached_size_, other->_cached_size_);
9611
0
}
9612
9613
0
::google::protobuf::Metadata SnapshotScheduleInfoPB::GetMetadata() const {
9614
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
9615
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
9616
0
}
9617
9618
9619
// ===================================================================
9620
9621
26.8k
void ListSnapshotSchedulesResponsePB::InitAsDefaultInstance() {
9622
26.8k
  ::yb::master::_ListSnapshotSchedulesResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
9623
26.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
9624
26.8k
}
9625
0
void ListSnapshotSchedulesResponsePB::clear_error() {
9626
0
  if (error_ != NULL) error_->Clear();
9627
0
  clear_has_error();
9628
0
}
9629
#if !defined(_MSC_VER) || _MSC_VER >= 1900
9630
const int ListSnapshotSchedulesResponsePB::kErrorFieldNumber;
9631
const int ListSnapshotSchedulesResponsePB::kSchedulesFieldNumber;
9632
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
9633
9634
ListSnapshotSchedulesResponsePB::ListSnapshotSchedulesResponsePB()
9635
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9636
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
9637
22
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsListSnapshotSchedulesResponsePB();
9638
22
  }
9639
26.8k
  SharedCtor();
9640
  // @@protoc_insertion_point(constructor:yb.master.ListSnapshotSchedulesResponsePB)
9641
26.8k
}
9642
ListSnapshotSchedulesResponsePB::ListSnapshotSchedulesResponsePB(const ListSnapshotSchedulesResponsePB& from)
9643
  : ::google::protobuf::Message(),
9644
      _internal_metadata_(NULL),
9645
      _has_bits_(from._has_bits_),
9646
      _cached_size_(0),
9647
0
      schedules_(from.schedules_) {
9648
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9649
0
  if (from.has_error()) {
9650
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
9651
0
  } else {
9652
0
    error_ = NULL;
9653
0
  }
9654
  // @@protoc_insertion_point(copy_constructor:yb.master.ListSnapshotSchedulesResponsePB)
9655
0
}
9656
9657
26.8k
void ListSnapshotSchedulesResponsePB::SharedCtor() {
9658
26.8k
  _cached_size_ = 0;
9659
26.8k
  error_ = NULL;
9660
26.8k
}
9661
9662
22
ListSnapshotSchedulesResponsePB::~ListSnapshotSchedulesResponsePB() {
9663
  // @@protoc_insertion_point(destructor:yb.master.ListSnapshotSchedulesResponsePB)
9664
22
  SharedDtor();
9665
22
}
9666
9667
22
void ListSnapshotSchedulesResponsePB::SharedDtor() {
9668
22
  if (this != internal_default_instance()) delete error_;
9669
22
}
9670
9671
0
void ListSnapshotSchedulesResponsePB::SetCachedSize(int size) const {
9672
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9673
0
  _cached_size_ = size;
9674
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9675
0
}
9676
0
const ::google::protobuf::Descriptor* ListSnapshotSchedulesResponsePB::descriptor() {
9677
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
9678
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9679
0
}
9680
9681
0
const ListSnapshotSchedulesResponsePB& ListSnapshotSchedulesResponsePB::default_instance() {
9682
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsListSnapshotSchedulesResponsePB();
9683
0
  return *internal_default_instance();
9684
0
}
9685
9686
0
ListSnapshotSchedulesResponsePB* ListSnapshotSchedulesResponsePB::New(::google::protobuf::Arena* arena) const {
9687
0
  ListSnapshotSchedulesResponsePB* n = new ListSnapshotSchedulesResponsePB;
9688
0
  if (arena != NULL) {
9689
0
    arena->Own(n);
9690
0
  }
9691
0
  return n;
9692
0
}
9693
9694
19
void ListSnapshotSchedulesResponsePB::Clear() {
9695
// @@protoc_insertion_point(message_clear_start:yb.master.ListSnapshotSchedulesResponsePB)
9696
19
  ::google::protobuf::uint32 cached_has_bits = 0;
9697
  // Prevent compiler warnings about cached_has_bits being unused
9698
19
  (void) cached_has_bits;
9699
9700
19
  schedules_.Clear();
9701
19
  cached_has_bits = _has_bits_[0];
9702
19
  if (cached_has_bits & 0x00000001u) {
9703
0
    GOOGLE_DCHECK(error_ != NULL);
9704
0
    error_->Clear();
9705
0
  }
9706
19
  _has_bits_.Clear();
9707
19
  _internal_metadata_.Clear();
9708
19
}
9709
9710
bool ListSnapshotSchedulesResponsePB::MergePartialFromCodedStream(
9711
11
    ::google::protobuf::io::CodedInputStream* input) {
9712
11
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
9713
11
  ::google::protobuf::uint32 tag;
9714
  // @@protoc_insertion_point(parse_start:yb.master.ListSnapshotSchedulesResponsePB)
9715
22
  for (;;) {
9716
22
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9717
22
    tag = p.first;
9718
22
    if (!p.second) 
goto handle_unusual11
;
9719
11
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9720
      // optional .yb.master.MasterErrorPB error = 1;
9721
0
      case 1: {
9722
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9723
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
9724
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
9725
0
               input, mutable_error()));
9726
0
        } else {
9727
0
          goto handle_unusual;
9728
0
        }
9729
0
        break;
9730
0
      }
9731
9732
      // repeated .yb.master.SnapshotScheduleInfoPB schedules = 2;
9733
11
      case 2: {
9734
11
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9735
11
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
9736
11
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_schedules()));
9737
11
        } else {
9738
0
          goto handle_unusual;
9739
0
        }
9740
11
        break;
9741
11
      }
9742
9743
11
      default: {
9744
11
      handle_unusual:
9745
11
        if (tag == 0) {
9746
11
          goto success;
9747
11
        }
9748
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
9749
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
9750
0
        break;
9751
0
      }
9752
11
    }
9753
11
  }
9754
11
success:
9755
  // @@protoc_insertion_point(parse_success:yb.master.ListSnapshotSchedulesResponsePB)
9756
11
  return true;
9757
0
failure:
9758
  // @@protoc_insertion_point(parse_failure:yb.master.ListSnapshotSchedulesResponsePB)
9759
0
  return false;
9760
11
#undef DO_
9761
11
}
9762
9763
void ListSnapshotSchedulesResponsePB::SerializeWithCachedSizes(
9764
0
    ::google::protobuf::io::CodedOutputStream* output) const {
9765
  // @@protoc_insertion_point(serialize_start:yb.master.ListSnapshotSchedulesResponsePB)
9766
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9767
0
  (void) cached_has_bits;
9768
9769
0
  cached_has_bits = _has_bits_[0];
9770
  // optional .yb.master.MasterErrorPB error = 1;
9771
0
  if (cached_has_bits & 0x00000001u) {
9772
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9773
0
      1, *this->error_, output);
9774
0
  }
9775
9776
  // repeated .yb.master.SnapshotScheduleInfoPB schedules = 2;
9777
0
  for (unsigned int i = 0,
9778
0
      n = static_cast<unsigned int>(this->schedules_size()); i < n; i++) {
9779
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9780
0
      2, this->schedules(static_cast<int>(i)), output);
9781
0
  }
9782
9783
0
  if (_internal_metadata_.have_unknown_fields()) {
9784
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9785
0
        _internal_metadata_.unknown_fields(), output);
9786
0
  }
9787
  // @@protoc_insertion_point(serialize_end:yb.master.ListSnapshotSchedulesResponsePB)
9788
0
}
9789
9790
::google::protobuf::uint8* ListSnapshotSchedulesResponsePB::InternalSerializeWithCachedSizesToArray(
9791
11
    bool deterministic, ::google::protobuf::uint8* target) const {
9792
11
  (void)deterministic; // Unused
9793
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.ListSnapshotSchedulesResponsePB)
9794
11
  ::google::protobuf::uint32 cached_has_bits = 0;
9795
11
  (void) cached_has_bits;
9796
9797
11
  cached_has_bits = _has_bits_[0];
9798
  // optional .yb.master.MasterErrorPB error = 1;
9799
11
  if (cached_has_bits & 0x00000001u) {
9800
0
    target = ::google::protobuf::internal::WireFormatLite::
9801
0
      InternalWriteMessageToArray(
9802
0
        1, *this->error_, deterministic, target);
9803
0
  }
9804
9805
  // repeated .yb.master.SnapshotScheduleInfoPB schedules = 2;
9806
11
  for (unsigned int i = 0,
9807
22
      n = static_cast<unsigned int>(this->schedules_size()); i < n; 
i++11
) {
9808
11
    target = ::google::protobuf::internal::WireFormatLite::
9809
11
      InternalWriteMessageToArray(
9810
11
        2, this->schedules(static_cast<int>(i)), deterministic, target);
9811
11
  }
9812
9813
11
  if (_internal_metadata_.have_unknown_fields()) {
9814
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9815
0
        _internal_metadata_.unknown_fields(), target);
9816
0
  }
9817
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.ListSnapshotSchedulesResponsePB)
9818
11
  return target;
9819
11
}
9820
9821
22
size_t ListSnapshotSchedulesResponsePB::ByteSizeLong() const {
9822
// @@protoc_insertion_point(message_byte_size_start:yb.master.ListSnapshotSchedulesResponsePB)
9823
22
  size_t total_size = 0;
9824
9825
22
  if (_internal_metadata_.have_unknown_fields()) {
9826
0
    total_size +=
9827
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9828
0
        _internal_metadata_.unknown_fields());
9829
0
  }
9830
  // repeated .yb.master.SnapshotScheduleInfoPB schedules = 2;
9831
22
  {
9832
22
    unsigned int count = static_cast<unsigned int>(this->schedules_size());
9833
22
    total_size += 1UL * count;
9834
44
    for (unsigned int i = 0; i < count; 
i++22
) {
9835
22
      total_size +=
9836
22
        ::google::protobuf::internal::WireFormatLite::MessageSize(
9837
22
          this->schedules(static_cast<int>(i)));
9838
22
    }
9839
22
  }
9840
9841
  // optional .yb.master.MasterErrorPB error = 1;
9842
22
  if (has_error()) {
9843
0
    total_size += 1 +
9844
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
9845
0
        *this->error_);
9846
0
  }
9847
9848
22
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9849
22
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9850
22
  _cached_size_ = cached_size;
9851
22
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9852
22
  return total_size;
9853
22
}
9854
9855
0
void ListSnapshotSchedulesResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
9856
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.ListSnapshotSchedulesResponsePB)
9857
0
  GOOGLE_DCHECK_NE(&from, this);
9858
0
  const ListSnapshotSchedulesResponsePB* source =
9859
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListSnapshotSchedulesResponsePB>(
9860
0
          &from);
9861
0
  if (source == NULL) {
9862
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.ListSnapshotSchedulesResponsePB)
9863
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9864
0
  } else {
9865
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.ListSnapshotSchedulesResponsePB)
9866
0
    MergeFrom(*source);
9867
0
  }
9868
0
}
9869
9870
0
void ListSnapshotSchedulesResponsePB::MergeFrom(const ListSnapshotSchedulesResponsePB& from) {
9871
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.ListSnapshotSchedulesResponsePB)
9872
0
  GOOGLE_DCHECK_NE(&from, this);
9873
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9874
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9875
0
  (void) cached_has_bits;
9876
9877
0
  schedules_.MergeFrom(from.schedules_);
9878
0
  if (from.has_error()) {
9879
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
9880
0
  }
9881
0
}
9882
9883
0
void ListSnapshotSchedulesResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
9884
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.ListSnapshotSchedulesResponsePB)
9885
0
  if (&from == this) return;
9886
0
  Clear();
9887
0
  MergeFrom(from);
9888
0
}
9889
9890
0
void ListSnapshotSchedulesResponsePB::CopyFrom(const ListSnapshotSchedulesResponsePB& from) {
9891
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.ListSnapshotSchedulesResponsePB)
9892
0
  if (&from == this) return;
9893
0
  Clear();
9894
0
  MergeFrom(from);
9895
0
}
9896
9897
22
bool ListSnapshotSchedulesResponsePB::IsInitialized() const {
9898
22
  if (has_error()) {
9899
0
    if (!this->error_->IsInitialized()) return false;
9900
0
  }
9901
22
  return true;
9902
22
}
9903
9904
0
void ListSnapshotSchedulesResponsePB::Swap(ListSnapshotSchedulesResponsePB* other) {
9905
0
  if (other == this) return;
9906
0
  InternalSwap(other);
9907
0
}
9908
0
void ListSnapshotSchedulesResponsePB::InternalSwap(ListSnapshotSchedulesResponsePB* other) {
9909
0
  using std::swap;
9910
0
  schedules_.InternalSwap(&other->schedules_);
9911
0
  swap(error_, other->error_);
9912
0
  swap(_has_bits_[0], other->_has_bits_[0]);
9913
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
9914
0
  swap(_cached_size_, other->_cached_size_);
9915
0
}
9916
9917
0
::google::protobuf::Metadata ListSnapshotSchedulesResponsePB::GetMetadata() const {
9918
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
9919
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
9920
0
}
9921
9922
9923
// ===================================================================
9924
9925
26.8k
void DeleteSnapshotScheduleRequestPB::InitAsDefaultInstance() {
9926
26.8k
}
9927
#if !defined(_MSC_VER) || _MSC_VER >= 1900
9928
const int DeleteSnapshotScheduleRequestPB::kSnapshotScheduleIdFieldNumber;
9929
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
9930
9931
DeleteSnapshotScheduleRequestPB::DeleteSnapshotScheduleRequestPB()
9932
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9933
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
9934
0
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsDeleteSnapshotScheduleRequestPB();
9935
0
  }
9936
26.8k
  SharedCtor();
9937
  // @@protoc_insertion_point(constructor:yb.master.DeleteSnapshotScheduleRequestPB)
9938
26.8k
}
9939
DeleteSnapshotScheduleRequestPB::DeleteSnapshotScheduleRequestPB(const DeleteSnapshotScheduleRequestPB& from)
9940
  : ::google::protobuf::Message(),
9941
      _internal_metadata_(NULL),
9942
      _has_bits_(from._has_bits_),
9943
0
      _cached_size_(0) {
9944
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9945
0
  snapshot_schedule_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9946
0
  if (from.has_snapshot_schedule_id()) {
9947
0
    snapshot_schedule_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_schedule_id_);
9948
0
  }
9949
  // @@protoc_insertion_point(copy_constructor:yb.master.DeleteSnapshotScheduleRequestPB)
9950
0
}
9951
9952
26.8k
void DeleteSnapshotScheduleRequestPB::SharedCtor() {
9953
26.8k
  _cached_size_ = 0;
9954
26.8k
  snapshot_schedule_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9955
26.8k
}
9956
9957
0
DeleteSnapshotScheduleRequestPB::~DeleteSnapshotScheduleRequestPB() {
9958
  // @@protoc_insertion_point(destructor:yb.master.DeleteSnapshotScheduleRequestPB)
9959
0
  SharedDtor();
9960
0
}
9961
9962
0
void DeleteSnapshotScheduleRequestPB::SharedDtor() {
9963
0
  snapshot_schedule_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9964
0
}
9965
9966
0
void DeleteSnapshotScheduleRequestPB::SetCachedSize(int size) const {
9967
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9968
0
  _cached_size_ = size;
9969
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9970
0
}
9971
0
const ::google::protobuf::Descriptor* DeleteSnapshotScheduleRequestPB::descriptor() {
9972
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
9973
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9974
0
}
9975
9976
0
const DeleteSnapshotScheduleRequestPB& DeleteSnapshotScheduleRequestPB::default_instance() {
9977
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsDeleteSnapshotScheduleRequestPB();
9978
0
  return *internal_default_instance();
9979
0
}
9980
9981
0
DeleteSnapshotScheduleRequestPB* DeleteSnapshotScheduleRequestPB::New(::google::protobuf::Arena* arena) const {
9982
0
  DeleteSnapshotScheduleRequestPB* n = new DeleteSnapshotScheduleRequestPB;
9983
0
  if (arena != NULL) {
9984
0
    arena->Own(n);
9985
0
  }
9986
0
  return n;
9987
0
}
9988
9989
0
void DeleteSnapshotScheduleRequestPB::Clear() {
9990
// @@protoc_insertion_point(message_clear_start:yb.master.DeleteSnapshotScheduleRequestPB)
9991
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9992
  // Prevent compiler warnings about cached_has_bits being unused
9993
0
  (void) cached_has_bits;
9994
9995
0
  cached_has_bits = _has_bits_[0];
9996
0
  if (cached_has_bits & 0x00000001u) {
9997
0
    GOOGLE_DCHECK(!snapshot_schedule_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
9998
0
    (*snapshot_schedule_id_.UnsafeRawStringPointer())->clear();
9999
0
  }
10000
0
  _has_bits_.Clear();
10001
0
  _internal_metadata_.Clear();
10002
0
}
10003
10004
bool DeleteSnapshotScheduleRequestPB::MergePartialFromCodedStream(
10005
0
    ::google::protobuf::io::CodedInputStream* input) {
10006
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
10007
0
  ::google::protobuf::uint32 tag;
10008
  // @@protoc_insertion_point(parse_start:yb.master.DeleteSnapshotScheduleRequestPB)
10009
0
  for (;;) {
10010
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10011
0
    tag = p.first;
10012
0
    if (!p.second) goto handle_unusual;
10013
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10014
      // optional bytes snapshot_schedule_id = 1;
10015
0
      case 1: {
10016
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10017
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
10018
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
10019
0
                input, this->mutable_snapshot_schedule_id()));
10020
0
        } else {
10021
0
          goto handle_unusual;
10022
0
        }
10023
0
        break;
10024
0
      }
10025
10026
0
      default: {
10027
0
      handle_unusual:
10028
0
        if (tag == 0) {
10029
0
          goto success;
10030
0
        }
10031
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
10032
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
10033
0
        break;
10034
0
      }
10035
0
    }
10036
0
  }
10037
0
success:
10038
  // @@protoc_insertion_point(parse_success:yb.master.DeleteSnapshotScheduleRequestPB)
10039
0
  return true;
10040
0
failure:
10041
  // @@protoc_insertion_point(parse_failure:yb.master.DeleteSnapshotScheduleRequestPB)
10042
0
  return false;
10043
0
#undef DO_
10044
0
}
10045
10046
void DeleteSnapshotScheduleRequestPB::SerializeWithCachedSizes(
10047
0
    ::google::protobuf::io::CodedOutputStream* output) const {
10048
  // @@protoc_insertion_point(serialize_start:yb.master.DeleteSnapshotScheduleRequestPB)
10049
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10050
0
  (void) cached_has_bits;
10051
10052
0
  cached_has_bits = _has_bits_[0];
10053
  // optional bytes snapshot_schedule_id = 1;
10054
0
  if (cached_has_bits & 0x00000001u) {
10055
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
10056
0
      1, this->snapshot_schedule_id(), output);
10057
0
  }
10058
10059
0
  if (_internal_metadata_.have_unknown_fields()) {
10060
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10061
0
        _internal_metadata_.unknown_fields(), output);
10062
0
  }
10063
  // @@protoc_insertion_point(serialize_end:yb.master.DeleteSnapshotScheduleRequestPB)
10064
0
}
10065
10066
::google::protobuf::uint8* DeleteSnapshotScheduleRequestPB::InternalSerializeWithCachedSizesToArray(
10067
0
    bool deterministic, ::google::protobuf::uint8* target) const {
10068
0
  (void)deterministic; // Unused
10069
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.DeleteSnapshotScheduleRequestPB)
10070
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10071
0
  (void) cached_has_bits;
10072
10073
0
  cached_has_bits = _has_bits_[0];
10074
  // optional bytes snapshot_schedule_id = 1;
10075
0
  if (cached_has_bits & 0x00000001u) {
10076
0
    target =
10077
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
10078
0
        1, this->snapshot_schedule_id(), target);
10079
0
  }
10080
10081
0
  if (_internal_metadata_.have_unknown_fields()) {
10082
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
10083
0
        _internal_metadata_.unknown_fields(), target);
10084
0
  }
10085
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.DeleteSnapshotScheduleRequestPB)
10086
0
  return target;
10087
0
}
10088
10089
0
size_t DeleteSnapshotScheduleRequestPB::ByteSizeLong() const {
10090
// @@protoc_insertion_point(message_byte_size_start:yb.master.DeleteSnapshotScheduleRequestPB)
10091
0
  size_t total_size = 0;
10092
10093
0
  if (_internal_metadata_.have_unknown_fields()) {
10094
0
    total_size +=
10095
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
10096
0
        _internal_metadata_.unknown_fields());
10097
0
  }
10098
  // optional bytes snapshot_schedule_id = 1;
10099
0
  if (has_snapshot_schedule_id()) {
10100
0
    total_size += 1 +
10101
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
10102
0
        this->snapshot_schedule_id());
10103
0
  }
10104
10105
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
10106
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10107
0
  _cached_size_ = cached_size;
10108
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10109
0
  return total_size;
10110
0
}
10111
10112
0
void DeleteSnapshotScheduleRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
10113
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.DeleteSnapshotScheduleRequestPB)
10114
0
  GOOGLE_DCHECK_NE(&from, this);
10115
0
  const DeleteSnapshotScheduleRequestPB* source =
10116
0
      ::google::protobuf::internal::DynamicCastToGenerated<const DeleteSnapshotScheduleRequestPB>(
10117
0
          &from);
10118
0
  if (source == NULL) {
10119
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.DeleteSnapshotScheduleRequestPB)
10120
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
10121
0
  } else {
10122
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.DeleteSnapshotScheduleRequestPB)
10123
0
    MergeFrom(*source);
10124
0
  }
10125
0
}
10126
10127
0
void DeleteSnapshotScheduleRequestPB::MergeFrom(const DeleteSnapshotScheduleRequestPB& from) {
10128
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.DeleteSnapshotScheduleRequestPB)
10129
0
  GOOGLE_DCHECK_NE(&from, this);
10130
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10131
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10132
0
  (void) cached_has_bits;
10133
10134
0
  if (from.has_snapshot_schedule_id()) {
10135
0
    set_has_snapshot_schedule_id();
10136
0
    snapshot_schedule_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_schedule_id_);
10137
0
  }
10138
0
}
10139
10140
0
void DeleteSnapshotScheduleRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
10141
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.DeleteSnapshotScheduleRequestPB)
10142
0
  if (&from == this) return;
10143
0
  Clear();
10144
0
  MergeFrom(from);
10145
0
}
10146
10147
0
void DeleteSnapshotScheduleRequestPB::CopyFrom(const DeleteSnapshotScheduleRequestPB& from) {
10148
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.DeleteSnapshotScheduleRequestPB)
10149
0
  if (&from == this) return;
10150
0
  Clear();
10151
0
  MergeFrom(from);
10152
0
}
10153
10154
0
bool DeleteSnapshotScheduleRequestPB::IsInitialized() const {
10155
0
  return true;
10156
0
}
10157
10158
0
void DeleteSnapshotScheduleRequestPB::Swap(DeleteSnapshotScheduleRequestPB* other) {
10159
0
  if (other == this) return;
10160
0
  InternalSwap(other);
10161
0
}
10162
0
void DeleteSnapshotScheduleRequestPB::InternalSwap(DeleteSnapshotScheduleRequestPB* other) {
10163
0
  using std::swap;
10164
0
  snapshot_schedule_id_.Swap(&other->snapshot_schedule_id_);
10165
0
  swap(_has_bits_[0], other->_has_bits_[0]);
10166
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
10167
0
  swap(_cached_size_, other->_cached_size_);
10168
0
}
10169
10170
0
::google::protobuf::Metadata DeleteSnapshotScheduleRequestPB::GetMetadata() const {
10171
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
10172
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
10173
0
}
10174
10175
10176
// ===================================================================
10177
10178
26.8k
void DeleteSnapshotScheduleResponsePB::InitAsDefaultInstance() {
10179
26.8k
  ::yb::master::_DeleteSnapshotScheduleResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::master::MasterErrorPB*>(
10180
26.8k
      ::yb::master::MasterErrorPB::internal_default_instance());
10181
26.8k
}
10182
0
void DeleteSnapshotScheduleResponsePB::clear_error() {
10183
0
  if (error_ != NULL) error_->Clear();
10184
0
  clear_has_error();
10185
0
}
10186
#if !defined(_MSC_VER) || _MSC_VER >= 1900
10187
const int DeleteSnapshotScheduleResponsePB::kErrorFieldNumber;
10188
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
10189
10190
DeleteSnapshotScheduleResponsePB::DeleteSnapshotScheduleResponsePB()
10191
26.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
10192
26.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
10193
0
    ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsDeleteSnapshotScheduleResponsePB();
10194
0
  }
10195
26.8k
  SharedCtor();
10196
  // @@protoc_insertion_point(constructor:yb.master.DeleteSnapshotScheduleResponsePB)
10197
26.8k
}
10198
DeleteSnapshotScheduleResponsePB::DeleteSnapshotScheduleResponsePB(const DeleteSnapshotScheduleResponsePB& from)
10199
  : ::google::protobuf::Message(),
10200
      _internal_metadata_(NULL),
10201
      _has_bits_(from._has_bits_),
10202
0
      _cached_size_(0) {
10203
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10204
0
  if (from.has_error()) {
10205
0
    error_ = new ::yb::master::MasterErrorPB(*from.error_);
10206
0
  } else {
10207
0
    error_ = NULL;
10208
0
  }
10209
  // @@protoc_insertion_point(copy_constructor:yb.master.DeleteSnapshotScheduleResponsePB)
10210
0
}
10211
10212
26.8k
void DeleteSnapshotScheduleResponsePB::SharedCtor() {
10213
26.8k
  _cached_size_ = 0;
10214
26.8k
  error_ = NULL;
10215
26.8k
}
10216
10217
0
DeleteSnapshotScheduleResponsePB::~DeleteSnapshotScheduleResponsePB() {
10218
  // @@protoc_insertion_point(destructor:yb.master.DeleteSnapshotScheduleResponsePB)
10219
0
  SharedDtor();
10220
0
}
10221
10222
0
void DeleteSnapshotScheduleResponsePB::SharedDtor() {
10223
0
  if (this != internal_default_instance()) delete error_;
10224
0
}
10225
10226
0
void DeleteSnapshotScheduleResponsePB::SetCachedSize(int size) const {
10227
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10228
0
  _cached_size_ = size;
10229
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10230
0
}
10231
0
const ::google::protobuf::Descriptor* DeleteSnapshotScheduleResponsePB::descriptor() {
10232
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
10233
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
10234
0
}
10235
10236
0
const DeleteSnapshotScheduleResponsePB& DeleteSnapshotScheduleResponsePB::default_instance() {
10237
0
  ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsDeleteSnapshotScheduleResponsePB();
10238
0
  return *internal_default_instance();
10239
0
}
10240
10241
0
DeleteSnapshotScheduleResponsePB* DeleteSnapshotScheduleResponsePB::New(::google::protobuf::Arena* arena) const {
10242
0
  DeleteSnapshotScheduleResponsePB* n = new DeleteSnapshotScheduleResponsePB;
10243
0
  if (arena != NULL) {
10244
0
    arena->Own(n);
10245
0
  }
10246
0
  return n;
10247
0
}
10248
10249
0
void DeleteSnapshotScheduleResponsePB::Clear() {
10250
// @@protoc_insertion_point(message_clear_start:yb.master.DeleteSnapshotScheduleResponsePB)
10251
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10252
  // Prevent compiler warnings about cached_has_bits being unused
10253
0
  (void) cached_has_bits;
10254
10255
0
  cached_has_bits = _has_bits_[0];
10256
0
  if (cached_has_bits & 0x00000001u) {
10257
0
    GOOGLE_DCHECK(error_ != NULL);
10258
0
    error_->Clear();
10259
0
  }
10260
0
  _has_bits_.Clear();
10261
0
  _internal_metadata_.Clear();
10262
0
}
10263
10264
bool DeleteSnapshotScheduleResponsePB::MergePartialFromCodedStream(
10265
0
    ::google::protobuf::io::CodedInputStream* input) {
10266
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
10267
0
  ::google::protobuf::uint32 tag;
10268
  // @@protoc_insertion_point(parse_start:yb.master.DeleteSnapshotScheduleResponsePB)
10269
0
  for (;;) {
10270
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10271
0
    tag = p.first;
10272
0
    if (!p.second) goto handle_unusual;
10273
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10274
      // optional .yb.master.MasterErrorPB error = 1;
10275
0
      case 1: {
10276
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
10277
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
10278
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
10279
0
               input, mutable_error()));
10280
0
        } else {
10281
0
          goto handle_unusual;
10282
0
        }
10283
0
        break;
10284
0
      }
10285
10286
0
      default: {
10287
0
      handle_unusual:
10288
0
        if (tag == 0) {
10289
0
          goto success;
10290
0
        }
10291
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
10292
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
10293
0
        break;
10294
0
      }
10295
0
    }
10296
0
  }
10297
0
success:
10298
  // @@protoc_insertion_point(parse_success:yb.master.DeleteSnapshotScheduleResponsePB)
10299
0
  return true;
10300
0
failure:
10301
  // @@protoc_insertion_point(parse_failure:yb.master.DeleteSnapshotScheduleResponsePB)
10302
0
  return false;
10303
0
#undef DO_
10304
0
}
10305
10306
void DeleteSnapshotScheduleResponsePB::SerializeWithCachedSizes(
10307
0
    ::google::protobuf::io::CodedOutputStream* output) const {
10308
  // @@protoc_insertion_point(serialize_start:yb.master.DeleteSnapshotScheduleResponsePB)
10309
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10310
0
  (void) cached_has_bits;
10311
10312
0
  cached_has_bits = _has_bits_[0];
10313
  // optional .yb.master.MasterErrorPB error = 1;
10314
0
  if (cached_has_bits & 0x00000001u) {
10315
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
10316
0
      1, *this->error_, output);
10317
0
  }
10318
10319
0
  if (_internal_metadata_.have_unknown_fields()) {
10320
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10321
0
        _internal_metadata_.unknown_fields(), output);
10322
0
  }
10323
  // @@protoc_insertion_point(serialize_end:yb.master.DeleteSnapshotScheduleResponsePB)
10324
0
}
10325
10326
::google::protobuf::uint8* DeleteSnapshotScheduleResponsePB::InternalSerializeWithCachedSizesToArray(
10327
0
    bool deterministic, ::google::protobuf::uint8* target) const {
10328
0
  (void)deterministic; // Unused
10329
  // @@protoc_insertion_point(serialize_to_array_start:yb.master.DeleteSnapshotScheduleResponsePB)
10330
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10331
0
  (void) cached_has_bits;
10332
10333
0
  cached_has_bits = _has_bits_[0];
10334
  // optional .yb.master.MasterErrorPB error = 1;
10335
0
  if (cached_has_bits & 0x00000001u) {
10336
0
    target = ::google::protobuf::internal::WireFormatLite::
10337
0
      InternalWriteMessageToArray(
10338
0
        1, *this->error_, deterministic, target);
10339
0
  }
10340
10341
0
  if (_internal_metadata_.have_unknown_fields()) {
10342
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
10343
0
        _internal_metadata_.unknown_fields(), target);
10344
0
  }
10345
  // @@protoc_insertion_point(serialize_to_array_end:yb.master.DeleteSnapshotScheduleResponsePB)
10346
0
  return target;
10347
0
}
10348
10349
0
size_t DeleteSnapshotScheduleResponsePB::ByteSizeLong() const {
10350
// @@protoc_insertion_point(message_byte_size_start:yb.master.DeleteSnapshotScheduleResponsePB)
10351
0
  size_t total_size = 0;
10352
10353
0
  if (_internal_metadata_.have_unknown_fields()) {
10354
0
    total_size +=
10355
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
10356
0
        _internal_metadata_.unknown_fields());
10357
0
  }
10358
  // optional .yb.master.MasterErrorPB error = 1;
10359
0
  if (has_error()) {
10360
0
    total_size += 1 +
10361
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
10362
0
        *this->error_);
10363
0
  }
10364
10365
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
10366
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10367
0
  _cached_size_ = cached_size;
10368
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
10369
0
  return total_size;
10370
0
}
10371
10372
0
void DeleteSnapshotScheduleResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
10373
// @@protoc_insertion_point(generalized_merge_from_start:yb.master.DeleteSnapshotScheduleResponsePB)
10374
0
  GOOGLE_DCHECK_NE(&from, this);
10375
0
  const DeleteSnapshotScheduleResponsePB* source =
10376
0
      ::google::protobuf::internal::DynamicCastToGenerated<const DeleteSnapshotScheduleResponsePB>(
10377
0
          &from);
10378
0
  if (source == NULL) {
10379
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.master.DeleteSnapshotScheduleResponsePB)
10380
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
10381
0
  } else {
10382
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.master.DeleteSnapshotScheduleResponsePB)
10383
0
    MergeFrom(*source);
10384
0
  }
10385
0
}
10386
10387
0
void DeleteSnapshotScheduleResponsePB::MergeFrom(const DeleteSnapshotScheduleResponsePB& from) {
10388
// @@protoc_insertion_point(class_specific_merge_from_start:yb.master.DeleteSnapshotScheduleResponsePB)
10389
0
  GOOGLE_DCHECK_NE(&from, this);
10390
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
10391
0
  ::google::protobuf::uint32 cached_has_bits = 0;
10392
0
  (void) cached_has_bits;
10393
10394
0
  if (from.has_error()) {
10395
0
    mutable_error()->::yb::master::MasterErrorPB::MergeFrom(from.error());
10396
0
  }
10397
0
}
10398
10399
0
void DeleteSnapshotScheduleResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
10400
// @@protoc_insertion_point(generalized_copy_from_start:yb.master.DeleteSnapshotScheduleResponsePB)
10401
0
  if (&from == this) return;
10402
0
  Clear();
10403
0
  MergeFrom(from);
10404
0
}
10405
10406
0
void DeleteSnapshotScheduleResponsePB::CopyFrom(const DeleteSnapshotScheduleResponsePB& from) {
10407
// @@protoc_insertion_point(class_specific_copy_from_start:yb.master.DeleteSnapshotScheduleResponsePB)
10408
0
  if (&from == this) return;
10409
0
  Clear();
10410
0
  MergeFrom(from);
10411
0
}
10412
10413
0
bool DeleteSnapshotScheduleResponsePB::IsInitialized() const {
10414
0
  if (has_error()) {
10415
0
    if (!this->error_->IsInitialized()) return false;
10416
0
  }
10417
0
  return true;
10418
0
}
10419
10420
0
void DeleteSnapshotScheduleResponsePB::Swap(DeleteSnapshotScheduleResponsePB* other) {
10421
0
  if (other == this) return;
10422
0
  InternalSwap(other);
10423
0
}
10424
0
void DeleteSnapshotScheduleResponsePB::InternalSwap(DeleteSnapshotScheduleResponsePB* other) {
10425
0
  using std::swap;
10426
0
  swap(error_, other->error_);
10427
0
  swap(_has_bits_[0], other->_has_bits_[0]);
10428
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
10429
0
  swap(_cached_size_, other->_cached_size_);
10430
0
}
10431
10432
0
::google::protobuf::Metadata DeleteSnapshotScheduleResponsePB::GetMetadata() const {
10433
0
  protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::protobuf_AssignDescriptorsOnce();
10434
0
  return ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::file_level_metadata[kIndexInFileMessages];
10435
0
}
10436
10437
10438
// @@protoc_insertion_point(namespace_scope)
10439
}  // namespace master
10440
}  // namespace yb
10441
10442
// @@protoc_insertion_point(global_scope)