YugabyteDB (2.13.0.0-b42, bfc6a6643e7399ac8a0e81d06a3ee6d6571b33ab)

Coverage Report

Created: 2022-03-09 17:30

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/master/master_backup.pb.h
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
#ifndef PROTOBUF_yb_2fmaster_2fmaster_5fbackup_2eproto__INCLUDED
5
#define PROTOBUF_yb_2fmaster_2fmaster_5fbackup_2eproto__INCLUDED
6
7
#include <string>
8
9
#include <google/protobuf/stubs/common.h>
10
11
#if GOOGLE_PROTOBUF_VERSION < 3005000
12
#error This file was generated by a newer version of protoc which is
13
#error incompatible with your Protocol Buffer headers.  Please update
14
#error your headers.
15
#endif
16
#if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17
#error This file was generated by an older version of protoc which is
18
#error incompatible with your Protocol Buffer headers.  Please
19
#error regenerate this file with a newer version of protoc.
20
#endif
21
22
#include <google/protobuf/io/coded_stream.h>
23
#include <google/protobuf/arena.h>
24
#include <google/protobuf/arenastring.h>
25
#include <google/protobuf/generated_message_table_driven.h>
26
#include <google/protobuf/generated_message_util.h>
27
#include <google/protobuf/metadata.h>
28
#include <google/protobuf/message.h>
29
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
30
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
31
#include <google/protobuf/generated_enum_reflection.h>
32
#include <google/protobuf/unknown_field_set.h>
33
#include "yb/common/wire_protocol.pb.h"
34
#include "yb/master/catalog_entity_info.pb.h"
35
#include "yb/master/master_types.pb.h"
36
// @@protoc_insertion_point(includes)
37
38
namespace protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto {
39
// Internal implementation detail -- do not use these members.
40
struct TableStruct {
41
  static const ::google::protobuf::internal::ParseTableField entries[];
42
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
43
  static const ::google::protobuf::internal::ParseTable schema[29];
44
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
45
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
46
  static const ::google::protobuf::uint32 offsets[];
47
};
48
void AddDescriptors();
49
void InitDefaultsBackupRowEntryPBImpl();
50
void InitDefaultsBackupRowEntryPB();
51
void InitDefaultsCreateSnapshotRequestPBImpl();
52
void InitDefaultsCreateSnapshotRequestPB();
53
void InitDefaultsCreateSnapshotResponsePBImpl();
54
void InitDefaultsCreateSnapshotResponsePB();
55
void InitDefaultsSnapshotInfoPBImpl();
56
void InitDefaultsSnapshotInfoPB();
57
void InitDefaultsTabletRestorationPBImpl();
58
void InitDefaultsTabletRestorationPB();
59
void InitDefaultsSysRestorationEntryPBImpl();
60
void InitDefaultsSysRestorationEntryPB();
61
void InitDefaultsRestorationInfoPBImpl();
62
void InitDefaultsRestorationInfoPB();
63
void InitDefaultsListSnapshotsRequestPBImpl();
64
void InitDefaultsListSnapshotsRequestPB();
65
void InitDefaultsListSnapshotsResponsePBImpl();
66
void InitDefaultsListSnapshotsResponsePB();
67
void InitDefaultsRestoreSnapshotRequestPBImpl();
68
void InitDefaultsRestoreSnapshotRequestPB();
69
void InitDefaultsRestoreSnapshotResponsePBImpl();
70
void InitDefaultsRestoreSnapshotResponsePB();
71
void InitDefaultsDeleteSnapshotRequestPBImpl();
72
void InitDefaultsDeleteSnapshotRequestPB();
73
void InitDefaultsDeleteSnapshotResponsePBImpl();
74
void InitDefaultsDeleteSnapshotResponsePB();
75
void InitDefaultsImportSnapshotMetaRequestPBImpl();
76
void InitDefaultsImportSnapshotMetaRequestPB();
77
void InitDefaultsListSnapshotRestorationsRequestPBImpl();
78
void InitDefaultsListSnapshotRestorationsRequestPB();
79
void InitDefaultsListSnapshotRestorationsResponsePBImpl();
80
void InitDefaultsListSnapshotRestorationsResponsePB();
81
void InitDefaultsIdPairPBImpl();
82
void InitDefaultsIdPairPB();
83
void InitDefaultsImportSnapshotMetaResponsePB_TableMetaPBImpl();
84
void InitDefaultsImportSnapshotMetaResponsePB_TableMetaPB();
85
void InitDefaultsImportSnapshotMetaResponsePBImpl();
86
void InitDefaultsImportSnapshotMetaResponsePB();
87
void InitDefaultsTableIdentifiersPBImpl();
88
void InitDefaultsTableIdentifiersPB();
89
void InitDefaultsSnapshotScheduleFilterPBImpl();
90
void InitDefaultsSnapshotScheduleFilterPB();
91
void InitDefaultsSnapshotScheduleOptionsPBImpl();
92
void InitDefaultsSnapshotScheduleOptionsPB();
93
void InitDefaultsCreateSnapshotScheduleRequestPBImpl();
94
void InitDefaultsCreateSnapshotScheduleRequestPB();
95
void InitDefaultsCreateSnapshotScheduleResponsePBImpl();
96
void InitDefaultsCreateSnapshotScheduleResponsePB();
97
void InitDefaultsListSnapshotSchedulesRequestPBImpl();
98
void InitDefaultsListSnapshotSchedulesRequestPB();
99
void InitDefaultsSnapshotScheduleInfoPBImpl();
100
void InitDefaultsSnapshotScheduleInfoPB();
101
void InitDefaultsListSnapshotSchedulesResponsePBImpl();
102
void InitDefaultsListSnapshotSchedulesResponsePB();
103
void InitDefaultsDeleteSnapshotScheduleRequestPBImpl();
104
void InitDefaultsDeleteSnapshotScheduleRequestPB();
105
void InitDefaultsDeleteSnapshotScheduleResponsePBImpl();
106
void InitDefaultsDeleteSnapshotScheduleResponsePB();
107
15.8k
inline void InitDefaults() {
108
15.8k
  InitDefaultsBackupRowEntryPB();
109
15.8k
  InitDefaultsCreateSnapshotRequestPB();
110
15.8k
  InitDefaultsCreateSnapshotResponsePB();
111
15.8k
  InitDefaultsSnapshotInfoPB();
112
15.8k
  InitDefaultsTabletRestorationPB();
113
15.8k
  InitDefaultsSysRestorationEntryPB();
114
15.8k
  InitDefaultsRestorationInfoPB();
115
15.8k
  InitDefaultsListSnapshotsRequestPB();
116
15.8k
  InitDefaultsListSnapshotsResponsePB();
117
15.8k
  InitDefaultsRestoreSnapshotRequestPB();
118
15.8k
  InitDefaultsRestoreSnapshotResponsePB();
119
15.8k
  InitDefaultsDeleteSnapshotRequestPB();
120
15.8k
  InitDefaultsDeleteSnapshotResponsePB();
121
15.8k
  InitDefaultsImportSnapshotMetaRequestPB();
122
15.8k
  InitDefaultsListSnapshotRestorationsRequestPB();
123
15.8k
  InitDefaultsListSnapshotRestorationsResponsePB();
124
15.8k
  InitDefaultsIdPairPB();
125
15.8k
  InitDefaultsImportSnapshotMetaResponsePB_TableMetaPB();
126
15.8k
  InitDefaultsImportSnapshotMetaResponsePB();
127
15.8k
  InitDefaultsTableIdentifiersPB();
128
15.8k
  InitDefaultsSnapshotScheduleFilterPB();
129
15.8k
  InitDefaultsSnapshotScheduleOptionsPB();
130
15.8k
  InitDefaultsCreateSnapshotScheduleRequestPB();
131
15.8k
  InitDefaultsCreateSnapshotScheduleResponsePB();
132
15.8k
  InitDefaultsListSnapshotSchedulesRequestPB();
133
15.8k
  InitDefaultsSnapshotScheduleInfoPB();
134
15.8k
  InitDefaultsListSnapshotSchedulesResponsePB();
135
15.8k
  InitDefaultsDeleteSnapshotScheduleRequestPB();
136
15.8k
  InitDefaultsDeleteSnapshotScheduleResponsePB();
137
15.8k
}
138
}  // namespace protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto
139
namespace yb {
140
namespace master {
141
class BackupRowEntryPB;
142
class BackupRowEntryPBDefaultTypeInternal;
143
extern BackupRowEntryPBDefaultTypeInternal _BackupRowEntryPB_default_instance_;
144
class CreateSnapshotRequestPB;
145
class CreateSnapshotRequestPBDefaultTypeInternal;
146
extern CreateSnapshotRequestPBDefaultTypeInternal _CreateSnapshotRequestPB_default_instance_;
147
class CreateSnapshotResponsePB;
148
class CreateSnapshotResponsePBDefaultTypeInternal;
149
extern CreateSnapshotResponsePBDefaultTypeInternal _CreateSnapshotResponsePB_default_instance_;
150
class CreateSnapshotScheduleRequestPB;
151
class CreateSnapshotScheduleRequestPBDefaultTypeInternal;
152
extern CreateSnapshotScheduleRequestPBDefaultTypeInternal _CreateSnapshotScheduleRequestPB_default_instance_;
153
class CreateSnapshotScheduleResponsePB;
154
class CreateSnapshotScheduleResponsePBDefaultTypeInternal;
155
extern CreateSnapshotScheduleResponsePBDefaultTypeInternal _CreateSnapshotScheduleResponsePB_default_instance_;
156
class DeleteSnapshotRequestPB;
157
class DeleteSnapshotRequestPBDefaultTypeInternal;
158
extern DeleteSnapshotRequestPBDefaultTypeInternal _DeleteSnapshotRequestPB_default_instance_;
159
class DeleteSnapshotResponsePB;
160
class DeleteSnapshotResponsePBDefaultTypeInternal;
161
extern DeleteSnapshotResponsePBDefaultTypeInternal _DeleteSnapshotResponsePB_default_instance_;
162
class DeleteSnapshotScheduleRequestPB;
163
class DeleteSnapshotScheduleRequestPBDefaultTypeInternal;
164
extern DeleteSnapshotScheduleRequestPBDefaultTypeInternal _DeleteSnapshotScheduleRequestPB_default_instance_;
165
class DeleteSnapshotScheduleResponsePB;
166
class DeleteSnapshotScheduleResponsePBDefaultTypeInternal;
167
extern DeleteSnapshotScheduleResponsePBDefaultTypeInternal _DeleteSnapshotScheduleResponsePB_default_instance_;
168
class IdPairPB;
169
class IdPairPBDefaultTypeInternal;
170
extern IdPairPBDefaultTypeInternal _IdPairPB_default_instance_;
171
class ImportSnapshotMetaRequestPB;
172
class ImportSnapshotMetaRequestPBDefaultTypeInternal;
173
extern ImportSnapshotMetaRequestPBDefaultTypeInternal _ImportSnapshotMetaRequestPB_default_instance_;
174
class ImportSnapshotMetaResponsePB;
175
class ImportSnapshotMetaResponsePBDefaultTypeInternal;
176
extern ImportSnapshotMetaResponsePBDefaultTypeInternal _ImportSnapshotMetaResponsePB_default_instance_;
177
class ImportSnapshotMetaResponsePB_TableMetaPB;
178
class ImportSnapshotMetaResponsePB_TableMetaPBDefaultTypeInternal;
179
extern ImportSnapshotMetaResponsePB_TableMetaPBDefaultTypeInternal _ImportSnapshotMetaResponsePB_TableMetaPB_default_instance_;
180
class ListSnapshotRestorationsRequestPB;
181
class ListSnapshotRestorationsRequestPBDefaultTypeInternal;
182
extern ListSnapshotRestorationsRequestPBDefaultTypeInternal _ListSnapshotRestorationsRequestPB_default_instance_;
183
class ListSnapshotRestorationsResponsePB;
184
class ListSnapshotRestorationsResponsePBDefaultTypeInternal;
185
extern ListSnapshotRestorationsResponsePBDefaultTypeInternal _ListSnapshotRestorationsResponsePB_default_instance_;
186
class ListSnapshotSchedulesRequestPB;
187
class ListSnapshotSchedulesRequestPBDefaultTypeInternal;
188
extern ListSnapshotSchedulesRequestPBDefaultTypeInternal _ListSnapshotSchedulesRequestPB_default_instance_;
189
class ListSnapshotSchedulesResponsePB;
190
class ListSnapshotSchedulesResponsePBDefaultTypeInternal;
191
extern ListSnapshotSchedulesResponsePBDefaultTypeInternal _ListSnapshotSchedulesResponsePB_default_instance_;
192
class ListSnapshotsRequestPB;
193
class ListSnapshotsRequestPBDefaultTypeInternal;
194
extern ListSnapshotsRequestPBDefaultTypeInternal _ListSnapshotsRequestPB_default_instance_;
195
class ListSnapshotsResponsePB;
196
class ListSnapshotsResponsePBDefaultTypeInternal;
197
extern ListSnapshotsResponsePBDefaultTypeInternal _ListSnapshotsResponsePB_default_instance_;
198
class RestorationInfoPB;
199
class RestorationInfoPBDefaultTypeInternal;
200
extern RestorationInfoPBDefaultTypeInternal _RestorationInfoPB_default_instance_;
201
class RestoreSnapshotRequestPB;
202
class RestoreSnapshotRequestPBDefaultTypeInternal;
203
extern RestoreSnapshotRequestPBDefaultTypeInternal _RestoreSnapshotRequestPB_default_instance_;
204
class RestoreSnapshotResponsePB;
205
class RestoreSnapshotResponsePBDefaultTypeInternal;
206
extern RestoreSnapshotResponsePBDefaultTypeInternal _RestoreSnapshotResponsePB_default_instance_;
207
class SnapshotInfoPB;
208
class SnapshotInfoPBDefaultTypeInternal;
209
extern SnapshotInfoPBDefaultTypeInternal _SnapshotInfoPB_default_instance_;
210
class SnapshotScheduleFilterPB;
211
class SnapshotScheduleFilterPBDefaultTypeInternal;
212
extern SnapshotScheduleFilterPBDefaultTypeInternal _SnapshotScheduleFilterPB_default_instance_;
213
class SnapshotScheduleInfoPB;
214
class SnapshotScheduleInfoPBDefaultTypeInternal;
215
extern SnapshotScheduleInfoPBDefaultTypeInternal _SnapshotScheduleInfoPB_default_instance_;
216
class SnapshotScheduleOptionsPB;
217
class SnapshotScheduleOptionsPBDefaultTypeInternal;
218
extern SnapshotScheduleOptionsPBDefaultTypeInternal _SnapshotScheduleOptionsPB_default_instance_;
219
class SysRestorationEntryPB;
220
class SysRestorationEntryPBDefaultTypeInternal;
221
extern SysRestorationEntryPBDefaultTypeInternal _SysRestorationEntryPB_default_instance_;
222
class TableIdentifiersPB;
223
class TableIdentifiersPBDefaultTypeInternal;
224
extern TableIdentifiersPBDefaultTypeInternal _TableIdentifiersPB_default_instance_;
225
class TabletRestorationPB;
226
class TabletRestorationPBDefaultTypeInternal;
227
extern TabletRestorationPBDefaultTypeInternal _TabletRestorationPB_default_instance_;
228
}  // namespace master
229
}  // namespace yb
230
namespace yb {
231
namespace master {
232
233
enum ImportSnapshotMetaResponsePB_TableType {
234
  ImportSnapshotMetaResponsePB_TableType_TABLE = 0,
235
  ImportSnapshotMetaResponsePB_TableType_COLOCATED_TABLE = 1,
236
  ImportSnapshotMetaResponsePB_TableType_PARENT_COLOCATED_TABLE = 2
237
};
238
bool ImportSnapshotMetaResponsePB_TableType_IsValid(int value);
239
const ImportSnapshotMetaResponsePB_TableType ImportSnapshotMetaResponsePB_TableType_TableType_MIN = ImportSnapshotMetaResponsePB_TableType_TABLE;
240
const ImportSnapshotMetaResponsePB_TableType ImportSnapshotMetaResponsePB_TableType_TableType_MAX = ImportSnapshotMetaResponsePB_TableType_PARENT_COLOCATED_TABLE;
241
const int ImportSnapshotMetaResponsePB_TableType_TableType_ARRAYSIZE = ImportSnapshotMetaResponsePB_TableType_TableType_MAX + 1;
242
243
const ::google::protobuf::EnumDescriptor* ImportSnapshotMetaResponsePB_TableType_descriptor();
244
0
inline const ::std::string& ImportSnapshotMetaResponsePB_TableType_Name(ImportSnapshotMetaResponsePB_TableType value) {
245
0
  return ::google::protobuf::internal::NameOfEnum(
246
0
    ImportSnapshotMetaResponsePB_TableType_descriptor(), value);
247
0
}
248
inline bool ImportSnapshotMetaResponsePB_TableType_Parse(
249
0
    const ::std::string& name, ImportSnapshotMetaResponsePB_TableType* value) {
250
0
  return ::google::protobuf::internal::ParseNamedEnum<ImportSnapshotMetaResponsePB_TableType>(
251
0
    ImportSnapshotMetaResponsePB_TableType_descriptor(), name, value);
252
0
}
253
// ===================================================================
254
255
class BackupRowEntryPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.BackupRowEntryPB) */ {
256
 public:
257
  BackupRowEntryPB();
258
  virtual ~BackupRowEntryPB();
259
260
  BackupRowEntryPB(const BackupRowEntryPB& from);
261
262
0
  inline BackupRowEntryPB& operator=(const BackupRowEntryPB& from) {
263
0
    CopyFrom(from);
264
0
    return *this;
265
0
  }
266
  #if LANG_CXX11
267
  BackupRowEntryPB(BackupRowEntryPB&& from) noexcept
268
0
    : BackupRowEntryPB() {
269
0
    *this = ::std::move(from);
270
0
  }
271
272
0
  inline BackupRowEntryPB& operator=(BackupRowEntryPB&& from) noexcept {
273
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
274
0
      if (this != &from) InternalSwap(&from);
275
0
    } else {
276
0
      CopyFrom(from);
277
0
    }
278
0
    return *this;
279
0
  }
280
  #endif
281
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
282
0
    return _internal_metadata_.unknown_fields();
283
0
  }
284
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
285
0
    return _internal_metadata_.mutable_unknown_fields();
286
0
  }
287
288
  static const ::google::protobuf::Descriptor* descriptor();
289
  static const BackupRowEntryPB& default_instance();
290
291
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
292
15.8k
  static inline const BackupRowEntryPB* internal_default_instance() {
293
15.8k
    return reinterpret_cast<const BackupRowEntryPB*>(
294
15.8k
               &_BackupRowEntryPB_default_instance_);
295
15.8k
  }
296
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
297
    0;
298
299
  void Swap(BackupRowEntryPB* other);
300
0
  friend void swap(BackupRowEntryPB& a, BackupRowEntryPB& b) {
301
0
    a.Swap(&b);
302
0
  }
303
304
  // implements Message ----------------------------------------------
305
306
0
  inline BackupRowEntryPB* New() const PROTOBUF_FINAL { return New(NULL); }
307
308
  BackupRowEntryPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
309
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
310
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
311
  void CopyFrom(const BackupRowEntryPB& from);
312
  void MergeFrom(const BackupRowEntryPB& from);
313
  void Clear() PROTOBUF_FINAL;
314
  bool IsInitialized() const PROTOBUF_FINAL;
315
316
  size_t ByteSizeLong() const PROTOBUF_FINAL;
317
  bool MergePartialFromCodedStream(
318
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
319
  void SerializeWithCachedSizes(
320
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
321
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
322
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
323
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
324
  private:
325
  void SharedCtor();
326
  void SharedDtor();
327
  void SetCachedSize(int size) const PROTOBUF_FINAL;
328
  void InternalSwap(BackupRowEntryPB* other);
329
  private:
330
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
331
0
    return NULL;
332
0
  }
333
0
  inline void* MaybeArenaPtr() const {
334
0
    return NULL;
335
0
  }
336
  public:
337
338
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
339
340
  // nested types ----------------------------------------------------
341
342
  // accessors -------------------------------------------------------
343
344
  // optional bytes pg_schema_name = 2;
345
  bool has_pg_schema_name() const;
346
  void clear_pg_schema_name();
347
  static const int kPgSchemaNameFieldNumber = 2;
348
  const ::std::string& pg_schema_name() const;
349
  void set_pg_schema_name(const ::std::string& value);
350
  #if LANG_CXX11
351
  void set_pg_schema_name(::std::string&& value);
352
  #endif
353
  void set_pg_schema_name(const char* value);
354
  void set_pg_schema_name(const void* value, size_t size);
355
  ::std::string* mutable_pg_schema_name();
356
  ::std::string* release_pg_schema_name();
357
  void set_allocated_pg_schema_name(::std::string* pg_schema_name);
358
359
  // optional .yb.master.SysRowEntry entry = 1;
360
  bool has_entry() const;
361
  void clear_entry();
362
  static const int kEntryFieldNumber = 1;
363
  const ::yb::master::SysRowEntry& entry() const;
364
  ::yb::master::SysRowEntry* release_entry();
365
  ::yb::master::SysRowEntry* mutable_entry();
366
  void set_allocated_entry(::yb::master::SysRowEntry* entry);
367
368
  // @@protoc_insertion_point(class_scope:yb.master.BackupRowEntryPB)
369
 private:
370
  void set_has_entry();
371
  void clear_has_entry();
372
  void set_has_pg_schema_name();
373
  void clear_has_pg_schema_name();
374
375
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
376
  ::google::protobuf::internal::HasBits<1> _has_bits_;
377
  mutable int _cached_size_;
378
  ::google::protobuf::internal::ArenaStringPtr pg_schema_name_;
379
  ::yb::master::SysRowEntry* entry_;
380
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
381
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsBackupRowEntryPBImpl();
382
};
383
// -------------------------------------------------------------------
384
385
class CreateSnapshotRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.CreateSnapshotRequestPB) */ {
386
 public:
387
  CreateSnapshotRequestPB();
388
  virtual ~CreateSnapshotRequestPB();
389
390
  CreateSnapshotRequestPB(const CreateSnapshotRequestPB& from);
391
392
0
  inline CreateSnapshotRequestPB& operator=(const CreateSnapshotRequestPB& from) {
393
0
    CopyFrom(from);
394
0
    return *this;
395
0
  }
396
  #if LANG_CXX11
397
  CreateSnapshotRequestPB(CreateSnapshotRequestPB&& from) noexcept
398
0
    : CreateSnapshotRequestPB() {
399
0
    *this = ::std::move(from);
400
0
  }
401
402
0
  inline CreateSnapshotRequestPB& operator=(CreateSnapshotRequestPB&& from) noexcept {
403
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
404
0
      if (this != &from) InternalSwap(&from);
405
0
    } else {
406
0
      CopyFrom(from);
407
0
    }
408
0
    return *this;
409
0
  }
410
  #endif
411
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
412
0
    return _internal_metadata_.unknown_fields();
413
0
  }
414
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
415
0
    return _internal_metadata_.mutable_unknown_fields();
416
0
  }
417
418
  static const ::google::protobuf::Descriptor* descriptor();
419
  static const CreateSnapshotRequestPB& default_instance();
420
421
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
422
15.8k
  static inline const CreateSnapshotRequestPB* internal_default_instance() {
423
15.8k
    return reinterpret_cast<const CreateSnapshotRequestPB*>(
424
15.8k
               &_CreateSnapshotRequestPB_default_instance_);
425
15.8k
  }
426
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
427
    1;
428
429
  void Swap(CreateSnapshotRequestPB* other);
430
0
  friend void swap(CreateSnapshotRequestPB& a, CreateSnapshotRequestPB& b) {
431
0
    a.Swap(&b);
432
0
  }
433
434
  // implements Message ----------------------------------------------
435
436
0
  inline CreateSnapshotRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
437
438
  CreateSnapshotRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
439
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
440
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
441
  void CopyFrom(const CreateSnapshotRequestPB& from);
442
  void MergeFrom(const CreateSnapshotRequestPB& from);
443
  void Clear() PROTOBUF_FINAL;
444
  bool IsInitialized() const PROTOBUF_FINAL;
445
446
  size_t ByteSizeLong() const PROTOBUF_FINAL;
447
  bool MergePartialFromCodedStream(
448
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
449
  void SerializeWithCachedSizes(
450
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
451
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
452
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
453
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
454
  private:
455
  void SharedCtor();
456
  void SharedDtor();
457
  void SetCachedSize(int size) const PROTOBUF_FINAL;
458
  void InternalSwap(CreateSnapshotRequestPB* other);
459
  private:
460
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
461
0
    return NULL;
462
0
  }
463
0
  inline void* MaybeArenaPtr() const {
464
0
    return NULL;
465
0
  }
466
  public:
467
468
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
469
470
  // nested types ----------------------------------------------------
471
472
  // accessors -------------------------------------------------------
473
474
  // repeated .yb.master.TableIdentifierPB tables = 1;
475
  int tables_size() const;
476
  void clear_tables();
477
  static const int kTablesFieldNumber = 1;
478
  const ::yb::master::TableIdentifierPB& tables(int index) const;
479
  ::yb::master::TableIdentifierPB* mutable_tables(int index);
480
  ::yb::master::TableIdentifierPB* add_tables();
481
  ::google::protobuf::RepeatedPtrField< ::yb::master::TableIdentifierPB >*
482
      mutable_tables();
483
  const ::google::protobuf::RepeatedPtrField< ::yb::master::TableIdentifierPB >&
484
      tables() const;
485
486
  // optional bytes schedule_id = 5;
487
  bool has_schedule_id() const;
488
  void clear_schedule_id();
489
  static const int kScheduleIdFieldNumber = 5;
490
  const ::std::string& schedule_id() const;
491
  void set_schedule_id(const ::std::string& value);
492
  #if LANG_CXX11
493
  void set_schedule_id(::std::string&& value);
494
  #endif
495
  void set_schedule_id(const char* value);
496
  void set_schedule_id(const void* value, size_t size);
497
  ::std::string* mutable_schedule_id();
498
  ::std::string* release_schedule_id();
499
  void set_allocated_schedule_id(::std::string* schedule_id);
500
501
  // optional bool transaction_aware = 2;
502
  bool has_transaction_aware() const;
503
  void clear_transaction_aware();
504
  static const int kTransactionAwareFieldNumber = 2;
505
  bool transaction_aware() const;
506
  void set_transaction_aware(bool value);
507
508
  // optional bool add_indexes = 3 [default = false];
509
  bool has_add_indexes() const;
510
  void clear_add_indexes();
511
  static const int kAddIndexesFieldNumber = 3;
512
  bool add_indexes() const;
513
  void set_add_indexes(bool value);
514
515
  // optional bool imported = 4;
516
  bool has_imported() const;
517
  void clear_imported();
518
  static const int kImportedFieldNumber = 4;
519
  bool imported() const;
520
  void set_imported(bool value);
521
522
  // @@protoc_insertion_point(class_scope:yb.master.CreateSnapshotRequestPB)
523
 private:
524
  void set_has_transaction_aware();
525
  void clear_has_transaction_aware();
526
  void set_has_add_indexes();
527
  void clear_has_add_indexes();
528
  void set_has_imported();
529
  void clear_has_imported();
530
  void set_has_schedule_id();
531
  void clear_has_schedule_id();
532
533
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
534
  ::google::protobuf::internal::HasBits<1> _has_bits_;
535
  mutable int _cached_size_;
536
  ::google::protobuf::RepeatedPtrField< ::yb::master::TableIdentifierPB > tables_;
537
  ::google::protobuf::internal::ArenaStringPtr schedule_id_;
538
  bool transaction_aware_;
539
  bool add_indexes_;
540
  bool imported_;
541
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
542
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsCreateSnapshotRequestPBImpl();
543
};
544
// -------------------------------------------------------------------
545
546
class CreateSnapshotResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.CreateSnapshotResponsePB) */ {
547
 public:
548
  CreateSnapshotResponsePB();
549
  virtual ~CreateSnapshotResponsePB();
550
551
  CreateSnapshotResponsePB(const CreateSnapshotResponsePB& from);
552
553
0
  inline CreateSnapshotResponsePB& operator=(const CreateSnapshotResponsePB& from) {
554
0
    CopyFrom(from);
555
0
    return *this;
556
0
  }
557
  #if LANG_CXX11
558
  CreateSnapshotResponsePB(CreateSnapshotResponsePB&& from) noexcept
559
0
    : CreateSnapshotResponsePB() {
560
0
    *this = ::std::move(from);
561
0
  }
562
563
0
  inline CreateSnapshotResponsePB& operator=(CreateSnapshotResponsePB&& from) noexcept {
564
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
565
0
      if (this != &from) InternalSwap(&from);
566
0
    } else {
567
0
      CopyFrom(from);
568
0
    }
569
0
    return *this;
570
0
  }
571
  #endif
572
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
573
0
    return _internal_metadata_.unknown_fields();
574
0
  }
575
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
576
0
    return _internal_metadata_.mutable_unknown_fields();
577
0
  }
578
579
  static const ::google::protobuf::Descriptor* descriptor();
580
  static const CreateSnapshotResponsePB& default_instance();
581
582
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
583
15.8k
  static inline const CreateSnapshotResponsePB* internal_default_instance() {
584
15.8k
    return reinterpret_cast<const CreateSnapshotResponsePB*>(
585
15.8k
               &_CreateSnapshotResponsePB_default_instance_);
586
15.8k
  }
587
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
588
    2;
589
590
  void Swap(CreateSnapshotResponsePB* other);
591
0
  friend void swap(CreateSnapshotResponsePB& a, CreateSnapshotResponsePB& b) {
592
0
    a.Swap(&b);
593
0
  }
594
595
  // implements Message ----------------------------------------------
596
597
0
  inline CreateSnapshotResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
598
599
  CreateSnapshotResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
600
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
601
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
602
  void CopyFrom(const CreateSnapshotResponsePB& from);
603
  void MergeFrom(const CreateSnapshotResponsePB& from);
604
  void Clear() PROTOBUF_FINAL;
605
  bool IsInitialized() const PROTOBUF_FINAL;
606
607
  size_t ByteSizeLong() const PROTOBUF_FINAL;
608
  bool MergePartialFromCodedStream(
609
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
610
  void SerializeWithCachedSizes(
611
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
612
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
613
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
614
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
615
  private:
616
  void SharedCtor();
617
  void SharedDtor();
618
  void SetCachedSize(int size) const PROTOBUF_FINAL;
619
  void InternalSwap(CreateSnapshotResponsePB* other);
620
  private:
621
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
622
0
    return NULL;
623
0
  }
624
0
  inline void* MaybeArenaPtr() const {
625
0
    return NULL;
626
0
  }
627
  public:
628
629
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
630
631
  // nested types ----------------------------------------------------
632
633
  // accessors -------------------------------------------------------
634
635
  // optional bytes snapshot_id = 2;
636
  bool has_snapshot_id() const;
637
  void clear_snapshot_id();
638
  static const int kSnapshotIdFieldNumber = 2;
639
  const ::std::string& snapshot_id() const;
640
  void set_snapshot_id(const ::std::string& value);
641
  #if LANG_CXX11
642
  void set_snapshot_id(::std::string&& value);
643
  #endif
644
  void set_snapshot_id(const char* value);
645
  void set_snapshot_id(const void* value, size_t size);
646
  ::std::string* mutable_snapshot_id();
647
  ::std::string* release_snapshot_id();
648
  void set_allocated_snapshot_id(::std::string* snapshot_id);
649
650
  // optional .yb.master.MasterErrorPB error = 1;
651
  bool has_error() const;
652
  void clear_error();
653
  static const int kErrorFieldNumber = 1;
654
  const ::yb::master::MasterErrorPB& error() const;
655
  ::yb::master::MasterErrorPB* release_error();
656
  ::yb::master::MasterErrorPB* mutable_error();
657
  void set_allocated_error(::yb::master::MasterErrorPB* error);
658
659
  // @@protoc_insertion_point(class_scope:yb.master.CreateSnapshotResponsePB)
660
 private:
661
  void set_has_error();
662
  void clear_has_error();
663
  void set_has_snapshot_id();
664
  void clear_has_snapshot_id();
665
666
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
667
  ::google::protobuf::internal::HasBits<1> _has_bits_;
668
  mutable int _cached_size_;
669
  ::google::protobuf::internal::ArenaStringPtr snapshot_id_;
670
  ::yb::master::MasterErrorPB* error_;
671
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
672
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsCreateSnapshotResponsePBImpl();
673
};
674
// -------------------------------------------------------------------
675
676
class SnapshotInfoPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SnapshotInfoPB) */ {
677
 public:
678
  SnapshotInfoPB();
679
  virtual ~SnapshotInfoPB();
680
681
  SnapshotInfoPB(const SnapshotInfoPB& from);
682
683
0
  inline SnapshotInfoPB& operator=(const SnapshotInfoPB& from) {
684
0
    CopyFrom(from);
685
0
    return *this;
686
0
  }
687
  #if LANG_CXX11
688
  SnapshotInfoPB(SnapshotInfoPB&& from) noexcept
689
0
    : SnapshotInfoPB() {
690
0
    *this = ::std::move(from);
691
0
  }
692
693
0
  inline SnapshotInfoPB& operator=(SnapshotInfoPB&& from) noexcept {
694
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
695
0
      if (this != &from) InternalSwap(&from);
696
0
    } else {
697
0
      CopyFrom(from);
698
0
    }
699
0
    return *this;
700
0
  }
701
  #endif
702
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
703
0
    return _internal_metadata_.unknown_fields();
704
0
  }
705
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
706
0
    return _internal_metadata_.mutable_unknown_fields();
707
0
  }
708
709
  static const ::google::protobuf::Descriptor* descriptor();
710
  static const SnapshotInfoPB& default_instance();
711
712
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
713
31.6k
  static inline const SnapshotInfoPB* internal_default_instance() {
714
31.6k
    return reinterpret_cast<const SnapshotInfoPB*>(
715
31.6k
               &_SnapshotInfoPB_default_instance_);
716
31.6k
  }
717
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
718
    3;
719
720
  void Swap(SnapshotInfoPB* other);
721
0
  friend void swap(SnapshotInfoPB& a, SnapshotInfoPB& b) {
722
0
    a.Swap(&b);
723
0
  }
724
725
  // implements Message ----------------------------------------------
726
727
0
  inline SnapshotInfoPB* New() const PROTOBUF_FINAL { return New(NULL); }
728
729
  SnapshotInfoPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
730
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
731
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
732
  void CopyFrom(const SnapshotInfoPB& from);
733
  void MergeFrom(const SnapshotInfoPB& from);
734
  void Clear() PROTOBUF_FINAL;
735
  bool IsInitialized() const PROTOBUF_FINAL;
736
737
  size_t ByteSizeLong() const PROTOBUF_FINAL;
738
  bool MergePartialFromCodedStream(
739
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
740
  void SerializeWithCachedSizes(
741
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
742
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
743
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
744
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
745
  private:
746
  void SharedCtor();
747
  void SharedDtor();
748
  void SetCachedSize(int size) const PROTOBUF_FINAL;
749
  void InternalSwap(SnapshotInfoPB* other);
750
  private:
751
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
752
0
    return NULL;
753
0
  }
754
0
  inline void* MaybeArenaPtr() const {
755
0
    return NULL;
756
0
  }
757
  public:
758
759
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
760
761
  // nested types ----------------------------------------------------
762
763
  // accessors -------------------------------------------------------
764
765
  // repeated .yb.master.BackupRowEntryPB backup_entries = 4;
766
  int backup_entries_size() const;
767
  void clear_backup_entries();
768
  static const int kBackupEntriesFieldNumber = 4;
769
  const ::yb::master::BackupRowEntryPB& backup_entries(int index) const;
770
  ::yb::master::BackupRowEntryPB* mutable_backup_entries(int index);
771
  ::yb::master::BackupRowEntryPB* add_backup_entries();
772
  ::google::protobuf::RepeatedPtrField< ::yb::master::BackupRowEntryPB >*
773
      mutable_backup_entries();
774
  const ::google::protobuf::RepeatedPtrField< ::yb::master::BackupRowEntryPB >&
775
      backup_entries() const;
776
777
  // optional bytes id = 1;
778
  bool has_id() const;
779
  void clear_id();
780
  static const int kIdFieldNumber = 1;
781
  const ::std::string& id() const;
782
  void set_id(const ::std::string& value);
783
  #if LANG_CXX11
784
  void set_id(::std::string&& value);
785
  #endif
786
  void set_id(const char* value);
787
  void set_id(const void* value, size_t size);
788
  ::std::string* mutable_id();
789
  ::std::string* release_id();
790
  void set_allocated_id(::std::string* id);
791
792
  // optional .yb.master.SysSnapshotEntryPB entry = 2;
793
  bool has_entry() const;
794
  void clear_entry();
795
  static const int kEntryFieldNumber = 2;
796
  const ::yb::master::SysSnapshotEntryPB& entry() const;
797
  ::yb::master::SysSnapshotEntryPB* release_entry();
798
  ::yb::master::SysSnapshotEntryPB* mutable_entry();
799
  void set_allocated_entry(::yb::master::SysSnapshotEntryPB* entry);
800
801
  // optional int64 format_version = 3 [default = 1];
802
  bool has_format_version() const;
803
  void clear_format_version();
804
  static const int kFormatVersionFieldNumber = 3;
805
  ::google::protobuf::int64 format_version() const;
806
  void set_format_version(::google::protobuf::int64 value);
807
808
  // @@protoc_insertion_point(class_scope:yb.master.SnapshotInfoPB)
809
 private:
810
  void set_has_id();
811
  void clear_has_id();
812
  void set_has_entry();
813
  void clear_has_entry();
814
  void set_has_format_version();
815
  void clear_has_format_version();
816
817
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
818
  ::google::protobuf::internal::HasBits<1> _has_bits_;
819
  mutable int _cached_size_;
820
  ::google::protobuf::RepeatedPtrField< ::yb::master::BackupRowEntryPB > backup_entries_;
821
  ::google::protobuf::internal::ArenaStringPtr id_;
822
  ::yb::master::SysSnapshotEntryPB* entry_;
823
  ::google::protobuf::int64 format_version_;
824
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
825
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSnapshotInfoPBImpl();
826
};
827
// -------------------------------------------------------------------
828
829
class TabletRestorationPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TabletRestorationPB) */ {
830
 public:
831
  TabletRestorationPB();
832
  virtual ~TabletRestorationPB();
833
834
  TabletRestorationPB(const TabletRestorationPB& from);
835
836
0
  inline TabletRestorationPB& operator=(const TabletRestorationPB& from) {
837
0
    CopyFrom(from);
838
0
    return *this;
839
0
  }
840
  #if LANG_CXX11
841
  TabletRestorationPB(TabletRestorationPB&& from) noexcept
842
0
    : TabletRestorationPB() {
843
0
    *this = ::std::move(from);
844
0
  }
845
846
0
  inline TabletRestorationPB& operator=(TabletRestorationPB&& from) noexcept {
847
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
848
0
      if (this != &from) InternalSwap(&from);
849
0
    } else {
850
0
      CopyFrom(from);
851
0
    }
852
0
    return *this;
853
0
  }
854
  #endif
855
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
856
0
    return _internal_metadata_.unknown_fields();
857
0
  }
858
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
859
0
    return _internal_metadata_.mutable_unknown_fields();
860
0
  }
861
862
  static const ::google::protobuf::Descriptor* descriptor();
863
  static const TabletRestorationPB& default_instance();
864
865
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
866
15.8k
  static inline const TabletRestorationPB* internal_default_instance() {
867
15.8k
    return reinterpret_cast<const TabletRestorationPB*>(
868
15.8k
               &_TabletRestorationPB_default_instance_);
869
15.8k
  }
870
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
871
    4;
872
873
  void Swap(TabletRestorationPB* other);
874
0
  friend void swap(TabletRestorationPB& a, TabletRestorationPB& b) {
875
0
    a.Swap(&b);
876
0
  }
877
878
  // implements Message ----------------------------------------------
879
880
0
  inline TabletRestorationPB* New() const PROTOBUF_FINAL { return New(NULL); }
881
882
  TabletRestorationPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
883
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
884
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
885
  void CopyFrom(const TabletRestorationPB& from);
886
  void MergeFrom(const TabletRestorationPB& from);
887
  void Clear() PROTOBUF_FINAL;
888
  bool IsInitialized() const PROTOBUF_FINAL;
889
890
  size_t ByteSizeLong() const PROTOBUF_FINAL;
891
  bool MergePartialFromCodedStream(
892
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
893
  void SerializeWithCachedSizes(
894
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
895
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
896
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
897
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
898
  private:
899
  void SharedCtor();
900
  void SharedDtor();
901
  void SetCachedSize(int size) const PROTOBUF_FINAL;
902
  void InternalSwap(TabletRestorationPB* other);
903
  private:
904
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
905
0
    return NULL;
906
0
  }
907
0
  inline void* MaybeArenaPtr() const {
908
0
    return NULL;
909
0
  }
910
  public:
911
912
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
913
914
  // nested types ----------------------------------------------------
915
916
  // accessors -------------------------------------------------------
917
918
  // optional bytes id = 1;
919
  bool has_id() const;
920
  void clear_id();
921
  static const int kIdFieldNumber = 1;
922
  const ::std::string& id() const;
923
  void set_id(const ::std::string& value);
924
  #if LANG_CXX11
925
  void set_id(::std::string&& value);
926
  #endif
927
  void set_id(const char* value);
928
  void set_id(const void* value, size_t size);
929
  ::std::string* mutable_id();
930
  ::std::string* release_id();
931
  void set_allocated_id(::std::string* id);
932
933
  // optional .yb.master.SysSnapshotEntryPB.State state = 2;
934
  bool has_state() const;
935
  void clear_state();
936
  static const int kStateFieldNumber = 2;
937
  ::yb::master::SysSnapshotEntryPB_State state() const;
938
  void set_state(::yb::master::SysSnapshotEntryPB_State value);
939
940
  // @@protoc_insertion_point(class_scope:yb.master.TabletRestorationPB)
941
 private:
942
  void set_has_id();
943
  void clear_has_id();
944
  void set_has_state();
945
  void clear_has_state();
946
947
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
948
  ::google::protobuf::internal::HasBits<1> _has_bits_;
949
  mutable int _cached_size_;
950
  ::google::protobuf::internal::ArenaStringPtr id_;
951
  int state_;
952
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
953
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsTabletRestorationPBImpl();
954
};
955
// -------------------------------------------------------------------
956
957
class SysRestorationEntryPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SysRestorationEntryPB) */ {
958
 public:
959
  SysRestorationEntryPB();
960
  virtual ~SysRestorationEntryPB();
961
962
  SysRestorationEntryPB(const SysRestorationEntryPB& from);
963
964
0
  inline SysRestorationEntryPB& operator=(const SysRestorationEntryPB& from) {
965
0
    CopyFrom(from);
966
0
    return *this;
967
0
  }
968
  #if LANG_CXX11
969
  SysRestorationEntryPB(SysRestorationEntryPB&& from) noexcept
970
0
    : SysRestorationEntryPB() {
971
0
    *this = ::std::move(from);
972
0
  }
973
974
0
  inline SysRestorationEntryPB& operator=(SysRestorationEntryPB&& from) noexcept {
975
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
976
0
      if (this != &from) InternalSwap(&from);
977
0
    } else {
978
0
      CopyFrom(from);
979
0
    }
980
0
    return *this;
981
0
  }
982
  #endif
983
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
984
0
    return _internal_metadata_.unknown_fields();
985
0
  }
986
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
987
0
    return _internal_metadata_.mutable_unknown_fields();
988
0
  }
989
990
  static const ::google::protobuf::Descriptor* descriptor();
991
  static const SysRestorationEntryPB& default_instance();
992
993
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
994
31.6k
  static inline const SysRestorationEntryPB* internal_default_instance() {
995
31.6k
    return reinterpret_cast<const SysRestorationEntryPB*>(
996
31.6k
               &_SysRestorationEntryPB_default_instance_);
997
31.6k
  }
998
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
999
    5;
1000
1001
  void Swap(SysRestorationEntryPB* other);
1002
0
  friend void swap(SysRestorationEntryPB& a, SysRestorationEntryPB& b) {
1003
0
    a.Swap(&b);
1004
0
  }
1005
1006
  // implements Message ----------------------------------------------
1007
1008
0
  inline SysRestorationEntryPB* New() const PROTOBUF_FINAL { return New(NULL); }
1009
1010
  SysRestorationEntryPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1011
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1012
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1013
  void CopyFrom(const SysRestorationEntryPB& from);
1014
  void MergeFrom(const SysRestorationEntryPB& from);
1015
  void Clear() PROTOBUF_FINAL;
1016
  bool IsInitialized() const PROTOBUF_FINAL;
1017
1018
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1019
  bool MergePartialFromCodedStream(
1020
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1021
  void SerializeWithCachedSizes(
1022
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1023
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1024
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1025
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1026
  private:
1027
  void SharedCtor();
1028
  void SharedDtor();
1029
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1030
  void InternalSwap(SysRestorationEntryPB* other);
1031
  private:
1032
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1033
0
    return NULL;
1034
0
  }
1035
0
  inline void* MaybeArenaPtr() const {
1036
0
    return NULL;
1037
0
  }
1038
  public:
1039
1040
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1041
1042
  // nested types ----------------------------------------------------
1043
1044
  // accessors -------------------------------------------------------
1045
1046
  // repeated .yb.master.TabletRestorationPB tablet_restorations = 2;
1047
  int tablet_restorations_size() const;
1048
  void clear_tablet_restorations();
1049
  static const int kTabletRestorationsFieldNumber = 2;
1050
  const ::yb::master::TabletRestorationPB& tablet_restorations(int index) const;
1051
  ::yb::master::TabletRestorationPB* mutable_tablet_restorations(int index);
1052
  ::yb::master::TabletRestorationPB* add_tablet_restorations();
1053
  ::google::protobuf::RepeatedPtrField< ::yb::master::TabletRestorationPB >*
1054
      mutable_tablet_restorations();
1055
  const ::google::protobuf::RepeatedPtrField< ::yb::master::TabletRestorationPB >&
1056
      tablet_restorations() const;
1057
1058
  // optional bytes snapshot_id = 8;
1059
  bool has_snapshot_id() const;
1060
  void clear_snapshot_id();
1061
  static const int kSnapshotIdFieldNumber = 8;
1062
  const ::std::string& snapshot_id() const;
1063
  void set_snapshot_id(const ::std::string& value);
1064
  #if LANG_CXX11
1065
  void set_snapshot_id(::std::string&& value);
1066
  #endif
1067
  void set_snapshot_id(const char* value);
1068
  void set_snapshot_id(const void* value, size_t size);
1069
  ::std::string* mutable_snapshot_id();
1070
  ::std::string* release_snapshot_id();
1071
  void set_allocated_snapshot_id(::std::string* snapshot_id);
1072
1073
  // optional fixed64 complete_time_ht = 3;
1074
  bool has_complete_time_ht() const;
1075
  void clear_complete_time_ht();
1076
  static const int kCompleteTimeHtFieldNumber = 3;
1077
  ::google::protobuf::uint64 complete_time_ht() const;
1078
  void set_complete_time_ht(::google::protobuf::uint64 value);
1079
1080
  // optional .yb.master.SysSnapshotEntryPB.State state = 1 [default = UNKNOWN];
1081
  bool has_state() const;
1082
  void clear_state();
1083
  static const int kStateFieldNumber = 1;
1084
  ::yb::master::SysSnapshotEntryPB_State state() const;
1085
  void set_state(::yb::master::SysSnapshotEntryPB_State value);
1086
1087
  // @@protoc_insertion_point(class_scope:yb.master.SysRestorationEntryPB)
1088
 private:
1089
  void set_has_state();
1090
  void clear_has_state();
1091
  void set_has_snapshot_id();
1092
  void clear_has_snapshot_id();
1093
  void set_has_complete_time_ht();
1094
  void clear_has_complete_time_ht();
1095
1096
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1097
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1098
  mutable int _cached_size_;
1099
  ::google::protobuf::RepeatedPtrField< ::yb::master::TabletRestorationPB > tablet_restorations_;
1100
  ::google::protobuf::internal::ArenaStringPtr snapshot_id_;
1101
  ::google::protobuf::uint64 complete_time_ht_;
1102
  int state_;
1103
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
1104
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSysRestorationEntryPBImpl();
1105
};
1106
// -------------------------------------------------------------------
1107
1108
class RestorationInfoPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.RestorationInfoPB) */ {
1109
 public:
1110
  RestorationInfoPB();
1111
  virtual ~RestorationInfoPB();
1112
1113
  RestorationInfoPB(const RestorationInfoPB& from);
1114
1115
0
  inline RestorationInfoPB& operator=(const RestorationInfoPB& from) {
1116
0
    CopyFrom(from);
1117
0
    return *this;
1118
0
  }
1119
  #if LANG_CXX11
1120
  RestorationInfoPB(RestorationInfoPB&& from) noexcept
1121
0
    : RestorationInfoPB() {
1122
0
    *this = ::std::move(from);
1123
0
  }
1124
1125
0
  inline RestorationInfoPB& operator=(RestorationInfoPB&& from) noexcept {
1126
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1127
0
      if (this != &from) InternalSwap(&from);
1128
0
    } else {
1129
0
      CopyFrom(from);
1130
0
    }
1131
0
    return *this;
1132
0
  }
1133
  #endif
1134
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1135
0
    return _internal_metadata_.unknown_fields();
1136
0
  }
1137
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1138
0
    return _internal_metadata_.mutable_unknown_fields();
1139
0
  }
1140
1141
  static const ::google::protobuf::Descriptor* descriptor();
1142
  static const RestorationInfoPB& default_instance();
1143
1144
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1145
15.8k
  static inline const RestorationInfoPB* internal_default_instance() {
1146
15.8k
    return reinterpret_cast<const RestorationInfoPB*>(
1147
15.8k
               &_RestorationInfoPB_default_instance_);
1148
15.8k
  }
1149
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1150
    6;
1151
1152
  void Swap(RestorationInfoPB* other);
1153
0
  friend void swap(RestorationInfoPB& a, RestorationInfoPB& b) {
1154
0
    a.Swap(&b);
1155
0
  }
1156
1157
  // implements Message ----------------------------------------------
1158
1159
0
  inline RestorationInfoPB* New() const PROTOBUF_FINAL { return New(NULL); }
1160
1161
  RestorationInfoPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1162
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1163
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1164
  void CopyFrom(const RestorationInfoPB& from);
1165
  void MergeFrom(const RestorationInfoPB& from);
1166
  void Clear() PROTOBUF_FINAL;
1167
  bool IsInitialized() const PROTOBUF_FINAL;
1168
1169
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1170
  bool MergePartialFromCodedStream(
1171
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1172
  void SerializeWithCachedSizes(
1173
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1174
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1175
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1176
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1177
  private:
1178
  void SharedCtor();
1179
  void SharedDtor();
1180
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1181
  void InternalSwap(RestorationInfoPB* other);
1182
  private:
1183
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1184
0
    return NULL;
1185
0
  }
1186
0
  inline void* MaybeArenaPtr() const {
1187
0
    return NULL;
1188
0
  }
1189
  public:
1190
1191
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1192
1193
  // nested types ----------------------------------------------------
1194
1195
  // accessors -------------------------------------------------------
1196
1197
  // optional bytes id = 1;
1198
  bool has_id() const;
1199
  void clear_id();
1200
  static const int kIdFieldNumber = 1;
1201
  const ::std::string& id() const;
1202
  void set_id(const ::std::string& value);
1203
  #if LANG_CXX11
1204
  void set_id(::std::string&& value);
1205
  #endif
1206
  void set_id(const char* value);
1207
  void set_id(const void* value, size_t size);
1208
  ::std::string* mutable_id();
1209
  ::std::string* release_id();
1210
  void set_allocated_id(::std::string* id);
1211
1212
  // optional .yb.master.SysRestorationEntryPB entry = 2;
1213
  bool has_entry() const;
1214
  void clear_entry();
1215
  static const int kEntryFieldNumber = 2;
1216
  const ::yb::master::SysRestorationEntryPB& entry() const;
1217
  ::yb::master::SysRestorationEntryPB* release_entry();
1218
  ::yb::master::SysRestorationEntryPB* mutable_entry();
1219
  void set_allocated_entry(::yb::master::SysRestorationEntryPB* entry);
1220
1221
  // @@protoc_insertion_point(class_scope:yb.master.RestorationInfoPB)
1222
 private:
1223
  void set_has_id();
1224
  void clear_has_id();
1225
  void set_has_entry();
1226
  void clear_has_entry();
1227
1228
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1229
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1230
  mutable int _cached_size_;
1231
  ::google::protobuf::internal::ArenaStringPtr id_;
1232
  ::yb::master::SysRestorationEntryPB* entry_;
1233
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
1234
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsRestorationInfoPBImpl();
1235
};
1236
// -------------------------------------------------------------------
1237
1238
class ListSnapshotsRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ListSnapshotsRequestPB) */ {
1239
 public:
1240
  ListSnapshotsRequestPB();
1241
  virtual ~ListSnapshotsRequestPB();
1242
1243
  ListSnapshotsRequestPB(const ListSnapshotsRequestPB& from);
1244
1245
0
  inline ListSnapshotsRequestPB& operator=(const ListSnapshotsRequestPB& from) {
1246
0
    CopyFrom(from);
1247
0
    return *this;
1248
0
  }
1249
  #if LANG_CXX11
1250
  ListSnapshotsRequestPB(ListSnapshotsRequestPB&& from) noexcept
1251
0
    : ListSnapshotsRequestPB() {
1252
0
    *this = ::std::move(from);
1253
0
  }
1254
1255
0
  inline ListSnapshotsRequestPB& operator=(ListSnapshotsRequestPB&& from) noexcept {
1256
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1257
0
      if (this != &from) InternalSwap(&from);
1258
0
    } else {
1259
0
      CopyFrom(from);
1260
0
    }
1261
0
    return *this;
1262
0
  }
1263
  #endif
1264
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1265
0
    return _internal_metadata_.unknown_fields();
1266
0
  }
1267
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1268
0
    return _internal_metadata_.mutable_unknown_fields();
1269
0
  }
1270
1271
  static const ::google::protobuf::Descriptor* descriptor();
1272
  static const ListSnapshotsRequestPB& default_instance();
1273
1274
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1275
15.8k
  static inline const ListSnapshotsRequestPB* internal_default_instance() {
1276
15.8k
    return reinterpret_cast<const ListSnapshotsRequestPB*>(
1277
15.8k
               &_ListSnapshotsRequestPB_default_instance_);
1278
15.8k
  }
1279
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1280
    7;
1281
1282
  void Swap(ListSnapshotsRequestPB* other);
1283
0
  friend void swap(ListSnapshotsRequestPB& a, ListSnapshotsRequestPB& b) {
1284
0
    a.Swap(&b);
1285
0
  }
1286
1287
  // implements Message ----------------------------------------------
1288
1289
0
  inline ListSnapshotsRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
1290
1291
  ListSnapshotsRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1292
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1293
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1294
  void CopyFrom(const ListSnapshotsRequestPB& from);
1295
  void MergeFrom(const ListSnapshotsRequestPB& from);
1296
  void Clear() PROTOBUF_FINAL;
1297
  bool IsInitialized() const PROTOBUF_FINAL;
1298
1299
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1300
  bool MergePartialFromCodedStream(
1301
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1302
  void SerializeWithCachedSizes(
1303
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1304
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1305
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1306
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1307
  private:
1308
  void SharedCtor();
1309
  void SharedDtor();
1310
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1311
  void InternalSwap(ListSnapshotsRequestPB* other);
1312
  private:
1313
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1314
0
    return NULL;
1315
0
  }
1316
0
  inline void* MaybeArenaPtr() const {
1317
0
    return NULL;
1318
0
  }
1319
  public:
1320
1321
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1322
1323
  // nested types ----------------------------------------------------
1324
1325
  // accessors -------------------------------------------------------
1326
1327
  // optional bytes snapshot_id = 2;
1328
  bool has_snapshot_id() const;
1329
  void clear_snapshot_id();
1330
  static const int kSnapshotIdFieldNumber = 2;
1331
  const ::std::string& snapshot_id() const;
1332
  void set_snapshot_id(const ::std::string& value);
1333
  #if LANG_CXX11
1334
  void set_snapshot_id(::std::string&& value);
1335
  #endif
1336
  void set_snapshot_id(const char* value);
1337
  void set_snapshot_id(const void* value, size_t size);
1338
  ::std::string* mutable_snapshot_id();
1339
  ::std::string* release_snapshot_id();
1340
  void set_allocated_snapshot_id(::std::string* snapshot_id);
1341
1342
  // optional bool list_deleted_snapshots = 3;
1343
  bool has_list_deleted_snapshots() const;
1344
  void clear_list_deleted_snapshots();
1345
  static const int kListDeletedSnapshotsFieldNumber = 3;
1346
  bool list_deleted_snapshots() const;
1347
  void set_list_deleted_snapshots(bool value);
1348
1349
  // optional bool prepare_for_backup = 4;
1350
  bool has_prepare_for_backup() const;
1351
  void clear_prepare_for_backup();
1352
  static const int kPrepareForBackupFieldNumber = 4;
1353
  bool prepare_for_backup() const;
1354
  void set_prepare_for_backup(bool value);
1355
1356
  // @@protoc_insertion_point(class_scope:yb.master.ListSnapshotsRequestPB)
1357
 private:
1358
  void set_has_snapshot_id();
1359
  void clear_has_snapshot_id();
1360
  void set_has_list_deleted_snapshots();
1361
  void clear_has_list_deleted_snapshots();
1362
  void set_has_prepare_for_backup();
1363
  void clear_has_prepare_for_backup();
1364
1365
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1366
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1367
  mutable int _cached_size_;
1368
  ::google::protobuf::internal::ArenaStringPtr snapshot_id_;
1369
  bool list_deleted_snapshots_;
1370
  bool prepare_for_backup_;
1371
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
1372
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsListSnapshotsRequestPBImpl();
1373
};
1374
// -------------------------------------------------------------------
1375
1376
class ListSnapshotsResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ListSnapshotsResponsePB) */ {
1377
 public:
1378
  ListSnapshotsResponsePB();
1379
  virtual ~ListSnapshotsResponsePB();
1380
1381
  ListSnapshotsResponsePB(const ListSnapshotsResponsePB& from);
1382
1383
0
  inline ListSnapshotsResponsePB& operator=(const ListSnapshotsResponsePB& from) {
1384
0
    CopyFrom(from);
1385
0
    return *this;
1386
0
  }
1387
  #if LANG_CXX11
1388
  ListSnapshotsResponsePB(ListSnapshotsResponsePB&& from) noexcept
1389
0
    : ListSnapshotsResponsePB() {
1390
0
    *this = ::std::move(from);
1391
0
  }
Unexecuted instantiation: _ZN2yb6master23ListSnapshotsResponsePBC2EOS1_
Unexecuted instantiation: _ZN2yb6master23ListSnapshotsResponsePBC1EOS1_
1392
1393
0
  inline ListSnapshotsResponsePB& operator=(ListSnapshotsResponsePB&& from) noexcept {
1394
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1395
0
      if (this != &from) InternalSwap(&from);
1396
0
    } else {
1397
0
      CopyFrom(from);
1398
0
    }
1399
0
    return *this;
1400
0
  }
1401
  #endif
1402
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1403
0
    return _internal_metadata_.unknown_fields();
1404
0
  }
1405
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1406
0
    return _internal_metadata_.mutable_unknown_fields();
1407
0
  }
1408
1409
  static const ::google::protobuf::Descriptor* descriptor();
1410
  static const ListSnapshotsResponsePB& default_instance();
1411
1412
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1413
15.8k
  static inline const ListSnapshotsResponsePB* internal_default_instance() {
1414
15.8k
    return reinterpret_cast<const ListSnapshotsResponsePB*>(
1415
15.8k
               &_ListSnapshotsResponsePB_default_instance_);
1416
15.8k
  }
1417
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1418
    8;
1419
1420
  void Swap(ListSnapshotsResponsePB* other);
1421
0
  friend void swap(ListSnapshotsResponsePB& a, ListSnapshotsResponsePB& b) {
1422
0
    a.Swap(&b);
1423
0
  }
1424
1425
  // implements Message ----------------------------------------------
1426
1427
0
  inline ListSnapshotsResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
1428
1429
  ListSnapshotsResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1430
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1431
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1432
  void CopyFrom(const ListSnapshotsResponsePB& from);
1433
  void MergeFrom(const ListSnapshotsResponsePB& from);
1434
  void Clear() PROTOBUF_FINAL;
1435
  bool IsInitialized() const PROTOBUF_FINAL;
1436
1437
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1438
  bool MergePartialFromCodedStream(
1439
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1440
  void SerializeWithCachedSizes(
1441
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1442
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1443
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1444
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1445
  private:
1446
  void SharedCtor();
1447
  void SharedDtor();
1448
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1449
  void InternalSwap(ListSnapshotsResponsePB* other);
1450
  private:
1451
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1452
0
    return NULL;
1453
0
  }
1454
0
  inline void* MaybeArenaPtr() const {
1455
0
    return NULL;
1456
0
  }
1457
  public:
1458
1459
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1460
1461
  // nested types ----------------------------------------------------
1462
1463
  // accessors -------------------------------------------------------
1464
1465
  // repeated .yb.master.SnapshotInfoPB snapshots = 3;
1466
  int snapshots_size() const;
1467
  void clear_snapshots();
1468
  static const int kSnapshotsFieldNumber = 3;
1469
  const ::yb::master::SnapshotInfoPB& snapshots(int index) const;
1470
  ::yb::master::SnapshotInfoPB* mutable_snapshots(int index);
1471
  ::yb::master::SnapshotInfoPB* add_snapshots();
1472
  ::google::protobuf::RepeatedPtrField< ::yb::master::SnapshotInfoPB >*
1473
      mutable_snapshots();
1474
  const ::google::protobuf::RepeatedPtrField< ::yb::master::SnapshotInfoPB >&
1475
      snapshots() const;
1476
1477
  // optional bytes current_snapshot_id = 2;
1478
  bool has_current_snapshot_id() const;
1479
  void clear_current_snapshot_id();
1480
  static const int kCurrentSnapshotIdFieldNumber = 2;
1481
  const ::std::string& current_snapshot_id() const;
1482
  void set_current_snapshot_id(const ::std::string& value);
1483
  #if LANG_CXX11
1484
  void set_current_snapshot_id(::std::string&& value);
1485
  #endif
1486
  void set_current_snapshot_id(const char* value);
1487
  void set_current_snapshot_id(const void* value, size_t size);
1488
  ::std::string* mutable_current_snapshot_id();
1489
  ::std::string* release_current_snapshot_id();
1490
  void set_allocated_current_snapshot_id(::std::string* current_snapshot_id);
1491
1492
  // optional .yb.master.MasterErrorPB error = 1;
1493
  bool has_error() const;
1494
  void clear_error();
1495
  static const int kErrorFieldNumber = 1;
1496
  const ::yb::master::MasterErrorPB& error() const;
1497
  ::yb::master::MasterErrorPB* release_error();
1498
  ::yb::master::MasterErrorPB* mutable_error();
1499
  void set_allocated_error(::yb::master::MasterErrorPB* error);
1500
1501
  // @@protoc_insertion_point(class_scope:yb.master.ListSnapshotsResponsePB)
1502
 private:
1503
  void set_has_error();
1504
  void clear_has_error();
1505
  void set_has_current_snapshot_id();
1506
  void clear_has_current_snapshot_id();
1507
1508
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1509
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1510
  mutable int _cached_size_;
1511
  ::google::protobuf::RepeatedPtrField< ::yb::master::SnapshotInfoPB > snapshots_;
1512
  ::google::protobuf::internal::ArenaStringPtr current_snapshot_id_;
1513
  ::yb::master::MasterErrorPB* error_;
1514
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
1515
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsListSnapshotsResponsePBImpl();
1516
};
1517
// -------------------------------------------------------------------
1518
1519
class RestoreSnapshotRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.RestoreSnapshotRequestPB) */ {
1520
 public:
1521
  RestoreSnapshotRequestPB();
1522
  virtual ~RestoreSnapshotRequestPB();
1523
1524
  RestoreSnapshotRequestPB(const RestoreSnapshotRequestPB& from);
1525
1526
0
  inline RestoreSnapshotRequestPB& operator=(const RestoreSnapshotRequestPB& from) {
1527
0
    CopyFrom(from);
1528
0
    return *this;
1529
0
  }
1530
  #if LANG_CXX11
1531
  RestoreSnapshotRequestPB(RestoreSnapshotRequestPB&& from) noexcept
1532
0
    : RestoreSnapshotRequestPB() {
1533
0
    *this = ::std::move(from);
1534
0
  }
1535
1536
0
  inline RestoreSnapshotRequestPB& operator=(RestoreSnapshotRequestPB&& from) noexcept {
1537
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1538
0
      if (this != &from) InternalSwap(&from);
1539
0
    } else {
1540
0
      CopyFrom(from);
1541
0
    }
1542
0
    return *this;
1543
0
  }
1544
  #endif
1545
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1546
0
    return _internal_metadata_.unknown_fields();
1547
0
  }
1548
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1549
0
    return _internal_metadata_.mutable_unknown_fields();
1550
0
  }
1551
1552
  static const ::google::protobuf::Descriptor* descriptor();
1553
  static const RestoreSnapshotRequestPB& default_instance();
1554
1555
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1556
15.8k
  static inline const RestoreSnapshotRequestPB* internal_default_instance() {
1557
15.8k
    return reinterpret_cast<const RestoreSnapshotRequestPB*>(
1558
15.8k
               &_RestoreSnapshotRequestPB_default_instance_);
1559
15.8k
  }
1560
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1561
    9;
1562
1563
  void Swap(RestoreSnapshotRequestPB* other);
1564
0
  friend void swap(RestoreSnapshotRequestPB& a, RestoreSnapshotRequestPB& b) {
1565
0
    a.Swap(&b);
1566
0
  }
1567
1568
  // implements Message ----------------------------------------------
1569
1570
0
  inline RestoreSnapshotRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
1571
1572
  RestoreSnapshotRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1573
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1574
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1575
  void CopyFrom(const RestoreSnapshotRequestPB& from);
1576
  void MergeFrom(const RestoreSnapshotRequestPB& from);
1577
  void Clear() PROTOBUF_FINAL;
1578
  bool IsInitialized() const PROTOBUF_FINAL;
1579
1580
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1581
  bool MergePartialFromCodedStream(
1582
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1583
  void SerializeWithCachedSizes(
1584
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1585
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1586
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1587
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1588
  private:
1589
  void SharedCtor();
1590
  void SharedDtor();
1591
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1592
  void InternalSwap(RestoreSnapshotRequestPB* other);
1593
  private:
1594
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1595
0
    return NULL;
1596
0
  }
1597
0
  inline void* MaybeArenaPtr() const {
1598
0
    return NULL;
1599
0
  }
1600
  public:
1601
1602
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1603
1604
  // nested types ----------------------------------------------------
1605
1606
  // accessors -------------------------------------------------------
1607
1608
  // optional bytes snapshot_id = 2;
1609
  bool has_snapshot_id() const;
1610
  void clear_snapshot_id();
1611
  static const int kSnapshotIdFieldNumber = 2;
1612
  const ::std::string& snapshot_id() const;
1613
  void set_snapshot_id(const ::std::string& value);
1614
  #if LANG_CXX11
1615
  void set_snapshot_id(::std::string&& value);
1616
  #endif
1617
  void set_snapshot_id(const char* value);
1618
  void set_snapshot_id(const void* value, size_t size);
1619
  ::std::string* mutable_snapshot_id();
1620
  ::std::string* release_snapshot_id();
1621
  void set_allocated_snapshot_id(::std::string* snapshot_id);
1622
1623
  // optional fixed64 restore_ht = 3;
1624
  bool has_restore_ht() const;
1625
  void clear_restore_ht();
1626
  static const int kRestoreHtFieldNumber = 3;
1627
  ::google::protobuf::uint64 restore_ht() const;
1628
  void set_restore_ht(::google::protobuf::uint64 value);
1629
1630
  // @@protoc_insertion_point(class_scope:yb.master.RestoreSnapshotRequestPB)
1631
 private:
1632
  void set_has_snapshot_id();
1633
  void clear_has_snapshot_id();
1634
  void set_has_restore_ht();
1635
  void clear_has_restore_ht();
1636
1637
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1638
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1639
  mutable int _cached_size_;
1640
  ::google::protobuf::internal::ArenaStringPtr snapshot_id_;
1641
  ::google::protobuf::uint64 restore_ht_;
1642
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
1643
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsRestoreSnapshotRequestPBImpl();
1644
};
1645
// -------------------------------------------------------------------
1646
1647
class RestoreSnapshotResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.RestoreSnapshotResponsePB) */ {
1648
 public:
1649
  RestoreSnapshotResponsePB();
1650
  virtual ~RestoreSnapshotResponsePB();
1651
1652
  RestoreSnapshotResponsePB(const RestoreSnapshotResponsePB& from);
1653
1654
0
  inline RestoreSnapshotResponsePB& operator=(const RestoreSnapshotResponsePB& from) {
1655
0
    CopyFrom(from);
1656
0
    return *this;
1657
0
  }
1658
  #if LANG_CXX11
1659
  RestoreSnapshotResponsePB(RestoreSnapshotResponsePB&& from) noexcept
1660
0
    : RestoreSnapshotResponsePB() {
1661
0
    *this = ::std::move(from);
1662
0
  }
1663
1664
0
  inline RestoreSnapshotResponsePB& operator=(RestoreSnapshotResponsePB&& from) noexcept {
1665
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1666
0
      if (this != &from) InternalSwap(&from);
1667
0
    } else {
1668
0
      CopyFrom(from);
1669
0
    }
1670
0
    return *this;
1671
0
  }
1672
  #endif
1673
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1674
0
    return _internal_metadata_.unknown_fields();
1675
0
  }
1676
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1677
0
    return _internal_metadata_.mutable_unknown_fields();
1678
0
  }
1679
1680
  static const ::google::protobuf::Descriptor* descriptor();
1681
  static const RestoreSnapshotResponsePB& default_instance();
1682
1683
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1684
15.8k
  static inline const RestoreSnapshotResponsePB* internal_default_instance() {
1685
15.8k
    return reinterpret_cast<const RestoreSnapshotResponsePB*>(
1686
15.8k
               &_RestoreSnapshotResponsePB_default_instance_);
1687
15.8k
  }
1688
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1689
    10;
1690
1691
  void Swap(RestoreSnapshotResponsePB* other);
1692
0
  friend void swap(RestoreSnapshotResponsePB& a, RestoreSnapshotResponsePB& b) {
1693
0
    a.Swap(&b);
1694
0
  }
1695
1696
  // implements Message ----------------------------------------------
1697
1698
0
  inline RestoreSnapshotResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
1699
1700
  RestoreSnapshotResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1701
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1702
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1703
  void CopyFrom(const RestoreSnapshotResponsePB& from);
1704
  void MergeFrom(const RestoreSnapshotResponsePB& from);
1705
  void Clear() PROTOBUF_FINAL;
1706
  bool IsInitialized() const PROTOBUF_FINAL;
1707
1708
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1709
  bool MergePartialFromCodedStream(
1710
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1711
  void SerializeWithCachedSizes(
1712
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1713
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1714
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1715
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1716
  private:
1717
  void SharedCtor();
1718
  void SharedDtor();
1719
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1720
  void InternalSwap(RestoreSnapshotResponsePB* other);
1721
  private:
1722
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1723
0
    return NULL;
1724
0
  }
1725
0
  inline void* MaybeArenaPtr() const {
1726
0
    return NULL;
1727
0
  }
1728
  public:
1729
1730
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1731
1732
  // nested types ----------------------------------------------------
1733
1734
  // accessors -------------------------------------------------------
1735
1736
  // optional bytes restoration_id = 2;
1737
  bool has_restoration_id() const;
1738
  void clear_restoration_id();
1739
  static const int kRestorationIdFieldNumber = 2;
1740
  const ::std::string& restoration_id() const;
1741
  void set_restoration_id(const ::std::string& value);
1742
  #if LANG_CXX11
1743
  void set_restoration_id(::std::string&& value);
1744
  #endif
1745
  void set_restoration_id(const char* value);
1746
  void set_restoration_id(const void* value, size_t size);
1747
  ::std::string* mutable_restoration_id();
1748
  ::std::string* release_restoration_id();
1749
  void set_allocated_restoration_id(::std::string* restoration_id);
1750
1751
  // optional .yb.master.MasterErrorPB error = 1;
1752
  bool has_error() const;
1753
  void clear_error();
1754
  static const int kErrorFieldNumber = 1;
1755
  const ::yb::master::MasterErrorPB& error() const;
1756
  ::yb::master::MasterErrorPB* release_error();
1757
  ::yb::master::MasterErrorPB* mutable_error();
1758
  void set_allocated_error(::yb::master::MasterErrorPB* error);
1759
1760
  // @@protoc_insertion_point(class_scope:yb.master.RestoreSnapshotResponsePB)
1761
 private:
1762
  void set_has_error();
1763
  void clear_has_error();
1764
  void set_has_restoration_id();
1765
  void clear_has_restoration_id();
1766
1767
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1768
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1769
  mutable int _cached_size_;
1770
  ::google::protobuf::internal::ArenaStringPtr restoration_id_;
1771
  ::yb::master::MasterErrorPB* error_;
1772
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
1773
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsRestoreSnapshotResponsePBImpl();
1774
};
1775
// -------------------------------------------------------------------
1776
1777
class DeleteSnapshotRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.DeleteSnapshotRequestPB) */ {
1778
 public:
1779
  DeleteSnapshotRequestPB();
1780
  virtual ~DeleteSnapshotRequestPB();
1781
1782
  DeleteSnapshotRequestPB(const DeleteSnapshotRequestPB& from);
1783
1784
0
  inline DeleteSnapshotRequestPB& operator=(const DeleteSnapshotRequestPB& from) {
1785
0
    CopyFrom(from);
1786
0
    return *this;
1787
0
  }
1788
  #if LANG_CXX11
1789
  DeleteSnapshotRequestPB(DeleteSnapshotRequestPB&& from) noexcept
1790
0
    : DeleteSnapshotRequestPB() {
1791
0
    *this = ::std::move(from);
1792
0
  }
1793
1794
0
  inline DeleteSnapshotRequestPB& operator=(DeleteSnapshotRequestPB&& from) noexcept {
1795
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1796
0
      if (this != &from) InternalSwap(&from);
1797
0
    } else {
1798
0
      CopyFrom(from);
1799
0
    }
1800
0
    return *this;
1801
0
  }
1802
  #endif
1803
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1804
0
    return _internal_metadata_.unknown_fields();
1805
0
  }
1806
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1807
0
    return _internal_metadata_.mutable_unknown_fields();
1808
0
  }
1809
1810
  static const ::google::protobuf::Descriptor* descriptor();
1811
  static const DeleteSnapshotRequestPB& default_instance();
1812
1813
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1814
15.8k
  static inline const DeleteSnapshotRequestPB* internal_default_instance() {
1815
15.8k
    return reinterpret_cast<const DeleteSnapshotRequestPB*>(
1816
15.8k
               &_DeleteSnapshotRequestPB_default_instance_);
1817
15.8k
  }
1818
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1819
    11;
1820
1821
  void Swap(DeleteSnapshotRequestPB* other);
1822
0
  friend void swap(DeleteSnapshotRequestPB& a, DeleteSnapshotRequestPB& b) {
1823
0
    a.Swap(&b);
1824
0
  }
1825
1826
  // implements Message ----------------------------------------------
1827
1828
0
  inline DeleteSnapshotRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
1829
1830
  DeleteSnapshotRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1831
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1832
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1833
  void CopyFrom(const DeleteSnapshotRequestPB& from);
1834
  void MergeFrom(const DeleteSnapshotRequestPB& from);
1835
  void Clear() PROTOBUF_FINAL;
1836
  bool IsInitialized() const PROTOBUF_FINAL;
1837
1838
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1839
  bool MergePartialFromCodedStream(
1840
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1841
  void SerializeWithCachedSizes(
1842
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1843
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1844
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1845
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1846
  private:
1847
  void SharedCtor();
1848
  void SharedDtor();
1849
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1850
  void InternalSwap(DeleteSnapshotRequestPB* other);
1851
  private:
1852
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1853
0
    return NULL;
1854
0
  }
1855
0
  inline void* MaybeArenaPtr() const {
1856
0
    return NULL;
1857
0
  }
1858
  public:
1859
1860
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1861
1862
  // nested types ----------------------------------------------------
1863
1864
  // accessors -------------------------------------------------------
1865
1866
  // optional bytes snapshot_id = 2;
1867
  bool has_snapshot_id() const;
1868
  void clear_snapshot_id();
1869
  static const int kSnapshotIdFieldNumber = 2;
1870
  const ::std::string& snapshot_id() const;
1871
  void set_snapshot_id(const ::std::string& value);
1872
  #if LANG_CXX11
1873
  void set_snapshot_id(::std::string&& value);
1874
  #endif
1875
  void set_snapshot_id(const char* value);
1876
  void set_snapshot_id(const void* value, size_t size);
1877
  ::std::string* mutable_snapshot_id();
1878
  ::std::string* release_snapshot_id();
1879
  void set_allocated_snapshot_id(::std::string* snapshot_id);
1880
1881
  // @@protoc_insertion_point(class_scope:yb.master.DeleteSnapshotRequestPB)
1882
 private:
1883
  void set_has_snapshot_id();
1884
  void clear_has_snapshot_id();
1885
1886
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1887
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1888
  mutable int _cached_size_;
1889
  ::google::protobuf::internal::ArenaStringPtr snapshot_id_;
1890
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
1891
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsDeleteSnapshotRequestPBImpl();
1892
};
1893
// -------------------------------------------------------------------
1894
1895
class DeleteSnapshotResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.DeleteSnapshotResponsePB) */ {
1896
 public:
1897
  DeleteSnapshotResponsePB();
1898
  virtual ~DeleteSnapshotResponsePB();
1899
1900
  DeleteSnapshotResponsePB(const DeleteSnapshotResponsePB& from);
1901
1902
0
  inline DeleteSnapshotResponsePB& operator=(const DeleteSnapshotResponsePB& from) {
1903
0
    CopyFrom(from);
1904
0
    return *this;
1905
0
  }
1906
  #if LANG_CXX11
1907
  DeleteSnapshotResponsePB(DeleteSnapshotResponsePB&& from) noexcept
1908
0
    : DeleteSnapshotResponsePB() {
1909
0
    *this = ::std::move(from);
1910
0
  }
1911
1912
0
  inline DeleteSnapshotResponsePB& operator=(DeleteSnapshotResponsePB&& from) noexcept {
1913
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1914
0
      if (this != &from) InternalSwap(&from);
1915
0
    } else {
1916
0
      CopyFrom(from);
1917
0
    }
1918
0
    return *this;
1919
0
  }
1920
  #endif
1921
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1922
0
    return _internal_metadata_.unknown_fields();
1923
0
  }
1924
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1925
0
    return _internal_metadata_.mutable_unknown_fields();
1926
0
  }
1927
1928
  static const ::google::protobuf::Descriptor* descriptor();
1929
  static const DeleteSnapshotResponsePB& default_instance();
1930
1931
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1932
15.8k
  static inline const DeleteSnapshotResponsePB* internal_default_instance() {
1933
15.8k
    return reinterpret_cast<const DeleteSnapshotResponsePB*>(
1934
15.8k
               &_DeleteSnapshotResponsePB_default_instance_);
1935
15.8k
  }
1936
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1937
    12;
1938
1939
  void Swap(DeleteSnapshotResponsePB* other);
1940
0
  friend void swap(DeleteSnapshotResponsePB& a, DeleteSnapshotResponsePB& b) {
1941
0
    a.Swap(&b);
1942
0
  }
1943
1944
  // implements Message ----------------------------------------------
1945
1946
0
  inline DeleteSnapshotResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
1947
1948
  DeleteSnapshotResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1949
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1950
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1951
  void CopyFrom(const DeleteSnapshotResponsePB& from);
1952
  void MergeFrom(const DeleteSnapshotResponsePB& from);
1953
  void Clear() PROTOBUF_FINAL;
1954
  bool IsInitialized() const PROTOBUF_FINAL;
1955
1956
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1957
  bool MergePartialFromCodedStream(
1958
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1959
  void SerializeWithCachedSizes(
1960
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1961
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1962
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1963
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1964
  private:
1965
  void SharedCtor();
1966
  void SharedDtor();
1967
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1968
  void InternalSwap(DeleteSnapshotResponsePB* other);
1969
  private:
1970
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1971
0
    return NULL;
1972
0
  }
1973
0
  inline void* MaybeArenaPtr() const {
1974
0
    return NULL;
1975
0
  }
1976
  public:
1977
1978
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1979
1980
  // nested types ----------------------------------------------------
1981
1982
  // accessors -------------------------------------------------------
1983
1984
  // optional .yb.master.MasterErrorPB error = 1;
1985
  bool has_error() const;
1986
  void clear_error();
1987
  static const int kErrorFieldNumber = 1;
1988
  const ::yb::master::MasterErrorPB& error() const;
1989
  ::yb::master::MasterErrorPB* release_error();
1990
  ::yb::master::MasterErrorPB* mutable_error();
1991
  void set_allocated_error(::yb::master::MasterErrorPB* error);
1992
1993
  // @@protoc_insertion_point(class_scope:yb.master.DeleteSnapshotResponsePB)
1994
 private:
1995
  void set_has_error();
1996
  void clear_has_error();
1997
1998
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1999
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2000
  mutable int _cached_size_;
2001
  ::yb::master::MasterErrorPB* error_;
2002
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
2003
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsDeleteSnapshotResponsePBImpl();
2004
};
2005
// -------------------------------------------------------------------
2006
2007
class ImportSnapshotMetaRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ImportSnapshotMetaRequestPB) */ {
2008
 public:
2009
  ImportSnapshotMetaRequestPB();
2010
  virtual ~ImportSnapshotMetaRequestPB();
2011
2012
  ImportSnapshotMetaRequestPB(const ImportSnapshotMetaRequestPB& from);
2013
2014
0
  inline ImportSnapshotMetaRequestPB& operator=(const ImportSnapshotMetaRequestPB& from) {
2015
0
    CopyFrom(from);
2016
0
    return *this;
2017
0
  }
2018
  #if LANG_CXX11
2019
  ImportSnapshotMetaRequestPB(ImportSnapshotMetaRequestPB&& from) noexcept
2020
0
    : ImportSnapshotMetaRequestPB() {
2021
0
    *this = ::std::move(from);
2022
0
  }
2023
2024
0
  inline ImportSnapshotMetaRequestPB& operator=(ImportSnapshotMetaRequestPB&& from) noexcept {
2025
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2026
0
      if (this != &from) InternalSwap(&from);
2027
0
    } else {
2028
0
      CopyFrom(from);
2029
0
    }
2030
0
    return *this;
2031
0
  }
2032
  #endif
2033
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2034
0
    return _internal_metadata_.unknown_fields();
2035
0
  }
2036
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2037
0
    return _internal_metadata_.mutable_unknown_fields();
2038
0
  }
2039
2040
  static const ::google::protobuf::Descriptor* descriptor();
2041
  static const ImportSnapshotMetaRequestPB& default_instance();
2042
2043
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2044
15.8k
  static inline const ImportSnapshotMetaRequestPB* internal_default_instance() {
2045
15.8k
    return reinterpret_cast<const ImportSnapshotMetaRequestPB*>(
2046
15.8k
               &_ImportSnapshotMetaRequestPB_default_instance_);
2047
15.8k
  }
2048
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2049
    13;
2050
2051
  void Swap(ImportSnapshotMetaRequestPB* other);
2052
0
  friend void swap(ImportSnapshotMetaRequestPB& a, ImportSnapshotMetaRequestPB& b) {
2053
0
    a.Swap(&b);
2054
0
  }
2055
2056
  // implements Message ----------------------------------------------
2057
2058
0
  inline ImportSnapshotMetaRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
2059
2060
  ImportSnapshotMetaRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2061
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2062
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2063
  void CopyFrom(const ImportSnapshotMetaRequestPB& from);
2064
  void MergeFrom(const ImportSnapshotMetaRequestPB& from);
2065
  void Clear() PROTOBUF_FINAL;
2066
  bool IsInitialized() const PROTOBUF_FINAL;
2067
2068
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2069
  bool MergePartialFromCodedStream(
2070
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2071
  void SerializeWithCachedSizes(
2072
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2073
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2074
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2075
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2076
  private:
2077
  void SharedCtor();
2078
  void SharedDtor();
2079
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2080
  void InternalSwap(ImportSnapshotMetaRequestPB* other);
2081
  private:
2082
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2083
0
    return NULL;
2084
0
  }
2085
0
  inline void* MaybeArenaPtr() const {
2086
0
    return NULL;
2087
0
  }
2088
  public:
2089
2090
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2091
2092
  // nested types ----------------------------------------------------
2093
2094
  // accessors -------------------------------------------------------
2095
2096
  // optional .yb.master.SnapshotInfoPB snapshot = 1;
2097
  bool has_snapshot() const;
2098
  void clear_snapshot();
2099
  static const int kSnapshotFieldNumber = 1;
2100
  const ::yb::master::SnapshotInfoPB& snapshot() const;
2101
  ::yb::master::SnapshotInfoPB* release_snapshot();
2102
  ::yb::master::SnapshotInfoPB* mutable_snapshot();
2103
  void set_allocated_snapshot(::yb::master::SnapshotInfoPB* snapshot);
2104
2105
  // @@protoc_insertion_point(class_scope:yb.master.ImportSnapshotMetaRequestPB)
2106
 private:
2107
  void set_has_snapshot();
2108
  void clear_has_snapshot();
2109
2110
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2111
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2112
  mutable int _cached_size_;
2113
  ::yb::master::SnapshotInfoPB* snapshot_;
2114
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
2115
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsImportSnapshotMetaRequestPBImpl();
2116
};
2117
// -------------------------------------------------------------------
2118
2119
class ListSnapshotRestorationsRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ListSnapshotRestorationsRequestPB) */ {
2120
 public:
2121
  ListSnapshotRestorationsRequestPB();
2122
  virtual ~ListSnapshotRestorationsRequestPB();
2123
2124
  ListSnapshotRestorationsRequestPB(const ListSnapshotRestorationsRequestPB& from);
2125
2126
0
  inline ListSnapshotRestorationsRequestPB& operator=(const ListSnapshotRestorationsRequestPB& from) {
2127
0
    CopyFrom(from);
2128
0
    return *this;
2129
0
  }
2130
  #if LANG_CXX11
2131
  ListSnapshotRestorationsRequestPB(ListSnapshotRestorationsRequestPB&& from) noexcept
2132
0
    : ListSnapshotRestorationsRequestPB() {
2133
0
    *this = ::std::move(from);
2134
0
  }
2135
2136
0
  inline ListSnapshotRestorationsRequestPB& operator=(ListSnapshotRestorationsRequestPB&& from) noexcept {
2137
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2138
0
      if (this != &from) InternalSwap(&from);
2139
0
    } else {
2140
0
      CopyFrom(from);
2141
0
    }
2142
0
    return *this;
2143
0
  }
2144
  #endif
2145
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2146
0
    return _internal_metadata_.unknown_fields();
2147
0
  }
2148
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2149
0
    return _internal_metadata_.mutable_unknown_fields();
2150
0
  }
2151
2152
  static const ::google::protobuf::Descriptor* descriptor();
2153
  static const ListSnapshotRestorationsRequestPB& default_instance();
2154
2155
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2156
15.8k
  static inline const ListSnapshotRestorationsRequestPB* internal_default_instance() {
2157
15.8k
    return reinterpret_cast<const ListSnapshotRestorationsRequestPB*>(
2158
15.8k
               &_ListSnapshotRestorationsRequestPB_default_instance_);
2159
15.8k
  }
2160
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2161
    14;
2162
2163
  void Swap(ListSnapshotRestorationsRequestPB* other);
2164
0
  friend void swap(ListSnapshotRestorationsRequestPB& a, ListSnapshotRestorationsRequestPB& b) {
2165
0
    a.Swap(&b);
2166
0
  }
2167
2168
  // implements Message ----------------------------------------------
2169
2170
0
  inline ListSnapshotRestorationsRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
2171
2172
  ListSnapshotRestorationsRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2173
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2174
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2175
  void CopyFrom(const ListSnapshotRestorationsRequestPB& from);
2176
  void MergeFrom(const ListSnapshotRestorationsRequestPB& from);
2177
  void Clear() PROTOBUF_FINAL;
2178
  bool IsInitialized() const PROTOBUF_FINAL;
2179
2180
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2181
  bool MergePartialFromCodedStream(
2182
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2183
  void SerializeWithCachedSizes(
2184
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2185
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2186
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2187
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2188
  private:
2189
  void SharedCtor();
2190
  void SharedDtor();
2191
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2192
  void InternalSwap(ListSnapshotRestorationsRequestPB* other);
2193
  private:
2194
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2195
0
    return NULL;
2196
0
  }
2197
0
  inline void* MaybeArenaPtr() const {
2198
0
    return NULL;
2199
0
  }
2200
  public:
2201
2202
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2203
2204
  // nested types ----------------------------------------------------
2205
2206
  // accessors -------------------------------------------------------
2207
2208
  // optional bytes snapshot_id = 1;
2209
  bool has_snapshot_id() const;
2210
  void clear_snapshot_id();
2211
  static const int kSnapshotIdFieldNumber = 1;
2212
  const ::std::string& snapshot_id() const;
2213
  void set_snapshot_id(const ::std::string& value);
2214
  #if LANG_CXX11
2215
  void set_snapshot_id(::std::string&& value);
2216
  #endif
2217
  void set_snapshot_id(const char* value);
2218
  void set_snapshot_id(const void* value, size_t size);
2219
  ::std::string* mutable_snapshot_id();
2220
  ::std::string* release_snapshot_id();
2221
  void set_allocated_snapshot_id(::std::string* snapshot_id);
2222
2223
  // optional bytes restoration_id = 2;
2224
  bool has_restoration_id() const;
2225
  void clear_restoration_id();
2226
  static const int kRestorationIdFieldNumber = 2;
2227
  const ::std::string& restoration_id() const;
2228
  void set_restoration_id(const ::std::string& value);
2229
  #if LANG_CXX11
2230
  void set_restoration_id(::std::string&& value);
2231
  #endif
2232
  void set_restoration_id(const char* value);
2233
  void set_restoration_id(const void* value, size_t size);
2234
  ::std::string* mutable_restoration_id();
2235
  ::std::string* release_restoration_id();
2236
  void set_allocated_restoration_id(::std::string* restoration_id);
2237
2238
  // @@protoc_insertion_point(class_scope:yb.master.ListSnapshotRestorationsRequestPB)
2239
 private:
2240
  void set_has_snapshot_id();
2241
  void clear_has_snapshot_id();
2242
  void set_has_restoration_id();
2243
  void clear_has_restoration_id();
2244
2245
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2246
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2247
  mutable int _cached_size_;
2248
  ::google::protobuf::internal::ArenaStringPtr snapshot_id_;
2249
  ::google::protobuf::internal::ArenaStringPtr restoration_id_;
2250
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
2251
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsListSnapshotRestorationsRequestPBImpl();
2252
};
2253
// -------------------------------------------------------------------
2254
2255
class ListSnapshotRestorationsResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ListSnapshotRestorationsResponsePB) */ {
2256
 public:
2257
  ListSnapshotRestorationsResponsePB();
2258
  virtual ~ListSnapshotRestorationsResponsePB();
2259
2260
  ListSnapshotRestorationsResponsePB(const ListSnapshotRestorationsResponsePB& from);
2261
2262
0
  inline ListSnapshotRestorationsResponsePB& operator=(const ListSnapshotRestorationsResponsePB& from) {
2263
0
    CopyFrom(from);
2264
0
    return *this;
2265
0
  }
2266
  #if LANG_CXX11
2267
  ListSnapshotRestorationsResponsePB(ListSnapshotRestorationsResponsePB&& from) noexcept
2268
0
    : ListSnapshotRestorationsResponsePB() {
2269
0
    *this = ::std::move(from);
2270
0
  }
2271
2272
0
  inline ListSnapshotRestorationsResponsePB& operator=(ListSnapshotRestorationsResponsePB&& from) noexcept {
2273
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2274
0
      if (this != &from) InternalSwap(&from);
2275
0
    } else {
2276
0
      CopyFrom(from);
2277
0
    }
2278
0
    return *this;
2279
0
  }
2280
  #endif
2281
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2282
0
    return _internal_metadata_.unknown_fields();
2283
0
  }
2284
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2285
0
    return _internal_metadata_.mutable_unknown_fields();
2286
0
  }
2287
2288
  static const ::google::protobuf::Descriptor* descriptor();
2289
  static const ListSnapshotRestorationsResponsePB& default_instance();
2290
2291
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2292
15.8k
  static inline const ListSnapshotRestorationsResponsePB* internal_default_instance() {
2293
15.8k
    return reinterpret_cast<const ListSnapshotRestorationsResponsePB*>(
2294
15.8k
               &_ListSnapshotRestorationsResponsePB_default_instance_);
2295
15.8k
  }
2296
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2297
    15;
2298
2299
  void Swap(ListSnapshotRestorationsResponsePB* other);
2300
0
  friend void swap(ListSnapshotRestorationsResponsePB& a, ListSnapshotRestorationsResponsePB& b) {
2301
0
    a.Swap(&b);
2302
0
  }
2303
2304
  // implements Message ----------------------------------------------
2305
2306
0
  inline ListSnapshotRestorationsResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
2307
2308
  ListSnapshotRestorationsResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2309
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2310
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2311
  void CopyFrom(const ListSnapshotRestorationsResponsePB& from);
2312
  void MergeFrom(const ListSnapshotRestorationsResponsePB& from);
2313
  void Clear() PROTOBUF_FINAL;
2314
  bool IsInitialized() const PROTOBUF_FINAL;
2315
2316
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2317
  bool MergePartialFromCodedStream(
2318
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2319
  void SerializeWithCachedSizes(
2320
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2321
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2322
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2323
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2324
  private:
2325
  void SharedCtor();
2326
  void SharedDtor();
2327
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2328
  void InternalSwap(ListSnapshotRestorationsResponsePB* other);
2329
  private:
2330
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2331
0
    return NULL;
2332
0
  }
2333
0
  inline void* MaybeArenaPtr() const {
2334
0
    return NULL;
2335
0
  }
2336
  public:
2337
2338
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2339
2340
  // nested types ----------------------------------------------------
2341
2342
  // accessors -------------------------------------------------------
2343
2344
  // repeated .yb.master.RestorationInfoPB restorations = 2;
2345
  int restorations_size() const;
2346
  void clear_restorations();
2347
  static const int kRestorationsFieldNumber = 2;
2348
  const ::yb::master::RestorationInfoPB& restorations(int index) const;
2349
  ::yb::master::RestorationInfoPB* mutable_restorations(int index);
2350
  ::yb::master::RestorationInfoPB* add_restorations();
2351
  ::google::protobuf::RepeatedPtrField< ::yb::master::RestorationInfoPB >*
2352
      mutable_restorations();
2353
  const ::google::protobuf::RepeatedPtrField< ::yb::master::RestorationInfoPB >&
2354
      restorations() const;
2355
2356
  // optional .yb.AppStatusPB status = 1;
2357
  bool has_status() const;
2358
  void clear_status();
2359
  static const int kStatusFieldNumber = 1;
2360
  const ::yb::AppStatusPB& status() const;
2361
  ::yb::AppStatusPB* release_status();
2362
  ::yb::AppStatusPB* mutable_status();
2363
  void set_allocated_status(::yb::AppStatusPB* status);
2364
2365
  // @@protoc_insertion_point(class_scope:yb.master.ListSnapshotRestorationsResponsePB)
2366
 private:
2367
  void set_has_status();
2368
  void clear_has_status();
2369
2370
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2371
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2372
  mutable int _cached_size_;
2373
  ::google::protobuf::RepeatedPtrField< ::yb::master::RestorationInfoPB > restorations_;
2374
  ::yb::AppStatusPB* status_;
2375
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
2376
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsListSnapshotRestorationsResponsePBImpl();
2377
};
2378
// -------------------------------------------------------------------
2379
2380
class IdPairPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.IdPairPB) */ {
2381
 public:
2382
  IdPairPB();
2383
  virtual ~IdPairPB();
2384
2385
  IdPairPB(const IdPairPB& from);
2386
2387
0
  inline IdPairPB& operator=(const IdPairPB& from) {
2388
0
    CopyFrom(from);
2389
0
    return *this;
2390
0
  }
2391
  #if LANG_CXX11
2392
  IdPairPB(IdPairPB&& from) noexcept
2393
0
    : IdPairPB() {
2394
0
    *this = ::std::move(from);
2395
0
  }
2396
2397
0
  inline IdPairPB& operator=(IdPairPB&& from) noexcept {
2398
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2399
0
      if (this != &from) InternalSwap(&from);
2400
0
    } else {
2401
0
      CopyFrom(from);
2402
0
    }
2403
0
    return *this;
2404
0
  }
2405
  #endif
2406
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2407
0
    return _internal_metadata_.unknown_fields();
2408
0
  }
2409
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2410
0
    return _internal_metadata_.mutable_unknown_fields();
2411
0
  }
2412
2413
  static const ::google::protobuf::Descriptor* descriptor();
2414
  static const IdPairPB& default_instance();
2415
2416
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2417
47.5k
  static inline const IdPairPB* internal_default_instance() {
2418
47.5k
    return reinterpret_cast<const IdPairPB*>(
2419
47.5k
               &_IdPairPB_default_instance_);
2420
47.5k
  }
2421
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2422
    16;
2423
2424
  void Swap(IdPairPB* other);
2425
0
  friend void swap(IdPairPB& a, IdPairPB& b) {
2426
0
    a.Swap(&b);
2427
0
  }
2428
2429
  // implements Message ----------------------------------------------
2430
2431
0
  inline IdPairPB* New() const PROTOBUF_FINAL { return New(NULL); }
2432
2433
  IdPairPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2434
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2435
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2436
  void CopyFrom(const IdPairPB& from);
2437
  void MergeFrom(const IdPairPB& from);
2438
  void Clear() PROTOBUF_FINAL;
2439
  bool IsInitialized() const PROTOBUF_FINAL;
2440
2441
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2442
  bool MergePartialFromCodedStream(
2443
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2444
  void SerializeWithCachedSizes(
2445
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2446
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2447
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2448
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2449
  private:
2450
  void SharedCtor();
2451
  void SharedDtor();
2452
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2453
  void InternalSwap(IdPairPB* other);
2454
  private:
2455
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2456
0
    return NULL;
2457
0
  }
2458
0
  inline void* MaybeArenaPtr() const {
2459
0
    return NULL;
2460
0
  }
2461
  public:
2462
2463
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2464
2465
  // nested types ----------------------------------------------------
2466
2467
  // accessors -------------------------------------------------------
2468
2469
  // optional bytes old_id = 1;
2470
  bool has_old_id() const;
2471
  void clear_old_id();
2472
  static const int kOldIdFieldNumber = 1;
2473
  const ::std::string& old_id() const;
2474
  void set_old_id(const ::std::string& value);
2475
  #if LANG_CXX11
2476
  void set_old_id(::std::string&& value);
2477
  #endif
2478
  void set_old_id(const char* value);
2479
  void set_old_id(const void* value, size_t size);
2480
  ::std::string* mutable_old_id();
2481
  ::std::string* release_old_id();
2482
  void set_allocated_old_id(::std::string* old_id);
2483
2484
  // optional bytes new_id = 2;
2485
  bool has_new_id() const;
2486
  void clear_new_id();
2487
  static const int kNewIdFieldNumber = 2;
2488
  const ::std::string& new_id() const;
2489
  void set_new_id(const ::std::string& value);
2490
  #if LANG_CXX11
2491
  void set_new_id(::std::string&& value);
2492
  #endif
2493
  void set_new_id(const char* value);
2494
  void set_new_id(const void* value, size_t size);
2495
  ::std::string* mutable_new_id();
2496
  ::std::string* release_new_id();
2497
  void set_allocated_new_id(::std::string* new_id);
2498
2499
  // @@protoc_insertion_point(class_scope:yb.master.IdPairPB)
2500
 private:
2501
  void set_has_old_id();
2502
  void clear_has_old_id();
2503
  void set_has_new_id();
2504
  void clear_has_new_id();
2505
2506
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2507
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2508
  mutable int _cached_size_;
2509
  ::google::protobuf::internal::ArenaStringPtr old_id_;
2510
  ::google::protobuf::internal::ArenaStringPtr new_id_;
2511
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
2512
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsIdPairPBImpl();
2513
};
2514
// -------------------------------------------------------------------
2515
2516
class ImportSnapshotMetaResponsePB_TableMetaPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB) */ {
2517
 public:
2518
  ImportSnapshotMetaResponsePB_TableMetaPB();
2519
  virtual ~ImportSnapshotMetaResponsePB_TableMetaPB();
2520
2521
  ImportSnapshotMetaResponsePB_TableMetaPB(const ImportSnapshotMetaResponsePB_TableMetaPB& from);
2522
2523
0
  inline ImportSnapshotMetaResponsePB_TableMetaPB& operator=(const ImportSnapshotMetaResponsePB_TableMetaPB& from) {
2524
0
    CopyFrom(from);
2525
0
    return *this;
2526
0
  }
2527
  #if LANG_CXX11
2528
  ImportSnapshotMetaResponsePB_TableMetaPB(ImportSnapshotMetaResponsePB_TableMetaPB&& from) noexcept
2529
0
    : ImportSnapshotMetaResponsePB_TableMetaPB() {
2530
0
    *this = ::std::move(from);
2531
0
  }
2532
2533
0
  inline ImportSnapshotMetaResponsePB_TableMetaPB& operator=(ImportSnapshotMetaResponsePB_TableMetaPB&& from) noexcept {
2534
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2535
0
      if (this != &from) InternalSwap(&from);
2536
0
    } else {
2537
0
      CopyFrom(from);
2538
0
    }
2539
0
    return *this;
2540
0
  }
2541
  #endif
2542
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2543
0
    return _internal_metadata_.unknown_fields();
2544
0
  }
2545
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2546
0
    return _internal_metadata_.mutable_unknown_fields();
2547
0
  }
2548
2549
  static const ::google::protobuf::Descriptor* descriptor();
2550
  static const ImportSnapshotMetaResponsePB_TableMetaPB& default_instance();
2551
2552
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2553
15.8k
  static inline const ImportSnapshotMetaResponsePB_TableMetaPB* internal_default_instance() {
2554
15.8k
    return reinterpret_cast<const ImportSnapshotMetaResponsePB_TableMetaPB*>(
2555
15.8k
               &_ImportSnapshotMetaResponsePB_TableMetaPB_default_instance_);
2556
15.8k
  }
2557
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2558
    17;
2559
2560
  void Swap(ImportSnapshotMetaResponsePB_TableMetaPB* other);
2561
0
  friend void swap(ImportSnapshotMetaResponsePB_TableMetaPB& a, ImportSnapshotMetaResponsePB_TableMetaPB& b) {
2562
0
    a.Swap(&b);
2563
0
  }
2564
2565
  // implements Message ----------------------------------------------
2566
2567
0
  inline ImportSnapshotMetaResponsePB_TableMetaPB* New() const PROTOBUF_FINAL { return New(NULL); }
2568
2569
  ImportSnapshotMetaResponsePB_TableMetaPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2570
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2571
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2572
  void CopyFrom(const ImportSnapshotMetaResponsePB_TableMetaPB& from);
2573
  void MergeFrom(const ImportSnapshotMetaResponsePB_TableMetaPB& from);
2574
  void Clear() PROTOBUF_FINAL;
2575
  bool IsInitialized() const PROTOBUF_FINAL;
2576
2577
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2578
  bool MergePartialFromCodedStream(
2579
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2580
  void SerializeWithCachedSizes(
2581
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2582
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2583
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2584
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2585
  private:
2586
  void SharedCtor();
2587
  void SharedDtor();
2588
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2589
  void InternalSwap(ImportSnapshotMetaResponsePB_TableMetaPB* other);
2590
  private:
2591
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2592
0
    return NULL;
2593
0
  }
2594
0
  inline void* MaybeArenaPtr() const {
2595
0
    return NULL;
2596
0
  }
2597
  public:
2598
2599
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2600
2601
  // nested types ----------------------------------------------------
2602
2603
  // accessors -------------------------------------------------------
2604
2605
  // repeated .yb.master.IdPairPB tablets_ids = 3;
2606
  int tablets_ids_size() const;
2607
  void clear_tablets_ids();
2608
  static const int kTabletsIdsFieldNumber = 3;
2609
  const ::yb::master::IdPairPB& tablets_ids(int index) const;
2610
  ::yb::master::IdPairPB* mutable_tablets_ids(int index);
2611
  ::yb::master::IdPairPB* add_tablets_ids();
2612
  ::google::protobuf::RepeatedPtrField< ::yb::master::IdPairPB >*
2613
      mutable_tablets_ids();
2614
  const ::google::protobuf::RepeatedPtrField< ::yb::master::IdPairPB >&
2615
      tablets_ids() const;
2616
2617
  // optional .yb.master.IdPairPB namespace_ids = 1;
2618
  bool has_namespace_ids() const;
2619
  void clear_namespace_ids();
2620
  static const int kNamespaceIdsFieldNumber = 1;
2621
  const ::yb::master::IdPairPB& namespace_ids() const;
2622
  ::yb::master::IdPairPB* release_namespace_ids();
2623
  ::yb::master::IdPairPB* mutable_namespace_ids();
2624
  void set_allocated_namespace_ids(::yb::master::IdPairPB* namespace_ids);
2625
2626
  // optional .yb.master.IdPairPB table_ids = 2;
2627
  bool has_table_ids() const;
2628
  void clear_table_ids();
2629
  static const int kTableIdsFieldNumber = 2;
2630
  const ::yb::master::IdPairPB& table_ids() const;
2631
  ::yb::master::IdPairPB* release_table_ids();
2632
  ::yb::master::IdPairPB* mutable_table_ids();
2633
  void set_allocated_table_ids(::yb::master::IdPairPB* table_ids);
2634
2635
  // optional .yb.master.ImportSnapshotMetaResponsePB.TableType table_type = 4 [default = TABLE];
2636
  bool has_table_type() const;
2637
  void clear_table_type();
2638
  static const int kTableTypeFieldNumber = 4;
2639
  ::yb::master::ImportSnapshotMetaResponsePB_TableType table_type() const;
2640
  void set_table_type(::yb::master::ImportSnapshotMetaResponsePB_TableType value);
2641
2642
  // @@protoc_insertion_point(class_scope:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB)
2643
 private:
2644
  void set_has_namespace_ids();
2645
  void clear_has_namespace_ids();
2646
  void set_has_table_ids();
2647
  void clear_has_table_ids();
2648
  void set_has_table_type();
2649
  void clear_has_table_type();
2650
2651
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2652
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2653
  mutable int _cached_size_;
2654
  ::google::protobuf::RepeatedPtrField< ::yb::master::IdPairPB > tablets_ids_;
2655
  ::yb::master::IdPairPB* namespace_ids_;
2656
  ::yb::master::IdPairPB* table_ids_;
2657
  int table_type_;
2658
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
2659
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsImportSnapshotMetaResponsePB_TableMetaPBImpl();
2660
};
2661
// -------------------------------------------------------------------
2662
2663
class ImportSnapshotMetaResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ImportSnapshotMetaResponsePB) */ {
2664
 public:
2665
  ImportSnapshotMetaResponsePB();
2666
  virtual ~ImportSnapshotMetaResponsePB();
2667
2668
  ImportSnapshotMetaResponsePB(const ImportSnapshotMetaResponsePB& from);
2669
2670
0
  inline ImportSnapshotMetaResponsePB& operator=(const ImportSnapshotMetaResponsePB& from) {
2671
0
    CopyFrom(from);
2672
0
    return *this;
2673
0
  }
2674
  #if LANG_CXX11
2675
  ImportSnapshotMetaResponsePB(ImportSnapshotMetaResponsePB&& from) noexcept
2676
0
    : ImportSnapshotMetaResponsePB() {
2677
0
    *this = ::std::move(from);
2678
0
  }
2679
2680
0
  inline ImportSnapshotMetaResponsePB& operator=(ImportSnapshotMetaResponsePB&& from) noexcept {
2681
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2682
0
      if (this != &from) InternalSwap(&from);
2683
0
    } else {
2684
0
      CopyFrom(from);
2685
0
    }
2686
0
    return *this;
2687
0
  }
2688
  #endif
2689
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2690
0
    return _internal_metadata_.unknown_fields();
2691
0
  }
2692
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2693
0
    return _internal_metadata_.mutable_unknown_fields();
2694
0
  }
2695
2696
  static const ::google::protobuf::Descriptor* descriptor();
2697
  static const ImportSnapshotMetaResponsePB& default_instance();
2698
2699
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2700
15.8k
  static inline const ImportSnapshotMetaResponsePB* internal_default_instance() {
2701
15.8k
    return reinterpret_cast<const ImportSnapshotMetaResponsePB*>(
2702
15.8k
               &_ImportSnapshotMetaResponsePB_default_instance_);
2703
15.8k
  }
2704
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2705
    18;
2706
2707
  void Swap(ImportSnapshotMetaResponsePB* other);
2708
0
  friend void swap(ImportSnapshotMetaResponsePB& a, ImportSnapshotMetaResponsePB& b) {
2709
0
    a.Swap(&b);
2710
0
  }
2711
2712
  // implements Message ----------------------------------------------
2713
2714
0
  inline ImportSnapshotMetaResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
2715
2716
  ImportSnapshotMetaResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2717
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2718
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2719
  void CopyFrom(const ImportSnapshotMetaResponsePB& from);
2720
  void MergeFrom(const ImportSnapshotMetaResponsePB& from);
2721
  void Clear() PROTOBUF_FINAL;
2722
  bool IsInitialized() const PROTOBUF_FINAL;
2723
2724
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2725
  bool MergePartialFromCodedStream(
2726
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2727
  void SerializeWithCachedSizes(
2728
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2729
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2730
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2731
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2732
  private:
2733
  void SharedCtor();
2734
  void SharedDtor();
2735
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2736
  void InternalSwap(ImportSnapshotMetaResponsePB* other);
2737
  private:
2738
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2739
0
    return NULL;
2740
0
  }
2741
0
  inline void* MaybeArenaPtr() const {
2742
0
    return NULL;
2743
0
  }
2744
  public:
2745
2746
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2747
2748
  // nested types ----------------------------------------------------
2749
2750
  typedef ImportSnapshotMetaResponsePB_TableMetaPB TableMetaPB;
2751
2752
  typedef ImportSnapshotMetaResponsePB_TableType TableType;
2753
  static const TableType TABLE =
2754
    ImportSnapshotMetaResponsePB_TableType_TABLE;
2755
  static const TableType COLOCATED_TABLE =
2756
    ImportSnapshotMetaResponsePB_TableType_COLOCATED_TABLE;
2757
  static const TableType PARENT_COLOCATED_TABLE =
2758
    ImportSnapshotMetaResponsePB_TableType_PARENT_COLOCATED_TABLE;
2759
0
  static inline bool TableType_IsValid(int value) {
2760
0
    return ImportSnapshotMetaResponsePB_TableType_IsValid(value);
2761
0
  }
2762
  static const TableType TableType_MIN =
2763
    ImportSnapshotMetaResponsePB_TableType_TableType_MIN;
2764
  static const TableType TableType_MAX =
2765
    ImportSnapshotMetaResponsePB_TableType_TableType_MAX;
2766
  static const int TableType_ARRAYSIZE =
2767
    ImportSnapshotMetaResponsePB_TableType_TableType_ARRAYSIZE;
2768
  static inline const ::google::protobuf::EnumDescriptor*
2769
0
  TableType_descriptor() {
2770
0
    return ImportSnapshotMetaResponsePB_TableType_descriptor();
2771
0
  }
2772
0
  static inline const ::std::string& TableType_Name(TableType value) {
2773
0
    return ImportSnapshotMetaResponsePB_TableType_Name(value);
2774
0
  }
2775
  static inline bool TableType_Parse(const ::std::string& name,
2776
0
      TableType* value) {
2777
0
    return ImportSnapshotMetaResponsePB_TableType_Parse(name, value);
2778
0
  }
2779
2780
  // accessors -------------------------------------------------------
2781
2782
  // repeated .yb.master.ImportSnapshotMetaResponsePB.TableMetaPB tables_meta = 3;
2783
  int tables_meta_size() const;
2784
  void clear_tables_meta();
2785
  static const int kTablesMetaFieldNumber = 3;
2786
  const ::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB& tables_meta(int index) const;
2787
  ::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB* mutable_tables_meta(int index);
2788
  ::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB* add_tables_meta();
2789
  ::google::protobuf::RepeatedPtrField< ::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB >*
2790
      mutable_tables_meta();
2791
  const ::google::protobuf::RepeatedPtrField< ::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB >&
2792
      tables_meta() const;
2793
2794
  // optional .yb.master.MasterErrorPB error = 1;
2795
  bool has_error() const;
2796
  void clear_error();
2797
  static const int kErrorFieldNumber = 1;
2798
  const ::yb::master::MasterErrorPB& error() const;
2799
  ::yb::master::MasterErrorPB* release_error();
2800
  ::yb::master::MasterErrorPB* mutable_error();
2801
  void set_allocated_error(::yb::master::MasterErrorPB* error);
2802
2803
  // @@protoc_insertion_point(class_scope:yb.master.ImportSnapshotMetaResponsePB)
2804
 private:
2805
  void set_has_error();
2806
  void clear_has_error();
2807
2808
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2809
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2810
  mutable int _cached_size_;
2811
  ::google::protobuf::RepeatedPtrField< ::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB > tables_meta_;
2812
  ::yb::master::MasterErrorPB* error_;
2813
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
2814
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsImportSnapshotMetaResponsePBImpl();
2815
};
2816
// -------------------------------------------------------------------
2817
2818
class TableIdentifiersPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TableIdentifiersPB) */ {
2819
 public:
2820
  TableIdentifiersPB();
2821
  virtual ~TableIdentifiersPB();
2822
2823
  TableIdentifiersPB(const TableIdentifiersPB& from);
2824
2825
0
  inline TableIdentifiersPB& operator=(const TableIdentifiersPB& from) {
2826
0
    CopyFrom(from);
2827
0
    return *this;
2828
0
  }
2829
  #if LANG_CXX11
2830
  TableIdentifiersPB(TableIdentifiersPB&& from) noexcept
2831
0
    : TableIdentifiersPB() {
2832
0
    *this = ::std::move(from);
2833
0
  }
2834
2835
0
  inline TableIdentifiersPB& operator=(TableIdentifiersPB&& from) noexcept {
2836
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2837
0
      if (this != &from) InternalSwap(&from);
2838
0
    } else {
2839
0
      CopyFrom(from);
2840
0
    }
2841
0
    return *this;
2842
0
  }
2843
  #endif
2844
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2845
0
    return _internal_metadata_.unknown_fields();
2846
0
  }
2847
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2848
0
    return _internal_metadata_.mutable_unknown_fields();
2849
0
  }
2850
2851
  static const ::google::protobuf::Descriptor* descriptor();
2852
  static const TableIdentifiersPB& default_instance();
2853
2854
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2855
31.6k
  static inline const TableIdentifiersPB* internal_default_instance() {
2856
31.6k
    return reinterpret_cast<const TableIdentifiersPB*>(
2857
31.6k
               &_TableIdentifiersPB_default_instance_);
2858
31.6k
  }
2859
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2860
    19;
2861
2862
  void Swap(TableIdentifiersPB* other);
2863
0
  friend void swap(TableIdentifiersPB& a, TableIdentifiersPB& b) {
2864
0
    a.Swap(&b);
2865
0
  }
2866
2867
  // implements Message ----------------------------------------------
2868
2869
0
  inline TableIdentifiersPB* New() const PROTOBUF_FINAL { return New(NULL); }
2870
2871
  TableIdentifiersPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2872
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2873
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2874
  void CopyFrom(const TableIdentifiersPB& from);
2875
  void MergeFrom(const TableIdentifiersPB& from);
2876
  void Clear() PROTOBUF_FINAL;
2877
  bool IsInitialized() const PROTOBUF_FINAL;
2878
2879
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2880
  bool MergePartialFromCodedStream(
2881
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2882
  void SerializeWithCachedSizes(
2883
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2884
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2885
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2886
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2887
  private:
2888
  void SharedCtor();
2889
  void SharedDtor();
2890
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2891
  void InternalSwap(TableIdentifiersPB* other);
2892
  private:
2893
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2894
0
    return NULL;
2895
0
  }
2896
0
  inline void* MaybeArenaPtr() const {
2897
0
    return NULL;
2898
0
  }
2899
  public:
2900
2901
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2902
2903
  // nested types ----------------------------------------------------
2904
2905
  // accessors -------------------------------------------------------
2906
2907
  // repeated .yb.master.TableIdentifierPB tables = 1;
2908
  int tables_size() const;
2909
  void clear_tables();
2910
  static const int kTablesFieldNumber = 1;
2911
  const ::yb::master::TableIdentifierPB& tables(int index) const;
2912
  ::yb::master::TableIdentifierPB* mutable_tables(int index);
2913
  ::yb::master::TableIdentifierPB* add_tables();
2914
  ::google::protobuf::RepeatedPtrField< ::yb::master::TableIdentifierPB >*
2915
      mutable_tables();
2916
  const ::google::protobuf::RepeatedPtrField< ::yb::master::TableIdentifierPB >&
2917
      tables() const;
2918
2919
  // @@protoc_insertion_point(class_scope:yb.master.TableIdentifiersPB)
2920
 private:
2921
2922
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2923
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2924
  mutable int _cached_size_;
2925
  ::google::protobuf::RepeatedPtrField< ::yb::master::TableIdentifierPB > tables_;
2926
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
2927
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsTableIdentifiersPBImpl();
2928
};
2929
// -------------------------------------------------------------------
2930
2931
class SnapshotScheduleFilterPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SnapshotScheduleFilterPB) */ {
2932
 public:
2933
  SnapshotScheduleFilterPB();
2934
  virtual ~SnapshotScheduleFilterPB();
2935
2936
  SnapshotScheduleFilterPB(const SnapshotScheduleFilterPB& from);
2937
2938
0
  inline SnapshotScheduleFilterPB& operator=(const SnapshotScheduleFilterPB& from) {
2939
0
    CopyFrom(from);
2940
0
    return *this;
2941
0
  }
2942
  #if LANG_CXX11
2943
  SnapshotScheduleFilterPB(SnapshotScheduleFilterPB&& from) noexcept
2944
1
    : SnapshotScheduleFilterPB() {
2945
1
    *this = ::std::move(from);
2946
1
  }
Unexecuted instantiation: _ZN2yb6master24SnapshotScheduleFilterPBC2EOS1_
_ZN2yb6master24SnapshotScheduleFilterPBC1EOS1_
Line
Count
Source
2944
1
    : SnapshotScheduleFilterPB() {
2945
1
    *this = ::std::move(from);
2946
1
  }
2947
2948
1
  inline SnapshotScheduleFilterPB& operator=(SnapshotScheduleFilterPB&& from) noexcept {
2949
1
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2950
1
      if (this != &from) InternalSwap(&from);
2951
0
    } else {
2952
0
      CopyFrom(from);
2953
0
    }
2954
1
    return *this;
2955
1
  }
2956
  #endif
2957
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2958
0
    return _internal_metadata_.unknown_fields();
2959
0
  }
2960
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2961
0
    return _internal_metadata_.mutable_unknown_fields();
2962
0
  }
2963
2964
  static const ::google::protobuf::Descriptor* descriptor();
2965
  static const SnapshotScheduleFilterPB& default_instance();
2966
2967
  enum FilterCase {
2968
    kTables = 1,
2969
    FILTER_NOT_SET = 0,
2970
  };
2971
2972
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2973
31.6k
  static inline const SnapshotScheduleFilterPB* internal_default_instance() {
2974
31.6k
    return reinterpret_cast<const SnapshotScheduleFilterPB*>(
2975
31.6k
               &_SnapshotScheduleFilterPB_default_instance_);
2976
31.6k
  }
2977
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2978
    20;
2979
2980
  void Swap(SnapshotScheduleFilterPB* other);
2981
0
  friend void swap(SnapshotScheduleFilterPB& a, SnapshotScheduleFilterPB& b) {
2982
0
    a.Swap(&b);
2983
0
  }
2984
2985
  // implements Message ----------------------------------------------
2986
2987
0
  inline SnapshotScheduleFilterPB* New() const PROTOBUF_FINAL { return New(NULL); }
2988
2989
  SnapshotScheduleFilterPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2990
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2991
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2992
  void CopyFrom(const SnapshotScheduleFilterPB& from);
2993
  void MergeFrom(const SnapshotScheduleFilterPB& from);
2994
  void Clear() PROTOBUF_FINAL;
2995
  bool IsInitialized() const PROTOBUF_FINAL;
2996
2997
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2998
  bool MergePartialFromCodedStream(
2999
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3000
  void SerializeWithCachedSizes(
3001
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3002
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3003
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3004
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3005
  private:
3006
  void SharedCtor();
3007
  void SharedDtor();
3008
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3009
  void InternalSwap(SnapshotScheduleFilterPB* other);
3010
  private:
3011
2
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3012
2
    return NULL;
3013
2
  }
3014
0
  inline void* MaybeArenaPtr() const {
3015
0
    return NULL;
3016
0
  }
3017
  public:
3018
3019
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3020
3021
  // nested types ----------------------------------------------------
3022
3023
  // accessors -------------------------------------------------------
3024
3025
  // optional .yb.master.TableIdentifiersPB tables = 1;
3026
  bool has_tables() const;
3027
  void clear_tables();
3028
  static const int kTablesFieldNumber = 1;
3029
  const ::yb::master::TableIdentifiersPB& tables() const;
3030
  ::yb::master::TableIdentifiersPB* release_tables();
3031
  ::yb::master::TableIdentifiersPB* mutable_tables();
3032
  void set_allocated_tables(::yb::master::TableIdentifiersPB* tables);
3033
3034
  FilterCase filter_case() const;
3035
  // @@protoc_insertion_point(class_scope:yb.master.SnapshotScheduleFilterPB)
3036
 private:
3037
  void set_has_tables();
3038
3039
  inline bool has_filter() const;
3040
  void clear_filter();
3041
  inline void clear_has_filter();
3042
3043
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3044
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3045
  mutable int _cached_size_;
3046
  union FilterUnion {
3047
15.8k
    FilterUnion() {}
3048
    ::yb::master::TableIdentifiersPB* tables_;
3049
  } filter_;
3050
  ::google::protobuf::uint32 _oneof_case_[1];
3051
3052
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
3053
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSnapshotScheduleFilterPBImpl();
3054
};
3055
// -------------------------------------------------------------------
3056
3057
class SnapshotScheduleOptionsPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SnapshotScheduleOptionsPB) */ {
3058
 public:
3059
  SnapshotScheduleOptionsPB();
3060
  virtual ~SnapshotScheduleOptionsPB();
3061
3062
  SnapshotScheduleOptionsPB(const SnapshotScheduleOptionsPB& from);
3063
3064
0
  inline SnapshotScheduleOptionsPB& operator=(const SnapshotScheduleOptionsPB& from) {
3065
0
    CopyFrom(from);
3066
0
    return *this;
3067
0
  }
3068
  #if LANG_CXX11
3069
  SnapshotScheduleOptionsPB(SnapshotScheduleOptionsPB&& from) noexcept
3070
0
    : SnapshotScheduleOptionsPB() {
3071
0
    *this = ::std::move(from);
3072
0
  }
Unexecuted instantiation: _ZN2yb6master25SnapshotScheduleOptionsPBC2EOS1_
Unexecuted instantiation: _ZN2yb6master25SnapshotScheduleOptionsPBC1EOS1_
3073
3074
0
  inline SnapshotScheduleOptionsPB& operator=(SnapshotScheduleOptionsPB&& from) noexcept {
3075
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3076
0
      if (this != &from) InternalSwap(&from);
3077
0
    } else {
3078
0
      CopyFrom(from);
3079
0
    }
3080
0
    return *this;
3081
0
  }
3082
  #endif
3083
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3084
0
    return _internal_metadata_.unknown_fields();
3085
0
  }
3086
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3087
0
    return _internal_metadata_.mutable_unknown_fields();
3088
0
  }
3089
3090
  static const ::google::protobuf::Descriptor* descriptor();
3091
  static const SnapshotScheduleOptionsPB& default_instance();
3092
3093
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3094
47.5k
  static inline const SnapshotScheduleOptionsPB* internal_default_instance() {
3095
47.5k
    return reinterpret_cast<const SnapshotScheduleOptionsPB*>(
3096
47.5k
               &_SnapshotScheduleOptionsPB_default_instance_);
3097
47.5k
  }
3098
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3099
    21;
3100
3101
  void Swap(SnapshotScheduleOptionsPB* other);
3102
0
  friend void swap(SnapshotScheduleOptionsPB& a, SnapshotScheduleOptionsPB& b) {
3103
0
    a.Swap(&b);
3104
0
  }
3105
3106
  // implements Message ----------------------------------------------
3107
3108
0
  inline SnapshotScheduleOptionsPB* New() const PROTOBUF_FINAL { return New(NULL); }
3109
3110
  SnapshotScheduleOptionsPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3111
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3112
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3113
  void CopyFrom(const SnapshotScheduleOptionsPB& from);
3114
  void MergeFrom(const SnapshotScheduleOptionsPB& from);
3115
  void Clear() PROTOBUF_FINAL;
3116
  bool IsInitialized() const PROTOBUF_FINAL;
3117
3118
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3119
  bool MergePartialFromCodedStream(
3120
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3121
  void SerializeWithCachedSizes(
3122
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3123
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3124
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3125
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3126
  private:
3127
  void SharedCtor();
3128
  void SharedDtor();
3129
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3130
  void InternalSwap(SnapshotScheduleOptionsPB* other);
3131
  private:
3132
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3133
0
    return NULL;
3134
0
  }
3135
0
  inline void* MaybeArenaPtr() const {
3136
0
    return NULL;
3137
0
  }
3138
  public:
3139
3140
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3141
3142
  // nested types ----------------------------------------------------
3143
3144
  // accessors -------------------------------------------------------
3145
3146
  // repeated fixed64 restoration_times = 5;
3147
  int restoration_times_size() const;
3148
  void clear_restoration_times();
3149
  static const int kRestorationTimesFieldNumber = 5;
3150
  ::google::protobuf::uint64 restoration_times(int index) const;
3151
  void set_restoration_times(int index, ::google::protobuf::uint64 value);
3152
  void add_restoration_times(::google::protobuf::uint64 value);
3153
  const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
3154
      restoration_times() const;
3155
  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
3156
      mutable_restoration_times();
3157
3158
  // optional .yb.master.SnapshotScheduleFilterPB filter = 1;
3159
  bool has_filter() const;
3160
  void clear_filter();
3161
  static const int kFilterFieldNumber = 1;
3162
  const ::yb::master::SnapshotScheduleFilterPB& filter() const;
3163
  ::yb::master::SnapshotScheduleFilterPB* release_filter();
3164
  ::yb::master::SnapshotScheduleFilterPB* mutable_filter();
3165
  void set_allocated_filter(::yb::master::SnapshotScheduleFilterPB* filter);
3166
3167
  // optional uint64 interval_sec = 2;
3168
  bool has_interval_sec() const;
3169
  void clear_interval_sec();
3170
  static const int kIntervalSecFieldNumber = 2;
3171
  ::google::protobuf::uint64 interval_sec() const;
3172
  void set_interval_sec(::google::protobuf::uint64 value);
3173
3174
  // optional uint64 retention_duration_sec = 3;
3175
  bool has_retention_duration_sec() const;
3176
  void clear_retention_duration_sec();
3177
  static const int kRetentionDurationSecFieldNumber = 3;
3178
  ::google::protobuf::uint64 retention_duration_sec() const;
3179
  void set_retention_duration_sec(::google::protobuf::uint64 value);
3180
3181
  // optional fixed64 delete_time = 4;
3182
  bool has_delete_time() const;
3183
  void clear_delete_time();
3184
  static const int kDeleteTimeFieldNumber = 4;
3185
  ::google::protobuf::uint64 delete_time() const;
3186
  void set_delete_time(::google::protobuf::uint64 value);
3187
3188
  // @@protoc_insertion_point(class_scope:yb.master.SnapshotScheduleOptionsPB)
3189
 private:
3190
  void set_has_filter();
3191
  void clear_has_filter();
3192
  void set_has_interval_sec();
3193
  void clear_has_interval_sec();
3194
  void set_has_retention_duration_sec();
3195
  void clear_has_retention_duration_sec();
3196
  void set_has_delete_time();
3197
  void clear_has_delete_time();
3198
3199
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3200
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3201
  mutable int _cached_size_;
3202
  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > restoration_times_;
3203
  ::yb::master::SnapshotScheduleFilterPB* filter_;
3204
  ::google::protobuf::uint64 interval_sec_;
3205
  ::google::protobuf::uint64 retention_duration_sec_;
3206
  ::google::protobuf::uint64 delete_time_;
3207
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
3208
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSnapshotScheduleOptionsPBImpl();
3209
};
3210
// -------------------------------------------------------------------
3211
3212
class CreateSnapshotScheduleRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.CreateSnapshotScheduleRequestPB) */ {
3213
 public:
3214
  CreateSnapshotScheduleRequestPB();
3215
  virtual ~CreateSnapshotScheduleRequestPB();
3216
3217
  CreateSnapshotScheduleRequestPB(const CreateSnapshotScheduleRequestPB& from);
3218
3219
0
  inline CreateSnapshotScheduleRequestPB& operator=(const CreateSnapshotScheduleRequestPB& from) {
3220
0
    CopyFrom(from);
3221
0
    return *this;
3222
0
  }
3223
  #if LANG_CXX11
3224
  CreateSnapshotScheduleRequestPB(CreateSnapshotScheduleRequestPB&& from) noexcept
3225
0
    : CreateSnapshotScheduleRequestPB() {
3226
0
    *this = ::std::move(from);
3227
0
  }
3228
3229
0
  inline CreateSnapshotScheduleRequestPB& operator=(CreateSnapshotScheduleRequestPB&& from) noexcept {
3230
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3231
0
      if (this != &from) InternalSwap(&from);
3232
0
    } else {
3233
0
      CopyFrom(from);
3234
0
    }
3235
0
    return *this;
3236
0
  }
3237
  #endif
3238
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3239
0
    return _internal_metadata_.unknown_fields();
3240
0
  }
3241
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3242
0
    return _internal_metadata_.mutable_unknown_fields();
3243
0
  }
3244
3245
  static const ::google::protobuf::Descriptor* descriptor();
3246
  static const CreateSnapshotScheduleRequestPB& default_instance();
3247
3248
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3249
15.8k
  static inline const CreateSnapshotScheduleRequestPB* internal_default_instance() {
3250
15.8k
    return reinterpret_cast<const CreateSnapshotScheduleRequestPB*>(
3251
15.8k
               &_CreateSnapshotScheduleRequestPB_default_instance_);
3252
15.8k
  }
3253
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3254
    22;
3255
3256
  void Swap(CreateSnapshotScheduleRequestPB* other);
3257
0
  friend void swap(CreateSnapshotScheduleRequestPB& a, CreateSnapshotScheduleRequestPB& b) {
3258
0
    a.Swap(&b);
3259
0
  }
3260
3261
  // implements Message ----------------------------------------------
3262
3263
0
  inline CreateSnapshotScheduleRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
3264
3265
  CreateSnapshotScheduleRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3266
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3267
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3268
  void CopyFrom(const CreateSnapshotScheduleRequestPB& from);
3269
  void MergeFrom(const CreateSnapshotScheduleRequestPB& from);
3270
  void Clear() PROTOBUF_FINAL;
3271
  bool IsInitialized() const PROTOBUF_FINAL;
3272
3273
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3274
  bool MergePartialFromCodedStream(
3275
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3276
  void SerializeWithCachedSizes(
3277
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3278
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3279
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3280
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3281
  private:
3282
  void SharedCtor();
3283
  void SharedDtor();
3284
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3285
  void InternalSwap(CreateSnapshotScheduleRequestPB* other);
3286
  private:
3287
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3288
0
    return NULL;
3289
0
  }
3290
0
  inline void* MaybeArenaPtr() const {
3291
0
    return NULL;
3292
0
  }
3293
  public:
3294
3295
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3296
3297
  // nested types ----------------------------------------------------
3298
3299
  // accessors -------------------------------------------------------
3300
3301
  // optional .yb.master.SnapshotScheduleOptionsPB options = 1;
3302
  bool has_options() const;
3303
  void clear_options();
3304
  static const int kOptionsFieldNumber = 1;
3305
  const ::yb::master::SnapshotScheduleOptionsPB& options() const;
3306
  ::yb::master::SnapshotScheduleOptionsPB* release_options();
3307
  ::yb::master::SnapshotScheduleOptionsPB* mutable_options();
3308
  void set_allocated_options(::yb::master::SnapshotScheduleOptionsPB* options);
3309
3310
  // @@protoc_insertion_point(class_scope:yb.master.CreateSnapshotScheduleRequestPB)
3311
 private:
3312
  void set_has_options();
3313
  void clear_has_options();
3314
3315
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3316
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3317
  mutable int _cached_size_;
3318
  ::yb::master::SnapshotScheduleOptionsPB* options_;
3319
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
3320
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsCreateSnapshotScheduleRequestPBImpl();
3321
};
3322
// -------------------------------------------------------------------
3323
3324
class CreateSnapshotScheduleResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.CreateSnapshotScheduleResponsePB) */ {
3325
 public:
3326
  CreateSnapshotScheduleResponsePB();
3327
  virtual ~CreateSnapshotScheduleResponsePB();
3328
3329
  CreateSnapshotScheduleResponsePB(const CreateSnapshotScheduleResponsePB& from);
3330
3331
0
  inline CreateSnapshotScheduleResponsePB& operator=(const CreateSnapshotScheduleResponsePB& from) {
3332
0
    CopyFrom(from);
3333
0
    return *this;
3334
0
  }
3335
  #if LANG_CXX11
3336
  CreateSnapshotScheduleResponsePB(CreateSnapshotScheduleResponsePB&& from) noexcept
3337
0
    : CreateSnapshotScheduleResponsePB() {
3338
0
    *this = ::std::move(from);
3339
0
  }
3340
3341
0
  inline CreateSnapshotScheduleResponsePB& operator=(CreateSnapshotScheduleResponsePB&& from) noexcept {
3342
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3343
0
      if (this != &from) InternalSwap(&from);
3344
0
    } else {
3345
0
      CopyFrom(from);
3346
0
    }
3347
0
    return *this;
3348
0
  }
3349
  #endif
3350
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3351
0
    return _internal_metadata_.unknown_fields();
3352
0
  }
3353
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3354
0
    return _internal_metadata_.mutable_unknown_fields();
3355
0
  }
3356
3357
  static const ::google::protobuf::Descriptor* descriptor();
3358
  static const CreateSnapshotScheduleResponsePB& default_instance();
3359
3360
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3361
15.8k
  static inline const CreateSnapshotScheduleResponsePB* internal_default_instance() {
3362
15.8k
    return reinterpret_cast<const CreateSnapshotScheduleResponsePB*>(
3363
15.8k
               &_CreateSnapshotScheduleResponsePB_default_instance_);
3364
15.8k
  }
3365
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3366
    23;
3367
3368
  void Swap(CreateSnapshotScheduleResponsePB* other);
3369
0
  friend void swap(CreateSnapshotScheduleResponsePB& a, CreateSnapshotScheduleResponsePB& b) {
3370
0
    a.Swap(&b);
3371
0
  }
3372
3373
  // implements Message ----------------------------------------------
3374
3375
0
  inline CreateSnapshotScheduleResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
3376
3377
  CreateSnapshotScheduleResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3378
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3379
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3380
  void CopyFrom(const CreateSnapshotScheduleResponsePB& from);
3381
  void MergeFrom(const CreateSnapshotScheduleResponsePB& from);
3382
  void Clear() PROTOBUF_FINAL;
3383
  bool IsInitialized() const PROTOBUF_FINAL;
3384
3385
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3386
  bool MergePartialFromCodedStream(
3387
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3388
  void SerializeWithCachedSizes(
3389
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3390
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3391
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3392
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3393
  private:
3394
  void SharedCtor();
3395
  void SharedDtor();
3396
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3397
  void InternalSwap(CreateSnapshotScheduleResponsePB* other);
3398
  private:
3399
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3400
0
    return NULL;
3401
0
  }
3402
0
  inline void* MaybeArenaPtr() const {
3403
0
    return NULL;
3404
0
  }
3405
  public:
3406
3407
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3408
3409
  // nested types ----------------------------------------------------
3410
3411
  // accessors -------------------------------------------------------
3412
3413
  // optional bytes snapshot_schedule_id = 2;
3414
  bool has_snapshot_schedule_id() const;
3415
  void clear_snapshot_schedule_id();
3416
  static const int kSnapshotScheduleIdFieldNumber = 2;
3417
  const ::std::string& snapshot_schedule_id() const;
3418
  void set_snapshot_schedule_id(const ::std::string& value);
3419
  #if LANG_CXX11
3420
  void set_snapshot_schedule_id(::std::string&& value);
3421
  #endif
3422
  void set_snapshot_schedule_id(const char* value);
3423
  void set_snapshot_schedule_id(const void* value, size_t size);
3424
  ::std::string* mutable_snapshot_schedule_id();
3425
  ::std::string* release_snapshot_schedule_id();
3426
  void set_allocated_snapshot_schedule_id(::std::string* snapshot_schedule_id);
3427
3428
  // optional .yb.master.MasterErrorPB error = 1;
3429
  bool has_error() const;
3430
  void clear_error();
3431
  static const int kErrorFieldNumber = 1;
3432
  const ::yb::master::MasterErrorPB& error() const;
3433
  ::yb::master::MasterErrorPB* release_error();
3434
  ::yb::master::MasterErrorPB* mutable_error();
3435
  void set_allocated_error(::yb::master::MasterErrorPB* error);
3436
3437
  // @@protoc_insertion_point(class_scope:yb.master.CreateSnapshotScheduleResponsePB)
3438
 private:
3439
  void set_has_error();
3440
  void clear_has_error();
3441
  void set_has_snapshot_schedule_id();
3442
  void clear_has_snapshot_schedule_id();
3443
3444
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3445
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3446
  mutable int _cached_size_;
3447
  ::google::protobuf::internal::ArenaStringPtr snapshot_schedule_id_;
3448
  ::yb::master::MasterErrorPB* error_;
3449
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
3450
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsCreateSnapshotScheduleResponsePBImpl();
3451
};
3452
// -------------------------------------------------------------------
3453
3454
class ListSnapshotSchedulesRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ListSnapshotSchedulesRequestPB) */ {
3455
 public:
3456
  ListSnapshotSchedulesRequestPB();
3457
  virtual ~ListSnapshotSchedulesRequestPB();
3458
3459
  ListSnapshotSchedulesRequestPB(const ListSnapshotSchedulesRequestPB& from);
3460
3461
0
  inline ListSnapshotSchedulesRequestPB& operator=(const ListSnapshotSchedulesRequestPB& from) {
3462
0
    CopyFrom(from);
3463
0
    return *this;
3464
0
  }
3465
  #if LANG_CXX11
3466
  ListSnapshotSchedulesRequestPB(ListSnapshotSchedulesRequestPB&& from) noexcept
3467
0
    : ListSnapshotSchedulesRequestPB() {
3468
0
    *this = ::std::move(from);
3469
0
  }
3470
3471
0
  inline ListSnapshotSchedulesRequestPB& operator=(ListSnapshotSchedulesRequestPB&& from) noexcept {
3472
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3473
0
      if (this != &from) InternalSwap(&from);
3474
0
    } else {
3475
0
      CopyFrom(from);
3476
0
    }
3477
0
    return *this;
3478
0
  }
3479
  #endif
3480
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3481
0
    return _internal_metadata_.unknown_fields();
3482
0
  }
3483
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3484
0
    return _internal_metadata_.mutable_unknown_fields();
3485
0
  }
3486
3487
  static const ::google::protobuf::Descriptor* descriptor();
3488
  static const ListSnapshotSchedulesRequestPB& default_instance();
3489
3490
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3491
15.8k
  static inline const ListSnapshotSchedulesRequestPB* internal_default_instance() {
3492
15.8k
    return reinterpret_cast<const ListSnapshotSchedulesRequestPB*>(
3493
15.8k
               &_ListSnapshotSchedulesRequestPB_default_instance_);
3494
15.8k
  }
3495
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3496
    24;
3497
3498
  void Swap(ListSnapshotSchedulesRequestPB* other);
3499
0
  friend void swap(ListSnapshotSchedulesRequestPB& a, ListSnapshotSchedulesRequestPB& b) {
3500
0
    a.Swap(&b);
3501
0
  }
3502
3503
  // implements Message ----------------------------------------------
3504
3505
0
  inline ListSnapshotSchedulesRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
3506
3507
  ListSnapshotSchedulesRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3508
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3509
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3510
  void CopyFrom(const ListSnapshotSchedulesRequestPB& from);
3511
  void MergeFrom(const ListSnapshotSchedulesRequestPB& from);
3512
  void Clear() PROTOBUF_FINAL;
3513
  bool IsInitialized() const PROTOBUF_FINAL;
3514
3515
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3516
  bool MergePartialFromCodedStream(
3517
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3518
  void SerializeWithCachedSizes(
3519
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3520
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3521
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3522
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3523
  private:
3524
  void SharedCtor();
3525
  void SharedDtor();
3526
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3527
  void InternalSwap(ListSnapshotSchedulesRequestPB* other);
3528
  private:
3529
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3530
0
    return NULL;
3531
0
  }
3532
0
  inline void* MaybeArenaPtr() const {
3533
0
    return NULL;
3534
0
  }
3535
  public:
3536
3537
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3538
3539
  // nested types ----------------------------------------------------
3540
3541
  // accessors -------------------------------------------------------
3542
3543
  // optional bytes snapshot_schedule_id = 1;
3544
  bool has_snapshot_schedule_id() const;
3545
  void clear_snapshot_schedule_id();
3546
  static const int kSnapshotScheduleIdFieldNumber = 1;
3547
  const ::std::string& snapshot_schedule_id() const;
3548
  void set_snapshot_schedule_id(const ::std::string& value);
3549
  #if LANG_CXX11
3550
  void set_snapshot_schedule_id(::std::string&& value);
3551
  #endif
3552
  void set_snapshot_schedule_id(const char* value);
3553
  void set_snapshot_schedule_id(const void* value, size_t size);
3554
  ::std::string* mutable_snapshot_schedule_id();
3555
  ::std::string* release_snapshot_schedule_id();
3556
  void set_allocated_snapshot_schedule_id(::std::string* snapshot_schedule_id);
3557
3558
  // @@protoc_insertion_point(class_scope:yb.master.ListSnapshotSchedulesRequestPB)
3559
 private:
3560
  void set_has_snapshot_schedule_id();
3561
  void clear_has_snapshot_schedule_id();
3562
3563
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3564
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3565
  mutable int _cached_size_;
3566
  ::google::protobuf::internal::ArenaStringPtr snapshot_schedule_id_;
3567
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
3568
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsListSnapshotSchedulesRequestPBImpl();
3569
};
3570
// -------------------------------------------------------------------
3571
3572
class SnapshotScheduleInfoPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SnapshotScheduleInfoPB) */ {
3573
 public:
3574
  SnapshotScheduleInfoPB();
3575
  virtual ~SnapshotScheduleInfoPB();
3576
3577
  SnapshotScheduleInfoPB(const SnapshotScheduleInfoPB& from);
3578
3579
0
  inline SnapshotScheduleInfoPB& operator=(const SnapshotScheduleInfoPB& from) {
3580
0
    CopyFrom(from);
3581
0
    return *this;
3582
0
  }
3583
  #if LANG_CXX11
3584
  SnapshotScheduleInfoPB(SnapshotScheduleInfoPB&& from) noexcept
3585
0
    : SnapshotScheduleInfoPB() {
3586
0
    *this = ::std::move(from);
3587
0
  }
3588
3589
0
  inline SnapshotScheduleInfoPB& operator=(SnapshotScheduleInfoPB&& from) noexcept {
3590
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3591
0
      if (this != &from) InternalSwap(&from);
3592
0
    } else {
3593
0
      CopyFrom(from);
3594
0
    }
3595
0
    return *this;
3596
0
  }
3597
  #endif
3598
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3599
0
    return _internal_metadata_.unknown_fields();
3600
0
  }
3601
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3602
0
    return _internal_metadata_.mutable_unknown_fields();
3603
0
  }
3604
3605
  static const ::google::protobuf::Descriptor* descriptor();
3606
  static const SnapshotScheduleInfoPB& default_instance();
3607
3608
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3609
15.8k
  static inline const SnapshotScheduleInfoPB* internal_default_instance() {
3610
15.8k
    return reinterpret_cast<const SnapshotScheduleInfoPB*>(
3611
15.8k
               &_SnapshotScheduleInfoPB_default_instance_);
3612
15.8k
  }
3613
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3614
    25;
3615
3616
  void Swap(SnapshotScheduleInfoPB* other);
3617
0
  friend void swap(SnapshotScheduleInfoPB& a, SnapshotScheduleInfoPB& b) {
3618
0
    a.Swap(&b);
3619
0
  }
3620
3621
  // implements Message ----------------------------------------------
3622
3623
0
  inline SnapshotScheduleInfoPB* New() const PROTOBUF_FINAL { return New(NULL); }
3624
3625
  SnapshotScheduleInfoPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3626
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3627
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3628
  void CopyFrom(const SnapshotScheduleInfoPB& from);
3629
  void MergeFrom(const SnapshotScheduleInfoPB& from);
3630
  void Clear() PROTOBUF_FINAL;
3631
  bool IsInitialized() const PROTOBUF_FINAL;
3632
3633
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3634
  bool MergePartialFromCodedStream(
3635
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3636
  void SerializeWithCachedSizes(
3637
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3638
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3639
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3640
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3641
  private:
3642
  void SharedCtor();
3643
  void SharedDtor();
3644
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3645
  void InternalSwap(SnapshotScheduleInfoPB* other);
3646
  private:
3647
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3648
0
    return NULL;
3649
0
  }
3650
0
  inline void* MaybeArenaPtr() const {
3651
0
    return NULL;
3652
0
  }
3653
  public:
3654
3655
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3656
3657
  // nested types ----------------------------------------------------
3658
3659
  // accessors -------------------------------------------------------
3660
3661
  // repeated .yb.master.SnapshotInfoPB snapshots = 3;
3662
  int snapshots_size() const;
3663
  void clear_snapshots();
3664
  static const int kSnapshotsFieldNumber = 3;
3665
  const ::yb::master::SnapshotInfoPB& snapshots(int index) const;
3666
  ::yb::master::SnapshotInfoPB* mutable_snapshots(int index);
3667
  ::yb::master::SnapshotInfoPB* add_snapshots();
3668
  ::google::protobuf::RepeatedPtrField< ::yb::master::SnapshotInfoPB >*
3669
      mutable_snapshots();
3670
  const ::google::protobuf::RepeatedPtrField< ::yb::master::SnapshotInfoPB >&
3671
      snapshots() const;
3672
3673
  // optional bytes id = 1;
3674
  bool has_id() const;
3675
  void clear_id();
3676
  static const int kIdFieldNumber = 1;
3677
  const ::std::string& id() const;
3678
  void set_id(const ::std::string& value);
3679
  #if LANG_CXX11
3680
  void set_id(::std::string&& value);
3681
  #endif
3682
  void set_id(const char* value);
3683
  void set_id(const void* value, size_t size);
3684
  ::std::string* mutable_id();
3685
  ::std::string* release_id();
3686
  void set_allocated_id(::std::string* id);
3687
3688
  // optional .yb.master.SnapshotScheduleOptionsPB options = 2;
3689
  bool has_options() const;
3690
  void clear_options();
3691
  static const int kOptionsFieldNumber = 2;
3692
  const ::yb::master::SnapshotScheduleOptionsPB& options() const;
3693
  ::yb::master::SnapshotScheduleOptionsPB* release_options();
3694
  ::yb::master::SnapshotScheduleOptionsPB* mutable_options();
3695
  void set_allocated_options(::yb::master::SnapshotScheduleOptionsPB* options);
3696
3697
  // @@protoc_insertion_point(class_scope:yb.master.SnapshotScheduleInfoPB)
3698
 private:
3699
  void set_has_id();
3700
  void clear_has_id();
3701
  void set_has_options();
3702
  void clear_has_options();
3703
3704
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3705
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3706
  mutable int _cached_size_;
3707
  ::google::protobuf::RepeatedPtrField< ::yb::master::SnapshotInfoPB > snapshots_;
3708
  ::google::protobuf::internal::ArenaStringPtr id_;
3709
  ::yb::master::SnapshotScheduleOptionsPB* options_;
3710
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
3711
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsSnapshotScheduleInfoPBImpl();
3712
};
3713
// -------------------------------------------------------------------
3714
3715
class ListSnapshotSchedulesResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ListSnapshotSchedulesResponsePB) */ {
3716
 public:
3717
  ListSnapshotSchedulesResponsePB();
3718
  virtual ~ListSnapshotSchedulesResponsePB();
3719
3720
  ListSnapshotSchedulesResponsePB(const ListSnapshotSchedulesResponsePB& from);
3721
3722
0
  inline ListSnapshotSchedulesResponsePB& operator=(const ListSnapshotSchedulesResponsePB& from) {
3723
0
    CopyFrom(from);
3724
0
    return *this;
3725
0
  }
3726
  #if LANG_CXX11
3727
  ListSnapshotSchedulesResponsePB(ListSnapshotSchedulesResponsePB&& from) noexcept
3728
0
    : ListSnapshotSchedulesResponsePB() {
3729
0
    *this = ::std::move(from);
3730
0
  }
3731
3732
0
  inline ListSnapshotSchedulesResponsePB& operator=(ListSnapshotSchedulesResponsePB&& from) noexcept {
3733
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3734
0
      if (this != &from) InternalSwap(&from);
3735
0
    } else {
3736
0
      CopyFrom(from);
3737
0
    }
3738
0
    return *this;
3739
0
  }
3740
  #endif
3741
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3742
0
    return _internal_metadata_.unknown_fields();
3743
0
  }
3744
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3745
0
    return _internal_metadata_.mutable_unknown_fields();
3746
0
  }
3747
3748
  static const ::google::protobuf::Descriptor* descriptor();
3749
  static const ListSnapshotSchedulesResponsePB& default_instance();
3750
3751
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3752
15.8k
  static inline const ListSnapshotSchedulesResponsePB* internal_default_instance() {
3753
15.8k
    return reinterpret_cast<const ListSnapshotSchedulesResponsePB*>(
3754
15.8k
               &_ListSnapshotSchedulesResponsePB_default_instance_);
3755
15.8k
  }
3756
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3757
    26;
3758
3759
  void Swap(ListSnapshotSchedulesResponsePB* other);
3760
0
  friend void swap(ListSnapshotSchedulesResponsePB& a, ListSnapshotSchedulesResponsePB& b) {
3761
0
    a.Swap(&b);
3762
0
  }
3763
3764
  // implements Message ----------------------------------------------
3765
3766
0
  inline ListSnapshotSchedulesResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
3767
3768
  ListSnapshotSchedulesResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3769
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3770
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3771
  void CopyFrom(const ListSnapshotSchedulesResponsePB& from);
3772
  void MergeFrom(const ListSnapshotSchedulesResponsePB& from);
3773
  void Clear() PROTOBUF_FINAL;
3774
  bool IsInitialized() const PROTOBUF_FINAL;
3775
3776
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3777
  bool MergePartialFromCodedStream(
3778
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3779
  void SerializeWithCachedSizes(
3780
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3781
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3782
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3783
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3784
  private:
3785
  void SharedCtor();
3786
  void SharedDtor();
3787
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3788
  void InternalSwap(ListSnapshotSchedulesResponsePB* other);
3789
  private:
3790
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3791
0
    return NULL;
3792
0
  }
3793
0
  inline void* MaybeArenaPtr() const {
3794
0
    return NULL;
3795
0
  }
3796
  public:
3797
3798
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3799
3800
  // nested types ----------------------------------------------------
3801
3802
  // accessors -------------------------------------------------------
3803
3804
  // repeated .yb.master.SnapshotScheduleInfoPB schedules = 2;
3805
  int schedules_size() const;
3806
  void clear_schedules();
3807
  static const int kSchedulesFieldNumber = 2;
3808
  const ::yb::master::SnapshotScheduleInfoPB& schedules(int index) const;
3809
  ::yb::master::SnapshotScheduleInfoPB* mutable_schedules(int index);
3810
  ::yb::master::SnapshotScheduleInfoPB* add_schedules();
3811
  ::google::protobuf::RepeatedPtrField< ::yb::master::SnapshotScheduleInfoPB >*
3812
      mutable_schedules();
3813
  const ::google::protobuf::RepeatedPtrField< ::yb::master::SnapshotScheduleInfoPB >&
3814
      schedules() const;
3815
3816
  // optional .yb.master.MasterErrorPB error = 1;
3817
  bool has_error() const;
3818
  void clear_error();
3819
  static const int kErrorFieldNumber = 1;
3820
  const ::yb::master::MasterErrorPB& error() const;
3821
  ::yb::master::MasterErrorPB* release_error();
3822
  ::yb::master::MasterErrorPB* mutable_error();
3823
  void set_allocated_error(::yb::master::MasterErrorPB* error);
3824
3825
  // @@protoc_insertion_point(class_scope:yb.master.ListSnapshotSchedulesResponsePB)
3826
 private:
3827
  void set_has_error();
3828
  void clear_has_error();
3829
3830
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3831
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3832
  mutable int _cached_size_;
3833
  ::google::protobuf::RepeatedPtrField< ::yb::master::SnapshotScheduleInfoPB > schedules_;
3834
  ::yb::master::MasterErrorPB* error_;
3835
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
3836
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsListSnapshotSchedulesResponsePBImpl();
3837
};
3838
// -------------------------------------------------------------------
3839
3840
class DeleteSnapshotScheduleRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.DeleteSnapshotScheduleRequestPB) */ {
3841
 public:
3842
  DeleteSnapshotScheduleRequestPB();
3843
  virtual ~DeleteSnapshotScheduleRequestPB();
3844
3845
  DeleteSnapshotScheduleRequestPB(const DeleteSnapshotScheduleRequestPB& from);
3846
3847
0
  inline DeleteSnapshotScheduleRequestPB& operator=(const DeleteSnapshotScheduleRequestPB& from) {
3848
0
    CopyFrom(from);
3849
0
    return *this;
3850
0
  }
3851
  #if LANG_CXX11
3852
  DeleteSnapshotScheduleRequestPB(DeleteSnapshotScheduleRequestPB&& from) noexcept
3853
0
    : DeleteSnapshotScheduleRequestPB() {
3854
0
    *this = ::std::move(from);
3855
0
  }
3856
3857
0
  inline DeleteSnapshotScheduleRequestPB& operator=(DeleteSnapshotScheduleRequestPB&& from) noexcept {
3858
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3859
0
      if (this != &from) InternalSwap(&from);
3860
0
    } else {
3861
0
      CopyFrom(from);
3862
0
    }
3863
0
    return *this;
3864
0
  }
3865
  #endif
3866
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3867
0
    return _internal_metadata_.unknown_fields();
3868
0
  }
3869
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3870
0
    return _internal_metadata_.mutable_unknown_fields();
3871
0
  }
3872
3873
  static const ::google::protobuf::Descriptor* descriptor();
3874
  static const DeleteSnapshotScheduleRequestPB& default_instance();
3875
3876
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3877
15.8k
  static inline const DeleteSnapshotScheduleRequestPB* internal_default_instance() {
3878
15.8k
    return reinterpret_cast<const DeleteSnapshotScheduleRequestPB*>(
3879
15.8k
               &_DeleteSnapshotScheduleRequestPB_default_instance_);
3880
15.8k
  }
3881
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3882
    27;
3883
3884
  void Swap(DeleteSnapshotScheduleRequestPB* other);
3885
0
  friend void swap(DeleteSnapshotScheduleRequestPB& a, DeleteSnapshotScheduleRequestPB& b) {
3886
0
    a.Swap(&b);
3887
0
  }
3888
3889
  // implements Message ----------------------------------------------
3890
3891
0
  inline DeleteSnapshotScheduleRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
3892
3893
  DeleteSnapshotScheduleRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3894
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3895
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3896
  void CopyFrom(const DeleteSnapshotScheduleRequestPB& from);
3897
  void MergeFrom(const DeleteSnapshotScheduleRequestPB& from);
3898
  void Clear() PROTOBUF_FINAL;
3899
  bool IsInitialized() const PROTOBUF_FINAL;
3900
3901
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3902
  bool MergePartialFromCodedStream(
3903
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3904
  void SerializeWithCachedSizes(
3905
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3906
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3907
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3908
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3909
  private:
3910
  void SharedCtor();
3911
  void SharedDtor();
3912
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3913
  void InternalSwap(DeleteSnapshotScheduleRequestPB* other);
3914
  private:
3915
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3916
0
    return NULL;
3917
0
  }
3918
0
  inline void* MaybeArenaPtr() const {
3919
0
    return NULL;
3920
0
  }
3921
  public:
3922
3923
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3924
3925
  // nested types ----------------------------------------------------
3926
3927
  // accessors -------------------------------------------------------
3928
3929
  // optional bytes snapshot_schedule_id = 1;
3930
  bool has_snapshot_schedule_id() const;
3931
  void clear_snapshot_schedule_id();
3932
  static const int kSnapshotScheduleIdFieldNumber = 1;
3933
  const ::std::string& snapshot_schedule_id() const;
3934
  void set_snapshot_schedule_id(const ::std::string& value);
3935
  #if LANG_CXX11
3936
  void set_snapshot_schedule_id(::std::string&& value);
3937
  #endif
3938
  void set_snapshot_schedule_id(const char* value);
3939
  void set_snapshot_schedule_id(const void* value, size_t size);
3940
  ::std::string* mutable_snapshot_schedule_id();
3941
  ::std::string* release_snapshot_schedule_id();
3942
  void set_allocated_snapshot_schedule_id(::std::string* snapshot_schedule_id);
3943
3944
  // @@protoc_insertion_point(class_scope:yb.master.DeleteSnapshotScheduleRequestPB)
3945
 private:
3946
  void set_has_snapshot_schedule_id();
3947
  void clear_has_snapshot_schedule_id();
3948
3949
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3950
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3951
  mutable int _cached_size_;
3952
  ::google::protobuf::internal::ArenaStringPtr snapshot_schedule_id_;
3953
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
3954
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsDeleteSnapshotScheduleRequestPBImpl();
3955
};
3956
// -------------------------------------------------------------------
3957
3958
class DeleteSnapshotScheduleResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.DeleteSnapshotScheduleResponsePB) */ {
3959
 public:
3960
  DeleteSnapshotScheduleResponsePB();
3961
  virtual ~DeleteSnapshotScheduleResponsePB();
3962
3963
  DeleteSnapshotScheduleResponsePB(const DeleteSnapshotScheduleResponsePB& from);
3964
3965
0
  inline DeleteSnapshotScheduleResponsePB& operator=(const DeleteSnapshotScheduleResponsePB& from) {
3966
0
    CopyFrom(from);
3967
0
    return *this;
3968
0
  }
3969
  #if LANG_CXX11
3970
  DeleteSnapshotScheduleResponsePB(DeleteSnapshotScheduleResponsePB&& from) noexcept
3971
0
    : DeleteSnapshotScheduleResponsePB() {
3972
0
    *this = ::std::move(from);
3973
0
  }
3974
3975
0
  inline DeleteSnapshotScheduleResponsePB& operator=(DeleteSnapshotScheduleResponsePB&& from) noexcept {
3976
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3977
0
      if (this != &from) InternalSwap(&from);
3978
0
    } else {
3979
0
      CopyFrom(from);
3980
0
    }
3981
0
    return *this;
3982
0
  }
3983
  #endif
3984
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3985
0
    return _internal_metadata_.unknown_fields();
3986
0
  }
3987
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3988
0
    return _internal_metadata_.mutable_unknown_fields();
3989
0
  }
3990
3991
  static const ::google::protobuf::Descriptor* descriptor();
3992
  static const DeleteSnapshotScheduleResponsePB& default_instance();
3993
3994
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3995
15.8k
  static inline const DeleteSnapshotScheduleResponsePB* internal_default_instance() {
3996
15.8k
    return reinterpret_cast<const DeleteSnapshotScheduleResponsePB*>(
3997
15.8k
               &_DeleteSnapshotScheduleResponsePB_default_instance_);
3998
15.8k
  }
3999
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4000
    28;
4001
4002
  void Swap(DeleteSnapshotScheduleResponsePB* other);
4003
0
  friend void swap(DeleteSnapshotScheduleResponsePB& a, DeleteSnapshotScheduleResponsePB& b) {
4004
0
    a.Swap(&b);
4005
0
  }
4006
4007
  // implements Message ----------------------------------------------
4008
4009
0
  inline DeleteSnapshotScheduleResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
4010
4011
  DeleteSnapshotScheduleResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4012
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4013
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4014
  void CopyFrom(const DeleteSnapshotScheduleResponsePB& from);
4015
  void MergeFrom(const DeleteSnapshotScheduleResponsePB& from);
4016
  void Clear() PROTOBUF_FINAL;
4017
  bool IsInitialized() const PROTOBUF_FINAL;
4018
4019
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4020
  bool MergePartialFromCodedStream(
4021
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4022
  void SerializeWithCachedSizes(
4023
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4024
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4025
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4026
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4027
  private:
4028
  void SharedCtor();
4029
  void SharedDtor();
4030
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4031
  void InternalSwap(DeleteSnapshotScheduleResponsePB* other);
4032
  private:
4033
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4034
0
    return NULL;
4035
0
  }
4036
0
  inline void* MaybeArenaPtr() const {
4037
0
    return NULL;
4038
0
  }
4039
  public:
4040
4041
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4042
4043
  // nested types ----------------------------------------------------
4044
4045
  // accessors -------------------------------------------------------
4046
4047
  // optional .yb.master.MasterErrorPB error = 1;
4048
  bool has_error() const;
4049
  void clear_error();
4050
  static const int kErrorFieldNumber = 1;
4051
  const ::yb::master::MasterErrorPB& error() const;
4052
  ::yb::master::MasterErrorPB* release_error();
4053
  ::yb::master::MasterErrorPB* mutable_error();
4054
  void set_allocated_error(::yb::master::MasterErrorPB* error);
4055
4056
  // @@protoc_insertion_point(class_scope:yb.master.DeleteSnapshotScheduleResponsePB)
4057
 private:
4058
  void set_has_error();
4059
  void clear_has_error();
4060
4061
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4062
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4063
  mutable int _cached_size_;
4064
  ::yb::master::MasterErrorPB* error_;
4065
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::TableStruct;
4066
  friend void ::protobuf_yb_2fmaster_2fmaster_5fbackup_2eproto::InitDefaultsDeleteSnapshotScheduleResponsePBImpl();
4067
};
4068
// ===================================================================
4069
4070
4071
// ===================================================================
4072
4073
#ifdef __GNUC__
4074
  #pragma GCC diagnostic push
4075
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
4076
#endif  // __GNUC__
4077
// BackupRowEntryPB
4078
4079
// optional .yb.master.SysRowEntry entry = 1;
4080
0
inline bool BackupRowEntryPB::has_entry() const {
4081
0
  return (_has_bits_[0] & 0x00000002u) != 0;
4082
0
}
4083
0
inline void BackupRowEntryPB::set_has_entry() {
4084
0
  _has_bits_[0] |= 0x00000002u;
4085
0
}
4086
0
inline void BackupRowEntryPB::clear_has_entry() {
4087
0
  _has_bits_[0] &= ~0x00000002u;
4088
0
}
4089
0
inline const ::yb::master::SysRowEntry& BackupRowEntryPB::entry() const {
4090
0
  const ::yb::master::SysRowEntry* p = entry_;
4091
0
  // @@protoc_insertion_point(field_get:yb.master.BackupRowEntryPB.entry)
4092
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::SysRowEntry*>(
4093
0
      &::yb::master::_SysRowEntry_default_instance_);
4094
0
}
4095
0
inline ::yb::master::SysRowEntry* BackupRowEntryPB::release_entry() {
4096
0
  // @@protoc_insertion_point(field_release:yb.master.BackupRowEntryPB.entry)
4097
0
  clear_has_entry();
4098
0
  ::yb::master::SysRowEntry* temp = entry_;
4099
0
  entry_ = NULL;
4100
0
  return temp;
4101
0
}
4102
0
inline ::yb::master::SysRowEntry* BackupRowEntryPB::mutable_entry() {
4103
0
  set_has_entry();
4104
0
  if (entry_ == NULL) {
4105
0
    entry_ = new ::yb::master::SysRowEntry;
4106
0
  }
4107
0
  // @@protoc_insertion_point(field_mutable:yb.master.BackupRowEntryPB.entry)
4108
0
  return entry_;
4109
0
}
4110
0
inline void BackupRowEntryPB::set_allocated_entry(::yb::master::SysRowEntry* entry) {
4111
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4112
0
  if (message_arena == NULL) {
4113
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(entry_);
4114
0
  }
4115
0
  if (entry) {
4116
0
    ::google::protobuf::Arena* submessage_arena = NULL;
4117
0
    if (message_arena != submessage_arena) {
4118
0
      entry = ::google::protobuf::internal::GetOwnedMessage(
4119
0
          message_arena, entry, submessage_arena);
4120
0
    }
4121
0
    set_has_entry();
4122
0
  } else {
4123
0
    clear_has_entry();
4124
0
  }
4125
0
  entry_ = entry;
4126
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.BackupRowEntryPB.entry)
4127
0
}
4128
4129
// optional bytes pg_schema_name = 2;
4130
0
inline bool BackupRowEntryPB::has_pg_schema_name() const {
4131
0
  return (_has_bits_[0] & 0x00000001u) != 0;
4132
0
}
4133
0
inline void BackupRowEntryPB::set_has_pg_schema_name() {
4134
0
  _has_bits_[0] |= 0x00000001u;
4135
0
}
4136
0
inline void BackupRowEntryPB::clear_has_pg_schema_name() {
4137
0
  _has_bits_[0] &= ~0x00000001u;
4138
0
}
4139
0
inline void BackupRowEntryPB::clear_pg_schema_name() {
4140
0
  pg_schema_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4141
0
  clear_has_pg_schema_name();
4142
0
}
4143
0
inline const ::std::string& BackupRowEntryPB::pg_schema_name() const {
4144
0
  // @@protoc_insertion_point(field_get:yb.master.BackupRowEntryPB.pg_schema_name)
4145
0
  return pg_schema_name_.GetNoArena();
4146
0
}
4147
0
inline void BackupRowEntryPB::set_pg_schema_name(const ::std::string& value) {
4148
0
  set_has_pg_schema_name();
4149
0
  pg_schema_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4150
0
  // @@protoc_insertion_point(field_set:yb.master.BackupRowEntryPB.pg_schema_name)
4151
0
}
4152
#if LANG_CXX11
4153
0
inline void BackupRowEntryPB::set_pg_schema_name(::std::string&& value) {
4154
0
  set_has_pg_schema_name();
4155
0
  pg_schema_name_.SetNoArena(
4156
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
4157
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.BackupRowEntryPB.pg_schema_name)
4158
0
}
4159
#endif
4160
0
inline void BackupRowEntryPB::set_pg_schema_name(const char* value) {
4161
0
  GOOGLE_DCHECK(value != NULL);
4162
0
  set_has_pg_schema_name();
4163
0
  pg_schema_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4164
0
  // @@protoc_insertion_point(field_set_char:yb.master.BackupRowEntryPB.pg_schema_name)
4165
0
}
4166
0
inline void BackupRowEntryPB::set_pg_schema_name(const void* value, size_t size) {
4167
0
  set_has_pg_schema_name();
4168
0
  pg_schema_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4169
0
      ::std::string(reinterpret_cast<const char*>(value), size));
4170
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.BackupRowEntryPB.pg_schema_name)
4171
0
}
4172
0
inline ::std::string* BackupRowEntryPB::mutable_pg_schema_name() {
4173
0
  set_has_pg_schema_name();
4174
0
  // @@protoc_insertion_point(field_mutable:yb.master.BackupRowEntryPB.pg_schema_name)
4175
0
  return pg_schema_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4176
0
}
4177
0
inline ::std::string* BackupRowEntryPB::release_pg_schema_name() {
4178
0
  // @@protoc_insertion_point(field_release:yb.master.BackupRowEntryPB.pg_schema_name)
4179
0
  clear_has_pg_schema_name();
4180
0
  return pg_schema_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4181
0
}
4182
0
inline void BackupRowEntryPB::set_allocated_pg_schema_name(::std::string* pg_schema_name) {
4183
0
  if (pg_schema_name != NULL) {
4184
0
    set_has_pg_schema_name();
4185
0
  } else {
4186
0
    clear_has_pg_schema_name();
4187
0
  }
4188
0
  pg_schema_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), pg_schema_name);
4189
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.BackupRowEntryPB.pg_schema_name)
4190
0
}
4191
4192
// -------------------------------------------------------------------
4193
4194
// CreateSnapshotRequestPB
4195
4196
// repeated .yb.master.TableIdentifierPB tables = 1;
4197
0
inline int CreateSnapshotRequestPB::tables_size() const {
4198
0
  return tables_.size();
4199
0
}
4200
0
inline const ::yb::master::TableIdentifierPB& CreateSnapshotRequestPB::tables(int index) const {
4201
0
  // @@protoc_insertion_point(field_get:yb.master.CreateSnapshotRequestPB.tables)
4202
0
  return tables_.Get(index);
4203
0
}
4204
0
inline ::yb::master::TableIdentifierPB* CreateSnapshotRequestPB::mutable_tables(int index) {
4205
0
  // @@protoc_insertion_point(field_mutable:yb.master.CreateSnapshotRequestPB.tables)
4206
0
  return tables_.Mutable(index);
4207
0
}
4208
0
inline ::yb::master::TableIdentifierPB* CreateSnapshotRequestPB::add_tables() {
4209
0
  // @@protoc_insertion_point(field_add:yb.master.CreateSnapshotRequestPB.tables)
4210
0
  return tables_.Add();
4211
0
}
4212
inline ::google::protobuf::RepeatedPtrField< ::yb::master::TableIdentifierPB >*
4213
0
CreateSnapshotRequestPB::mutable_tables() {
4214
0
  // @@protoc_insertion_point(field_mutable_list:yb.master.CreateSnapshotRequestPB.tables)
4215
0
  return &tables_;
4216
0
}
4217
inline const ::google::protobuf::RepeatedPtrField< ::yb::master::TableIdentifierPB >&
4218
0
CreateSnapshotRequestPB::tables() const {
4219
0
  // @@protoc_insertion_point(field_list:yb.master.CreateSnapshotRequestPB.tables)
4220
0
  return tables_;
4221
0
}
4222
4223
// optional bool transaction_aware = 2;
4224
0
inline bool CreateSnapshotRequestPB::has_transaction_aware() const {
4225
0
  return (_has_bits_[0] & 0x00000002u) != 0;
4226
0
}
4227
0
inline void CreateSnapshotRequestPB::set_has_transaction_aware() {
4228
0
  _has_bits_[0] |= 0x00000002u;
4229
0
}
4230
0
inline void CreateSnapshotRequestPB::clear_has_transaction_aware() {
4231
0
  _has_bits_[0] &= ~0x00000002u;
4232
0
}
4233
0
inline void CreateSnapshotRequestPB::clear_transaction_aware() {
4234
0
  transaction_aware_ = false;
4235
0
  clear_has_transaction_aware();
4236
0
}
4237
0
inline bool CreateSnapshotRequestPB::transaction_aware() const {
4238
0
  // @@protoc_insertion_point(field_get:yb.master.CreateSnapshotRequestPB.transaction_aware)
4239
0
  return transaction_aware_;
4240
0
}
4241
0
inline void CreateSnapshotRequestPB::set_transaction_aware(bool value) {
4242
0
  set_has_transaction_aware();
4243
0
  transaction_aware_ = value;
4244
0
  // @@protoc_insertion_point(field_set:yb.master.CreateSnapshotRequestPB.transaction_aware)
4245
0
}
4246
4247
// optional bool add_indexes = 3 [default = false];
4248
0
inline bool CreateSnapshotRequestPB::has_add_indexes() const {
4249
0
  return (_has_bits_[0] & 0x00000004u) != 0;
4250
0
}
4251
0
inline void CreateSnapshotRequestPB::set_has_add_indexes() {
4252
0
  _has_bits_[0] |= 0x00000004u;
4253
0
}
4254
0
inline void CreateSnapshotRequestPB::clear_has_add_indexes() {
4255
0
  _has_bits_[0] &= ~0x00000004u;
4256
0
}
4257
0
inline void CreateSnapshotRequestPB::clear_add_indexes() {
4258
0
  add_indexes_ = false;
4259
0
  clear_has_add_indexes();
4260
0
}
4261
0
inline bool CreateSnapshotRequestPB::add_indexes() const {
4262
0
  // @@protoc_insertion_point(field_get:yb.master.CreateSnapshotRequestPB.add_indexes)
4263
0
  return add_indexes_;
4264
0
}
4265
0
inline void CreateSnapshotRequestPB::set_add_indexes(bool value) {
4266
0
  set_has_add_indexes();
4267
0
  add_indexes_ = value;
4268
0
  // @@protoc_insertion_point(field_set:yb.master.CreateSnapshotRequestPB.add_indexes)
4269
0
}
4270
4271
// optional bool imported = 4;
4272
0
inline bool CreateSnapshotRequestPB::has_imported() const {
4273
0
  return (_has_bits_[0] & 0x00000008u) != 0;
4274
0
}
4275
0
inline void CreateSnapshotRequestPB::set_has_imported() {
4276
0
  _has_bits_[0] |= 0x00000008u;
4277
0
}
4278
0
inline void CreateSnapshotRequestPB::clear_has_imported() {
4279
0
  _has_bits_[0] &= ~0x00000008u;
4280
0
}
4281
0
inline void CreateSnapshotRequestPB::clear_imported() {
4282
0
  imported_ = false;
4283
0
  clear_has_imported();
4284
0
}
4285
0
inline bool CreateSnapshotRequestPB::imported() const {
4286
0
  // @@protoc_insertion_point(field_get:yb.master.CreateSnapshotRequestPB.imported)
4287
0
  return imported_;
4288
0
}
4289
0
inline void CreateSnapshotRequestPB::set_imported(bool value) {
4290
0
  set_has_imported();
4291
0
  imported_ = value;
4292
0
  // @@protoc_insertion_point(field_set:yb.master.CreateSnapshotRequestPB.imported)
4293
0
}
4294
4295
// optional bytes schedule_id = 5;
4296
0
inline bool CreateSnapshotRequestPB::has_schedule_id() const {
4297
0
  return (_has_bits_[0] & 0x00000001u) != 0;
4298
0
}
4299
0
inline void CreateSnapshotRequestPB::set_has_schedule_id() {
4300
0
  _has_bits_[0] |= 0x00000001u;
4301
0
}
4302
0
inline void CreateSnapshotRequestPB::clear_has_schedule_id() {
4303
0
  _has_bits_[0] &= ~0x00000001u;
4304
0
}
4305
0
inline void CreateSnapshotRequestPB::clear_schedule_id() {
4306
0
  schedule_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4307
0
  clear_has_schedule_id();
4308
0
}
4309
0
inline const ::std::string& CreateSnapshotRequestPB::schedule_id() const {
4310
0
  // @@protoc_insertion_point(field_get:yb.master.CreateSnapshotRequestPB.schedule_id)
4311
0
  return schedule_id_.GetNoArena();
4312
0
}
4313
0
inline void CreateSnapshotRequestPB::set_schedule_id(const ::std::string& value) {
4314
0
  set_has_schedule_id();
4315
0
  schedule_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4316
0
  // @@protoc_insertion_point(field_set:yb.master.CreateSnapshotRequestPB.schedule_id)
4317
0
}
4318
#if LANG_CXX11
4319
0
inline void CreateSnapshotRequestPB::set_schedule_id(::std::string&& value) {
4320
0
  set_has_schedule_id();
4321
0
  schedule_id_.SetNoArena(
4322
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
4323
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.CreateSnapshotRequestPB.schedule_id)
4324
0
}
4325
#endif
4326
0
inline void CreateSnapshotRequestPB::set_schedule_id(const char* value) {
4327
0
  GOOGLE_DCHECK(value != NULL);
4328
0
  set_has_schedule_id();
4329
0
  schedule_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4330
0
  // @@protoc_insertion_point(field_set_char:yb.master.CreateSnapshotRequestPB.schedule_id)
4331
0
}
4332
0
inline void CreateSnapshotRequestPB::set_schedule_id(const void* value, size_t size) {
4333
0
  set_has_schedule_id();
4334
0
  schedule_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4335
0
      ::std::string(reinterpret_cast<const char*>(value), size));
4336
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.CreateSnapshotRequestPB.schedule_id)
4337
0
}
4338
0
inline ::std::string* CreateSnapshotRequestPB::mutable_schedule_id() {
4339
0
  set_has_schedule_id();
4340
0
  // @@protoc_insertion_point(field_mutable:yb.master.CreateSnapshotRequestPB.schedule_id)
4341
0
  return schedule_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4342
0
}
4343
0
inline ::std::string* CreateSnapshotRequestPB::release_schedule_id() {
4344
0
  // @@protoc_insertion_point(field_release:yb.master.CreateSnapshotRequestPB.schedule_id)
4345
0
  clear_has_schedule_id();
4346
0
  return schedule_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4347
0
}
4348
0
inline void CreateSnapshotRequestPB::set_allocated_schedule_id(::std::string* schedule_id) {
4349
0
  if (schedule_id != NULL) {
4350
0
    set_has_schedule_id();
4351
0
  } else {
4352
0
    clear_has_schedule_id();
4353
0
  }
4354
0
  schedule_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), schedule_id);
4355
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.CreateSnapshotRequestPB.schedule_id)
4356
0
}
4357
4358
// -------------------------------------------------------------------
4359
4360
// CreateSnapshotResponsePB
4361
4362
// optional .yb.master.MasterErrorPB error = 1;
4363
0
inline bool CreateSnapshotResponsePB::has_error() const {
4364
0
  return (_has_bits_[0] & 0x00000002u) != 0;
4365
0
}
4366
0
inline void CreateSnapshotResponsePB::set_has_error() {
4367
0
  _has_bits_[0] |= 0x00000002u;
4368
0
}
4369
0
inline void CreateSnapshotResponsePB::clear_has_error() {
4370
0
  _has_bits_[0] &= ~0x00000002u;
4371
0
}
4372
0
inline const ::yb::master::MasterErrorPB& CreateSnapshotResponsePB::error() const {
4373
0
  const ::yb::master::MasterErrorPB* p = error_;
4374
0
  // @@protoc_insertion_point(field_get:yb.master.CreateSnapshotResponsePB.error)
4375
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>(
4376
0
      &::yb::master::_MasterErrorPB_default_instance_);
4377
0
}
4378
0
inline ::yb::master::MasterErrorPB* CreateSnapshotResponsePB::release_error() {
4379
0
  // @@protoc_insertion_point(field_release:yb.master.CreateSnapshotResponsePB.error)
4380
0
  clear_has_error();
4381
0
  ::yb::master::MasterErrorPB* temp = error_;
4382
0
  error_ = NULL;
4383
0
  return temp;
4384
0
}
4385
0
inline ::yb::master::MasterErrorPB* CreateSnapshotResponsePB::mutable_error() {
4386
0
  set_has_error();
4387
0
  if (error_ == NULL) {
4388
0
    error_ = new ::yb::master::MasterErrorPB;
4389
0
  }
4390
0
  // @@protoc_insertion_point(field_mutable:yb.master.CreateSnapshotResponsePB.error)
4391
0
  return error_;
4392
0
}
4393
0
inline void CreateSnapshotResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) {
4394
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4395
0
  if (message_arena == NULL) {
4396
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
4397
0
  }
4398
0
  if (error) {
4399
0
    ::google::protobuf::Arena* submessage_arena = NULL;
4400
0
    if (message_arena != submessage_arena) {
4401
0
      error = ::google::protobuf::internal::GetOwnedMessage(
4402
0
          message_arena, error, submessage_arena);
4403
0
    }
4404
0
    set_has_error();
4405
0
  } else {
4406
0
    clear_has_error();
4407
0
  }
4408
0
  error_ = error;
4409
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.CreateSnapshotResponsePB.error)
4410
0
}
4411
4412
// optional bytes snapshot_id = 2;
4413
0
inline bool CreateSnapshotResponsePB::has_snapshot_id() const {
4414
0
  return (_has_bits_[0] & 0x00000001u) != 0;
4415
0
}
4416
0
inline void CreateSnapshotResponsePB::set_has_snapshot_id() {
4417
0
  _has_bits_[0] |= 0x00000001u;
4418
0
}
4419
0
inline void CreateSnapshotResponsePB::clear_has_snapshot_id() {
4420
0
  _has_bits_[0] &= ~0x00000001u;
4421
0
}
4422
0
inline void CreateSnapshotResponsePB::clear_snapshot_id() {
4423
0
  snapshot_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4424
0
  clear_has_snapshot_id();
4425
0
}
4426
0
inline const ::std::string& CreateSnapshotResponsePB::snapshot_id() const {
4427
0
  // @@protoc_insertion_point(field_get:yb.master.CreateSnapshotResponsePB.snapshot_id)
4428
0
  return snapshot_id_.GetNoArena();
4429
0
}
4430
0
inline void CreateSnapshotResponsePB::set_snapshot_id(const ::std::string& value) {
4431
0
  set_has_snapshot_id();
4432
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4433
0
  // @@protoc_insertion_point(field_set:yb.master.CreateSnapshotResponsePB.snapshot_id)
4434
0
}
4435
#if LANG_CXX11
4436
0
inline void CreateSnapshotResponsePB::set_snapshot_id(::std::string&& value) {
4437
0
  set_has_snapshot_id();
4438
0
  snapshot_id_.SetNoArena(
4439
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
4440
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.CreateSnapshotResponsePB.snapshot_id)
4441
0
}
4442
#endif
4443
0
inline void CreateSnapshotResponsePB::set_snapshot_id(const char* value) {
4444
0
  GOOGLE_DCHECK(value != NULL);
4445
0
  set_has_snapshot_id();
4446
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4447
0
  // @@protoc_insertion_point(field_set_char:yb.master.CreateSnapshotResponsePB.snapshot_id)
4448
0
}
4449
0
inline void CreateSnapshotResponsePB::set_snapshot_id(const void* value, size_t size) {
4450
0
  set_has_snapshot_id();
4451
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4452
0
      ::std::string(reinterpret_cast<const char*>(value), size));
4453
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.CreateSnapshotResponsePB.snapshot_id)
4454
0
}
4455
0
inline ::std::string* CreateSnapshotResponsePB::mutable_snapshot_id() {
4456
0
  set_has_snapshot_id();
4457
0
  // @@protoc_insertion_point(field_mutable:yb.master.CreateSnapshotResponsePB.snapshot_id)
4458
0
  return snapshot_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4459
0
}
4460
0
inline ::std::string* CreateSnapshotResponsePB::release_snapshot_id() {
4461
0
  // @@protoc_insertion_point(field_release:yb.master.CreateSnapshotResponsePB.snapshot_id)
4462
0
  clear_has_snapshot_id();
4463
0
  return snapshot_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4464
0
}
4465
0
inline void CreateSnapshotResponsePB::set_allocated_snapshot_id(::std::string* snapshot_id) {
4466
0
  if (snapshot_id != NULL) {
4467
0
    set_has_snapshot_id();
4468
0
  } else {
4469
0
    clear_has_snapshot_id();
4470
0
  }
4471
0
  snapshot_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshot_id);
4472
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.CreateSnapshotResponsePB.snapshot_id)
4473
0
}
4474
4475
// -------------------------------------------------------------------
4476
4477
// SnapshotInfoPB
4478
4479
// optional bytes id = 1;
4480
0
inline bool SnapshotInfoPB::has_id() const {
4481
0
  return (_has_bits_[0] & 0x00000001u) != 0;
4482
0
}
4483
0
inline void SnapshotInfoPB::set_has_id() {
4484
0
  _has_bits_[0] |= 0x00000001u;
4485
0
}
4486
0
inline void SnapshotInfoPB::clear_has_id() {
4487
0
  _has_bits_[0] &= ~0x00000001u;
4488
0
}
4489
0
inline void SnapshotInfoPB::clear_id() {
4490
0
  id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4491
0
  clear_has_id();
4492
0
}
4493
0
inline const ::std::string& SnapshotInfoPB::id() const {
4494
0
  // @@protoc_insertion_point(field_get:yb.master.SnapshotInfoPB.id)
4495
0
  return id_.GetNoArena();
4496
0
}
4497
0
inline void SnapshotInfoPB::set_id(const ::std::string& value) {
4498
0
  set_has_id();
4499
0
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4500
0
  // @@protoc_insertion_point(field_set:yb.master.SnapshotInfoPB.id)
4501
0
}
4502
#if LANG_CXX11
4503
0
inline void SnapshotInfoPB::set_id(::std::string&& value) {
4504
0
  set_has_id();
4505
0
  id_.SetNoArena(
4506
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
4507
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.SnapshotInfoPB.id)
4508
0
}
4509
#endif
4510
0
inline void SnapshotInfoPB::set_id(const char* value) {
4511
0
  GOOGLE_DCHECK(value != NULL);
4512
0
  set_has_id();
4513
0
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4514
0
  // @@protoc_insertion_point(field_set_char:yb.master.SnapshotInfoPB.id)
4515
0
}
4516
0
inline void SnapshotInfoPB::set_id(const void* value, size_t size) {
4517
0
  set_has_id();
4518
0
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4519
0
      ::std::string(reinterpret_cast<const char*>(value), size));
4520
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.SnapshotInfoPB.id)
4521
0
}
4522
0
inline ::std::string* SnapshotInfoPB::mutable_id() {
4523
0
  set_has_id();
4524
0
  // @@protoc_insertion_point(field_mutable:yb.master.SnapshotInfoPB.id)
4525
0
  return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4526
0
}
4527
0
inline ::std::string* SnapshotInfoPB::release_id() {
4528
0
  // @@protoc_insertion_point(field_release:yb.master.SnapshotInfoPB.id)
4529
0
  clear_has_id();
4530
0
  return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4531
0
}
4532
0
inline void SnapshotInfoPB::set_allocated_id(::std::string* id) {
4533
0
  if (id != NULL) {
4534
0
    set_has_id();
4535
0
  } else {
4536
0
    clear_has_id();
4537
0
  }
4538
0
  id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id);
4539
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.SnapshotInfoPB.id)
4540
0
}
4541
4542
// optional .yb.master.SysSnapshotEntryPB entry = 2;
4543
0
inline bool SnapshotInfoPB::has_entry() const {
4544
0
  return (_has_bits_[0] & 0x00000002u) != 0;
4545
0
}
4546
0
inline void SnapshotInfoPB::set_has_entry() {
4547
0
  _has_bits_[0] |= 0x00000002u;
4548
0
}
4549
0
inline void SnapshotInfoPB::clear_has_entry() {
4550
0
  _has_bits_[0] &= ~0x00000002u;
4551
0
}
4552
0
inline const ::yb::master::SysSnapshotEntryPB& SnapshotInfoPB::entry() const {
4553
0
  const ::yb::master::SysSnapshotEntryPB* p = entry_;
4554
0
  // @@protoc_insertion_point(field_get:yb.master.SnapshotInfoPB.entry)
4555
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::SysSnapshotEntryPB*>(
4556
0
      &::yb::master::_SysSnapshotEntryPB_default_instance_);
4557
0
}
4558
0
inline ::yb::master::SysSnapshotEntryPB* SnapshotInfoPB::release_entry() {
4559
0
  // @@protoc_insertion_point(field_release:yb.master.SnapshotInfoPB.entry)
4560
0
  clear_has_entry();
4561
0
  ::yb::master::SysSnapshotEntryPB* temp = entry_;
4562
0
  entry_ = NULL;
4563
0
  return temp;
4564
0
}
4565
0
inline ::yb::master::SysSnapshotEntryPB* SnapshotInfoPB::mutable_entry() {
4566
0
  set_has_entry();
4567
0
  if (entry_ == NULL) {
4568
0
    entry_ = new ::yb::master::SysSnapshotEntryPB;
4569
0
  }
4570
0
  // @@protoc_insertion_point(field_mutable:yb.master.SnapshotInfoPB.entry)
4571
0
  return entry_;
4572
0
}
4573
0
inline void SnapshotInfoPB::set_allocated_entry(::yb::master::SysSnapshotEntryPB* entry) {
4574
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4575
0
  if (message_arena == NULL) {
4576
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(entry_);
4577
0
  }
4578
0
  if (entry) {
4579
0
    ::google::protobuf::Arena* submessage_arena = NULL;
4580
0
    if (message_arena != submessage_arena) {
4581
0
      entry = ::google::protobuf::internal::GetOwnedMessage(
4582
0
          message_arena, entry, submessage_arena);
4583
0
    }
4584
0
    set_has_entry();
4585
0
  } else {
4586
0
    clear_has_entry();
4587
0
  }
4588
0
  entry_ = entry;
4589
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.SnapshotInfoPB.entry)
4590
0
}
4591
4592
// optional int64 format_version = 3 [default = 1];
4593
0
inline bool SnapshotInfoPB::has_format_version() const {
4594
0
  return (_has_bits_[0] & 0x00000004u) != 0;
4595
0
}
4596
0
inline void SnapshotInfoPB::set_has_format_version() {
4597
0
  _has_bits_[0] |= 0x00000004u;
4598
0
}
4599
0
inline void SnapshotInfoPB::clear_has_format_version() {
4600
0
  _has_bits_[0] &= ~0x00000004u;
4601
0
}
4602
0
inline void SnapshotInfoPB::clear_format_version() {
4603
0
  format_version_ = GOOGLE_LONGLONG(1);
4604
0
  clear_has_format_version();
4605
0
}
4606
0
inline ::google::protobuf::int64 SnapshotInfoPB::format_version() const {
4607
0
  // @@protoc_insertion_point(field_get:yb.master.SnapshotInfoPB.format_version)
4608
0
  return format_version_;
4609
0
}
4610
0
inline void SnapshotInfoPB::set_format_version(::google::protobuf::int64 value) {
4611
0
  set_has_format_version();
4612
0
  format_version_ = value;
4613
0
  // @@protoc_insertion_point(field_set:yb.master.SnapshotInfoPB.format_version)
4614
0
}
4615
4616
// repeated .yb.master.BackupRowEntryPB backup_entries = 4;
4617
0
inline int SnapshotInfoPB::backup_entries_size() const {
4618
0
  return backup_entries_.size();
4619
0
}
4620
0
inline void SnapshotInfoPB::clear_backup_entries() {
4621
0
  backup_entries_.Clear();
4622
0
}
4623
0
inline const ::yb::master::BackupRowEntryPB& SnapshotInfoPB::backup_entries(int index) const {
4624
0
  // @@protoc_insertion_point(field_get:yb.master.SnapshotInfoPB.backup_entries)
4625
0
  return backup_entries_.Get(index);
4626
0
}
4627
0
inline ::yb::master::BackupRowEntryPB* SnapshotInfoPB::mutable_backup_entries(int index) {
4628
0
  // @@protoc_insertion_point(field_mutable:yb.master.SnapshotInfoPB.backup_entries)
4629
0
  return backup_entries_.Mutable(index);
4630
0
}
4631
0
inline ::yb::master::BackupRowEntryPB* SnapshotInfoPB::add_backup_entries() {
4632
0
  // @@protoc_insertion_point(field_add:yb.master.SnapshotInfoPB.backup_entries)
4633
0
  return backup_entries_.Add();
4634
0
}
4635
inline ::google::protobuf::RepeatedPtrField< ::yb::master::BackupRowEntryPB >*
4636
0
SnapshotInfoPB::mutable_backup_entries() {
4637
0
  // @@protoc_insertion_point(field_mutable_list:yb.master.SnapshotInfoPB.backup_entries)
4638
0
  return &backup_entries_;
4639
0
}
4640
inline const ::google::protobuf::RepeatedPtrField< ::yb::master::BackupRowEntryPB >&
4641
0
SnapshotInfoPB::backup_entries() const {
4642
0
  // @@protoc_insertion_point(field_list:yb.master.SnapshotInfoPB.backup_entries)
4643
0
  return backup_entries_;
4644
0
}
4645
4646
// -------------------------------------------------------------------
4647
4648
// TabletRestorationPB
4649
4650
// optional bytes id = 1;
4651
0
inline bool TabletRestorationPB::has_id() const {
4652
0
  return (_has_bits_[0] & 0x00000001u) != 0;
4653
0
}
4654
0
inline void TabletRestorationPB::set_has_id() {
4655
0
  _has_bits_[0] |= 0x00000001u;
4656
0
}
4657
0
inline void TabletRestorationPB::clear_has_id() {
4658
0
  _has_bits_[0] &= ~0x00000001u;
4659
0
}
4660
0
inline void TabletRestorationPB::clear_id() {
4661
0
  id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4662
0
  clear_has_id();
4663
0
}
4664
0
inline const ::std::string& TabletRestorationPB::id() const {
4665
0
  // @@protoc_insertion_point(field_get:yb.master.TabletRestorationPB.id)
4666
0
  return id_.GetNoArena();
4667
0
}
4668
0
inline void TabletRestorationPB::set_id(const ::std::string& value) {
4669
0
  set_has_id();
4670
0
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4671
0
  // @@protoc_insertion_point(field_set:yb.master.TabletRestorationPB.id)
4672
0
}
4673
#if LANG_CXX11
4674
0
inline void TabletRestorationPB::set_id(::std::string&& value) {
4675
0
  set_has_id();
4676
0
  id_.SetNoArena(
4677
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
4678
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.TabletRestorationPB.id)
4679
0
}
4680
#endif
4681
0
inline void TabletRestorationPB::set_id(const char* value) {
4682
0
  GOOGLE_DCHECK(value != NULL);
4683
0
  set_has_id();
4684
0
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4685
0
  // @@protoc_insertion_point(field_set_char:yb.master.TabletRestorationPB.id)
4686
0
}
4687
0
inline void TabletRestorationPB::set_id(const void* value, size_t size) {
4688
0
  set_has_id();
4689
0
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4690
0
      ::std::string(reinterpret_cast<const char*>(value), size));
4691
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.TabletRestorationPB.id)
4692
0
}
4693
0
inline ::std::string* TabletRestorationPB::mutable_id() {
4694
0
  set_has_id();
4695
0
  // @@protoc_insertion_point(field_mutable:yb.master.TabletRestorationPB.id)
4696
0
  return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4697
0
}
4698
0
inline ::std::string* TabletRestorationPB::release_id() {
4699
0
  // @@protoc_insertion_point(field_release:yb.master.TabletRestorationPB.id)
4700
0
  clear_has_id();
4701
0
  return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4702
0
}
4703
0
inline void TabletRestorationPB::set_allocated_id(::std::string* id) {
4704
0
  if (id != NULL) {
4705
0
    set_has_id();
4706
0
  } else {
4707
0
    clear_has_id();
4708
0
  }
4709
0
  id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id);
4710
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.TabletRestorationPB.id)
4711
0
}
4712
4713
// optional .yb.master.SysSnapshotEntryPB.State state = 2;
4714
0
inline bool TabletRestorationPB::has_state() const {
4715
0
  return (_has_bits_[0] & 0x00000002u) != 0;
4716
0
}
4717
0
inline void TabletRestorationPB::set_has_state() {
4718
0
  _has_bits_[0] |= 0x00000002u;
4719
0
}
4720
0
inline void TabletRestorationPB::clear_has_state() {
4721
0
  _has_bits_[0] &= ~0x00000002u;
4722
0
}
4723
0
inline void TabletRestorationPB::clear_state() {
4724
0
  state_ = 0;
4725
0
  clear_has_state();
4726
0
}
4727
0
inline ::yb::master::SysSnapshotEntryPB_State TabletRestorationPB::state() const {
4728
0
  // @@protoc_insertion_point(field_get:yb.master.TabletRestorationPB.state)
4729
0
  return static_cast< ::yb::master::SysSnapshotEntryPB_State >(state_);
4730
0
}
4731
0
inline void TabletRestorationPB::set_state(::yb::master::SysSnapshotEntryPB_State value) {
4732
0
  assert(::yb::master::SysSnapshotEntryPB_State_IsValid(value));
4733
0
  set_has_state();
4734
0
  state_ = value;
4735
0
  // @@protoc_insertion_point(field_set:yb.master.TabletRestorationPB.state)
4736
0
}
4737
4738
// -------------------------------------------------------------------
4739
4740
// SysRestorationEntryPB
4741
4742
// optional .yb.master.SysSnapshotEntryPB.State state = 1 [default = UNKNOWN];
4743
0
inline bool SysRestorationEntryPB::has_state() const {
4744
0
  return (_has_bits_[0] & 0x00000004u) != 0;
4745
0
}
4746
0
inline void SysRestorationEntryPB::set_has_state() {
4747
0
  _has_bits_[0] |= 0x00000004u;
4748
0
}
4749
0
inline void SysRestorationEntryPB::clear_has_state() {
4750
0
  _has_bits_[0] &= ~0x00000004u;
4751
0
}
4752
0
inline void SysRestorationEntryPB::clear_state() {
4753
0
  state_ = 0;
4754
0
  clear_has_state();
4755
0
}
4756
0
inline ::yb::master::SysSnapshotEntryPB_State SysRestorationEntryPB::state() const {
4757
0
  // @@protoc_insertion_point(field_get:yb.master.SysRestorationEntryPB.state)
4758
0
  return static_cast< ::yb::master::SysSnapshotEntryPB_State >(state_);
4759
0
}
4760
0
inline void SysRestorationEntryPB::set_state(::yb::master::SysSnapshotEntryPB_State value) {
4761
0
  assert(::yb::master::SysSnapshotEntryPB_State_IsValid(value));
4762
0
  set_has_state();
4763
0
  state_ = value;
4764
0
  // @@protoc_insertion_point(field_set:yb.master.SysRestorationEntryPB.state)
4765
0
}
4766
4767
// repeated .yb.master.TabletRestorationPB tablet_restorations = 2;
4768
0
inline int SysRestorationEntryPB::tablet_restorations_size() const {
4769
0
  return tablet_restorations_.size();
4770
0
}
4771
0
inline void SysRestorationEntryPB::clear_tablet_restorations() {
4772
0
  tablet_restorations_.Clear();
4773
0
}
4774
0
inline const ::yb::master::TabletRestorationPB& SysRestorationEntryPB::tablet_restorations(int index) const {
4775
0
  // @@protoc_insertion_point(field_get:yb.master.SysRestorationEntryPB.tablet_restorations)
4776
0
  return tablet_restorations_.Get(index);
4777
0
}
4778
0
inline ::yb::master::TabletRestorationPB* SysRestorationEntryPB::mutable_tablet_restorations(int index) {
4779
0
  // @@protoc_insertion_point(field_mutable:yb.master.SysRestorationEntryPB.tablet_restorations)
4780
0
  return tablet_restorations_.Mutable(index);
4781
0
}
4782
0
inline ::yb::master::TabletRestorationPB* SysRestorationEntryPB::add_tablet_restorations() {
4783
0
  // @@protoc_insertion_point(field_add:yb.master.SysRestorationEntryPB.tablet_restorations)
4784
0
  return tablet_restorations_.Add();
4785
0
}
4786
inline ::google::protobuf::RepeatedPtrField< ::yb::master::TabletRestorationPB >*
4787
0
SysRestorationEntryPB::mutable_tablet_restorations() {
4788
0
  // @@protoc_insertion_point(field_mutable_list:yb.master.SysRestorationEntryPB.tablet_restorations)
4789
0
  return &tablet_restorations_;
4790
0
}
4791
inline const ::google::protobuf::RepeatedPtrField< ::yb::master::TabletRestorationPB >&
4792
0
SysRestorationEntryPB::tablet_restorations() const {
4793
0
  // @@protoc_insertion_point(field_list:yb.master.SysRestorationEntryPB.tablet_restorations)
4794
0
  return tablet_restorations_;
4795
0
}
4796
4797
// optional bytes snapshot_id = 8;
4798
0
inline bool SysRestorationEntryPB::has_snapshot_id() const {
4799
0
  return (_has_bits_[0] & 0x00000001u) != 0;
4800
0
}
4801
0
inline void SysRestorationEntryPB::set_has_snapshot_id() {
4802
0
  _has_bits_[0] |= 0x00000001u;
4803
0
}
4804
0
inline void SysRestorationEntryPB::clear_has_snapshot_id() {
4805
0
  _has_bits_[0] &= ~0x00000001u;
4806
0
}
4807
0
inline void SysRestorationEntryPB::clear_snapshot_id() {
4808
0
  snapshot_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4809
0
  clear_has_snapshot_id();
4810
0
}
4811
0
inline const ::std::string& SysRestorationEntryPB::snapshot_id() const {
4812
0
  // @@protoc_insertion_point(field_get:yb.master.SysRestorationEntryPB.snapshot_id)
4813
0
  return snapshot_id_.GetNoArena();
4814
0
}
4815
0
inline void SysRestorationEntryPB::set_snapshot_id(const ::std::string& value) {
4816
0
  set_has_snapshot_id();
4817
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4818
0
  // @@protoc_insertion_point(field_set:yb.master.SysRestorationEntryPB.snapshot_id)
4819
0
}
4820
#if LANG_CXX11
4821
0
inline void SysRestorationEntryPB::set_snapshot_id(::std::string&& value) {
4822
0
  set_has_snapshot_id();
4823
0
  snapshot_id_.SetNoArena(
4824
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
4825
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.SysRestorationEntryPB.snapshot_id)
4826
0
}
4827
#endif
4828
0
inline void SysRestorationEntryPB::set_snapshot_id(const char* value) {
4829
0
  GOOGLE_DCHECK(value != NULL);
4830
0
  set_has_snapshot_id();
4831
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4832
0
  // @@protoc_insertion_point(field_set_char:yb.master.SysRestorationEntryPB.snapshot_id)
4833
0
}
4834
0
inline void SysRestorationEntryPB::set_snapshot_id(const void* value, size_t size) {
4835
0
  set_has_snapshot_id();
4836
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4837
0
      ::std::string(reinterpret_cast<const char*>(value), size));
4838
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.SysRestorationEntryPB.snapshot_id)
4839
0
}
4840
0
inline ::std::string* SysRestorationEntryPB::mutable_snapshot_id() {
4841
0
  set_has_snapshot_id();
4842
0
  // @@protoc_insertion_point(field_mutable:yb.master.SysRestorationEntryPB.snapshot_id)
4843
0
  return snapshot_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4844
0
}
4845
0
inline ::std::string* SysRestorationEntryPB::release_snapshot_id() {
4846
0
  // @@protoc_insertion_point(field_release:yb.master.SysRestorationEntryPB.snapshot_id)
4847
0
  clear_has_snapshot_id();
4848
0
  return snapshot_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4849
0
}
4850
0
inline void SysRestorationEntryPB::set_allocated_snapshot_id(::std::string* snapshot_id) {
4851
0
  if (snapshot_id != NULL) {
4852
0
    set_has_snapshot_id();
4853
0
  } else {
4854
0
    clear_has_snapshot_id();
4855
0
  }
4856
0
  snapshot_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshot_id);
4857
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.SysRestorationEntryPB.snapshot_id)
4858
0
}
4859
4860
// optional fixed64 complete_time_ht = 3;
4861
0
inline bool SysRestorationEntryPB::has_complete_time_ht() const {
4862
0
  return (_has_bits_[0] & 0x00000002u) != 0;
4863
0
}
4864
0
inline void SysRestorationEntryPB::set_has_complete_time_ht() {
4865
0
  _has_bits_[0] |= 0x00000002u;
4866
0
}
4867
0
inline void SysRestorationEntryPB::clear_has_complete_time_ht() {
4868
0
  _has_bits_[0] &= ~0x00000002u;
4869
0
}
4870
0
inline void SysRestorationEntryPB::clear_complete_time_ht() {
4871
0
  complete_time_ht_ = GOOGLE_ULONGLONG(0);
4872
0
  clear_has_complete_time_ht();
4873
0
}
4874
0
inline ::google::protobuf::uint64 SysRestorationEntryPB::complete_time_ht() const {
4875
0
  // @@protoc_insertion_point(field_get:yb.master.SysRestorationEntryPB.complete_time_ht)
4876
0
  return complete_time_ht_;
4877
0
}
4878
0
inline void SysRestorationEntryPB::set_complete_time_ht(::google::protobuf::uint64 value) {
4879
0
  set_has_complete_time_ht();
4880
0
  complete_time_ht_ = value;
4881
0
  // @@protoc_insertion_point(field_set:yb.master.SysRestorationEntryPB.complete_time_ht)
4882
0
}
4883
4884
// -------------------------------------------------------------------
4885
4886
// RestorationInfoPB
4887
4888
// optional bytes id = 1;
4889
0
inline bool RestorationInfoPB::has_id() const {
4890
0
  return (_has_bits_[0] & 0x00000001u) != 0;
4891
0
}
4892
0
inline void RestorationInfoPB::set_has_id() {
4893
0
  _has_bits_[0] |= 0x00000001u;
4894
0
}
4895
0
inline void RestorationInfoPB::clear_has_id() {
4896
0
  _has_bits_[0] &= ~0x00000001u;
4897
0
}
4898
0
inline void RestorationInfoPB::clear_id() {
4899
0
  id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4900
0
  clear_has_id();
4901
0
}
4902
0
inline const ::std::string& RestorationInfoPB::id() const {
4903
0
  // @@protoc_insertion_point(field_get:yb.master.RestorationInfoPB.id)
4904
0
  return id_.GetNoArena();
4905
0
}
4906
0
inline void RestorationInfoPB::set_id(const ::std::string& value) {
4907
0
  set_has_id();
4908
0
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4909
0
  // @@protoc_insertion_point(field_set:yb.master.RestorationInfoPB.id)
4910
0
}
4911
#if LANG_CXX11
4912
0
inline void RestorationInfoPB::set_id(::std::string&& value) {
4913
0
  set_has_id();
4914
0
  id_.SetNoArena(
4915
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
4916
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.RestorationInfoPB.id)
4917
0
}
4918
#endif
4919
0
inline void RestorationInfoPB::set_id(const char* value) {
4920
0
  GOOGLE_DCHECK(value != NULL);
4921
0
  set_has_id();
4922
0
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4923
0
  // @@protoc_insertion_point(field_set_char:yb.master.RestorationInfoPB.id)
4924
0
}
4925
0
inline void RestorationInfoPB::set_id(const void* value, size_t size) {
4926
0
  set_has_id();
4927
0
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4928
0
      ::std::string(reinterpret_cast<const char*>(value), size));
4929
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.RestorationInfoPB.id)
4930
0
}
4931
0
inline ::std::string* RestorationInfoPB::mutable_id() {
4932
0
  set_has_id();
4933
0
  // @@protoc_insertion_point(field_mutable:yb.master.RestorationInfoPB.id)
4934
0
  return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4935
0
}
4936
0
inline ::std::string* RestorationInfoPB::release_id() {
4937
0
  // @@protoc_insertion_point(field_release:yb.master.RestorationInfoPB.id)
4938
0
  clear_has_id();
4939
0
  return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4940
0
}
4941
0
inline void RestorationInfoPB::set_allocated_id(::std::string* id) {
4942
0
  if (id != NULL) {
4943
0
    set_has_id();
4944
0
  } else {
4945
0
    clear_has_id();
4946
0
  }
4947
0
  id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id);
4948
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.RestorationInfoPB.id)
4949
0
}
4950
4951
// optional .yb.master.SysRestorationEntryPB entry = 2;
4952
0
inline bool RestorationInfoPB::has_entry() const {
4953
0
  return (_has_bits_[0] & 0x00000002u) != 0;
4954
0
}
4955
0
inline void RestorationInfoPB::set_has_entry() {
4956
0
  _has_bits_[0] |= 0x00000002u;
4957
0
}
4958
0
inline void RestorationInfoPB::clear_has_entry() {
4959
0
  _has_bits_[0] &= ~0x00000002u;
4960
0
}
4961
0
inline void RestorationInfoPB::clear_entry() {
4962
0
  if (entry_ != NULL) entry_->Clear();
4963
0
  clear_has_entry();
4964
0
}
4965
0
inline const ::yb::master::SysRestorationEntryPB& RestorationInfoPB::entry() const {
4966
0
  const ::yb::master::SysRestorationEntryPB* p = entry_;
4967
0
  // @@protoc_insertion_point(field_get:yb.master.RestorationInfoPB.entry)
4968
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::SysRestorationEntryPB*>(
4969
0
      &::yb::master::_SysRestorationEntryPB_default_instance_);
4970
0
}
4971
0
inline ::yb::master::SysRestorationEntryPB* RestorationInfoPB::release_entry() {
4972
0
  // @@protoc_insertion_point(field_release:yb.master.RestorationInfoPB.entry)
4973
0
  clear_has_entry();
4974
0
  ::yb::master::SysRestorationEntryPB* temp = entry_;
4975
0
  entry_ = NULL;
4976
0
  return temp;
4977
0
}
4978
0
inline ::yb::master::SysRestorationEntryPB* RestorationInfoPB::mutable_entry() {
4979
0
  set_has_entry();
4980
0
  if (entry_ == NULL) {
4981
0
    entry_ = new ::yb::master::SysRestorationEntryPB;
4982
0
  }
4983
0
  // @@protoc_insertion_point(field_mutable:yb.master.RestorationInfoPB.entry)
4984
0
  return entry_;
4985
0
}
4986
0
inline void RestorationInfoPB::set_allocated_entry(::yb::master::SysRestorationEntryPB* entry) {
4987
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4988
0
  if (message_arena == NULL) {
4989
0
    delete entry_;
4990
0
  }
4991
0
  if (entry) {
4992
0
    ::google::protobuf::Arena* submessage_arena = NULL;
4993
0
    if (message_arena != submessage_arena) {
4994
0
      entry = ::google::protobuf::internal::GetOwnedMessage(
4995
0
          message_arena, entry, submessage_arena);
4996
0
    }
4997
0
    set_has_entry();
4998
0
  } else {
4999
0
    clear_has_entry();
5000
0
  }
5001
0
  entry_ = entry;
5002
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.RestorationInfoPB.entry)
5003
0
}
5004
5005
// -------------------------------------------------------------------
5006
5007
// ListSnapshotsRequestPB
5008
5009
// optional bytes snapshot_id = 2;
5010
0
inline bool ListSnapshotsRequestPB::has_snapshot_id() const {
5011
0
  return (_has_bits_[0] & 0x00000001u) != 0;
5012
0
}
5013
0
inline void ListSnapshotsRequestPB::set_has_snapshot_id() {
5014
0
  _has_bits_[0] |= 0x00000001u;
5015
0
}
5016
0
inline void ListSnapshotsRequestPB::clear_has_snapshot_id() {
5017
0
  _has_bits_[0] &= ~0x00000001u;
5018
0
}
5019
0
inline void ListSnapshotsRequestPB::clear_snapshot_id() {
5020
0
  snapshot_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5021
0
  clear_has_snapshot_id();
5022
0
}
5023
0
inline const ::std::string& ListSnapshotsRequestPB::snapshot_id() const {
5024
0
  // @@protoc_insertion_point(field_get:yb.master.ListSnapshotsRequestPB.snapshot_id)
5025
0
  return snapshot_id_.GetNoArena();
5026
0
}
5027
0
inline void ListSnapshotsRequestPB::set_snapshot_id(const ::std::string& value) {
5028
0
  set_has_snapshot_id();
5029
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5030
0
  // @@protoc_insertion_point(field_set:yb.master.ListSnapshotsRequestPB.snapshot_id)
5031
0
}
5032
#if LANG_CXX11
5033
0
inline void ListSnapshotsRequestPB::set_snapshot_id(::std::string&& value) {
5034
0
  set_has_snapshot_id();
5035
0
  snapshot_id_.SetNoArena(
5036
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5037
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.ListSnapshotsRequestPB.snapshot_id)
5038
0
}
5039
#endif
5040
0
inline void ListSnapshotsRequestPB::set_snapshot_id(const char* value) {
5041
0
  GOOGLE_DCHECK(value != NULL);
5042
0
  set_has_snapshot_id();
5043
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5044
0
  // @@protoc_insertion_point(field_set_char:yb.master.ListSnapshotsRequestPB.snapshot_id)
5045
0
}
5046
0
inline void ListSnapshotsRequestPB::set_snapshot_id(const void* value, size_t size) {
5047
0
  set_has_snapshot_id();
5048
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5049
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5050
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.ListSnapshotsRequestPB.snapshot_id)
5051
0
}
5052
0
inline ::std::string* ListSnapshotsRequestPB::mutable_snapshot_id() {
5053
0
  set_has_snapshot_id();
5054
0
  // @@protoc_insertion_point(field_mutable:yb.master.ListSnapshotsRequestPB.snapshot_id)
5055
0
  return snapshot_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5056
0
}
5057
0
inline ::std::string* ListSnapshotsRequestPB::release_snapshot_id() {
5058
0
  // @@protoc_insertion_point(field_release:yb.master.ListSnapshotsRequestPB.snapshot_id)
5059
0
  clear_has_snapshot_id();
5060
0
  return snapshot_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5061
0
}
5062
0
inline void ListSnapshotsRequestPB::set_allocated_snapshot_id(::std::string* snapshot_id) {
5063
0
  if (snapshot_id != NULL) {
5064
0
    set_has_snapshot_id();
5065
0
  } else {
5066
0
    clear_has_snapshot_id();
5067
0
  }
5068
0
  snapshot_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshot_id);
5069
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ListSnapshotsRequestPB.snapshot_id)
5070
0
}
5071
5072
// optional bool list_deleted_snapshots = 3;
5073
0
inline bool ListSnapshotsRequestPB::has_list_deleted_snapshots() const {
5074
0
  return (_has_bits_[0] & 0x00000002u) != 0;
5075
0
}
5076
0
inline void ListSnapshotsRequestPB::set_has_list_deleted_snapshots() {
5077
0
  _has_bits_[0] |= 0x00000002u;
5078
0
}
5079
0
inline void ListSnapshotsRequestPB::clear_has_list_deleted_snapshots() {
5080
0
  _has_bits_[0] &= ~0x00000002u;
5081
0
}
5082
0
inline void ListSnapshotsRequestPB::clear_list_deleted_snapshots() {
5083
0
  list_deleted_snapshots_ = false;
5084
0
  clear_has_list_deleted_snapshots();
5085
0
}
5086
0
inline bool ListSnapshotsRequestPB::list_deleted_snapshots() const {
5087
0
  // @@protoc_insertion_point(field_get:yb.master.ListSnapshotsRequestPB.list_deleted_snapshots)
5088
0
  return list_deleted_snapshots_;
5089
0
}
5090
0
inline void ListSnapshotsRequestPB::set_list_deleted_snapshots(bool value) {
5091
0
  set_has_list_deleted_snapshots();
5092
0
  list_deleted_snapshots_ = value;
5093
0
  // @@protoc_insertion_point(field_set:yb.master.ListSnapshotsRequestPB.list_deleted_snapshots)
5094
0
}
5095
5096
// optional bool prepare_for_backup = 4;
5097
0
inline bool ListSnapshotsRequestPB::has_prepare_for_backup() const {
5098
0
  return (_has_bits_[0] & 0x00000004u) != 0;
5099
0
}
5100
0
inline void ListSnapshotsRequestPB::set_has_prepare_for_backup() {
5101
0
  _has_bits_[0] |= 0x00000004u;
5102
0
}
5103
0
inline void ListSnapshotsRequestPB::clear_has_prepare_for_backup() {
5104
0
  _has_bits_[0] &= ~0x00000004u;
5105
0
}
5106
0
inline void ListSnapshotsRequestPB::clear_prepare_for_backup() {
5107
0
  prepare_for_backup_ = false;
5108
0
  clear_has_prepare_for_backup();
5109
0
}
5110
0
inline bool ListSnapshotsRequestPB::prepare_for_backup() const {
5111
0
  // @@protoc_insertion_point(field_get:yb.master.ListSnapshotsRequestPB.prepare_for_backup)
5112
0
  return prepare_for_backup_;
5113
0
}
5114
0
inline void ListSnapshotsRequestPB::set_prepare_for_backup(bool value) {
5115
0
  set_has_prepare_for_backup();
5116
0
  prepare_for_backup_ = value;
5117
0
  // @@protoc_insertion_point(field_set:yb.master.ListSnapshotsRequestPB.prepare_for_backup)
5118
0
}
5119
5120
// -------------------------------------------------------------------
5121
5122
// ListSnapshotsResponsePB
5123
5124
// optional .yb.master.MasterErrorPB error = 1;
5125
0
inline bool ListSnapshotsResponsePB::has_error() const {
5126
0
  return (_has_bits_[0] & 0x00000002u) != 0;
5127
0
}
5128
0
inline void ListSnapshotsResponsePB::set_has_error() {
5129
0
  _has_bits_[0] |= 0x00000002u;
5130
0
}
5131
0
inline void ListSnapshotsResponsePB::clear_has_error() {
5132
0
  _has_bits_[0] &= ~0x00000002u;
5133
0
}
5134
0
inline const ::yb::master::MasterErrorPB& ListSnapshotsResponsePB::error() const {
5135
0
  const ::yb::master::MasterErrorPB* p = error_;
5136
0
  // @@protoc_insertion_point(field_get:yb.master.ListSnapshotsResponsePB.error)
5137
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>(
5138
0
      &::yb::master::_MasterErrorPB_default_instance_);
5139
0
}
5140
0
inline ::yb::master::MasterErrorPB* ListSnapshotsResponsePB::release_error() {
5141
0
  // @@protoc_insertion_point(field_release:yb.master.ListSnapshotsResponsePB.error)
5142
0
  clear_has_error();
5143
0
  ::yb::master::MasterErrorPB* temp = error_;
5144
0
  error_ = NULL;
5145
0
  return temp;
5146
0
}
5147
0
inline ::yb::master::MasterErrorPB* ListSnapshotsResponsePB::mutable_error() {
5148
0
  set_has_error();
5149
0
  if (error_ == NULL) {
5150
0
    error_ = new ::yb::master::MasterErrorPB;
5151
0
  }
5152
0
  // @@protoc_insertion_point(field_mutable:yb.master.ListSnapshotsResponsePB.error)
5153
0
  return error_;
5154
0
}
5155
0
inline void ListSnapshotsResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) {
5156
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5157
0
  if (message_arena == NULL) {
5158
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
5159
0
  }
5160
0
  if (error) {
5161
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5162
0
    if (message_arena != submessage_arena) {
5163
0
      error = ::google::protobuf::internal::GetOwnedMessage(
5164
0
          message_arena, error, submessage_arena);
5165
0
    }
5166
0
    set_has_error();
5167
0
  } else {
5168
0
    clear_has_error();
5169
0
  }
5170
0
  error_ = error;
5171
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ListSnapshotsResponsePB.error)
5172
0
}
5173
5174
// optional bytes current_snapshot_id = 2;
5175
0
inline bool ListSnapshotsResponsePB::has_current_snapshot_id() const {
5176
0
  return (_has_bits_[0] & 0x00000001u) != 0;
5177
0
}
5178
0
inline void ListSnapshotsResponsePB::set_has_current_snapshot_id() {
5179
0
  _has_bits_[0] |= 0x00000001u;
5180
0
}
5181
0
inline void ListSnapshotsResponsePB::clear_has_current_snapshot_id() {
5182
0
  _has_bits_[0] &= ~0x00000001u;
5183
0
}
5184
0
inline void ListSnapshotsResponsePB::clear_current_snapshot_id() {
5185
0
  current_snapshot_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5186
0
  clear_has_current_snapshot_id();
5187
0
}
5188
0
inline const ::std::string& ListSnapshotsResponsePB::current_snapshot_id() const {
5189
0
  // @@protoc_insertion_point(field_get:yb.master.ListSnapshotsResponsePB.current_snapshot_id)
5190
0
  return current_snapshot_id_.GetNoArena();
5191
0
}
5192
0
inline void ListSnapshotsResponsePB::set_current_snapshot_id(const ::std::string& value) {
5193
0
  set_has_current_snapshot_id();
5194
0
  current_snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5195
0
  // @@protoc_insertion_point(field_set:yb.master.ListSnapshotsResponsePB.current_snapshot_id)
5196
0
}
5197
#if LANG_CXX11
5198
0
inline void ListSnapshotsResponsePB::set_current_snapshot_id(::std::string&& value) {
5199
0
  set_has_current_snapshot_id();
5200
0
  current_snapshot_id_.SetNoArena(
5201
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5202
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.ListSnapshotsResponsePB.current_snapshot_id)
5203
0
}
5204
#endif
5205
0
inline void ListSnapshotsResponsePB::set_current_snapshot_id(const char* value) {
5206
0
  GOOGLE_DCHECK(value != NULL);
5207
0
  set_has_current_snapshot_id();
5208
0
  current_snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5209
0
  // @@protoc_insertion_point(field_set_char:yb.master.ListSnapshotsResponsePB.current_snapshot_id)
5210
0
}
5211
0
inline void ListSnapshotsResponsePB::set_current_snapshot_id(const void* value, size_t size) {
5212
0
  set_has_current_snapshot_id();
5213
0
  current_snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5214
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5215
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.ListSnapshotsResponsePB.current_snapshot_id)
5216
0
}
5217
0
inline ::std::string* ListSnapshotsResponsePB::mutable_current_snapshot_id() {
5218
0
  set_has_current_snapshot_id();
5219
0
  // @@protoc_insertion_point(field_mutable:yb.master.ListSnapshotsResponsePB.current_snapshot_id)
5220
0
  return current_snapshot_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5221
0
}
5222
0
inline ::std::string* ListSnapshotsResponsePB::release_current_snapshot_id() {
5223
0
  // @@protoc_insertion_point(field_release:yb.master.ListSnapshotsResponsePB.current_snapshot_id)
5224
0
  clear_has_current_snapshot_id();
5225
0
  return current_snapshot_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5226
0
}
5227
0
inline void ListSnapshotsResponsePB::set_allocated_current_snapshot_id(::std::string* current_snapshot_id) {
5228
0
  if (current_snapshot_id != NULL) {
5229
0
    set_has_current_snapshot_id();
5230
0
  } else {
5231
0
    clear_has_current_snapshot_id();
5232
0
  }
5233
0
  current_snapshot_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), current_snapshot_id);
5234
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ListSnapshotsResponsePB.current_snapshot_id)
5235
0
}
5236
5237
// repeated .yb.master.SnapshotInfoPB snapshots = 3;
5238
0
inline int ListSnapshotsResponsePB::snapshots_size() const {
5239
0
  return snapshots_.size();
5240
0
}
5241
0
inline void ListSnapshotsResponsePB::clear_snapshots() {
5242
0
  snapshots_.Clear();
5243
0
}
5244
0
inline const ::yb::master::SnapshotInfoPB& ListSnapshotsResponsePB::snapshots(int index) const {
5245
0
  // @@protoc_insertion_point(field_get:yb.master.ListSnapshotsResponsePB.snapshots)
5246
0
  return snapshots_.Get(index);
5247
0
}
5248
0
inline ::yb::master::SnapshotInfoPB* ListSnapshotsResponsePB::mutable_snapshots(int index) {
5249
0
  // @@protoc_insertion_point(field_mutable:yb.master.ListSnapshotsResponsePB.snapshots)
5250
0
  return snapshots_.Mutable(index);
5251
0
}
5252
0
inline ::yb::master::SnapshotInfoPB* ListSnapshotsResponsePB::add_snapshots() {
5253
0
  // @@protoc_insertion_point(field_add:yb.master.ListSnapshotsResponsePB.snapshots)
5254
0
  return snapshots_.Add();
5255
0
}
5256
inline ::google::protobuf::RepeatedPtrField< ::yb::master::SnapshotInfoPB >*
5257
0
ListSnapshotsResponsePB::mutable_snapshots() {
5258
0
  // @@protoc_insertion_point(field_mutable_list:yb.master.ListSnapshotsResponsePB.snapshots)
5259
0
  return &snapshots_;
5260
0
}
5261
inline const ::google::protobuf::RepeatedPtrField< ::yb::master::SnapshotInfoPB >&
5262
0
ListSnapshotsResponsePB::snapshots() const {
5263
0
  // @@protoc_insertion_point(field_list:yb.master.ListSnapshotsResponsePB.snapshots)
5264
0
  return snapshots_;
5265
0
}
5266
5267
// -------------------------------------------------------------------
5268
5269
// RestoreSnapshotRequestPB
5270
5271
// optional bytes snapshot_id = 2;
5272
0
inline bool RestoreSnapshotRequestPB::has_snapshot_id() const {
5273
0
  return (_has_bits_[0] & 0x00000001u) != 0;
5274
0
}
5275
0
inline void RestoreSnapshotRequestPB::set_has_snapshot_id() {
5276
0
  _has_bits_[0] |= 0x00000001u;
5277
0
}
5278
0
inline void RestoreSnapshotRequestPB::clear_has_snapshot_id() {
5279
0
  _has_bits_[0] &= ~0x00000001u;
5280
0
}
5281
0
inline void RestoreSnapshotRequestPB::clear_snapshot_id() {
5282
0
  snapshot_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5283
0
  clear_has_snapshot_id();
5284
0
}
5285
0
inline const ::std::string& RestoreSnapshotRequestPB::snapshot_id() const {
5286
0
  // @@protoc_insertion_point(field_get:yb.master.RestoreSnapshotRequestPB.snapshot_id)
5287
0
  return snapshot_id_.GetNoArena();
5288
0
}
5289
0
inline void RestoreSnapshotRequestPB::set_snapshot_id(const ::std::string& value) {
5290
0
  set_has_snapshot_id();
5291
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5292
0
  // @@protoc_insertion_point(field_set:yb.master.RestoreSnapshotRequestPB.snapshot_id)
5293
0
}
5294
#if LANG_CXX11
5295
0
inline void RestoreSnapshotRequestPB::set_snapshot_id(::std::string&& value) {
5296
0
  set_has_snapshot_id();
5297
0
  snapshot_id_.SetNoArena(
5298
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5299
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.RestoreSnapshotRequestPB.snapshot_id)
5300
0
}
5301
#endif
5302
0
inline void RestoreSnapshotRequestPB::set_snapshot_id(const char* value) {
5303
0
  GOOGLE_DCHECK(value != NULL);
5304
0
  set_has_snapshot_id();
5305
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5306
0
  // @@protoc_insertion_point(field_set_char:yb.master.RestoreSnapshotRequestPB.snapshot_id)
5307
0
}
5308
0
inline void RestoreSnapshotRequestPB::set_snapshot_id(const void* value, size_t size) {
5309
0
  set_has_snapshot_id();
5310
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5311
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5312
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.RestoreSnapshotRequestPB.snapshot_id)
5313
0
}
5314
0
inline ::std::string* RestoreSnapshotRequestPB::mutable_snapshot_id() {
5315
0
  set_has_snapshot_id();
5316
0
  // @@protoc_insertion_point(field_mutable:yb.master.RestoreSnapshotRequestPB.snapshot_id)
5317
0
  return snapshot_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5318
0
}
5319
0
inline ::std::string* RestoreSnapshotRequestPB::release_snapshot_id() {
5320
0
  // @@protoc_insertion_point(field_release:yb.master.RestoreSnapshotRequestPB.snapshot_id)
5321
0
  clear_has_snapshot_id();
5322
0
  return snapshot_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5323
0
}
5324
0
inline void RestoreSnapshotRequestPB::set_allocated_snapshot_id(::std::string* snapshot_id) {
5325
0
  if (snapshot_id != NULL) {
5326
0
    set_has_snapshot_id();
5327
0
  } else {
5328
0
    clear_has_snapshot_id();
5329
0
  }
5330
0
  snapshot_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshot_id);
5331
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.RestoreSnapshotRequestPB.snapshot_id)
5332
0
}
5333
5334
// optional fixed64 restore_ht = 3;
5335
0
inline bool RestoreSnapshotRequestPB::has_restore_ht() const {
5336
0
  return (_has_bits_[0] & 0x00000002u) != 0;
5337
0
}
5338
0
inline void RestoreSnapshotRequestPB::set_has_restore_ht() {
5339
0
  _has_bits_[0] |= 0x00000002u;
5340
0
}
5341
0
inline void RestoreSnapshotRequestPB::clear_has_restore_ht() {
5342
0
  _has_bits_[0] &= ~0x00000002u;
5343
0
}
5344
0
inline void RestoreSnapshotRequestPB::clear_restore_ht() {
5345
0
  restore_ht_ = GOOGLE_ULONGLONG(0);
5346
0
  clear_has_restore_ht();
5347
0
}
5348
0
inline ::google::protobuf::uint64 RestoreSnapshotRequestPB::restore_ht() const {
5349
0
  // @@protoc_insertion_point(field_get:yb.master.RestoreSnapshotRequestPB.restore_ht)
5350
0
  return restore_ht_;
5351
0
}
5352
0
inline void RestoreSnapshotRequestPB::set_restore_ht(::google::protobuf::uint64 value) {
5353
0
  set_has_restore_ht();
5354
0
  restore_ht_ = value;
5355
0
  // @@protoc_insertion_point(field_set:yb.master.RestoreSnapshotRequestPB.restore_ht)
5356
0
}
5357
5358
// -------------------------------------------------------------------
5359
5360
// RestoreSnapshotResponsePB
5361
5362
// optional .yb.master.MasterErrorPB error = 1;
5363
0
inline bool RestoreSnapshotResponsePB::has_error() const {
5364
0
  return (_has_bits_[0] & 0x00000002u) != 0;
5365
0
}
5366
0
inline void RestoreSnapshotResponsePB::set_has_error() {
5367
0
  _has_bits_[0] |= 0x00000002u;
5368
0
}
5369
0
inline void RestoreSnapshotResponsePB::clear_has_error() {
5370
0
  _has_bits_[0] &= ~0x00000002u;
5371
0
}
5372
0
inline const ::yb::master::MasterErrorPB& RestoreSnapshotResponsePB::error() const {
5373
0
  const ::yb::master::MasterErrorPB* p = error_;
5374
0
  // @@protoc_insertion_point(field_get:yb.master.RestoreSnapshotResponsePB.error)
5375
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>(
5376
0
      &::yb::master::_MasterErrorPB_default_instance_);
5377
0
}
5378
0
inline ::yb::master::MasterErrorPB* RestoreSnapshotResponsePB::release_error() {
5379
0
  // @@protoc_insertion_point(field_release:yb.master.RestoreSnapshotResponsePB.error)
5380
0
  clear_has_error();
5381
0
  ::yb::master::MasterErrorPB* temp = error_;
5382
0
  error_ = NULL;
5383
0
  return temp;
5384
0
}
5385
0
inline ::yb::master::MasterErrorPB* RestoreSnapshotResponsePB::mutable_error() {
5386
0
  set_has_error();
5387
0
  if (error_ == NULL) {
5388
0
    error_ = new ::yb::master::MasterErrorPB;
5389
0
  }
5390
0
  // @@protoc_insertion_point(field_mutable:yb.master.RestoreSnapshotResponsePB.error)
5391
0
  return error_;
5392
0
}
5393
0
inline void RestoreSnapshotResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) {
5394
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5395
0
  if (message_arena == NULL) {
5396
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
5397
0
  }
5398
0
  if (error) {
5399
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5400
0
    if (message_arena != submessage_arena) {
5401
0
      error = ::google::protobuf::internal::GetOwnedMessage(
5402
0
          message_arena, error, submessage_arena);
5403
0
    }
5404
0
    set_has_error();
5405
0
  } else {
5406
0
    clear_has_error();
5407
0
  }
5408
0
  error_ = error;
5409
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.RestoreSnapshotResponsePB.error)
5410
0
}
5411
5412
// optional bytes restoration_id = 2;
5413
0
inline bool RestoreSnapshotResponsePB::has_restoration_id() const {
5414
0
  return (_has_bits_[0] & 0x00000001u) != 0;
5415
0
}
5416
0
inline void RestoreSnapshotResponsePB::set_has_restoration_id() {
5417
0
  _has_bits_[0] |= 0x00000001u;
5418
0
}
5419
0
inline void RestoreSnapshotResponsePB::clear_has_restoration_id() {
5420
0
  _has_bits_[0] &= ~0x00000001u;
5421
0
}
5422
0
inline void RestoreSnapshotResponsePB::clear_restoration_id() {
5423
0
  restoration_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5424
0
  clear_has_restoration_id();
5425
0
}
5426
0
inline const ::std::string& RestoreSnapshotResponsePB::restoration_id() const {
5427
0
  // @@protoc_insertion_point(field_get:yb.master.RestoreSnapshotResponsePB.restoration_id)
5428
0
  return restoration_id_.GetNoArena();
5429
0
}
5430
0
inline void RestoreSnapshotResponsePB::set_restoration_id(const ::std::string& value) {
5431
0
  set_has_restoration_id();
5432
0
  restoration_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5433
0
  // @@protoc_insertion_point(field_set:yb.master.RestoreSnapshotResponsePB.restoration_id)
5434
0
}
5435
#if LANG_CXX11
5436
0
inline void RestoreSnapshotResponsePB::set_restoration_id(::std::string&& value) {
5437
0
  set_has_restoration_id();
5438
0
  restoration_id_.SetNoArena(
5439
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5440
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.RestoreSnapshotResponsePB.restoration_id)
5441
0
}
5442
#endif
5443
0
inline void RestoreSnapshotResponsePB::set_restoration_id(const char* value) {
5444
0
  GOOGLE_DCHECK(value != NULL);
5445
0
  set_has_restoration_id();
5446
0
  restoration_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5447
0
  // @@protoc_insertion_point(field_set_char:yb.master.RestoreSnapshotResponsePB.restoration_id)
5448
0
}
5449
0
inline void RestoreSnapshotResponsePB::set_restoration_id(const void* value, size_t size) {
5450
0
  set_has_restoration_id();
5451
0
  restoration_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5452
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5453
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.RestoreSnapshotResponsePB.restoration_id)
5454
0
}
5455
0
inline ::std::string* RestoreSnapshotResponsePB::mutable_restoration_id() {
5456
0
  set_has_restoration_id();
5457
0
  // @@protoc_insertion_point(field_mutable:yb.master.RestoreSnapshotResponsePB.restoration_id)
5458
0
  return restoration_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5459
0
}
5460
0
inline ::std::string* RestoreSnapshotResponsePB::release_restoration_id() {
5461
0
  // @@protoc_insertion_point(field_release:yb.master.RestoreSnapshotResponsePB.restoration_id)
5462
0
  clear_has_restoration_id();
5463
0
  return restoration_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5464
0
}
5465
0
inline void RestoreSnapshotResponsePB::set_allocated_restoration_id(::std::string* restoration_id) {
5466
0
  if (restoration_id != NULL) {
5467
0
    set_has_restoration_id();
5468
0
  } else {
5469
0
    clear_has_restoration_id();
5470
0
  }
5471
0
  restoration_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), restoration_id);
5472
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.RestoreSnapshotResponsePB.restoration_id)
5473
0
}
5474
5475
// -------------------------------------------------------------------
5476
5477
// DeleteSnapshotRequestPB
5478
5479
// optional bytes snapshot_id = 2;
5480
0
inline bool DeleteSnapshotRequestPB::has_snapshot_id() const {
5481
0
  return (_has_bits_[0] & 0x00000001u) != 0;
5482
0
}
5483
0
inline void DeleteSnapshotRequestPB::set_has_snapshot_id() {
5484
0
  _has_bits_[0] |= 0x00000001u;
5485
0
}
5486
0
inline void DeleteSnapshotRequestPB::clear_has_snapshot_id() {
5487
0
  _has_bits_[0] &= ~0x00000001u;
5488
0
}
5489
0
inline void DeleteSnapshotRequestPB::clear_snapshot_id() {
5490
0
  snapshot_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5491
0
  clear_has_snapshot_id();
5492
0
}
5493
0
inline const ::std::string& DeleteSnapshotRequestPB::snapshot_id() const {
5494
0
  // @@protoc_insertion_point(field_get:yb.master.DeleteSnapshotRequestPB.snapshot_id)
5495
0
  return snapshot_id_.GetNoArena();
5496
0
}
5497
0
inline void DeleteSnapshotRequestPB::set_snapshot_id(const ::std::string& value) {
5498
0
  set_has_snapshot_id();
5499
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5500
0
  // @@protoc_insertion_point(field_set:yb.master.DeleteSnapshotRequestPB.snapshot_id)
5501
0
}
5502
#if LANG_CXX11
5503
0
inline void DeleteSnapshotRequestPB::set_snapshot_id(::std::string&& value) {
5504
0
  set_has_snapshot_id();
5505
0
  snapshot_id_.SetNoArena(
5506
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5507
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.DeleteSnapshotRequestPB.snapshot_id)
5508
0
}
5509
#endif
5510
0
inline void DeleteSnapshotRequestPB::set_snapshot_id(const char* value) {
5511
0
  GOOGLE_DCHECK(value != NULL);
5512
0
  set_has_snapshot_id();
5513
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5514
0
  // @@protoc_insertion_point(field_set_char:yb.master.DeleteSnapshotRequestPB.snapshot_id)
5515
0
}
5516
0
inline void DeleteSnapshotRequestPB::set_snapshot_id(const void* value, size_t size) {
5517
0
  set_has_snapshot_id();
5518
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5519
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5520
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.DeleteSnapshotRequestPB.snapshot_id)
5521
0
}
5522
0
inline ::std::string* DeleteSnapshotRequestPB::mutable_snapshot_id() {
5523
0
  set_has_snapshot_id();
5524
0
  // @@protoc_insertion_point(field_mutable:yb.master.DeleteSnapshotRequestPB.snapshot_id)
5525
0
  return snapshot_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5526
0
}
5527
0
inline ::std::string* DeleteSnapshotRequestPB::release_snapshot_id() {
5528
0
  // @@protoc_insertion_point(field_release:yb.master.DeleteSnapshotRequestPB.snapshot_id)
5529
0
  clear_has_snapshot_id();
5530
0
  return snapshot_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5531
0
}
5532
0
inline void DeleteSnapshotRequestPB::set_allocated_snapshot_id(::std::string* snapshot_id) {
5533
0
  if (snapshot_id != NULL) {
5534
0
    set_has_snapshot_id();
5535
0
  } else {
5536
0
    clear_has_snapshot_id();
5537
0
  }
5538
0
  snapshot_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshot_id);
5539
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.DeleteSnapshotRequestPB.snapshot_id)
5540
0
}
5541
5542
// -------------------------------------------------------------------
5543
5544
// DeleteSnapshotResponsePB
5545
5546
// optional .yb.master.MasterErrorPB error = 1;
5547
0
inline bool DeleteSnapshotResponsePB::has_error() const {
5548
0
  return (_has_bits_[0] & 0x00000001u) != 0;
5549
0
}
5550
0
inline void DeleteSnapshotResponsePB::set_has_error() {
5551
0
  _has_bits_[0] |= 0x00000001u;
5552
0
}
5553
0
inline void DeleteSnapshotResponsePB::clear_has_error() {
5554
0
  _has_bits_[0] &= ~0x00000001u;
5555
0
}
5556
0
inline const ::yb::master::MasterErrorPB& DeleteSnapshotResponsePB::error() const {
5557
0
  const ::yb::master::MasterErrorPB* p = error_;
5558
0
  // @@protoc_insertion_point(field_get:yb.master.DeleteSnapshotResponsePB.error)
5559
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>(
5560
0
      &::yb::master::_MasterErrorPB_default_instance_);
5561
0
}
5562
0
inline ::yb::master::MasterErrorPB* DeleteSnapshotResponsePB::release_error() {
5563
0
  // @@protoc_insertion_point(field_release:yb.master.DeleteSnapshotResponsePB.error)
5564
0
  clear_has_error();
5565
0
  ::yb::master::MasterErrorPB* temp = error_;
5566
0
  error_ = NULL;
5567
0
  return temp;
5568
0
}
5569
0
inline ::yb::master::MasterErrorPB* DeleteSnapshotResponsePB::mutable_error() {
5570
0
  set_has_error();
5571
0
  if (error_ == NULL) {
5572
0
    error_ = new ::yb::master::MasterErrorPB;
5573
0
  }
5574
0
  // @@protoc_insertion_point(field_mutable:yb.master.DeleteSnapshotResponsePB.error)
5575
0
  return error_;
5576
0
}
5577
0
inline void DeleteSnapshotResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) {
5578
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5579
0
  if (message_arena == NULL) {
5580
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
5581
0
  }
5582
0
  if (error) {
5583
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5584
0
    if (message_arena != submessage_arena) {
5585
0
      error = ::google::protobuf::internal::GetOwnedMessage(
5586
0
          message_arena, error, submessage_arena);
5587
0
    }
5588
0
    set_has_error();
5589
0
  } else {
5590
0
    clear_has_error();
5591
0
  }
5592
0
  error_ = error;
5593
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.DeleteSnapshotResponsePB.error)
5594
0
}
5595
5596
// -------------------------------------------------------------------
5597
5598
// ImportSnapshotMetaRequestPB
5599
5600
// optional .yb.master.SnapshotInfoPB snapshot = 1;
5601
0
inline bool ImportSnapshotMetaRequestPB::has_snapshot() const {
5602
0
  return (_has_bits_[0] & 0x00000001u) != 0;
5603
0
}
5604
0
inline void ImportSnapshotMetaRequestPB::set_has_snapshot() {
5605
0
  _has_bits_[0] |= 0x00000001u;
5606
0
}
5607
0
inline void ImportSnapshotMetaRequestPB::clear_has_snapshot() {
5608
0
  _has_bits_[0] &= ~0x00000001u;
5609
0
}
5610
0
inline void ImportSnapshotMetaRequestPB::clear_snapshot() {
5611
0
  if (snapshot_ != NULL) snapshot_->Clear();
5612
0
  clear_has_snapshot();
5613
0
}
5614
0
inline const ::yb::master::SnapshotInfoPB& ImportSnapshotMetaRequestPB::snapshot() const {
5615
0
  const ::yb::master::SnapshotInfoPB* p = snapshot_;
5616
0
  // @@protoc_insertion_point(field_get:yb.master.ImportSnapshotMetaRequestPB.snapshot)
5617
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::SnapshotInfoPB*>(
5618
0
      &::yb::master::_SnapshotInfoPB_default_instance_);
5619
0
}
5620
0
inline ::yb::master::SnapshotInfoPB* ImportSnapshotMetaRequestPB::release_snapshot() {
5621
0
  // @@protoc_insertion_point(field_release:yb.master.ImportSnapshotMetaRequestPB.snapshot)
5622
0
  clear_has_snapshot();
5623
0
  ::yb::master::SnapshotInfoPB* temp = snapshot_;
5624
0
  snapshot_ = NULL;
5625
0
  return temp;
5626
0
}
5627
0
inline ::yb::master::SnapshotInfoPB* ImportSnapshotMetaRequestPB::mutable_snapshot() {
5628
0
  set_has_snapshot();
5629
0
  if (snapshot_ == NULL) {
5630
0
    snapshot_ = new ::yb::master::SnapshotInfoPB;
5631
0
  }
5632
0
  // @@protoc_insertion_point(field_mutable:yb.master.ImportSnapshotMetaRequestPB.snapshot)
5633
0
  return snapshot_;
5634
0
}
5635
0
inline void ImportSnapshotMetaRequestPB::set_allocated_snapshot(::yb::master::SnapshotInfoPB* snapshot) {
5636
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5637
0
  if (message_arena == NULL) {
5638
0
    delete snapshot_;
5639
0
  }
5640
0
  if (snapshot) {
5641
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5642
0
    if (message_arena != submessage_arena) {
5643
0
      snapshot = ::google::protobuf::internal::GetOwnedMessage(
5644
0
          message_arena, snapshot, submessage_arena);
5645
0
    }
5646
0
    set_has_snapshot();
5647
0
  } else {
5648
0
    clear_has_snapshot();
5649
0
  }
5650
0
  snapshot_ = snapshot;
5651
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ImportSnapshotMetaRequestPB.snapshot)
5652
0
}
5653
5654
// -------------------------------------------------------------------
5655
5656
// ListSnapshotRestorationsRequestPB
5657
5658
// optional bytes snapshot_id = 1;
5659
0
inline bool ListSnapshotRestorationsRequestPB::has_snapshot_id() const {
5660
0
  return (_has_bits_[0] & 0x00000001u) != 0;
5661
0
}
5662
0
inline void ListSnapshotRestorationsRequestPB::set_has_snapshot_id() {
5663
0
  _has_bits_[0] |= 0x00000001u;
5664
0
}
5665
0
inline void ListSnapshotRestorationsRequestPB::clear_has_snapshot_id() {
5666
0
  _has_bits_[0] &= ~0x00000001u;
5667
0
}
5668
0
inline void ListSnapshotRestorationsRequestPB::clear_snapshot_id() {
5669
0
  snapshot_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5670
0
  clear_has_snapshot_id();
5671
0
}
5672
0
inline const ::std::string& ListSnapshotRestorationsRequestPB::snapshot_id() const {
5673
0
  // @@protoc_insertion_point(field_get:yb.master.ListSnapshotRestorationsRequestPB.snapshot_id)
5674
0
  return snapshot_id_.GetNoArena();
5675
0
}
5676
0
inline void ListSnapshotRestorationsRequestPB::set_snapshot_id(const ::std::string& value) {
5677
0
  set_has_snapshot_id();
5678
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5679
0
  // @@protoc_insertion_point(field_set:yb.master.ListSnapshotRestorationsRequestPB.snapshot_id)
5680
0
}
5681
#if LANG_CXX11
5682
0
inline void ListSnapshotRestorationsRequestPB::set_snapshot_id(::std::string&& value) {
5683
0
  set_has_snapshot_id();
5684
0
  snapshot_id_.SetNoArena(
5685
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5686
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.ListSnapshotRestorationsRequestPB.snapshot_id)
5687
0
}
5688
#endif
5689
0
inline void ListSnapshotRestorationsRequestPB::set_snapshot_id(const char* value) {
5690
0
  GOOGLE_DCHECK(value != NULL);
5691
0
  set_has_snapshot_id();
5692
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5693
0
  // @@protoc_insertion_point(field_set_char:yb.master.ListSnapshotRestorationsRequestPB.snapshot_id)
5694
0
}
5695
0
inline void ListSnapshotRestorationsRequestPB::set_snapshot_id(const void* value, size_t size) {
5696
0
  set_has_snapshot_id();
5697
0
  snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5698
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5699
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.ListSnapshotRestorationsRequestPB.snapshot_id)
5700
0
}
5701
0
inline ::std::string* ListSnapshotRestorationsRequestPB::mutable_snapshot_id() {
5702
0
  set_has_snapshot_id();
5703
0
  // @@protoc_insertion_point(field_mutable:yb.master.ListSnapshotRestorationsRequestPB.snapshot_id)
5704
0
  return snapshot_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5705
0
}
5706
0
inline ::std::string* ListSnapshotRestorationsRequestPB::release_snapshot_id() {
5707
0
  // @@protoc_insertion_point(field_release:yb.master.ListSnapshotRestorationsRequestPB.snapshot_id)
5708
0
  clear_has_snapshot_id();
5709
0
  return snapshot_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5710
0
}
5711
0
inline void ListSnapshotRestorationsRequestPB::set_allocated_snapshot_id(::std::string* snapshot_id) {
5712
0
  if (snapshot_id != NULL) {
5713
0
    set_has_snapshot_id();
5714
0
  } else {
5715
0
    clear_has_snapshot_id();
5716
0
  }
5717
0
  snapshot_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshot_id);
5718
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ListSnapshotRestorationsRequestPB.snapshot_id)
5719
0
}
5720
5721
// optional bytes restoration_id = 2;
5722
0
inline bool ListSnapshotRestorationsRequestPB::has_restoration_id() const {
5723
0
  return (_has_bits_[0] & 0x00000002u) != 0;
5724
0
}
5725
0
inline void ListSnapshotRestorationsRequestPB::set_has_restoration_id() {
5726
0
  _has_bits_[0] |= 0x00000002u;
5727
0
}
5728
0
inline void ListSnapshotRestorationsRequestPB::clear_has_restoration_id() {
5729
0
  _has_bits_[0] &= ~0x00000002u;
5730
0
}
5731
0
inline void ListSnapshotRestorationsRequestPB::clear_restoration_id() {
5732
0
  restoration_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5733
0
  clear_has_restoration_id();
5734
0
}
5735
0
inline const ::std::string& ListSnapshotRestorationsRequestPB::restoration_id() const {
5736
0
  // @@protoc_insertion_point(field_get:yb.master.ListSnapshotRestorationsRequestPB.restoration_id)
5737
0
  return restoration_id_.GetNoArena();
5738
0
}
5739
0
inline void ListSnapshotRestorationsRequestPB::set_restoration_id(const ::std::string& value) {
5740
0
  set_has_restoration_id();
5741
0
  restoration_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5742
0
  // @@protoc_insertion_point(field_set:yb.master.ListSnapshotRestorationsRequestPB.restoration_id)
5743
0
}
5744
#if LANG_CXX11
5745
0
inline void ListSnapshotRestorationsRequestPB::set_restoration_id(::std::string&& value) {
5746
0
  set_has_restoration_id();
5747
0
  restoration_id_.SetNoArena(
5748
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5749
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.ListSnapshotRestorationsRequestPB.restoration_id)
5750
0
}
5751
#endif
5752
0
inline void ListSnapshotRestorationsRequestPB::set_restoration_id(const char* value) {
5753
0
  GOOGLE_DCHECK(value != NULL);
5754
0
  set_has_restoration_id();
5755
0
  restoration_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5756
0
  // @@protoc_insertion_point(field_set_char:yb.master.ListSnapshotRestorationsRequestPB.restoration_id)
5757
0
}
5758
0
inline void ListSnapshotRestorationsRequestPB::set_restoration_id(const void* value, size_t size) {
5759
0
  set_has_restoration_id();
5760
0
  restoration_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5761
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5762
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.ListSnapshotRestorationsRequestPB.restoration_id)
5763
0
}
5764
0
inline ::std::string* ListSnapshotRestorationsRequestPB::mutable_restoration_id() {
5765
0
  set_has_restoration_id();
5766
0
  // @@protoc_insertion_point(field_mutable:yb.master.ListSnapshotRestorationsRequestPB.restoration_id)
5767
0
  return restoration_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5768
0
}
5769
0
inline ::std::string* ListSnapshotRestorationsRequestPB::release_restoration_id() {
5770
0
  // @@protoc_insertion_point(field_release:yb.master.ListSnapshotRestorationsRequestPB.restoration_id)
5771
0
  clear_has_restoration_id();
5772
0
  return restoration_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5773
0
}
5774
0
inline void ListSnapshotRestorationsRequestPB::set_allocated_restoration_id(::std::string* restoration_id) {
5775
0
  if (restoration_id != NULL) {
5776
0
    set_has_restoration_id();
5777
0
  } else {
5778
0
    clear_has_restoration_id();
5779
0
  }
5780
0
  restoration_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), restoration_id);
5781
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ListSnapshotRestorationsRequestPB.restoration_id)
5782
0
}
5783
5784
// -------------------------------------------------------------------
5785
5786
// ListSnapshotRestorationsResponsePB
5787
5788
// optional .yb.AppStatusPB status = 1;
5789
0
inline bool ListSnapshotRestorationsResponsePB::has_status() const {
5790
0
  return (_has_bits_[0] & 0x00000001u) != 0;
5791
0
}
5792
0
inline void ListSnapshotRestorationsResponsePB::set_has_status() {
5793
0
  _has_bits_[0] |= 0x00000001u;
5794
0
}
5795
0
inline void ListSnapshotRestorationsResponsePB::clear_has_status() {
5796
0
  _has_bits_[0] &= ~0x00000001u;
5797
0
}
5798
0
inline const ::yb::AppStatusPB& ListSnapshotRestorationsResponsePB::status() const {
5799
0
  const ::yb::AppStatusPB* p = status_;
5800
0
  // @@protoc_insertion_point(field_get:yb.master.ListSnapshotRestorationsResponsePB.status)
5801
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::AppStatusPB*>(
5802
0
      &::yb::_AppStatusPB_default_instance_);
5803
0
}
5804
0
inline ::yb::AppStatusPB* ListSnapshotRestorationsResponsePB::release_status() {
5805
0
  // @@protoc_insertion_point(field_release:yb.master.ListSnapshotRestorationsResponsePB.status)
5806
0
  clear_has_status();
5807
0
  ::yb::AppStatusPB* temp = status_;
5808
0
  status_ = NULL;
5809
0
  return temp;
5810
0
}
5811
0
inline ::yb::AppStatusPB* ListSnapshotRestorationsResponsePB::mutable_status() {
5812
0
  set_has_status();
5813
0
  if (status_ == NULL) {
5814
0
    status_ = new ::yb::AppStatusPB;
5815
0
  }
5816
0
  // @@protoc_insertion_point(field_mutable:yb.master.ListSnapshotRestorationsResponsePB.status)
5817
0
  return status_;
5818
0
}
5819
0
inline void ListSnapshotRestorationsResponsePB::set_allocated_status(::yb::AppStatusPB* status) {
5820
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5821
0
  if (message_arena == NULL) {
5822
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(status_);
5823
0
  }
5824
0
  if (status) {
5825
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5826
0
    if (message_arena != submessage_arena) {
5827
0
      status = ::google::protobuf::internal::GetOwnedMessage(
5828
0
          message_arena, status, submessage_arena);
5829
0
    }
5830
0
    set_has_status();
5831
0
  } else {
5832
0
    clear_has_status();
5833
0
  }
5834
0
  status_ = status;
5835
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ListSnapshotRestorationsResponsePB.status)
5836
0
}
5837
5838
// repeated .yb.master.RestorationInfoPB restorations = 2;
5839
0
inline int ListSnapshotRestorationsResponsePB::restorations_size() const {
5840
0
  return restorations_.size();
5841
0
}
5842
0
inline void ListSnapshotRestorationsResponsePB::clear_restorations() {
5843
0
  restorations_.Clear();
5844
0
}
5845
0
inline const ::yb::master::RestorationInfoPB& ListSnapshotRestorationsResponsePB::restorations(int index) const {
5846
0
  // @@protoc_insertion_point(field_get:yb.master.ListSnapshotRestorationsResponsePB.restorations)
5847
0
  return restorations_.Get(index);
5848
0
}
5849
0
inline ::yb::master::RestorationInfoPB* ListSnapshotRestorationsResponsePB::mutable_restorations(int index) {
5850
0
  // @@protoc_insertion_point(field_mutable:yb.master.ListSnapshotRestorationsResponsePB.restorations)
5851
0
  return restorations_.Mutable(index);
5852
0
}
5853
0
inline ::yb::master::RestorationInfoPB* ListSnapshotRestorationsResponsePB::add_restorations() {
5854
0
  // @@protoc_insertion_point(field_add:yb.master.ListSnapshotRestorationsResponsePB.restorations)
5855
0
  return restorations_.Add();
5856
0
}
5857
inline ::google::protobuf::RepeatedPtrField< ::yb::master::RestorationInfoPB >*
5858
0
ListSnapshotRestorationsResponsePB::mutable_restorations() {
5859
0
  // @@protoc_insertion_point(field_mutable_list:yb.master.ListSnapshotRestorationsResponsePB.restorations)
5860
0
  return &restorations_;
5861
0
}
5862
inline const ::google::protobuf::RepeatedPtrField< ::yb::master::RestorationInfoPB >&
5863
0
ListSnapshotRestorationsResponsePB::restorations() const {
5864
0
  // @@protoc_insertion_point(field_list:yb.master.ListSnapshotRestorationsResponsePB.restorations)
5865
0
  return restorations_;
5866
0
}
5867
5868
// -------------------------------------------------------------------
5869
5870
// IdPairPB
5871
5872
// optional bytes old_id = 1;
5873
0
inline bool IdPairPB::has_old_id() const {
5874
0
  return (_has_bits_[0] & 0x00000001u) != 0;
5875
0
}
5876
0
inline void IdPairPB::set_has_old_id() {
5877
0
  _has_bits_[0] |= 0x00000001u;
5878
0
}
5879
0
inline void IdPairPB::clear_has_old_id() {
5880
0
  _has_bits_[0] &= ~0x00000001u;
5881
0
}
5882
0
inline void IdPairPB::clear_old_id() {
5883
0
  old_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5884
0
  clear_has_old_id();
5885
0
}
5886
0
inline const ::std::string& IdPairPB::old_id() const {
5887
0
  // @@protoc_insertion_point(field_get:yb.master.IdPairPB.old_id)
5888
0
  return old_id_.GetNoArena();
5889
0
}
5890
0
inline void IdPairPB::set_old_id(const ::std::string& value) {
5891
0
  set_has_old_id();
5892
0
  old_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5893
0
  // @@protoc_insertion_point(field_set:yb.master.IdPairPB.old_id)
5894
0
}
5895
#if LANG_CXX11
5896
0
inline void IdPairPB::set_old_id(::std::string&& value) {
5897
0
  set_has_old_id();
5898
0
  old_id_.SetNoArena(
5899
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5900
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.IdPairPB.old_id)
5901
0
}
5902
#endif
5903
0
inline void IdPairPB::set_old_id(const char* value) {
5904
0
  GOOGLE_DCHECK(value != NULL);
5905
0
  set_has_old_id();
5906
0
  old_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5907
0
  // @@protoc_insertion_point(field_set_char:yb.master.IdPairPB.old_id)
5908
0
}
5909
0
inline void IdPairPB::set_old_id(const void* value, size_t size) {
5910
0
  set_has_old_id();
5911
0
  old_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5912
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5913
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.IdPairPB.old_id)
5914
0
}
5915
0
inline ::std::string* IdPairPB::mutable_old_id() {
5916
0
  set_has_old_id();
5917
0
  // @@protoc_insertion_point(field_mutable:yb.master.IdPairPB.old_id)
5918
0
  return old_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5919
0
}
5920
0
inline ::std::string* IdPairPB::release_old_id() {
5921
0
  // @@protoc_insertion_point(field_release:yb.master.IdPairPB.old_id)
5922
0
  clear_has_old_id();
5923
0
  return old_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5924
0
}
5925
0
inline void IdPairPB::set_allocated_old_id(::std::string* old_id) {
5926
0
  if (old_id != NULL) {
5927
0
    set_has_old_id();
5928
0
  } else {
5929
0
    clear_has_old_id();
5930
0
  }
5931
0
  old_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), old_id);
5932
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.IdPairPB.old_id)
5933
0
}
5934
5935
// optional bytes new_id = 2;
5936
0
inline bool IdPairPB::has_new_id() const {
5937
0
  return (_has_bits_[0] & 0x00000002u) != 0;
5938
0
}
5939
0
inline void IdPairPB::set_has_new_id() {
5940
0
  _has_bits_[0] |= 0x00000002u;
5941
0
}
5942
0
inline void IdPairPB::clear_has_new_id() {
5943
0
  _has_bits_[0] &= ~0x00000002u;
5944
0
}
5945
0
inline void IdPairPB::clear_new_id() {
5946
0
  new_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5947
0
  clear_has_new_id();
5948
0
}
5949
0
inline const ::std::string& IdPairPB::new_id() const {
5950
  // @@protoc_insertion_point(field_get:yb.master.IdPairPB.new_id)
5951
0
  return new_id_.GetNoArena();
5952
0
}
5953
0
inline void IdPairPB::set_new_id(const ::std::string& value) {
5954
0
  set_has_new_id();
5955
0
  new_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5956
0
  // @@protoc_insertion_point(field_set:yb.master.IdPairPB.new_id)
5957
0
}
5958
#if LANG_CXX11
5959
0
inline void IdPairPB::set_new_id(::std::string&& value) {
5960
0
  set_has_new_id();
5961
0
  new_id_.SetNoArena(
5962
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5963
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.IdPairPB.new_id)
5964
0
}
5965
#endif
5966
0
inline void IdPairPB::set_new_id(const char* value) {
5967
0
  GOOGLE_DCHECK(value != NULL);
5968
0
  set_has_new_id();
5969
0
  new_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5970
0
  // @@protoc_insertion_point(field_set_char:yb.master.IdPairPB.new_id)
5971
0
}
5972
0
inline void IdPairPB::set_new_id(const void* value, size_t size) {
5973
0
  set_has_new_id();
5974
0
  new_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5975
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5976
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.IdPairPB.new_id)
5977
0
}
5978
0
inline ::std::string* IdPairPB::mutable_new_id() {
5979
0
  set_has_new_id();
5980
0
  // @@protoc_insertion_point(field_mutable:yb.master.IdPairPB.new_id)
5981
0
  return new_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5982
0
}
5983
0
inline ::std::string* IdPairPB::release_new_id() {
5984
0
  // @@protoc_insertion_point(field_release:yb.master.IdPairPB.new_id)
5985
0
  clear_has_new_id();
5986
0
  return new_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5987
0
}
5988
0
inline void IdPairPB::set_allocated_new_id(::std::string* new_id) {
5989
0
  if (new_id != NULL) {
5990
0
    set_has_new_id();
5991
0
  } else {
5992
0
    clear_has_new_id();
5993
0
  }
5994
0
  new_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), new_id);
5995
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.IdPairPB.new_id)
5996
0
}
5997
5998
// -------------------------------------------------------------------
5999
6000
// ImportSnapshotMetaResponsePB_TableMetaPB
6001
6002
// optional .yb.master.IdPairPB namespace_ids = 1;
6003
0
inline bool ImportSnapshotMetaResponsePB_TableMetaPB::has_namespace_ids() const {
6004
0
  return (_has_bits_[0] & 0x00000001u) != 0;
6005
0
}
6006
0
inline void ImportSnapshotMetaResponsePB_TableMetaPB::set_has_namespace_ids() {
6007
0
  _has_bits_[0] |= 0x00000001u;
6008
0
}
6009
0
inline void ImportSnapshotMetaResponsePB_TableMetaPB::clear_has_namespace_ids() {
6010
0
  _has_bits_[0] &= ~0x00000001u;
6011
0
}
6012
0
inline void ImportSnapshotMetaResponsePB_TableMetaPB::clear_namespace_ids() {
6013
0
  if (namespace_ids_ != NULL) namespace_ids_->Clear();
6014
0
  clear_has_namespace_ids();
6015
0
}
6016
0
inline const ::yb::master::IdPairPB& ImportSnapshotMetaResponsePB_TableMetaPB::namespace_ids() const {
6017
0
  const ::yb::master::IdPairPB* p = namespace_ids_;
6018
0
  // @@protoc_insertion_point(field_get:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB.namespace_ids)
6019
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::IdPairPB*>(
6020
0
      &::yb::master::_IdPairPB_default_instance_);
6021
0
}
6022
0
inline ::yb::master::IdPairPB* ImportSnapshotMetaResponsePB_TableMetaPB::release_namespace_ids() {
6023
0
  // @@protoc_insertion_point(field_release:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB.namespace_ids)
6024
0
  clear_has_namespace_ids();
6025
0
  ::yb::master::IdPairPB* temp = namespace_ids_;
6026
0
  namespace_ids_ = NULL;
6027
0
  return temp;
6028
0
}
6029
0
inline ::yb::master::IdPairPB* ImportSnapshotMetaResponsePB_TableMetaPB::mutable_namespace_ids() {
6030
0
  set_has_namespace_ids();
6031
0
  if (namespace_ids_ == NULL) {
6032
0
    namespace_ids_ = new ::yb::master::IdPairPB;
6033
0
  }
6034
0
  // @@protoc_insertion_point(field_mutable:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB.namespace_ids)
6035
0
  return namespace_ids_;
6036
0
}
6037
0
inline void ImportSnapshotMetaResponsePB_TableMetaPB::set_allocated_namespace_ids(::yb::master::IdPairPB* namespace_ids) {
6038
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6039
0
  if (message_arena == NULL) {
6040
0
    delete namespace_ids_;
6041
0
  }
6042
0
  if (namespace_ids) {
6043
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6044
0
    if (message_arena != submessage_arena) {
6045
0
      namespace_ids = ::google::protobuf::internal::GetOwnedMessage(
6046
0
          message_arena, namespace_ids, submessage_arena);
6047
0
    }
6048
0
    set_has_namespace_ids();
6049
0
  } else {
6050
0
    clear_has_namespace_ids();
6051
0
  }
6052
0
  namespace_ids_ = namespace_ids;
6053
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB.namespace_ids)
6054
0
}
6055
6056
// optional .yb.master.IdPairPB table_ids = 2;
6057
0
inline bool ImportSnapshotMetaResponsePB_TableMetaPB::has_table_ids() const {
6058
0
  return (_has_bits_[0] & 0x00000002u) != 0;
6059
0
}
6060
0
inline void ImportSnapshotMetaResponsePB_TableMetaPB::set_has_table_ids() {
6061
0
  _has_bits_[0] |= 0x00000002u;
6062
0
}
6063
0
inline void ImportSnapshotMetaResponsePB_TableMetaPB::clear_has_table_ids() {
6064
0
  _has_bits_[0] &= ~0x00000002u;
6065
0
}
6066
0
inline void ImportSnapshotMetaResponsePB_TableMetaPB::clear_table_ids() {
6067
0
  if (table_ids_ != NULL) table_ids_->Clear();
6068
0
  clear_has_table_ids();
6069
0
}
6070
0
inline const ::yb::master::IdPairPB& ImportSnapshotMetaResponsePB_TableMetaPB::table_ids() const {
6071
0
  const ::yb::master::IdPairPB* p = table_ids_;
6072
  // @@protoc_insertion_point(field_get:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB.table_ids)
6073
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::IdPairPB*>(
6074
0
      &::yb::master::_IdPairPB_default_instance_);
6075
0
}
6076
0
inline ::yb::master::IdPairPB* ImportSnapshotMetaResponsePB_TableMetaPB::release_table_ids() {
6077
0
  // @@protoc_insertion_point(field_release:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB.table_ids)
6078
0
  clear_has_table_ids();
6079
0
  ::yb::master::IdPairPB* temp = table_ids_;
6080
0
  table_ids_ = NULL;
6081
0
  return temp;
6082
0
}
6083
0
inline ::yb::master::IdPairPB* ImportSnapshotMetaResponsePB_TableMetaPB::mutable_table_ids() {
6084
0
  set_has_table_ids();
6085
0
  if (table_ids_ == NULL) {
6086
0
    table_ids_ = new ::yb::master::IdPairPB;
6087
0
  }
6088
0
  // @@protoc_insertion_point(field_mutable:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB.table_ids)
6089
0
  return table_ids_;
6090
0
}
6091
0
inline void ImportSnapshotMetaResponsePB_TableMetaPB::set_allocated_table_ids(::yb::master::IdPairPB* table_ids) {
6092
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6093
0
  if (message_arena == NULL) {
6094
0
    delete table_ids_;
6095
0
  }
6096
0
  if (table_ids) {
6097
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6098
0
    if (message_arena != submessage_arena) {
6099
0
      table_ids = ::google::protobuf::internal::GetOwnedMessage(
6100
0
          message_arena, table_ids, submessage_arena);
6101
0
    }
6102
0
    set_has_table_ids();
6103
0
  } else {
6104
0
    clear_has_table_ids();
6105
0
  }
6106
0
  table_ids_ = table_ids;
6107
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB.table_ids)
6108
0
}
6109
6110
// repeated .yb.master.IdPairPB tablets_ids = 3;
6111
0
inline int ImportSnapshotMetaResponsePB_TableMetaPB::tablets_ids_size() const {
6112
0
  return tablets_ids_.size();
6113
0
}
6114
0
inline void ImportSnapshotMetaResponsePB_TableMetaPB::clear_tablets_ids() {
6115
0
  tablets_ids_.Clear();
6116
0
}
6117
0
inline const ::yb::master::IdPairPB& ImportSnapshotMetaResponsePB_TableMetaPB::tablets_ids(int index) const {
6118
0
  // @@protoc_insertion_point(field_get:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB.tablets_ids)
6119
0
  return tablets_ids_.Get(index);
6120
0
}
6121
0
inline ::yb::master::IdPairPB* ImportSnapshotMetaResponsePB_TableMetaPB::mutable_tablets_ids(int index) {
6122
0
  // @@protoc_insertion_point(field_mutable:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB.tablets_ids)
6123
0
  return tablets_ids_.Mutable(index);
6124
0
}
6125
0
inline ::yb::master::IdPairPB* ImportSnapshotMetaResponsePB_TableMetaPB::add_tablets_ids() {
6126
0
  // @@protoc_insertion_point(field_add:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB.tablets_ids)
6127
0
  return tablets_ids_.Add();
6128
0
}
6129
inline ::google::protobuf::RepeatedPtrField< ::yb::master::IdPairPB >*
6130
0
ImportSnapshotMetaResponsePB_TableMetaPB::mutable_tablets_ids() {
6131
0
  // @@protoc_insertion_point(field_mutable_list:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB.tablets_ids)
6132
0
  return &tablets_ids_;
6133
0
}
6134
inline const ::google::protobuf::RepeatedPtrField< ::yb::master::IdPairPB >&
6135
0
ImportSnapshotMetaResponsePB_TableMetaPB::tablets_ids() const {
6136
0
  // @@protoc_insertion_point(field_list:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB.tablets_ids)
6137
0
  return tablets_ids_;
6138
0
}
6139
6140
// optional .yb.master.ImportSnapshotMetaResponsePB.TableType table_type = 4 [default = TABLE];
6141
0
inline bool ImportSnapshotMetaResponsePB_TableMetaPB::has_table_type() const {
6142
0
  return (_has_bits_[0] & 0x00000004u) != 0;
6143
0
}
6144
0
inline void ImportSnapshotMetaResponsePB_TableMetaPB::set_has_table_type() {
6145
0
  _has_bits_[0] |= 0x00000004u;
6146
0
}
6147
0
inline void ImportSnapshotMetaResponsePB_TableMetaPB::clear_has_table_type() {
6148
0
  _has_bits_[0] &= ~0x00000004u;
6149
0
}
6150
0
inline void ImportSnapshotMetaResponsePB_TableMetaPB::clear_table_type() {
6151
0
  table_type_ = 0;
6152
0
  clear_has_table_type();
6153
0
}
6154
0
inline ::yb::master::ImportSnapshotMetaResponsePB_TableType ImportSnapshotMetaResponsePB_TableMetaPB::table_type() const {
6155
0
  // @@protoc_insertion_point(field_get:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB.table_type)
6156
0
  return static_cast< ::yb::master::ImportSnapshotMetaResponsePB_TableType >(table_type_);
6157
0
}
6158
0
inline void ImportSnapshotMetaResponsePB_TableMetaPB::set_table_type(::yb::master::ImportSnapshotMetaResponsePB_TableType value) {
6159
0
  assert(::yb::master::ImportSnapshotMetaResponsePB_TableType_IsValid(value));
6160
0
  set_has_table_type();
6161
0
  table_type_ = value;
6162
0
  // @@protoc_insertion_point(field_set:yb.master.ImportSnapshotMetaResponsePB.TableMetaPB.table_type)
6163
0
}
6164
6165
// -------------------------------------------------------------------
6166
6167
// ImportSnapshotMetaResponsePB
6168
6169
// optional .yb.master.MasterErrorPB error = 1;
6170
0
inline bool ImportSnapshotMetaResponsePB::has_error() const {
6171
0
  return (_has_bits_[0] & 0x00000001u) != 0;
6172
0
}
6173
0
inline void ImportSnapshotMetaResponsePB::set_has_error() {
6174
0
  _has_bits_[0] |= 0x00000001u;
6175
0
}
6176
0
inline void ImportSnapshotMetaResponsePB::clear_has_error() {
6177
0
  _has_bits_[0] &= ~0x00000001u;
6178
0
}
6179
0
inline const ::yb::master::MasterErrorPB& ImportSnapshotMetaResponsePB::error() const {
6180
0
  const ::yb::master::MasterErrorPB* p = error_;
6181
0
  // @@protoc_insertion_point(field_get:yb.master.ImportSnapshotMetaResponsePB.error)
6182
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>(
6183
0
      &::yb::master::_MasterErrorPB_default_instance_);
6184
0
}
6185
0
inline ::yb::master::MasterErrorPB* ImportSnapshotMetaResponsePB::release_error() {
6186
0
  // @@protoc_insertion_point(field_release:yb.master.ImportSnapshotMetaResponsePB.error)
6187
0
  clear_has_error();
6188
0
  ::yb::master::MasterErrorPB* temp = error_;
6189
0
  error_ = NULL;
6190
0
  return temp;
6191
0
}
6192
0
inline ::yb::master::MasterErrorPB* ImportSnapshotMetaResponsePB::mutable_error() {
6193
0
  set_has_error();
6194
0
  if (error_ == NULL) {
6195
0
    error_ = new ::yb::master::MasterErrorPB;
6196
0
  }
6197
0
  // @@protoc_insertion_point(field_mutable:yb.master.ImportSnapshotMetaResponsePB.error)
6198
0
  return error_;
6199
0
}
6200
0
inline void ImportSnapshotMetaResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) {
6201
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6202
0
  if (message_arena == NULL) {
6203
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
6204
0
  }
6205
0
  if (error) {
6206
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6207
0
    if (message_arena != submessage_arena) {
6208
0
      error = ::google::protobuf::internal::GetOwnedMessage(
6209
0
          message_arena, error, submessage_arena);
6210
0
    }
6211
0
    set_has_error();
6212
0
  } else {
6213
0
    clear_has_error();
6214
0
  }
6215
0
  error_ = error;
6216
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ImportSnapshotMetaResponsePB.error)
6217
0
}
6218
6219
// repeated .yb.master.ImportSnapshotMetaResponsePB.TableMetaPB tables_meta = 3;
6220
0
inline int ImportSnapshotMetaResponsePB::tables_meta_size() const {
6221
0
  return tables_meta_.size();
6222
0
}
6223
0
inline void ImportSnapshotMetaResponsePB::clear_tables_meta() {
6224
0
  tables_meta_.Clear();
6225
0
}
6226
0
inline const ::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB& ImportSnapshotMetaResponsePB::tables_meta(int index) const {
6227
0
  // @@protoc_insertion_point(field_get:yb.master.ImportSnapshotMetaResponsePB.tables_meta)
6228
0
  return tables_meta_.Get(index);
6229
0
}
6230
0
inline ::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB* ImportSnapshotMetaResponsePB::mutable_tables_meta(int index) {
6231
0
  // @@protoc_insertion_point(field_mutable:yb.master.ImportSnapshotMetaResponsePB.tables_meta)
6232
0
  return tables_meta_.Mutable(index);
6233
0
}
6234
0
inline ::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB* ImportSnapshotMetaResponsePB::add_tables_meta() {
6235
0
  // @@protoc_insertion_point(field_add:yb.master.ImportSnapshotMetaResponsePB.tables_meta)
6236
0
  return tables_meta_.Add();
6237
0
}
6238
inline ::google::protobuf::RepeatedPtrField< ::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB >*
6239
0
ImportSnapshotMetaResponsePB::mutable_tables_meta() {
6240
0
  // @@protoc_insertion_point(field_mutable_list:yb.master.ImportSnapshotMetaResponsePB.tables_meta)
6241
0
  return &tables_meta_;
6242
0
}
6243
inline const ::google::protobuf::RepeatedPtrField< ::yb::master::ImportSnapshotMetaResponsePB_TableMetaPB >&
6244
0
ImportSnapshotMetaResponsePB::tables_meta() const {
6245
0
  // @@protoc_insertion_point(field_list:yb.master.ImportSnapshotMetaResponsePB.tables_meta)
6246
0
  return tables_meta_;
6247
0
}
6248
6249
// -------------------------------------------------------------------
6250
6251
// TableIdentifiersPB
6252
6253
// repeated .yb.master.TableIdentifierPB tables = 1;
6254
0
inline int TableIdentifiersPB::tables_size() const {
6255
0
  return tables_.size();
6256
0
}
6257
0
inline const ::yb::master::TableIdentifierPB& TableIdentifiersPB::tables(int index) const {
6258
0
  // @@protoc_insertion_point(field_get:yb.master.TableIdentifiersPB.tables)
6259
0
  return tables_.Get(index);
6260
0
}
6261
0
inline ::yb::master::TableIdentifierPB* TableIdentifiersPB::mutable_tables(int index) {
6262
0
  // @@protoc_insertion_point(field_mutable:yb.master.TableIdentifiersPB.tables)
6263
0
  return tables_.Mutable(index);
6264
0
}
6265
1
inline ::yb::master::TableIdentifierPB* TableIdentifiersPB::add_tables() {
6266
  // @@protoc_insertion_point(field_add:yb.master.TableIdentifiersPB.tables)
6267
1
  return tables_.Add();
6268
1
}
6269
inline ::google::protobuf::RepeatedPtrField< ::yb::master::TableIdentifierPB >*
6270
0
TableIdentifiersPB::mutable_tables() {
6271
0
  // @@protoc_insertion_point(field_mutable_list:yb.master.TableIdentifiersPB.tables)
6272
0
  return &tables_;
6273
0
}
6274
inline const ::google::protobuf::RepeatedPtrField< ::yb::master::TableIdentifierPB >&
6275
18
TableIdentifiersPB::tables() const {
6276
  // @@protoc_insertion_point(field_list:yb.master.TableIdentifiersPB.tables)
6277
18
  return tables_;
6278
18
}
6279
6280
// -------------------------------------------------------------------
6281
6282
// SnapshotScheduleFilterPB
6283
6284
// optional .yb.master.TableIdentifiersPB tables = 1;
6285
19
inline bool SnapshotScheduleFilterPB::has_tables() const {
6286
19
  return filter_case() == kTables;
6287
19
}
6288
1
inline void SnapshotScheduleFilterPB::set_has_tables() {
6289
1
  _oneof_case_[0] = kTables;
6290
1
}
6291
0
inline void SnapshotScheduleFilterPB::clear_tables() {
6292
0
  if (has_tables()) {
6293
0
    delete filter_.tables_;
6294
0
    clear_has_filter();
6295
0
  }
6296
0
}
6297
0
inline ::yb::master::TableIdentifiersPB* SnapshotScheduleFilterPB::release_tables() {
6298
0
  // @@protoc_insertion_point(field_release:yb.master.SnapshotScheduleFilterPB.tables)
6299
0
  if (has_tables()) {
6300
0
    clear_has_filter();
6301
0
      ::yb::master::TableIdentifiersPB* temp = filter_.tables_;
6302
0
    filter_.tables_ = NULL;
6303
0
    return temp;
6304
0
  } else {
6305
0
    return NULL;
6306
0
  }
6307
0
}
6308
18
inline const ::yb::master::TableIdentifiersPB& SnapshotScheduleFilterPB::tables() const {
6309
  // @@protoc_insertion_point(field_get:yb.master.SnapshotScheduleFilterPB.tables)
6310
18
  return has_tables()
6311
18
      ? *filter_.tables_
6312
0
      : *reinterpret_cast< ::yb::master::TableIdentifiersPB*>(&::yb::master::_TableIdentifiersPB_default_instance_);
6313
18
}
6314
1
inline ::yb::master::TableIdentifiersPB* SnapshotScheduleFilterPB::mutable_tables() {
6315
1
  if (!has_tables()) {
6316
1
    clear_filter();
6317
1
    set_has_tables();
6318
1
    filter_.tables_ = new ::yb::master::TableIdentifiersPB;
6319
1
  }
6320
  // @@protoc_insertion_point(field_mutable:yb.master.SnapshotScheduleFilterPB.tables)
6321
1
  return filter_.tables_;
6322
1
}
6323
6324
2
inline bool SnapshotScheduleFilterPB::has_filter() const {
6325
2
  return filter_case() != FILTER_NOT_SET;
6326
2
}
6327
15.8k
inline void SnapshotScheduleFilterPB::clear_has_filter() {
6328
15.8k
  _oneof_case_[0] = FILTER_NOT_SET;
6329
15.8k
}
6330
23
inline SnapshotScheduleFilterPB::FilterCase SnapshotScheduleFilterPB::filter_case() const {
6331
23
  return SnapshotScheduleFilterPB::FilterCase(_oneof_case_[0]);
6332
23
}
6333
// -------------------------------------------------------------------
6334
6335
// SnapshotScheduleOptionsPB
6336
6337
// optional .yb.master.SnapshotScheduleFilterPB filter = 1;
6338
0
inline bool SnapshotScheduleOptionsPB::has_filter() const {
6339
0
  return (_has_bits_[0] & 0x00000001u) != 0;
6340
0
}
6341
0
inline void SnapshotScheduleOptionsPB::set_has_filter() {
6342
0
  _has_bits_[0] |= 0x00000001u;
6343
0
}
6344
0
inline void SnapshotScheduleOptionsPB::clear_has_filter() {
6345
0
  _has_bits_[0] &= ~0x00000001u;
6346
0
}
6347
0
inline void SnapshotScheduleOptionsPB::clear_filter() {
6348
0
  if (filter_ != NULL) filter_->Clear();
6349
0
  clear_has_filter();
6350
0
}
6351
0
inline const ::yb::master::SnapshotScheduleFilterPB& SnapshotScheduleOptionsPB::filter() const {
6352
0
  const ::yb::master::SnapshotScheduleFilterPB* p = filter_;
6353
0
  // @@protoc_insertion_point(field_get:yb.master.SnapshotScheduleOptionsPB.filter)
6354
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::SnapshotScheduleFilterPB*>(
6355
0
      &::yb::master::_SnapshotScheduleFilterPB_default_instance_);
6356
0
}
6357
0
inline ::yb::master::SnapshotScheduleFilterPB* SnapshotScheduleOptionsPB::release_filter() {
6358
0
  // @@protoc_insertion_point(field_release:yb.master.SnapshotScheduleOptionsPB.filter)
6359
0
  clear_has_filter();
6360
0
  ::yb::master::SnapshotScheduleFilterPB* temp = filter_;
6361
0
  filter_ = NULL;
6362
0
  return temp;
6363
0
}
6364
0
inline ::yb::master::SnapshotScheduleFilterPB* SnapshotScheduleOptionsPB::mutable_filter() {
6365
0
  set_has_filter();
6366
0
  if (filter_ == NULL) {
6367
0
    filter_ = new ::yb::master::SnapshotScheduleFilterPB;
6368
0
  }
6369
0
  // @@protoc_insertion_point(field_mutable:yb.master.SnapshotScheduleOptionsPB.filter)
6370
0
  return filter_;
6371
0
}
6372
0
inline void SnapshotScheduleOptionsPB::set_allocated_filter(::yb::master::SnapshotScheduleFilterPB* filter) {
6373
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6374
0
  if (message_arena == NULL) {
6375
0
    delete filter_;
6376
0
  }
6377
0
  if (filter) {
6378
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6379
0
    if (message_arena != submessage_arena) {
6380
0
      filter = ::google::protobuf::internal::GetOwnedMessage(
6381
0
          message_arena, filter, submessage_arena);
6382
0
    }
6383
0
    set_has_filter();
6384
0
  } else {
6385
0
    clear_has_filter();
6386
0
  }
6387
0
  filter_ = filter;
6388
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.SnapshotScheduleOptionsPB.filter)
6389
0
}
6390
6391
// optional uint64 interval_sec = 2;
6392
0
inline bool SnapshotScheduleOptionsPB::has_interval_sec() const {
6393
0
  return (_has_bits_[0] & 0x00000002u) != 0;
6394
0
}
6395
0
inline void SnapshotScheduleOptionsPB::set_has_interval_sec() {
6396
0
  _has_bits_[0] |= 0x00000002u;
6397
0
}
6398
0
inline void SnapshotScheduleOptionsPB::clear_has_interval_sec() {
6399
0
  _has_bits_[0] &= ~0x00000002u;
6400
0
}
6401
0
inline void SnapshotScheduleOptionsPB::clear_interval_sec() {
6402
0
  interval_sec_ = GOOGLE_ULONGLONG(0);
6403
0
  clear_has_interval_sec();
6404
0
}
6405
0
inline ::google::protobuf::uint64 SnapshotScheduleOptionsPB::interval_sec() const {
6406
0
  // @@protoc_insertion_point(field_get:yb.master.SnapshotScheduleOptionsPB.interval_sec)
6407
0
  return interval_sec_;
6408
0
}
6409
0
inline void SnapshotScheduleOptionsPB::set_interval_sec(::google::protobuf::uint64 value) {
6410
0
  set_has_interval_sec();
6411
0
  interval_sec_ = value;
6412
0
  // @@protoc_insertion_point(field_set:yb.master.SnapshotScheduleOptionsPB.interval_sec)
6413
0
}
6414
6415
// optional uint64 retention_duration_sec = 3;
6416
0
inline bool SnapshotScheduleOptionsPB::has_retention_duration_sec() const {
6417
0
  return (_has_bits_[0] & 0x00000004u) != 0;
6418
0
}
6419
0
inline void SnapshotScheduleOptionsPB::set_has_retention_duration_sec() {
6420
0
  _has_bits_[0] |= 0x00000004u;
6421
0
}
6422
0
inline void SnapshotScheduleOptionsPB::clear_has_retention_duration_sec() {
6423
0
  _has_bits_[0] &= ~0x00000004u;
6424
0
}
6425
0
inline void SnapshotScheduleOptionsPB::clear_retention_duration_sec() {
6426
0
  retention_duration_sec_ = GOOGLE_ULONGLONG(0);
6427
0
  clear_has_retention_duration_sec();
6428
0
}
6429
0
inline ::google::protobuf::uint64 SnapshotScheduleOptionsPB::retention_duration_sec() const {
6430
0
  // @@protoc_insertion_point(field_get:yb.master.SnapshotScheduleOptionsPB.retention_duration_sec)
6431
0
  return retention_duration_sec_;
6432
0
}
6433
0
inline void SnapshotScheduleOptionsPB::set_retention_duration_sec(::google::protobuf::uint64 value) {
6434
0
  set_has_retention_duration_sec();
6435
0
  retention_duration_sec_ = value;
6436
0
  // @@protoc_insertion_point(field_set:yb.master.SnapshotScheduleOptionsPB.retention_duration_sec)
6437
0
}
6438
6439
// optional fixed64 delete_time = 4;
6440
0
inline bool SnapshotScheduleOptionsPB::has_delete_time() const {
6441
0
  return (_has_bits_[0] & 0x00000008u) != 0;
6442
0
}
6443
0
inline void SnapshotScheduleOptionsPB::set_has_delete_time() {
6444
0
  _has_bits_[0] |= 0x00000008u;
6445
0
}
6446
0
inline void SnapshotScheduleOptionsPB::clear_has_delete_time() {
6447
0
  _has_bits_[0] &= ~0x00000008u;
6448
0
}
6449
0
inline void SnapshotScheduleOptionsPB::clear_delete_time() {
6450
0
  delete_time_ = GOOGLE_ULONGLONG(0);
6451
0
  clear_has_delete_time();
6452
0
}
6453
0
inline ::google::protobuf::uint64 SnapshotScheduleOptionsPB::delete_time() const {
6454
0
  // @@protoc_insertion_point(field_get:yb.master.SnapshotScheduleOptionsPB.delete_time)
6455
0
  return delete_time_;
6456
0
}
6457
0
inline void SnapshotScheduleOptionsPB::set_delete_time(::google::protobuf::uint64 value) {
6458
0
  set_has_delete_time();
6459
0
  delete_time_ = value;
6460
0
  // @@protoc_insertion_point(field_set:yb.master.SnapshotScheduleOptionsPB.delete_time)
6461
0
}
6462
6463
// repeated fixed64 restoration_times = 5;
6464
0
inline int SnapshotScheduleOptionsPB::restoration_times_size() const {
6465
0
  return restoration_times_.size();
6466
0
}
6467
0
inline void SnapshotScheduleOptionsPB::clear_restoration_times() {
6468
0
  restoration_times_.Clear();
6469
0
}
6470
0
inline ::google::protobuf::uint64 SnapshotScheduleOptionsPB::restoration_times(int index) const {
6471
0
  // @@protoc_insertion_point(field_get:yb.master.SnapshotScheduleOptionsPB.restoration_times)
6472
0
  return restoration_times_.Get(index);
6473
0
}
6474
0
inline void SnapshotScheduleOptionsPB::set_restoration_times(int index, ::google::protobuf::uint64 value) {
6475
0
  restoration_times_.Set(index, value);
6476
0
  // @@protoc_insertion_point(field_set:yb.master.SnapshotScheduleOptionsPB.restoration_times)
6477
0
}
6478
0
inline void SnapshotScheduleOptionsPB::add_restoration_times(::google::protobuf::uint64 value) {
6479
0
  restoration_times_.Add(value);
6480
0
  // @@protoc_insertion_point(field_add:yb.master.SnapshotScheduleOptionsPB.restoration_times)
6481
0
}
6482
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
6483
0
SnapshotScheduleOptionsPB::restoration_times() const {
6484
0
  // @@protoc_insertion_point(field_list:yb.master.SnapshotScheduleOptionsPB.restoration_times)
6485
0
  return restoration_times_;
6486
0
}
6487
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
6488
0
SnapshotScheduleOptionsPB::mutable_restoration_times() {
6489
0
  // @@protoc_insertion_point(field_mutable_list:yb.master.SnapshotScheduleOptionsPB.restoration_times)
6490
0
  return &restoration_times_;
6491
0
}
6492
6493
// -------------------------------------------------------------------
6494
6495
// CreateSnapshotScheduleRequestPB
6496
6497
// optional .yb.master.SnapshotScheduleOptionsPB options = 1;
6498
0
inline bool CreateSnapshotScheduleRequestPB::has_options() const {
6499
0
  return (_has_bits_[0] & 0x00000001u) != 0;
6500
0
}
6501
0
inline void CreateSnapshotScheduleRequestPB::set_has_options() {
6502
0
  _has_bits_[0] |= 0x00000001u;
6503
0
}
6504
0
inline void CreateSnapshotScheduleRequestPB::clear_has_options() {
6505
0
  _has_bits_[0] &= ~0x00000001u;
6506
0
}
6507
0
inline void CreateSnapshotScheduleRequestPB::clear_options() {
6508
0
  if (options_ != NULL) options_->Clear();
6509
0
  clear_has_options();
6510
0
}
6511
0
inline const ::yb::master::SnapshotScheduleOptionsPB& CreateSnapshotScheduleRequestPB::options() const {
6512
0
  const ::yb::master::SnapshotScheduleOptionsPB* p = options_;
6513
0
  // @@protoc_insertion_point(field_get:yb.master.CreateSnapshotScheduleRequestPB.options)
6514
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::SnapshotScheduleOptionsPB*>(
6515
0
      &::yb::master::_SnapshotScheduleOptionsPB_default_instance_);
6516
0
}
6517
0
inline ::yb::master::SnapshotScheduleOptionsPB* CreateSnapshotScheduleRequestPB::release_options() {
6518
0
  // @@protoc_insertion_point(field_release:yb.master.CreateSnapshotScheduleRequestPB.options)
6519
0
  clear_has_options();
6520
0
  ::yb::master::SnapshotScheduleOptionsPB* temp = options_;
6521
0
  options_ = NULL;
6522
0
  return temp;
6523
0
}
6524
0
inline ::yb::master::SnapshotScheduleOptionsPB* CreateSnapshotScheduleRequestPB::mutable_options() {
6525
0
  set_has_options();
6526
0
  if (options_ == NULL) {
6527
0
    options_ = new ::yb::master::SnapshotScheduleOptionsPB;
6528
0
  }
6529
0
  // @@protoc_insertion_point(field_mutable:yb.master.CreateSnapshotScheduleRequestPB.options)
6530
0
  return options_;
6531
0
}
6532
0
inline void CreateSnapshotScheduleRequestPB::set_allocated_options(::yb::master::SnapshotScheduleOptionsPB* options) {
6533
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6534
0
  if (message_arena == NULL) {
6535
0
    delete options_;
6536
0
  }
6537
0
  if (options) {
6538
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6539
0
    if (message_arena != submessage_arena) {
6540
0
      options = ::google::protobuf::internal::GetOwnedMessage(
6541
0
          message_arena, options, submessage_arena);
6542
0
    }
6543
0
    set_has_options();
6544
0
  } else {
6545
0
    clear_has_options();
6546
0
  }
6547
0
  options_ = options;
6548
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.CreateSnapshotScheduleRequestPB.options)
6549
0
}
6550
6551
// -------------------------------------------------------------------
6552
6553
// CreateSnapshotScheduleResponsePB
6554
6555
// optional .yb.master.MasterErrorPB error = 1;
6556
0
inline bool CreateSnapshotScheduleResponsePB::has_error() const {
6557
0
  return (_has_bits_[0] & 0x00000002u) != 0;
6558
0
}
6559
0
inline void CreateSnapshotScheduleResponsePB::set_has_error() {
6560
0
  _has_bits_[0] |= 0x00000002u;
6561
0
}
6562
0
inline void CreateSnapshotScheduleResponsePB::clear_has_error() {
6563
0
  _has_bits_[0] &= ~0x00000002u;
6564
0
}
6565
0
inline const ::yb::master::MasterErrorPB& CreateSnapshotScheduleResponsePB::error() const {
6566
0
  const ::yb::master::MasterErrorPB* p = error_;
6567
0
  // @@protoc_insertion_point(field_get:yb.master.CreateSnapshotScheduleResponsePB.error)
6568
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>(
6569
0
      &::yb::master::_MasterErrorPB_default_instance_);
6570
0
}
6571
0
inline ::yb::master::MasterErrorPB* CreateSnapshotScheduleResponsePB::release_error() {
6572
0
  // @@protoc_insertion_point(field_release:yb.master.CreateSnapshotScheduleResponsePB.error)
6573
0
  clear_has_error();
6574
0
  ::yb::master::MasterErrorPB* temp = error_;
6575
0
  error_ = NULL;
6576
0
  return temp;
6577
0
}
6578
0
inline ::yb::master::MasterErrorPB* CreateSnapshotScheduleResponsePB::mutable_error() {
6579
0
  set_has_error();
6580
0
  if (error_ == NULL) {
6581
0
    error_ = new ::yb::master::MasterErrorPB;
6582
0
  }
6583
0
  // @@protoc_insertion_point(field_mutable:yb.master.CreateSnapshotScheduleResponsePB.error)
6584
0
  return error_;
6585
0
}
6586
0
inline void CreateSnapshotScheduleResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) {
6587
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6588
0
  if (message_arena == NULL) {
6589
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
6590
0
  }
6591
0
  if (error) {
6592
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6593
0
    if (message_arena != submessage_arena) {
6594
0
      error = ::google::protobuf::internal::GetOwnedMessage(
6595
0
          message_arena, error, submessage_arena);
6596
0
    }
6597
0
    set_has_error();
6598
0
  } else {
6599
0
    clear_has_error();
6600
0
  }
6601
0
  error_ = error;
6602
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.CreateSnapshotScheduleResponsePB.error)
6603
0
}
6604
6605
// optional bytes snapshot_schedule_id = 2;
6606
0
inline bool CreateSnapshotScheduleResponsePB::has_snapshot_schedule_id() const {
6607
0
  return (_has_bits_[0] & 0x00000001u) != 0;
6608
0
}
6609
0
inline void CreateSnapshotScheduleResponsePB::set_has_snapshot_schedule_id() {
6610
0
  _has_bits_[0] |= 0x00000001u;
6611
0
}
6612
0
inline void CreateSnapshotScheduleResponsePB::clear_has_snapshot_schedule_id() {
6613
0
  _has_bits_[0] &= ~0x00000001u;
6614
0
}
6615
0
inline void CreateSnapshotScheduleResponsePB::clear_snapshot_schedule_id() {
6616
0
  snapshot_schedule_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6617
0
  clear_has_snapshot_schedule_id();
6618
0
}
6619
0
inline const ::std::string& CreateSnapshotScheduleResponsePB::snapshot_schedule_id() const {
6620
0
  // @@protoc_insertion_point(field_get:yb.master.CreateSnapshotScheduleResponsePB.snapshot_schedule_id)
6621
0
  return snapshot_schedule_id_.GetNoArena();
6622
0
}
6623
0
inline void CreateSnapshotScheduleResponsePB::set_snapshot_schedule_id(const ::std::string& value) {
6624
0
  set_has_snapshot_schedule_id();
6625
0
  snapshot_schedule_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6626
0
  // @@protoc_insertion_point(field_set:yb.master.CreateSnapshotScheduleResponsePB.snapshot_schedule_id)
6627
0
}
6628
#if LANG_CXX11
6629
0
inline void CreateSnapshotScheduleResponsePB::set_snapshot_schedule_id(::std::string&& value) {
6630
0
  set_has_snapshot_schedule_id();
6631
0
  snapshot_schedule_id_.SetNoArena(
6632
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6633
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.CreateSnapshotScheduleResponsePB.snapshot_schedule_id)
6634
0
}
6635
#endif
6636
0
inline void CreateSnapshotScheduleResponsePB::set_snapshot_schedule_id(const char* value) {
6637
0
  GOOGLE_DCHECK(value != NULL);
6638
0
  set_has_snapshot_schedule_id();
6639
0
  snapshot_schedule_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6640
0
  // @@protoc_insertion_point(field_set_char:yb.master.CreateSnapshotScheduleResponsePB.snapshot_schedule_id)
6641
0
}
6642
0
inline void CreateSnapshotScheduleResponsePB::set_snapshot_schedule_id(const void* value, size_t size) {
6643
0
  set_has_snapshot_schedule_id();
6644
0
  snapshot_schedule_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6645
0
      ::std::string(reinterpret_cast<const char*>(value), size));
6646
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.CreateSnapshotScheduleResponsePB.snapshot_schedule_id)
6647
0
}
6648
0
inline ::std::string* CreateSnapshotScheduleResponsePB::mutable_snapshot_schedule_id() {
6649
0
  set_has_snapshot_schedule_id();
6650
0
  // @@protoc_insertion_point(field_mutable:yb.master.CreateSnapshotScheduleResponsePB.snapshot_schedule_id)
6651
0
  return snapshot_schedule_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6652
0
}
6653
0
inline ::std::string* CreateSnapshotScheduleResponsePB::release_snapshot_schedule_id() {
6654
0
  // @@protoc_insertion_point(field_release:yb.master.CreateSnapshotScheduleResponsePB.snapshot_schedule_id)
6655
0
  clear_has_snapshot_schedule_id();
6656
0
  return snapshot_schedule_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6657
0
}
6658
0
inline void CreateSnapshotScheduleResponsePB::set_allocated_snapshot_schedule_id(::std::string* snapshot_schedule_id) {
6659
0
  if (snapshot_schedule_id != NULL) {
6660
0
    set_has_snapshot_schedule_id();
6661
0
  } else {
6662
0
    clear_has_snapshot_schedule_id();
6663
0
  }
6664
0
  snapshot_schedule_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshot_schedule_id);
6665
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.CreateSnapshotScheduleResponsePB.snapshot_schedule_id)
6666
0
}
6667
6668
// -------------------------------------------------------------------
6669
6670
// ListSnapshotSchedulesRequestPB
6671
6672
// optional bytes snapshot_schedule_id = 1;
6673
0
inline bool ListSnapshotSchedulesRequestPB::has_snapshot_schedule_id() const {
6674
0
  return (_has_bits_[0] & 0x00000001u) != 0;
6675
0
}
6676
0
inline void ListSnapshotSchedulesRequestPB::set_has_snapshot_schedule_id() {
6677
0
  _has_bits_[0] |= 0x00000001u;
6678
0
}
6679
0
inline void ListSnapshotSchedulesRequestPB::clear_has_snapshot_schedule_id() {
6680
0
  _has_bits_[0] &= ~0x00000001u;
6681
0
}
6682
0
inline void ListSnapshotSchedulesRequestPB::clear_snapshot_schedule_id() {
6683
0
  snapshot_schedule_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6684
0
  clear_has_snapshot_schedule_id();
6685
0
}
6686
0
inline const ::std::string& ListSnapshotSchedulesRequestPB::snapshot_schedule_id() const {
6687
0
  // @@protoc_insertion_point(field_get:yb.master.ListSnapshotSchedulesRequestPB.snapshot_schedule_id)
6688
0
  return snapshot_schedule_id_.GetNoArena();
6689
0
}
6690
0
inline void ListSnapshotSchedulesRequestPB::set_snapshot_schedule_id(const ::std::string& value) {
6691
0
  set_has_snapshot_schedule_id();
6692
0
  snapshot_schedule_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6693
0
  // @@protoc_insertion_point(field_set:yb.master.ListSnapshotSchedulesRequestPB.snapshot_schedule_id)
6694
0
}
6695
#if LANG_CXX11
6696
0
inline void ListSnapshotSchedulesRequestPB::set_snapshot_schedule_id(::std::string&& value) {
6697
0
  set_has_snapshot_schedule_id();
6698
0
  snapshot_schedule_id_.SetNoArena(
6699
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6700
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.ListSnapshotSchedulesRequestPB.snapshot_schedule_id)
6701
0
}
6702
#endif
6703
0
inline void ListSnapshotSchedulesRequestPB::set_snapshot_schedule_id(const char* value) {
6704
0
  GOOGLE_DCHECK(value != NULL);
6705
0
  set_has_snapshot_schedule_id();
6706
0
  snapshot_schedule_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6707
0
  // @@protoc_insertion_point(field_set_char:yb.master.ListSnapshotSchedulesRequestPB.snapshot_schedule_id)
6708
0
}
6709
0
inline void ListSnapshotSchedulesRequestPB::set_snapshot_schedule_id(const void* value, size_t size) {
6710
0
  set_has_snapshot_schedule_id();
6711
0
  snapshot_schedule_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6712
0
      ::std::string(reinterpret_cast<const char*>(value), size));
6713
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.ListSnapshotSchedulesRequestPB.snapshot_schedule_id)
6714
0
}
6715
0
inline ::std::string* ListSnapshotSchedulesRequestPB::mutable_snapshot_schedule_id() {
6716
0
  set_has_snapshot_schedule_id();
6717
0
  // @@protoc_insertion_point(field_mutable:yb.master.ListSnapshotSchedulesRequestPB.snapshot_schedule_id)
6718
0
  return snapshot_schedule_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6719
0
}
6720
0
inline ::std::string* ListSnapshotSchedulesRequestPB::release_snapshot_schedule_id() {
6721
0
  // @@protoc_insertion_point(field_release:yb.master.ListSnapshotSchedulesRequestPB.snapshot_schedule_id)
6722
0
  clear_has_snapshot_schedule_id();
6723
0
  return snapshot_schedule_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6724
0
}
6725
0
inline void ListSnapshotSchedulesRequestPB::set_allocated_snapshot_schedule_id(::std::string* snapshot_schedule_id) {
6726
0
  if (snapshot_schedule_id != NULL) {
6727
0
    set_has_snapshot_schedule_id();
6728
0
  } else {
6729
0
    clear_has_snapshot_schedule_id();
6730
0
  }
6731
0
  snapshot_schedule_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshot_schedule_id);
6732
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ListSnapshotSchedulesRequestPB.snapshot_schedule_id)
6733
0
}
6734
6735
// -------------------------------------------------------------------
6736
6737
// SnapshotScheduleInfoPB
6738
6739
// optional bytes id = 1;
6740
0
inline bool SnapshotScheduleInfoPB::has_id() const {
6741
0
  return (_has_bits_[0] & 0x00000001u) != 0;
6742
0
}
6743
0
inline void SnapshotScheduleInfoPB::set_has_id() {
6744
0
  _has_bits_[0] |= 0x00000001u;
6745
0
}
6746
0
inline void SnapshotScheduleInfoPB::clear_has_id() {
6747
0
  _has_bits_[0] &= ~0x00000001u;
6748
0
}
6749
0
inline void SnapshotScheduleInfoPB::clear_id() {
6750
0
  id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6751
0
  clear_has_id();
6752
0
}
6753
0
inline const ::std::string& SnapshotScheduleInfoPB::id() const {
6754
0
  // @@protoc_insertion_point(field_get:yb.master.SnapshotScheduleInfoPB.id)
6755
0
  return id_.GetNoArena();
6756
0
}
6757
0
inline void SnapshotScheduleInfoPB::set_id(const ::std::string& value) {
6758
0
  set_has_id();
6759
0
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6760
0
  // @@protoc_insertion_point(field_set:yb.master.SnapshotScheduleInfoPB.id)
6761
0
}
6762
#if LANG_CXX11
6763
0
inline void SnapshotScheduleInfoPB::set_id(::std::string&& value) {
6764
0
  set_has_id();
6765
0
  id_.SetNoArena(
6766
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6767
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.SnapshotScheduleInfoPB.id)
6768
0
}
6769
#endif
6770
0
inline void SnapshotScheduleInfoPB::set_id(const char* value) {
6771
0
  GOOGLE_DCHECK(value != NULL);
6772
0
  set_has_id();
6773
0
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6774
0
  // @@protoc_insertion_point(field_set_char:yb.master.SnapshotScheduleInfoPB.id)
6775
0
}
6776
0
inline void SnapshotScheduleInfoPB::set_id(const void* value, size_t size) {
6777
0
  set_has_id();
6778
0
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6779
0
      ::std::string(reinterpret_cast<const char*>(value), size));
6780
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.SnapshotScheduleInfoPB.id)
6781
0
}
6782
0
inline ::std::string* SnapshotScheduleInfoPB::mutable_id() {
6783
0
  set_has_id();
6784
0
  // @@protoc_insertion_point(field_mutable:yb.master.SnapshotScheduleInfoPB.id)
6785
0
  return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6786
0
}
6787
0
inline ::std::string* SnapshotScheduleInfoPB::release_id() {
6788
0
  // @@protoc_insertion_point(field_release:yb.master.SnapshotScheduleInfoPB.id)
6789
0
  clear_has_id();
6790
0
  return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6791
0
}
6792
0
inline void SnapshotScheduleInfoPB::set_allocated_id(::std::string* id) {
6793
0
  if (id != NULL) {
6794
0
    set_has_id();
6795
0
  } else {
6796
0
    clear_has_id();
6797
0
  }
6798
0
  id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id);
6799
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.SnapshotScheduleInfoPB.id)
6800
0
}
6801
6802
// optional .yb.master.SnapshotScheduleOptionsPB options = 2;
6803
0
inline bool SnapshotScheduleInfoPB::has_options() const {
6804
0
  return (_has_bits_[0] & 0x00000002u) != 0;
6805
0
}
6806
0
inline void SnapshotScheduleInfoPB::set_has_options() {
6807
0
  _has_bits_[0] |= 0x00000002u;
6808
0
}
6809
0
inline void SnapshotScheduleInfoPB::clear_has_options() {
6810
0
  _has_bits_[0] &= ~0x00000002u;
6811
0
}
6812
0
inline void SnapshotScheduleInfoPB::clear_options() {
6813
0
  if (options_ != NULL) options_->Clear();
6814
0
  clear_has_options();
6815
0
}
6816
0
inline const ::yb::master::SnapshotScheduleOptionsPB& SnapshotScheduleInfoPB::options() const {
6817
0
  const ::yb::master::SnapshotScheduleOptionsPB* p = options_;
6818
0
  // @@protoc_insertion_point(field_get:yb.master.SnapshotScheduleInfoPB.options)
6819
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::SnapshotScheduleOptionsPB*>(
6820
0
      &::yb::master::_SnapshotScheduleOptionsPB_default_instance_);
6821
0
}
6822
0
inline ::yb::master::SnapshotScheduleOptionsPB* SnapshotScheduleInfoPB::release_options() {
6823
0
  // @@protoc_insertion_point(field_release:yb.master.SnapshotScheduleInfoPB.options)
6824
0
  clear_has_options();
6825
0
  ::yb::master::SnapshotScheduleOptionsPB* temp = options_;
6826
0
  options_ = NULL;
6827
0
  return temp;
6828
0
}
6829
0
inline ::yb::master::SnapshotScheduleOptionsPB* SnapshotScheduleInfoPB::mutable_options() {
6830
0
  set_has_options();
6831
0
  if (options_ == NULL) {
6832
0
    options_ = new ::yb::master::SnapshotScheduleOptionsPB;
6833
0
  }
6834
0
  // @@protoc_insertion_point(field_mutable:yb.master.SnapshotScheduleInfoPB.options)
6835
0
  return options_;
6836
0
}
6837
0
inline void SnapshotScheduleInfoPB::set_allocated_options(::yb::master::SnapshotScheduleOptionsPB* options) {
6838
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6839
0
  if (message_arena == NULL) {
6840
0
    delete options_;
6841
0
  }
6842
0
  if (options) {
6843
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6844
0
    if (message_arena != submessage_arena) {
6845
0
      options = ::google::protobuf::internal::GetOwnedMessage(
6846
0
          message_arena, options, submessage_arena);
6847
0
    }
6848
0
    set_has_options();
6849
0
  } else {
6850
0
    clear_has_options();
6851
0
  }
6852
0
  options_ = options;
6853
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.SnapshotScheduleInfoPB.options)
6854
0
}
6855
6856
// repeated .yb.master.SnapshotInfoPB snapshots = 3;
6857
0
inline int SnapshotScheduleInfoPB::snapshots_size() const {
6858
0
  return snapshots_.size();
6859
0
}
6860
0
inline void SnapshotScheduleInfoPB::clear_snapshots() {
6861
0
  snapshots_.Clear();
6862
0
}
6863
0
inline const ::yb::master::SnapshotInfoPB& SnapshotScheduleInfoPB::snapshots(int index) const {
6864
0
  // @@protoc_insertion_point(field_get:yb.master.SnapshotScheduleInfoPB.snapshots)
6865
0
  return snapshots_.Get(index);
6866
0
}
6867
0
inline ::yb::master::SnapshotInfoPB* SnapshotScheduleInfoPB::mutable_snapshots(int index) {
6868
0
  // @@protoc_insertion_point(field_mutable:yb.master.SnapshotScheduleInfoPB.snapshots)
6869
0
  return snapshots_.Mutable(index);
6870
0
}
6871
0
inline ::yb::master::SnapshotInfoPB* SnapshotScheduleInfoPB::add_snapshots() {
6872
0
  // @@protoc_insertion_point(field_add:yb.master.SnapshotScheduleInfoPB.snapshots)
6873
0
  return snapshots_.Add();
6874
0
}
6875
inline ::google::protobuf::RepeatedPtrField< ::yb::master::SnapshotInfoPB >*
6876
0
SnapshotScheduleInfoPB::mutable_snapshots() {
6877
0
  // @@protoc_insertion_point(field_mutable_list:yb.master.SnapshotScheduleInfoPB.snapshots)
6878
0
  return &snapshots_;
6879
0
}
6880
inline const ::google::protobuf::RepeatedPtrField< ::yb::master::SnapshotInfoPB >&
6881
0
SnapshotScheduleInfoPB::snapshots() const {
6882
0
  // @@protoc_insertion_point(field_list:yb.master.SnapshotScheduleInfoPB.snapshots)
6883
0
  return snapshots_;
6884
0
}
6885
6886
// -------------------------------------------------------------------
6887
6888
// ListSnapshotSchedulesResponsePB
6889
6890
// optional .yb.master.MasterErrorPB error = 1;
6891
0
inline bool ListSnapshotSchedulesResponsePB::has_error() const {
6892
0
  return (_has_bits_[0] & 0x00000001u) != 0;
6893
0
}
6894
0
inline void ListSnapshotSchedulesResponsePB::set_has_error() {
6895
0
  _has_bits_[0] |= 0x00000001u;
6896
0
}
6897
0
inline void ListSnapshotSchedulesResponsePB::clear_has_error() {
6898
0
  _has_bits_[0] &= ~0x00000001u;
6899
0
}
6900
0
inline const ::yb::master::MasterErrorPB& ListSnapshotSchedulesResponsePB::error() const {
6901
0
  const ::yb::master::MasterErrorPB* p = error_;
6902
0
  // @@protoc_insertion_point(field_get:yb.master.ListSnapshotSchedulesResponsePB.error)
6903
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>(
6904
0
      &::yb::master::_MasterErrorPB_default_instance_);
6905
0
}
6906
0
inline ::yb::master::MasterErrorPB* ListSnapshotSchedulesResponsePB::release_error() {
6907
0
  // @@protoc_insertion_point(field_release:yb.master.ListSnapshotSchedulesResponsePB.error)
6908
0
  clear_has_error();
6909
0
  ::yb::master::MasterErrorPB* temp = error_;
6910
0
  error_ = NULL;
6911
0
  return temp;
6912
0
}
6913
0
inline ::yb::master::MasterErrorPB* ListSnapshotSchedulesResponsePB::mutable_error() {
6914
0
  set_has_error();
6915
0
  if (error_ == NULL) {
6916
0
    error_ = new ::yb::master::MasterErrorPB;
6917
0
  }
6918
0
  // @@protoc_insertion_point(field_mutable:yb.master.ListSnapshotSchedulesResponsePB.error)
6919
0
  return error_;
6920
0
}
6921
0
inline void ListSnapshotSchedulesResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) {
6922
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6923
0
  if (message_arena == NULL) {
6924
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
6925
0
  }
6926
0
  if (error) {
6927
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6928
0
    if (message_arena != submessage_arena) {
6929
0
      error = ::google::protobuf::internal::GetOwnedMessage(
6930
0
          message_arena, error, submessage_arena);
6931
0
    }
6932
0
    set_has_error();
6933
0
  } else {
6934
0
    clear_has_error();
6935
0
  }
6936
0
  error_ = error;
6937
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ListSnapshotSchedulesResponsePB.error)
6938
0
}
6939
6940
// repeated .yb.master.SnapshotScheduleInfoPB schedules = 2;
6941
0
inline int ListSnapshotSchedulesResponsePB::schedules_size() const {
6942
0
  return schedules_.size();
6943
0
}
6944
0
inline void ListSnapshotSchedulesResponsePB::clear_schedules() {
6945
0
  schedules_.Clear();
6946
0
}
6947
0
inline const ::yb::master::SnapshotScheduleInfoPB& ListSnapshotSchedulesResponsePB::schedules(int index) const {
6948
0
  // @@protoc_insertion_point(field_get:yb.master.ListSnapshotSchedulesResponsePB.schedules)
6949
0
  return schedules_.Get(index);
6950
0
}
6951
0
inline ::yb::master::SnapshotScheduleInfoPB* ListSnapshotSchedulesResponsePB::mutable_schedules(int index) {
6952
0
  // @@protoc_insertion_point(field_mutable:yb.master.ListSnapshotSchedulesResponsePB.schedules)
6953
0
  return schedules_.Mutable(index);
6954
0
}
6955
0
inline ::yb::master::SnapshotScheduleInfoPB* ListSnapshotSchedulesResponsePB::add_schedules() {
6956
0
  // @@protoc_insertion_point(field_add:yb.master.ListSnapshotSchedulesResponsePB.schedules)
6957
0
  return schedules_.Add();
6958
0
}
6959
inline ::google::protobuf::RepeatedPtrField< ::yb::master::SnapshotScheduleInfoPB >*
6960
0
ListSnapshotSchedulesResponsePB::mutable_schedules() {
6961
0
  // @@protoc_insertion_point(field_mutable_list:yb.master.ListSnapshotSchedulesResponsePB.schedules)
6962
0
  return &schedules_;
6963
0
}
6964
inline const ::google::protobuf::RepeatedPtrField< ::yb::master::SnapshotScheduleInfoPB >&
6965
0
ListSnapshotSchedulesResponsePB::schedules() const {
6966
0
  // @@protoc_insertion_point(field_list:yb.master.ListSnapshotSchedulesResponsePB.schedules)
6967
0
  return schedules_;
6968
0
}
6969
6970
// -------------------------------------------------------------------
6971
6972
// DeleteSnapshotScheduleRequestPB
6973
6974
// optional bytes snapshot_schedule_id = 1;
6975
0
inline bool DeleteSnapshotScheduleRequestPB::has_snapshot_schedule_id() const {
6976
0
  return (_has_bits_[0] & 0x00000001u) != 0;
6977
0
}
6978
0
inline void DeleteSnapshotScheduleRequestPB::set_has_snapshot_schedule_id() {
6979
0
  _has_bits_[0] |= 0x00000001u;
6980
0
}
6981
0
inline void DeleteSnapshotScheduleRequestPB::clear_has_snapshot_schedule_id() {
6982
0
  _has_bits_[0] &= ~0x00000001u;
6983
0
}
6984
0
inline void DeleteSnapshotScheduleRequestPB::clear_snapshot_schedule_id() {
6985
0
  snapshot_schedule_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6986
0
  clear_has_snapshot_schedule_id();
6987
0
}
6988
0
inline const ::std::string& DeleteSnapshotScheduleRequestPB::snapshot_schedule_id() const {
6989
0
  // @@protoc_insertion_point(field_get:yb.master.DeleteSnapshotScheduleRequestPB.snapshot_schedule_id)
6990
0
  return snapshot_schedule_id_.GetNoArena();
6991
0
}
6992
0
inline void DeleteSnapshotScheduleRequestPB::set_snapshot_schedule_id(const ::std::string& value) {
6993
0
  set_has_snapshot_schedule_id();
6994
0
  snapshot_schedule_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6995
0
  // @@protoc_insertion_point(field_set:yb.master.DeleteSnapshotScheduleRequestPB.snapshot_schedule_id)
6996
0
}
6997
#if LANG_CXX11
6998
0
inline void DeleteSnapshotScheduleRequestPB::set_snapshot_schedule_id(::std::string&& value) {
6999
0
  set_has_snapshot_schedule_id();
7000
0
  snapshot_schedule_id_.SetNoArena(
7001
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
7002
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.DeleteSnapshotScheduleRequestPB.snapshot_schedule_id)
7003
0
}
7004
#endif
7005
0
inline void DeleteSnapshotScheduleRequestPB::set_snapshot_schedule_id(const char* value) {
7006
0
  GOOGLE_DCHECK(value != NULL);
7007
0
  set_has_snapshot_schedule_id();
7008
0
  snapshot_schedule_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7009
0
  // @@protoc_insertion_point(field_set_char:yb.master.DeleteSnapshotScheduleRequestPB.snapshot_schedule_id)
7010
0
}
7011
0
inline void DeleteSnapshotScheduleRequestPB::set_snapshot_schedule_id(const void* value, size_t size) {
7012
0
  set_has_snapshot_schedule_id();
7013
0
  snapshot_schedule_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7014
0
      ::std::string(reinterpret_cast<const char*>(value), size));
7015
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.DeleteSnapshotScheduleRequestPB.snapshot_schedule_id)
7016
0
}
7017
0
inline ::std::string* DeleteSnapshotScheduleRequestPB::mutable_snapshot_schedule_id() {
7018
0
  set_has_snapshot_schedule_id();
7019
0
  // @@protoc_insertion_point(field_mutable:yb.master.DeleteSnapshotScheduleRequestPB.snapshot_schedule_id)
7020
0
  return snapshot_schedule_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7021
0
}
7022
0
inline ::std::string* DeleteSnapshotScheduleRequestPB::release_snapshot_schedule_id() {
7023
0
  // @@protoc_insertion_point(field_release:yb.master.DeleteSnapshotScheduleRequestPB.snapshot_schedule_id)
7024
0
  clear_has_snapshot_schedule_id();
7025
0
  return snapshot_schedule_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7026
0
}
7027
0
inline void DeleteSnapshotScheduleRequestPB::set_allocated_snapshot_schedule_id(::std::string* snapshot_schedule_id) {
7028
0
  if (snapshot_schedule_id != NULL) {
7029
0
    set_has_snapshot_schedule_id();
7030
0
  } else {
7031
0
    clear_has_snapshot_schedule_id();
7032
0
  }
7033
0
  snapshot_schedule_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshot_schedule_id);
7034
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.DeleteSnapshotScheduleRequestPB.snapshot_schedule_id)
7035
0
}
7036
7037
// -------------------------------------------------------------------
7038
7039
// DeleteSnapshotScheduleResponsePB
7040
7041
// optional .yb.master.MasterErrorPB error = 1;
7042
0
inline bool DeleteSnapshotScheduleResponsePB::has_error() const {
7043
0
  return (_has_bits_[0] & 0x00000001u) != 0;
7044
0
}
7045
0
inline void DeleteSnapshotScheduleResponsePB::set_has_error() {
7046
0
  _has_bits_[0] |= 0x00000001u;
7047
0
}
7048
0
inline void DeleteSnapshotScheduleResponsePB::clear_has_error() {
7049
0
  _has_bits_[0] &= ~0x00000001u;
7050
0
}
7051
0
inline const ::yb::master::MasterErrorPB& DeleteSnapshotScheduleResponsePB::error() const {
7052
0
  const ::yb::master::MasterErrorPB* p = error_;
7053
0
  // @@protoc_insertion_point(field_get:yb.master.DeleteSnapshotScheduleResponsePB.error)
7054
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>(
7055
0
      &::yb::master::_MasterErrorPB_default_instance_);
7056
0
}
7057
0
inline ::yb::master::MasterErrorPB* DeleteSnapshotScheduleResponsePB::release_error() {
7058
0
  // @@protoc_insertion_point(field_release:yb.master.DeleteSnapshotScheduleResponsePB.error)
7059
0
  clear_has_error();
7060
0
  ::yb::master::MasterErrorPB* temp = error_;
7061
0
  error_ = NULL;
7062
0
  return temp;
7063
0
}
7064
0
inline ::yb::master::MasterErrorPB* DeleteSnapshotScheduleResponsePB::mutable_error() {
7065
0
  set_has_error();
7066
0
  if (error_ == NULL) {
7067
0
    error_ = new ::yb::master::MasterErrorPB;
7068
0
  }
7069
0
  // @@protoc_insertion_point(field_mutable:yb.master.DeleteSnapshotScheduleResponsePB.error)
7070
0
  return error_;
7071
0
}
7072
0
inline void DeleteSnapshotScheduleResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) {
7073
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
7074
0
  if (message_arena == NULL) {
7075
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
7076
0
  }
7077
0
  if (error) {
7078
0
    ::google::protobuf::Arena* submessage_arena = NULL;
7079
0
    if (message_arena != submessage_arena) {
7080
0
      error = ::google::protobuf::internal::GetOwnedMessage(
7081
0
          message_arena, error, submessage_arena);
7082
0
    }
7083
0
    set_has_error();
7084
0
  } else {
7085
0
    clear_has_error();
7086
0
  }
7087
0
  error_ = error;
7088
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.DeleteSnapshotScheduleResponsePB.error)
7089
0
}
7090
7091
#ifdef __GNUC__
7092
  #pragma GCC diagnostic pop
7093
#endif  // __GNUC__
7094
// -------------------------------------------------------------------
7095
7096
// -------------------------------------------------------------------
7097
7098
// -------------------------------------------------------------------
7099
7100
// -------------------------------------------------------------------
7101
7102
// -------------------------------------------------------------------
7103
7104
// -------------------------------------------------------------------
7105
7106
// -------------------------------------------------------------------
7107
7108
// -------------------------------------------------------------------
7109
7110
// -------------------------------------------------------------------
7111
7112
// -------------------------------------------------------------------
7113
7114
// -------------------------------------------------------------------
7115
7116
// -------------------------------------------------------------------
7117
7118
// -------------------------------------------------------------------
7119
7120
// -------------------------------------------------------------------
7121
7122
// -------------------------------------------------------------------
7123
7124
// -------------------------------------------------------------------
7125
7126
// -------------------------------------------------------------------
7127
7128
// -------------------------------------------------------------------
7129
7130
// -------------------------------------------------------------------
7131
7132
// -------------------------------------------------------------------
7133
7134
// -------------------------------------------------------------------
7135
7136
// -------------------------------------------------------------------
7137
7138
// -------------------------------------------------------------------
7139
7140
// -------------------------------------------------------------------
7141
7142
// -------------------------------------------------------------------
7143
7144
// -------------------------------------------------------------------
7145
7146
// -------------------------------------------------------------------
7147
7148
// -------------------------------------------------------------------
7149
7150
7151
// @@protoc_insertion_point(namespace_scope)
7152
7153
}  // namespace master
7154
}  // namespace yb
7155
7156
namespace google {
7157
namespace protobuf {
7158
7159
template <> struct is_proto_enum< ::yb::master::ImportSnapshotMetaResponsePB_TableType> : ::google::protobuf::internal::true_type {};
7160
template <>
7161
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::master::ImportSnapshotMetaResponsePB_TableType>() {
7162
0
  return ::yb::master::ImportSnapshotMetaResponsePB_TableType_descriptor();
7163
0
}
7164
7165
}  // namespace protobuf
7166
}  // namespace google
7167
7168
// @@protoc_insertion_point(global_scope)
7169
7170
#endif  // PROTOBUF_yb_2fmaster_2fmaster_5fbackup_2eproto__INCLUDED