YugabyteDB (2.13.1.0-b60, 21121d69985fbf76aa6958d8f04a9bfa936293b5)

Coverage Report

Created: 2022-03-22 16:43

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/master/master_encryption.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_encryption.proto
3
4
#ifndef PROTOBUF_yb_2fmaster_2fmaster_5fencryption_2eproto__INCLUDED
5
#define PROTOBUF_yb_2fmaster_2fmaster_5fencryption_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/unknown_field_set.h>
32
#include "yb/encryption/encryption.pb.h"
33
#include "yb/master/master_types.pb.h"
34
#include "yb/rpc/service.pb.h"
35
// @@protoc_insertion_point(includes)
36
37
namespace protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto {
38
// Internal implementation detail -- do not use these members.
39
struct TableStruct {
40
  static const ::google::protobuf::internal::ParseTableField entries[];
41
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
42
  static const ::google::protobuf::internal::ParseTable schema[10];
43
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
44
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
45
  static const ::google::protobuf::uint32 offsets[];
46
};
47
void AddDescriptors();
48
void InitDefaultsChangeEncryptionInfoRequestPBImpl();
49
void InitDefaultsChangeEncryptionInfoRequestPB();
50
void InitDefaultsChangeEncryptionInfoResponsePBImpl();
51
void InitDefaultsChangeEncryptionInfoResponsePB();
52
void InitDefaultsIsEncryptionEnabledRequestPBImpl();
53
void InitDefaultsIsEncryptionEnabledRequestPB();
54
void InitDefaultsIsEncryptionEnabledResponsePBImpl();
55
void InitDefaultsIsEncryptionEnabledResponsePB();
56
void InitDefaultsAddUniverseKeysRequestPBImpl();
57
void InitDefaultsAddUniverseKeysRequestPB();
58
void InitDefaultsAddUniverseKeysResponsePBImpl();
59
void InitDefaultsAddUniverseKeysResponsePB();
60
void InitDefaultsGetUniverseKeyRegistryRequestPBImpl();
61
void InitDefaultsGetUniverseKeyRegistryRequestPB();
62
void InitDefaultsGetUniverseKeyRegistryResponsePBImpl();
63
void InitDefaultsGetUniverseKeyRegistryResponsePB();
64
void InitDefaultsHasUniverseKeyInMemoryRequestPBImpl();
65
void InitDefaultsHasUniverseKeyInMemoryRequestPB();
66
void InitDefaultsHasUniverseKeyInMemoryResponsePBImpl();
67
void InitDefaultsHasUniverseKeyInMemoryResponsePB();
68
26.8k
inline void InitDefaults() {
69
26.8k
  InitDefaultsChangeEncryptionInfoRequestPB();
70
26.8k
  InitDefaultsChangeEncryptionInfoResponsePB();
71
26.8k
  InitDefaultsIsEncryptionEnabledRequestPB();
72
26.8k
  InitDefaultsIsEncryptionEnabledResponsePB();
73
26.8k
  InitDefaultsAddUniverseKeysRequestPB();
74
26.8k
  InitDefaultsAddUniverseKeysResponsePB();
75
26.8k
  InitDefaultsGetUniverseKeyRegistryRequestPB();
76
26.8k
  InitDefaultsGetUniverseKeyRegistryResponsePB();
77
26.8k
  InitDefaultsHasUniverseKeyInMemoryRequestPB();
78
26.8k
  InitDefaultsHasUniverseKeyInMemoryResponsePB();
79
26.8k
}
80
}  // namespace protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto
81
namespace yb {
82
namespace master {
83
class AddUniverseKeysRequestPB;
84
class AddUniverseKeysRequestPBDefaultTypeInternal;
85
extern AddUniverseKeysRequestPBDefaultTypeInternal _AddUniverseKeysRequestPB_default_instance_;
86
class AddUniverseKeysResponsePB;
87
class AddUniverseKeysResponsePBDefaultTypeInternal;
88
extern AddUniverseKeysResponsePBDefaultTypeInternal _AddUniverseKeysResponsePB_default_instance_;
89
class ChangeEncryptionInfoRequestPB;
90
class ChangeEncryptionInfoRequestPBDefaultTypeInternal;
91
extern ChangeEncryptionInfoRequestPBDefaultTypeInternal _ChangeEncryptionInfoRequestPB_default_instance_;
92
class ChangeEncryptionInfoResponsePB;
93
class ChangeEncryptionInfoResponsePBDefaultTypeInternal;
94
extern ChangeEncryptionInfoResponsePBDefaultTypeInternal _ChangeEncryptionInfoResponsePB_default_instance_;
95
class GetUniverseKeyRegistryRequestPB;
96
class GetUniverseKeyRegistryRequestPBDefaultTypeInternal;
97
extern GetUniverseKeyRegistryRequestPBDefaultTypeInternal _GetUniverseKeyRegistryRequestPB_default_instance_;
98
class GetUniverseKeyRegistryResponsePB;
99
class GetUniverseKeyRegistryResponsePBDefaultTypeInternal;
100
extern GetUniverseKeyRegistryResponsePBDefaultTypeInternal _GetUniverseKeyRegistryResponsePB_default_instance_;
101
class HasUniverseKeyInMemoryRequestPB;
102
class HasUniverseKeyInMemoryRequestPBDefaultTypeInternal;
103
extern HasUniverseKeyInMemoryRequestPBDefaultTypeInternal _HasUniverseKeyInMemoryRequestPB_default_instance_;
104
class HasUniverseKeyInMemoryResponsePB;
105
class HasUniverseKeyInMemoryResponsePBDefaultTypeInternal;
106
extern HasUniverseKeyInMemoryResponsePBDefaultTypeInternal _HasUniverseKeyInMemoryResponsePB_default_instance_;
107
class IsEncryptionEnabledRequestPB;
108
class IsEncryptionEnabledRequestPBDefaultTypeInternal;
109
extern IsEncryptionEnabledRequestPBDefaultTypeInternal _IsEncryptionEnabledRequestPB_default_instance_;
110
class IsEncryptionEnabledResponsePB;
111
class IsEncryptionEnabledResponsePBDefaultTypeInternal;
112
extern IsEncryptionEnabledResponsePBDefaultTypeInternal _IsEncryptionEnabledResponsePB_default_instance_;
113
}  // namespace master
114
}  // namespace yb
115
namespace yb {
116
namespace master {
117
118
// ===================================================================
119
120
class ChangeEncryptionInfoRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ChangeEncryptionInfoRequestPB) */ {
121
 public:
122
  ChangeEncryptionInfoRequestPB();
123
  virtual ~ChangeEncryptionInfoRequestPB();
124
125
  ChangeEncryptionInfoRequestPB(const ChangeEncryptionInfoRequestPB& from);
126
127
0
  inline ChangeEncryptionInfoRequestPB& operator=(const ChangeEncryptionInfoRequestPB& from) {
128
0
    CopyFrom(from);
129
0
    return *this;
130
0
  }
131
  #if LANG_CXX11
132
  ChangeEncryptionInfoRequestPB(ChangeEncryptionInfoRequestPB&& from) noexcept
133
0
    : ChangeEncryptionInfoRequestPB() {
134
0
    *this = ::std::move(from);
135
0
  }
136
137
0
  inline ChangeEncryptionInfoRequestPB& operator=(ChangeEncryptionInfoRequestPB&& from) noexcept {
138
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
139
0
      if (this != &from) InternalSwap(&from);
140
0
    } else {
141
0
      CopyFrom(from);
142
0
    }
143
0
    return *this;
144
0
  }
145
  #endif
146
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
147
0
    return _internal_metadata_.unknown_fields();
148
0
  }
149
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
150
0
    return _internal_metadata_.mutable_unknown_fields();
151
0
  }
152
153
  static const ::google::protobuf::Descriptor* descriptor();
154
  static const ChangeEncryptionInfoRequestPB& default_instance();
155
156
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
157
26.8k
  static inline const ChangeEncryptionInfoRequestPB* internal_default_instance() {
158
26.8k
    return reinterpret_cast<const ChangeEncryptionInfoRequestPB*>(
159
26.8k
               &_ChangeEncryptionInfoRequestPB_default_instance_);
160
26.8k
  }
161
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
162
    0;
163
164
  void Swap(ChangeEncryptionInfoRequestPB* other);
165
0
  friend void swap(ChangeEncryptionInfoRequestPB& a, ChangeEncryptionInfoRequestPB& b) {
166
0
    a.Swap(&b);
167
0
  }
168
169
  // implements Message ----------------------------------------------
170
171
0
  inline ChangeEncryptionInfoRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
172
173
  ChangeEncryptionInfoRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
174
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
175
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
176
  void CopyFrom(const ChangeEncryptionInfoRequestPB& from);
177
  void MergeFrom(const ChangeEncryptionInfoRequestPB& from);
178
  void Clear() PROTOBUF_FINAL;
179
  bool IsInitialized() const PROTOBUF_FINAL;
180
181
  size_t ByteSizeLong() const PROTOBUF_FINAL;
182
  bool MergePartialFromCodedStream(
183
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
184
  void SerializeWithCachedSizes(
185
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
186
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
187
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
188
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
189
  private:
190
  void SharedCtor();
191
  void SharedDtor();
192
  void SetCachedSize(int size) const PROTOBUF_FINAL;
193
  void InternalSwap(ChangeEncryptionInfoRequestPB* other);
194
  private:
195
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
196
0
    return NULL;
197
0
  }
198
0
  inline void* MaybeArenaPtr() const {
199
0
    return NULL;
200
0
  }
201
  public:
202
203
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
204
205
  // nested types ----------------------------------------------------
206
207
  // accessors -------------------------------------------------------
208
209
  // optional string key_path = 2;
210
  bool has_key_path() const;
211
  void clear_key_path();
212
  static const int kKeyPathFieldNumber = 2;
213
  const ::std::string& key_path() const;
214
  void set_key_path(const ::std::string& value);
215
  #if LANG_CXX11
216
  void set_key_path(::std::string&& value);
217
  #endif
218
  void set_key_path(const char* value);
219
  void set_key_path(const char* value, size_t size);
220
  ::std::string* mutable_key_path();
221
  ::std::string* release_key_path();
222
  void set_allocated_key_path(::std::string* key_path);
223
224
  // optional string version_id = 3;
225
  bool has_version_id() const;
226
  void clear_version_id();
227
  static const int kVersionIdFieldNumber = 3;
228
  const ::std::string& version_id() const;
229
  void set_version_id(const ::std::string& value);
230
  #if LANG_CXX11
231
  void set_version_id(::std::string&& value);
232
  #endif
233
  void set_version_id(const char* value);
234
  void set_version_id(const char* value, size_t size);
235
  ::std::string* mutable_version_id();
236
  ::std::string* release_version_id();
237
  void set_allocated_version_id(::std::string* version_id);
238
239
  // optional bool encryption_enabled = 1;
240
  bool has_encryption_enabled() const;
241
  void clear_encryption_enabled();
242
  static const int kEncryptionEnabledFieldNumber = 1;
243
  bool encryption_enabled() const;
244
  void set_encryption_enabled(bool value);
245
246
  // optional bool in_memory = 4;
247
  bool has_in_memory() const;
248
  void clear_in_memory();
249
  static const int kInMemoryFieldNumber = 4;
250
  bool in_memory() const;
251
  void set_in_memory(bool value);
252
253
  // @@protoc_insertion_point(class_scope:yb.master.ChangeEncryptionInfoRequestPB)
254
 private:
255
  void set_has_encryption_enabled();
256
  void clear_has_encryption_enabled();
257
  void set_has_key_path();
258
  void clear_has_key_path();
259
  void set_has_version_id();
260
  void clear_has_version_id();
261
  void set_has_in_memory();
262
  void clear_has_in_memory();
263
264
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
265
  ::google::protobuf::internal::HasBits<1> _has_bits_;
266
  mutable int _cached_size_;
267
  ::google::protobuf::internal::ArenaStringPtr key_path_;
268
  ::google::protobuf::internal::ArenaStringPtr version_id_;
269
  bool encryption_enabled_;
270
  bool in_memory_;
271
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::TableStruct;
272
  friend void ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::InitDefaultsChangeEncryptionInfoRequestPBImpl();
273
};
274
// -------------------------------------------------------------------
275
276
class ChangeEncryptionInfoResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ChangeEncryptionInfoResponsePB) */ {
277
 public:
278
  ChangeEncryptionInfoResponsePB();
279
  virtual ~ChangeEncryptionInfoResponsePB();
280
281
  ChangeEncryptionInfoResponsePB(const ChangeEncryptionInfoResponsePB& from);
282
283
0
  inline ChangeEncryptionInfoResponsePB& operator=(const ChangeEncryptionInfoResponsePB& from) {
284
0
    CopyFrom(from);
285
0
    return *this;
286
0
  }
287
  #if LANG_CXX11
288
  ChangeEncryptionInfoResponsePB(ChangeEncryptionInfoResponsePB&& from) noexcept
289
0
    : ChangeEncryptionInfoResponsePB() {
290
0
    *this = ::std::move(from);
291
0
  }
292
293
0
  inline ChangeEncryptionInfoResponsePB& operator=(ChangeEncryptionInfoResponsePB&& from) noexcept {
294
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
295
0
      if (this != &from) InternalSwap(&from);
296
0
    } else {
297
0
      CopyFrom(from);
298
0
    }
299
0
    return *this;
300
0
  }
301
  #endif
302
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
303
0
    return _internal_metadata_.unknown_fields();
304
0
  }
305
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
306
0
    return _internal_metadata_.mutable_unknown_fields();
307
0
  }
308
309
  static const ::google::protobuf::Descriptor* descriptor();
310
  static const ChangeEncryptionInfoResponsePB& default_instance();
311
312
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
313
26.9k
  static inline const ChangeEncryptionInfoResponsePB* internal_default_instance() {
314
26.9k
    return reinterpret_cast<const ChangeEncryptionInfoResponsePB*>(
315
26.9k
               &_ChangeEncryptionInfoResponsePB_default_instance_);
316
26.9k
  }
317
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
318
    1;
319
320
  void Swap(ChangeEncryptionInfoResponsePB* other);
321
0
  friend void swap(ChangeEncryptionInfoResponsePB& a, ChangeEncryptionInfoResponsePB& b) {
322
0
    a.Swap(&b);
323
0
  }
324
325
  // implements Message ----------------------------------------------
326
327
0
  inline ChangeEncryptionInfoResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
328
329
  ChangeEncryptionInfoResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
330
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
331
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
332
  void CopyFrom(const ChangeEncryptionInfoResponsePB& from);
333
  void MergeFrom(const ChangeEncryptionInfoResponsePB& from);
334
  void Clear() PROTOBUF_FINAL;
335
  bool IsInitialized() const PROTOBUF_FINAL;
336
337
  size_t ByteSizeLong() const PROTOBUF_FINAL;
338
  bool MergePartialFromCodedStream(
339
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
340
  void SerializeWithCachedSizes(
341
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
342
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
343
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
344
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
345
  private:
346
  void SharedCtor();
347
  void SharedDtor();
348
  void SetCachedSize(int size) const PROTOBUF_FINAL;
349
  void InternalSwap(ChangeEncryptionInfoResponsePB* other);
350
  private:
351
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
352
0
    return NULL;
353
0
  }
354
0
  inline void* MaybeArenaPtr() const {
355
0
    return NULL;
356
0
  }
357
  public:
358
359
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
360
361
  // nested types ----------------------------------------------------
362
363
  // accessors -------------------------------------------------------
364
365
  // optional .yb.master.MasterErrorPB error = 1;
366
  bool has_error() const;
367
  void clear_error();
368
  static const int kErrorFieldNumber = 1;
369
  const ::yb::master::MasterErrorPB& error() const;
370
  ::yb::master::MasterErrorPB* release_error();
371
  ::yb::master::MasterErrorPB* mutable_error();
372
  void set_allocated_error(::yb::master::MasterErrorPB* error);
373
374
  // @@protoc_insertion_point(class_scope:yb.master.ChangeEncryptionInfoResponsePB)
375
 private:
376
  void set_has_error();
377
  void clear_has_error();
378
379
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
380
  ::google::protobuf::internal::HasBits<1> _has_bits_;
381
  mutable int _cached_size_;
382
  ::yb::master::MasterErrorPB* error_;
383
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::TableStruct;
384
  friend void ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::InitDefaultsChangeEncryptionInfoResponsePBImpl();
385
};
386
// -------------------------------------------------------------------
387
388
class IsEncryptionEnabledRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.IsEncryptionEnabledRequestPB) */ {
389
 public:
390
  IsEncryptionEnabledRequestPB();
391
  virtual ~IsEncryptionEnabledRequestPB();
392
393
  IsEncryptionEnabledRequestPB(const IsEncryptionEnabledRequestPB& from);
394
395
0
  inline IsEncryptionEnabledRequestPB& operator=(const IsEncryptionEnabledRequestPB& from) {
396
0
    CopyFrom(from);
397
0
    return *this;
398
0
  }
399
  #if LANG_CXX11
400
  IsEncryptionEnabledRequestPB(IsEncryptionEnabledRequestPB&& from) noexcept
401
0
    : IsEncryptionEnabledRequestPB() {
402
0
    *this = ::std::move(from);
403
0
  }
404
405
0
  inline IsEncryptionEnabledRequestPB& operator=(IsEncryptionEnabledRequestPB&& from) noexcept {
406
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
407
0
      if (this != &from) InternalSwap(&from);
408
0
    } else {
409
0
      CopyFrom(from);
410
0
    }
411
0
    return *this;
412
0
  }
413
  #endif
414
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
415
0
    return _internal_metadata_.unknown_fields();
416
0
  }
417
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
418
0
    return _internal_metadata_.mutable_unknown_fields();
419
0
  }
420
421
  static const ::google::protobuf::Descriptor* descriptor();
422
  static const IsEncryptionEnabledRequestPB& default_instance();
423
424
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
425
26.8k
  static inline const IsEncryptionEnabledRequestPB* internal_default_instance() {
426
26.8k
    return reinterpret_cast<const IsEncryptionEnabledRequestPB*>(
427
26.8k
               &_IsEncryptionEnabledRequestPB_default_instance_);
428
26.8k
  }
429
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
430
    2;
431
432
  void Swap(IsEncryptionEnabledRequestPB* other);
433
0
  friend void swap(IsEncryptionEnabledRequestPB& a, IsEncryptionEnabledRequestPB& b) {
434
0
    a.Swap(&b);
435
0
  }
436
437
  // implements Message ----------------------------------------------
438
439
0
  inline IsEncryptionEnabledRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
440
441
  IsEncryptionEnabledRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
442
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
443
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
444
  void CopyFrom(const IsEncryptionEnabledRequestPB& from);
445
  void MergeFrom(const IsEncryptionEnabledRequestPB& from);
446
  void Clear() PROTOBUF_FINAL;
447
  bool IsInitialized() const PROTOBUF_FINAL;
448
449
  size_t ByteSizeLong() const PROTOBUF_FINAL;
450
  bool MergePartialFromCodedStream(
451
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
452
  void SerializeWithCachedSizes(
453
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
454
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
455
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
456
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
457
  private:
458
  void SharedCtor();
459
  void SharedDtor();
460
  void SetCachedSize(int size) const PROTOBUF_FINAL;
461
  void InternalSwap(IsEncryptionEnabledRequestPB* other);
462
  private:
463
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
464
0
    return NULL;
465
0
  }
466
0
  inline void* MaybeArenaPtr() const {
467
0
    return NULL;
468
0
  }
469
  public:
470
471
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
472
473
  // nested types ----------------------------------------------------
474
475
  // accessors -------------------------------------------------------
476
477
  // @@protoc_insertion_point(class_scope:yb.master.IsEncryptionEnabledRequestPB)
478
 private:
479
480
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
481
  ::google::protobuf::internal::HasBits<1> _has_bits_;
482
  mutable int _cached_size_;
483
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::TableStruct;
484
  friend void ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::InitDefaultsIsEncryptionEnabledRequestPBImpl();
485
};
486
// -------------------------------------------------------------------
487
488
class IsEncryptionEnabledResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.IsEncryptionEnabledResponsePB) */ {
489
 public:
490
  IsEncryptionEnabledResponsePB();
491
  virtual ~IsEncryptionEnabledResponsePB();
492
493
  IsEncryptionEnabledResponsePB(const IsEncryptionEnabledResponsePB& from);
494
495
0
  inline IsEncryptionEnabledResponsePB& operator=(const IsEncryptionEnabledResponsePB& from) {
496
0
    CopyFrom(from);
497
0
    return *this;
498
0
  }
499
  #if LANG_CXX11
500
  IsEncryptionEnabledResponsePB(IsEncryptionEnabledResponsePB&& from) noexcept
501
0
    : IsEncryptionEnabledResponsePB() {
502
0
    *this = ::std::move(from);
503
0
  }
504
505
0
  inline IsEncryptionEnabledResponsePB& operator=(IsEncryptionEnabledResponsePB&& from) noexcept {
506
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
507
0
      if (this != &from) InternalSwap(&from);
508
0
    } else {
509
0
      CopyFrom(from);
510
0
    }
511
0
    return *this;
512
0
  }
513
  #endif
514
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
515
0
    return _internal_metadata_.unknown_fields();
516
0
  }
517
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
518
0
    return _internal_metadata_.mutable_unknown_fields();
519
0
  }
520
521
  static const ::google::protobuf::Descriptor* descriptor();
522
  static const IsEncryptionEnabledResponsePB& default_instance();
523
524
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
525
26.9k
  static inline const IsEncryptionEnabledResponsePB* internal_default_instance() {
526
26.9k
    return reinterpret_cast<const IsEncryptionEnabledResponsePB*>(
527
26.9k
               &_IsEncryptionEnabledResponsePB_default_instance_);
528
26.9k
  }
529
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
530
    3;
531
532
  void Swap(IsEncryptionEnabledResponsePB* other);
533
0
  friend void swap(IsEncryptionEnabledResponsePB& a, IsEncryptionEnabledResponsePB& b) {
534
0
    a.Swap(&b);
535
0
  }
536
537
  // implements Message ----------------------------------------------
538
539
0
  inline IsEncryptionEnabledResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
540
541
  IsEncryptionEnabledResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
542
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
543
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
544
  void CopyFrom(const IsEncryptionEnabledResponsePB& from);
545
  void MergeFrom(const IsEncryptionEnabledResponsePB& from);
546
  void Clear() PROTOBUF_FINAL;
547
  bool IsInitialized() const PROTOBUF_FINAL;
548
549
  size_t ByteSizeLong() const PROTOBUF_FINAL;
550
  bool MergePartialFromCodedStream(
551
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
552
  void SerializeWithCachedSizes(
553
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
554
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
555
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
556
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
557
  private:
558
  void SharedCtor();
559
  void SharedDtor();
560
  void SetCachedSize(int size) const PROTOBUF_FINAL;
561
  void InternalSwap(IsEncryptionEnabledResponsePB* other);
562
  private:
563
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
564
0
    return NULL;
565
0
  }
566
0
  inline void* MaybeArenaPtr() const {
567
0
    return NULL;
568
0
  }
569
  public:
570
571
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
572
573
  // nested types ----------------------------------------------------
574
575
  // accessors -------------------------------------------------------
576
577
  // optional string key_id = 2;
578
  bool has_key_id() const;
579
  void clear_key_id();
580
  static const int kKeyIdFieldNumber = 2;
581
  const ::std::string& key_id() const;
582
  void set_key_id(const ::std::string& value);
583
  #if LANG_CXX11
584
  void set_key_id(::std::string&& value);
585
  #endif
586
  void set_key_id(const char* value);
587
  void set_key_id(const char* value, size_t size);
588
  ::std::string* mutable_key_id();
589
  ::std::string* release_key_id();
590
  void set_allocated_key_id(::std::string* key_id);
591
592
  // optional .yb.master.MasterErrorPB error = 3;
593
  bool has_error() const;
594
  void clear_error();
595
  static const int kErrorFieldNumber = 3;
596
  const ::yb::master::MasterErrorPB& error() const;
597
  ::yb::master::MasterErrorPB* release_error();
598
  ::yb::master::MasterErrorPB* mutable_error();
599
  void set_allocated_error(::yb::master::MasterErrorPB* error);
600
601
  // optional bool encryption_enabled = 1;
602
  bool has_encryption_enabled() const;
603
  void clear_encryption_enabled();
604
  static const int kEncryptionEnabledFieldNumber = 1;
605
  bool encryption_enabled() const;
606
  void set_encryption_enabled(bool value);
607
608
  // @@protoc_insertion_point(class_scope:yb.master.IsEncryptionEnabledResponsePB)
609
 private:
610
  void set_has_encryption_enabled();
611
  void clear_has_encryption_enabled();
612
  void set_has_key_id();
613
  void clear_has_key_id();
614
  void set_has_error();
615
  void clear_has_error();
616
617
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
618
  ::google::protobuf::internal::HasBits<1> _has_bits_;
619
  mutable int _cached_size_;
620
  ::google::protobuf::internal::ArenaStringPtr key_id_;
621
  ::yb::master::MasterErrorPB* error_;
622
  bool encryption_enabled_;
623
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::TableStruct;
624
  friend void ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::InitDefaultsIsEncryptionEnabledResponsePBImpl();
625
};
626
// -------------------------------------------------------------------
627
628
class AddUniverseKeysRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.AddUniverseKeysRequestPB) */ {
629
 public:
630
  AddUniverseKeysRequestPB();
631
  virtual ~AddUniverseKeysRequestPB();
632
633
  AddUniverseKeysRequestPB(const AddUniverseKeysRequestPB& from);
634
635
0
  inline AddUniverseKeysRequestPB& operator=(const AddUniverseKeysRequestPB& from) {
636
0
    CopyFrom(from);
637
0
    return *this;
638
0
  }
639
  #if LANG_CXX11
640
  AddUniverseKeysRequestPB(AddUniverseKeysRequestPB&& from) noexcept
641
0
    : AddUniverseKeysRequestPB() {
642
0
    *this = ::std::move(from);
643
0
  }
644
645
0
  inline AddUniverseKeysRequestPB& operator=(AddUniverseKeysRequestPB&& from) noexcept {
646
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
647
0
      if (this != &from) InternalSwap(&from);
648
0
    } else {
649
0
      CopyFrom(from);
650
0
    }
651
0
    return *this;
652
0
  }
653
  #endif
654
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
655
0
    return _internal_metadata_.unknown_fields();
656
0
  }
657
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
658
0
    return _internal_metadata_.mutable_unknown_fields();
659
0
  }
660
661
  static const ::google::protobuf::Descriptor* descriptor();
662
  static const AddUniverseKeysRequestPB& default_instance();
663
664
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
665
26.9k
  static inline const AddUniverseKeysRequestPB* internal_default_instance() {
666
26.9k
    return reinterpret_cast<const AddUniverseKeysRequestPB*>(
667
26.9k
               &_AddUniverseKeysRequestPB_default_instance_);
668
26.9k
  }
669
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
670
    4;
671
672
  void Swap(AddUniverseKeysRequestPB* other);
673
0
  friend void swap(AddUniverseKeysRequestPB& a, AddUniverseKeysRequestPB& b) {
674
0
    a.Swap(&b);
675
0
  }
676
677
  // implements Message ----------------------------------------------
678
679
0
  inline AddUniverseKeysRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
680
681
  AddUniverseKeysRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
682
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
683
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
684
  void CopyFrom(const AddUniverseKeysRequestPB& from);
685
  void MergeFrom(const AddUniverseKeysRequestPB& from);
686
  void Clear() PROTOBUF_FINAL;
687
  bool IsInitialized() const PROTOBUF_FINAL;
688
689
  size_t ByteSizeLong() const PROTOBUF_FINAL;
690
  bool MergePartialFromCodedStream(
691
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
692
  void SerializeWithCachedSizes(
693
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
694
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
695
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
696
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
697
  private:
698
  void SharedCtor();
699
  void SharedDtor();
700
  void SetCachedSize(int size) const PROTOBUF_FINAL;
701
  void InternalSwap(AddUniverseKeysRequestPB* other);
702
  private:
703
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
704
0
    return NULL;
705
0
  }
706
0
  inline void* MaybeArenaPtr() const {
707
0
    return NULL;
708
0
  }
709
  public:
710
711
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
712
713
  // nested types ----------------------------------------------------
714
715
  // accessors -------------------------------------------------------
716
717
  // optional .yb.encryption.UniverseKeysPB universe_keys = 1;
718
  bool has_universe_keys() const;
719
  void clear_universe_keys();
720
  static const int kUniverseKeysFieldNumber = 1;
721
  const ::yb::encryption::UniverseKeysPB& universe_keys() const;
722
  ::yb::encryption::UniverseKeysPB* release_universe_keys();
723
  ::yb::encryption::UniverseKeysPB* mutable_universe_keys();
724
  void set_allocated_universe_keys(::yb::encryption::UniverseKeysPB* universe_keys);
725
726
  // @@protoc_insertion_point(class_scope:yb.master.AddUniverseKeysRequestPB)
727
 private:
728
  void set_has_universe_keys();
729
  void clear_has_universe_keys();
730
731
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
732
  ::google::protobuf::internal::HasBits<1> _has_bits_;
733
  mutable int _cached_size_;
734
  ::yb::encryption::UniverseKeysPB* universe_keys_;
735
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::TableStruct;
736
  friend void ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::InitDefaultsAddUniverseKeysRequestPBImpl();
737
};
738
// -------------------------------------------------------------------
739
740
class AddUniverseKeysResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.AddUniverseKeysResponsePB) */ {
741
 public:
742
  AddUniverseKeysResponsePB();
743
  virtual ~AddUniverseKeysResponsePB();
744
745
  AddUniverseKeysResponsePB(const AddUniverseKeysResponsePB& from);
746
747
0
  inline AddUniverseKeysResponsePB& operator=(const AddUniverseKeysResponsePB& from) {
748
0
    CopyFrom(from);
749
0
    return *this;
750
0
  }
751
  #if LANG_CXX11
752
  AddUniverseKeysResponsePB(AddUniverseKeysResponsePB&& from) noexcept
753
0
    : AddUniverseKeysResponsePB() {
754
0
    *this = ::std::move(from);
755
0
  }
756
757
0
  inline AddUniverseKeysResponsePB& operator=(AddUniverseKeysResponsePB&& from) noexcept {
758
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
759
0
      if (this != &from) InternalSwap(&from);
760
0
    } else {
761
0
      CopyFrom(from);
762
0
    }
763
0
    return *this;
764
0
  }
765
  #endif
766
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
767
0
    return _internal_metadata_.unknown_fields();
768
0
  }
769
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
770
0
    return _internal_metadata_.mutable_unknown_fields();
771
0
  }
772
773
  static const ::google::protobuf::Descriptor* descriptor();
774
  static const AddUniverseKeysResponsePB& default_instance();
775
776
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
777
26.9k
  static inline const AddUniverseKeysResponsePB* internal_default_instance() {
778
26.9k
    return reinterpret_cast<const AddUniverseKeysResponsePB*>(
779
26.9k
               &_AddUniverseKeysResponsePB_default_instance_);
780
26.9k
  }
781
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
782
    5;
783
784
  void Swap(AddUniverseKeysResponsePB* other);
785
0
  friend void swap(AddUniverseKeysResponsePB& a, AddUniverseKeysResponsePB& b) {
786
0
    a.Swap(&b);
787
0
  }
788
789
  // implements Message ----------------------------------------------
790
791
0
  inline AddUniverseKeysResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
792
793
  AddUniverseKeysResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
794
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
795
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
796
  void CopyFrom(const AddUniverseKeysResponsePB& from);
797
  void MergeFrom(const AddUniverseKeysResponsePB& from);
798
  void Clear() PROTOBUF_FINAL;
799
  bool IsInitialized() const PROTOBUF_FINAL;
800
801
  size_t ByteSizeLong() const PROTOBUF_FINAL;
802
  bool MergePartialFromCodedStream(
803
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
804
  void SerializeWithCachedSizes(
805
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
806
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
807
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
808
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
809
  private:
810
  void SharedCtor();
811
  void SharedDtor();
812
  void SetCachedSize(int size) const PROTOBUF_FINAL;
813
  void InternalSwap(AddUniverseKeysResponsePB* other);
814
  private:
815
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
816
0
    return NULL;
817
0
  }
818
0
  inline void* MaybeArenaPtr() const {
819
0
    return NULL;
820
0
  }
821
  public:
822
823
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
824
825
  // nested types ----------------------------------------------------
826
827
  // accessors -------------------------------------------------------
828
829
  // optional .yb.master.MasterErrorPB error = 1;
830
  bool has_error() const;
831
  void clear_error();
832
  static const int kErrorFieldNumber = 1;
833
  const ::yb::master::MasterErrorPB& error() const;
834
  ::yb::master::MasterErrorPB* release_error();
835
  ::yb::master::MasterErrorPB* mutable_error();
836
  void set_allocated_error(::yb::master::MasterErrorPB* error);
837
838
  // @@protoc_insertion_point(class_scope:yb.master.AddUniverseKeysResponsePB)
839
 private:
840
  void set_has_error();
841
  void clear_has_error();
842
843
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
844
  ::google::protobuf::internal::HasBits<1> _has_bits_;
845
  mutable int _cached_size_;
846
  ::yb::master::MasterErrorPB* error_;
847
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::TableStruct;
848
  friend void ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::InitDefaultsAddUniverseKeysResponsePBImpl();
849
};
850
// -------------------------------------------------------------------
851
852
class GetUniverseKeyRegistryRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetUniverseKeyRegistryRequestPB) */ {
853
 public:
854
  GetUniverseKeyRegistryRequestPB();
855
  virtual ~GetUniverseKeyRegistryRequestPB();
856
857
  GetUniverseKeyRegistryRequestPB(const GetUniverseKeyRegistryRequestPB& from);
858
859
0
  inline GetUniverseKeyRegistryRequestPB& operator=(const GetUniverseKeyRegistryRequestPB& from) {
860
0
    CopyFrom(from);
861
0
    return *this;
862
0
  }
863
  #if LANG_CXX11
864
  GetUniverseKeyRegistryRequestPB(GetUniverseKeyRegistryRequestPB&& from) noexcept
865
0
    : GetUniverseKeyRegistryRequestPB() {
866
0
    *this = ::std::move(from);
867
0
  }
868
869
0
  inline GetUniverseKeyRegistryRequestPB& operator=(GetUniverseKeyRegistryRequestPB&& from) noexcept {
870
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
871
0
      if (this != &from) InternalSwap(&from);
872
0
    } else {
873
0
      CopyFrom(from);
874
0
    }
875
0
    return *this;
876
0
  }
877
  #endif
878
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
879
0
    return _internal_metadata_.unknown_fields();
880
0
  }
881
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
882
0
    return _internal_metadata_.mutable_unknown_fields();
883
0
  }
884
885
  static const ::google::protobuf::Descriptor* descriptor();
886
  static const GetUniverseKeyRegistryRequestPB& default_instance();
887
888
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
889
91.9k
  static inline const GetUniverseKeyRegistryRequestPB* internal_default_instance() {
890
91.9k
    return reinterpret_cast<const GetUniverseKeyRegistryRequestPB*>(
891
91.9k
               &_GetUniverseKeyRegistryRequestPB_default_instance_);
892
91.9k
  }
893
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
894
    6;
895
896
  void Swap(GetUniverseKeyRegistryRequestPB* other);
897
0
  friend void swap(GetUniverseKeyRegistryRequestPB& a, GetUniverseKeyRegistryRequestPB& b) {
898
0
    a.Swap(&b);
899
0
  }
900
901
  // implements Message ----------------------------------------------
902
903
0
  inline GetUniverseKeyRegistryRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
904
905
  GetUniverseKeyRegistryRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
906
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
907
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
908
  void CopyFrom(const GetUniverseKeyRegistryRequestPB& from);
909
  void MergeFrom(const GetUniverseKeyRegistryRequestPB& from);
910
  void Clear() PROTOBUF_FINAL;
911
  bool IsInitialized() const PROTOBUF_FINAL;
912
913
  size_t ByteSizeLong() const PROTOBUF_FINAL;
914
  bool MergePartialFromCodedStream(
915
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
916
  void SerializeWithCachedSizes(
917
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
918
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
919
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
920
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
921
  private:
922
  void SharedCtor();
923
  void SharedDtor();
924
  void SetCachedSize(int size) const PROTOBUF_FINAL;
925
  void InternalSwap(GetUniverseKeyRegistryRequestPB* other);
926
  private:
927
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
928
0
    return NULL;
929
0
  }
930
0
  inline void* MaybeArenaPtr() const {
931
0
    return NULL;
932
0
  }
933
  public:
934
935
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
936
937
  // nested types ----------------------------------------------------
938
939
  // accessors -------------------------------------------------------
940
941
  // @@protoc_insertion_point(class_scope:yb.master.GetUniverseKeyRegistryRequestPB)
942
 private:
943
944
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
945
  ::google::protobuf::internal::HasBits<1> _has_bits_;
946
  mutable int _cached_size_;
947
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::TableStruct;
948
  friend void ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::InitDefaultsGetUniverseKeyRegistryRequestPBImpl();
949
};
950
// -------------------------------------------------------------------
951
952
class GetUniverseKeyRegistryResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetUniverseKeyRegistryResponsePB) */ {
953
 public:
954
  GetUniverseKeyRegistryResponsePB();
955
  virtual ~GetUniverseKeyRegistryResponsePB();
956
957
  GetUniverseKeyRegistryResponsePB(const GetUniverseKeyRegistryResponsePB& from);
958
959
0
  inline GetUniverseKeyRegistryResponsePB& operator=(const GetUniverseKeyRegistryResponsePB& from) {
960
0
    CopyFrom(from);
961
0
    return *this;
962
0
  }
963
  #if LANG_CXX11
964
  GetUniverseKeyRegistryResponsePB(GetUniverseKeyRegistryResponsePB&& from) noexcept
965
0
    : GetUniverseKeyRegistryResponsePB() {
966
0
    *this = ::std::move(from);
967
0
  }
968
969
0
  inline GetUniverseKeyRegistryResponsePB& operator=(GetUniverseKeyRegistryResponsePB&& from) noexcept {
970
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
971
0
      if (this != &from) InternalSwap(&from);
972
0
    } else {
973
0
      CopyFrom(from);
974
0
    }
975
0
    return *this;
976
0
  }
977
  #endif
978
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
979
0
    return _internal_metadata_.unknown_fields();
980
0
  }
981
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
982
0
    return _internal_metadata_.mutable_unknown_fields();
983
0
  }
984
985
  static const ::google::protobuf::Descriptor* descriptor();
986
  static const GetUniverseKeyRegistryResponsePB& default_instance();
987
988
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
989
222k
  static inline const GetUniverseKeyRegistryResponsePB* internal_default_instance() {
990
222k
    return reinterpret_cast<const GetUniverseKeyRegistryResponsePB*>(
991
222k
               &_GetUniverseKeyRegistryResponsePB_default_instance_);
992
222k
  }
993
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
994
    7;
995
996
  void Swap(GetUniverseKeyRegistryResponsePB* other);
997
0
  friend void swap(GetUniverseKeyRegistryResponsePB& a, GetUniverseKeyRegistryResponsePB& b) {
998
0
    a.Swap(&b);
999
0
  }
1000
1001
  // implements Message ----------------------------------------------
1002
1003
0
  inline GetUniverseKeyRegistryResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
1004
1005
  GetUniverseKeyRegistryResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1006
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1007
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1008
  void CopyFrom(const GetUniverseKeyRegistryResponsePB& from);
1009
  void MergeFrom(const GetUniverseKeyRegistryResponsePB& from);
1010
  void Clear() PROTOBUF_FINAL;
1011
  bool IsInitialized() const PROTOBUF_FINAL;
1012
1013
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1014
  bool MergePartialFromCodedStream(
1015
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1016
  void SerializeWithCachedSizes(
1017
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1018
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1019
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1020
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1021
  private:
1022
  void SharedCtor();
1023
  void SharedDtor();
1024
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1025
  void InternalSwap(GetUniverseKeyRegistryResponsePB* other);
1026
  private:
1027
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1028
0
    return NULL;
1029
0
  }
1030
0
  inline void* MaybeArenaPtr() const {
1031
0
    return NULL;
1032
0
  }
1033
  public:
1034
1035
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1036
1037
  // nested types ----------------------------------------------------
1038
1039
  // accessors -------------------------------------------------------
1040
1041
  // optional .yb.master.MasterErrorPB error = 1;
1042
  bool has_error() const;
1043
  void clear_error();
1044
  static const int kErrorFieldNumber = 1;
1045
  const ::yb::master::MasterErrorPB& error() const;
1046
  ::yb::master::MasterErrorPB* release_error();
1047
  ::yb::master::MasterErrorPB* mutable_error();
1048
  void set_allocated_error(::yb::master::MasterErrorPB* error);
1049
1050
  // optional .yb.encryption.UniverseKeysPB universe_keys = 2;
1051
  bool has_universe_keys() const;
1052
  void clear_universe_keys();
1053
  static const int kUniverseKeysFieldNumber = 2;
1054
  const ::yb::encryption::UniverseKeysPB& universe_keys() const;
1055
  ::yb::encryption::UniverseKeysPB* release_universe_keys();
1056
  ::yb::encryption::UniverseKeysPB* mutable_universe_keys();
1057
  void set_allocated_universe_keys(::yb::encryption::UniverseKeysPB* universe_keys);
1058
1059
  // @@protoc_insertion_point(class_scope:yb.master.GetUniverseKeyRegistryResponsePB)
1060
 private:
1061
  void set_has_error();
1062
  void clear_has_error();
1063
  void set_has_universe_keys();
1064
  void clear_has_universe_keys();
1065
1066
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1067
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1068
  mutable int _cached_size_;
1069
  ::yb::master::MasterErrorPB* error_;
1070
  ::yb::encryption::UniverseKeysPB* universe_keys_;
1071
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::TableStruct;
1072
  friend void ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::InitDefaultsGetUniverseKeyRegistryResponsePBImpl();
1073
};
1074
// -------------------------------------------------------------------
1075
1076
class HasUniverseKeyInMemoryRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.HasUniverseKeyInMemoryRequestPB) */ {
1077
 public:
1078
  HasUniverseKeyInMemoryRequestPB();
1079
  virtual ~HasUniverseKeyInMemoryRequestPB();
1080
1081
  HasUniverseKeyInMemoryRequestPB(const HasUniverseKeyInMemoryRequestPB& from);
1082
1083
0
  inline HasUniverseKeyInMemoryRequestPB& operator=(const HasUniverseKeyInMemoryRequestPB& from) {
1084
0
    CopyFrom(from);
1085
0
    return *this;
1086
0
  }
1087
  #if LANG_CXX11
1088
  HasUniverseKeyInMemoryRequestPB(HasUniverseKeyInMemoryRequestPB&& from) noexcept
1089
0
    : HasUniverseKeyInMemoryRequestPB() {
1090
0
    *this = ::std::move(from);
1091
0
  }
1092
1093
0
  inline HasUniverseKeyInMemoryRequestPB& operator=(HasUniverseKeyInMemoryRequestPB&& from) noexcept {
1094
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1095
0
      if (this != &from) InternalSwap(&from);
1096
0
    } else {
1097
0
      CopyFrom(from);
1098
0
    }
1099
0
    return *this;
1100
0
  }
1101
  #endif
1102
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1103
0
    return _internal_metadata_.unknown_fields();
1104
0
  }
1105
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1106
0
    return _internal_metadata_.mutable_unknown_fields();
1107
0
  }
1108
1109
  static const ::google::protobuf::Descriptor* descriptor();
1110
  static const HasUniverseKeyInMemoryRequestPB& default_instance();
1111
1112
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1113
26.9k
  static inline const HasUniverseKeyInMemoryRequestPB* internal_default_instance() {
1114
26.9k
    return reinterpret_cast<const HasUniverseKeyInMemoryRequestPB*>(
1115
26.9k
               &_HasUniverseKeyInMemoryRequestPB_default_instance_);
1116
26.9k
  }
1117
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1118
    8;
1119
1120
  void Swap(HasUniverseKeyInMemoryRequestPB* other);
1121
0
  friend void swap(HasUniverseKeyInMemoryRequestPB& a, HasUniverseKeyInMemoryRequestPB& b) {
1122
0
    a.Swap(&b);
1123
0
  }
1124
1125
  // implements Message ----------------------------------------------
1126
1127
0
  inline HasUniverseKeyInMemoryRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
1128
1129
  HasUniverseKeyInMemoryRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1130
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1131
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1132
  void CopyFrom(const HasUniverseKeyInMemoryRequestPB& from);
1133
  void MergeFrom(const HasUniverseKeyInMemoryRequestPB& from);
1134
  void Clear() PROTOBUF_FINAL;
1135
  bool IsInitialized() const PROTOBUF_FINAL;
1136
1137
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1138
  bool MergePartialFromCodedStream(
1139
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1140
  void SerializeWithCachedSizes(
1141
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1142
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1143
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1144
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1145
  private:
1146
  void SharedCtor();
1147
  void SharedDtor();
1148
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1149
  void InternalSwap(HasUniverseKeyInMemoryRequestPB* other);
1150
  private:
1151
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1152
0
    return NULL;
1153
0
  }
1154
0
  inline void* MaybeArenaPtr() const {
1155
0
    return NULL;
1156
0
  }
1157
  public:
1158
1159
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1160
1161
  // nested types ----------------------------------------------------
1162
1163
  // accessors -------------------------------------------------------
1164
1165
  // optional string version_id = 1;
1166
  bool has_version_id() const;
1167
  void clear_version_id();
1168
  static const int kVersionIdFieldNumber = 1;
1169
  const ::std::string& version_id() const;
1170
  void set_version_id(const ::std::string& value);
1171
  #if LANG_CXX11
1172
  void set_version_id(::std::string&& value);
1173
  #endif
1174
  void set_version_id(const char* value);
1175
  void set_version_id(const char* value, size_t size);
1176
  ::std::string* mutable_version_id();
1177
  ::std::string* release_version_id();
1178
  void set_allocated_version_id(::std::string* version_id);
1179
1180
  // @@protoc_insertion_point(class_scope:yb.master.HasUniverseKeyInMemoryRequestPB)
1181
 private:
1182
  void set_has_version_id();
1183
  void clear_has_version_id();
1184
1185
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1186
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1187
  mutable int _cached_size_;
1188
  ::google::protobuf::internal::ArenaStringPtr version_id_;
1189
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::TableStruct;
1190
  friend void ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::InitDefaultsHasUniverseKeyInMemoryRequestPBImpl();
1191
};
1192
// -------------------------------------------------------------------
1193
1194
class HasUniverseKeyInMemoryResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.HasUniverseKeyInMemoryResponsePB) */ {
1195
 public:
1196
  HasUniverseKeyInMemoryResponsePB();
1197
  virtual ~HasUniverseKeyInMemoryResponsePB();
1198
1199
  HasUniverseKeyInMemoryResponsePB(const HasUniverseKeyInMemoryResponsePB& from);
1200
1201
0
  inline HasUniverseKeyInMemoryResponsePB& operator=(const HasUniverseKeyInMemoryResponsePB& from) {
1202
0
    CopyFrom(from);
1203
0
    return *this;
1204
0
  }
1205
  #if LANG_CXX11
1206
  HasUniverseKeyInMemoryResponsePB(HasUniverseKeyInMemoryResponsePB&& from) noexcept
1207
0
    : HasUniverseKeyInMemoryResponsePB() {
1208
0
    *this = ::std::move(from);
1209
0
  }
1210
1211
0
  inline HasUniverseKeyInMemoryResponsePB& operator=(HasUniverseKeyInMemoryResponsePB&& from) noexcept {
1212
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1213
0
      if (this != &from) InternalSwap(&from);
1214
0
    } else {
1215
0
      CopyFrom(from);
1216
0
    }
1217
0
    return *this;
1218
0
  }
1219
  #endif
1220
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1221
0
    return _internal_metadata_.unknown_fields();
1222
0
  }
1223
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1224
0
    return _internal_metadata_.mutable_unknown_fields();
1225
0
  }
1226
1227
  static const ::google::protobuf::Descriptor* descriptor();
1228
  static const HasUniverseKeyInMemoryResponsePB& default_instance();
1229
1230
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1231
27.0k
  static inline const HasUniverseKeyInMemoryResponsePB* internal_default_instance() {
1232
27.0k
    return reinterpret_cast<const HasUniverseKeyInMemoryResponsePB*>(
1233
27.0k
               &_HasUniverseKeyInMemoryResponsePB_default_instance_);
1234
27.0k
  }
1235
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1236
    9;
1237
1238
  void Swap(HasUniverseKeyInMemoryResponsePB* other);
1239
0
  friend void swap(HasUniverseKeyInMemoryResponsePB& a, HasUniverseKeyInMemoryResponsePB& b) {
1240
0
    a.Swap(&b);
1241
0
  }
1242
1243
  // implements Message ----------------------------------------------
1244
1245
0
  inline HasUniverseKeyInMemoryResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
1246
1247
  HasUniverseKeyInMemoryResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1248
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1249
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1250
  void CopyFrom(const HasUniverseKeyInMemoryResponsePB& from);
1251
  void MergeFrom(const HasUniverseKeyInMemoryResponsePB& from);
1252
  void Clear() PROTOBUF_FINAL;
1253
  bool IsInitialized() const PROTOBUF_FINAL;
1254
1255
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1256
  bool MergePartialFromCodedStream(
1257
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1258
  void SerializeWithCachedSizes(
1259
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1260
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1261
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1262
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1263
  private:
1264
  void SharedCtor();
1265
  void SharedDtor();
1266
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1267
  void InternalSwap(HasUniverseKeyInMemoryResponsePB* other);
1268
  private:
1269
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1270
0
    return NULL;
1271
0
  }
1272
0
  inline void* MaybeArenaPtr() const {
1273
0
    return NULL;
1274
0
  }
1275
  public:
1276
1277
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1278
1279
  // nested types ----------------------------------------------------
1280
1281
  // accessors -------------------------------------------------------
1282
1283
  // optional .yb.master.MasterErrorPB error = 2;
1284
  bool has_error() const;
1285
  void clear_error();
1286
  static const int kErrorFieldNumber = 2;
1287
  const ::yb::master::MasterErrorPB& error() const;
1288
  ::yb::master::MasterErrorPB* release_error();
1289
  ::yb::master::MasterErrorPB* mutable_error();
1290
  void set_allocated_error(::yb::master::MasterErrorPB* error);
1291
1292
  // optional bool has_key = 1;
1293
  bool has_has_key() const;
1294
  void clear_has_key();
1295
  static const int kHasKeyFieldNumber = 1;
1296
  bool has_key() const;
1297
  void set_has_key(bool value);
1298
1299
  // @@protoc_insertion_point(class_scope:yb.master.HasUniverseKeyInMemoryResponsePB)
1300
 private:
1301
  void set_has_has_key();
1302
  void clear_has_has_key();
1303
  void set_has_error();
1304
  void clear_has_error();
1305
1306
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1307
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1308
  mutable int _cached_size_;
1309
  ::yb::master::MasterErrorPB* error_;
1310
  bool has_key_;
1311
  friend struct ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::TableStruct;
1312
  friend void ::protobuf_yb_2fmaster_2fmaster_5fencryption_2eproto::InitDefaultsHasUniverseKeyInMemoryResponsePBImpl();
1313
};
1314
// ===================================================================
1315
1316
1317
// ===================================================================
1318
1319
#ifdef __GNUC__
1320
  #pragma GCC diagnostic push
1321
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1322
#endif  // __GNUC__
1323
// ChangeEncryptionInfoRequestPB
1324
1325
// optional bool encryption_enabled = 1;
1326
22
inline bool ChangeEncryptionInfoRequestPB::has_encryption_enabled() const {
1327
22
  return (_has_bits_[0] & 0x00000004u) != 0;
1328
22
}
1329
28
inline void ChangeEncryptionInfoRequestPB::set_has_encryption_enabled() {
1330
28
  _has_bits_[0] |= 0x00000004u;
1331
28
}
1332
0
inline void ChangeEncryptionInfoRequestPB::clear_has_encryption_enabled() {
1333
0
  _has_bits_[0] &= ~0x00000004u;
1334
0
}
1335
0
inline void ChangeEncryptionInfoRequestPB::clear_encryption_enabled() {
1336
0
  encryption_enabled_ = false;
1337
0
  clear_has_encryption_enabled();
1338
0
}
1339
45
inline bool ChangeEncryptionInfoRequestPB::encryption_enabled() const {
1340
  // @@protoc_insertion_point(field_get:yb.master.ChangeEncryptionInfoRequestPB.encryption_enabled)
1341
45
  return encryption_enabled_;
1342
45
}
1343
11
inline void ChangeEncryptionInfoRequestPB::set_encryption_enabled(bool value) {
1344
11
  set_has_encryption_enabled();
1345
11
  encryption_enabled_ = value;
1346
  // @@protoc_insertion_point(field_set:yb.master.ChangeEncryptionInfoRequestPB.encryption_enabled)
1347
11
}
1348
1349
// optional string key_path = 2;
1350
39
inline bool ChangeEncryptionInfoRequestPB::has_key_path() const {
1351
39
  return (_has_bits_[0] & 0x00000001u) != 0;
1352
39
}
1353
0
inline void ChangeEncryptionInfoRequestPB::set_has_key_path() {
1354
0
  _has_bits_[0] |= 0x00000001u;
1355
0
}
1356
0
inline void ChangeEncryptionInfoRequestPB::clear_has_key_path() {
1357
0
  _has_bits_[0] &= ~0x00000001u;
1358
0
}
1359
0
inline void ChangeEncryptionInfoRequestPB::clear_key_path() {
1360
0
  key_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1361
0
  clear_has_key_path();
1362
0
}
1363
17
inline const ::std::string& ChangeEncryptionInfoRequestPB::key_path() const {
1364
  // @@protoc_insertion_point(field_get:yb.master.ChangeEncryptionInfoRequestPB.key_path)
1365
17
  return key_path_.GetNoArena();
1366
17
}
1367
0
inline void ChangeEncryptionInfoRequestPB::set_key_path(const ::std::string& value) {
1368
0
  set_has_key_path();
1369
0
  key_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1370
0
  // @@protoc_insertion_point(field_set:yb.master.ChangeEncryptionInfoRequestPB.key_path)
1371
0
}
1372
#if LANG_CXX11
1373
0
inline void ChangeEncryptionInfoRequestPB::set_key_path(::std::string&& value) {
1374
0
  set_has_key_path();
1375
0
  key_path_.SetNoArena(
1376
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1377
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.ChangeEncryptionInfoRequestPB.key_path)
1378
0
}
1379
#endif
1380
0
inline void ChangeEncryptionInfoRequestPB::set_key_path(const char* value) {
1381
0
  GOOGLE_DCHECK(value != NULL);
1382
0
  set_has_key_path();
1383
0
  key_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1384
0
  // @@protoc_insertion_point(field_set_char:yb.master.ChangeEncryptionInfoRequestPB.key_path)
1385
0
}
1386
0
inline void ChangeEncryptionInfoRequestPB::set_key_path(const char* value, size_t size) {
1387
0
  set_has_key_path();
1388
0
  key_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1389
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1390
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.ChangeEncryptionInfoRequestPB.key_path)
1391
0
}
1392
0
inline ::std::string* ChangeEncryptionInfoRequestPB::mutable_key_path() {
1393
0
  set_has_key_path();
1394
0
  // @@protoc_insertion_point(field_mutable:yb.master.ChangeEncryptionInfoRequestPB.key_path)
1395
0
  return key_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1396
0
}
1397
0
inline ::std::string* ChangeEncryptionInfoRequestPB::release_key_path() {
1398
0
  // @@protoc_insertion_point(field_release:yb.master.ChangeEncryptionInfoRequestPB.key_path)
1399
0
  clear_has_key_path();
1400
0
  return key_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1401
0
}
1402
0
inline void ChangeEncryptionInfoRequestPB::set_allocated_key_path(::std::string* key_path) {
1403
0
  if (key_path != NULL) {
1404
0
    set_has_key_path();
1405
0
  } else {
1406
0
    clear_has_key_path();
1407
0
  }
1408
0
  key_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key_path);
1409
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ChangeEncryptionInfoRequestPB.key_path)
1410
0
}
1411
1412
// optional string version_id = 3;
1413
39
inline bool ChangeEncryptionInfoRequestPB::has_version_id() const {
1414
39
  return (_has_bits_[0] & 0x00000002u) != 0;
1415
39
}
1416
28
inline void ChangeEncryptionInfoRequestPB::set_has_version_id() {
1417
28
  _has_bits_[0] |= 0x00000002u;
1418
28
}
1419
0
inline void ChangeEncryptionInfoRequestPB::clear_has_version_id() {
1420
0
  _has_bits_[0] &= ~0x00000002u;
1421
0
}
1422
0
inline void ChangeEncryptionInfoRequestPB::clear_version_id() {
1423
0
  version_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1424
0
  clear_has_version_id();
1425
0
}
1426
123
inline const ::std::string& ChangeEncryptionInfoRequestPB::version_id() const {
1427
  // @@protoc_insertion_point(field_get:yb.master.ChangeEncryptionInfoRequestPB.version_id)
1428
123
  return version_id_.GetNoArena();
1429
123
}
1430
11
inline void ChangeEncryptionInfoRequestPB::set_version_id(const ::std::string& value) {
1431
11
  set_has_version_id();
1432
11
  version_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1433
  // @@protoc_insertion_point(field_set:yb.master.ChangeEncryptionInfoRequestPB.version_id)
1434
11
}
1435
#if LANG_CXX11
1436
0
inline void ChangeEncryptionInfoRequestPB::set_version_id(::std::string&& value) {
1437
0
  set_has_version_id();
1438
0
  version_id_.SetNoArena(
1439
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1440
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.ChangeEncryptionInfoRequestPB.version_id)
1441
0
}
1442
#endif
1443
0
inline void ChangeEncryptionInfoRequestPB::set_version_id(const char* value) {
1444
0
  GOOGLE_DCHECK(value != NULL);
1445
0
  set_has_version_id();
1446
0
  version_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1447
0
  // @@protoc_insertion_point(field_set_char:yb.master.ChangeEncryptionInfoRequestPB.version_id)
1448
0
}
1449
0
inline void ChangeEncryptionInfoRequestPB::set_version_id(const char* value, size_t size) {
1450
0
  set_has_version_id();
1451
0
  version_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1452
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1453
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.ChangeEncryptionInfoRequestPB.version_id)
1454
0
}
1455
17
inline ::std::string* ChangeEncryptionInfoRequestPB::mutable_version_id() {
1456
17
  set_has_version_id();
1457
  // @@protoc_insertion_point(field_mutable:yb.master.ChangeEncryptionInfoRequestPB.version_id)
1458
17
  return version_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1459
17
}
1460
0
inline ::std::string* ChangeEncryptionInfoRequestPB::release_version_id() {
1461
0
  // @@protoc_insertion_point(field_release:yb.master.ChangeEncryptionInfoRequestPB.version_id)
1462
0
  clear_has_version_id();
1463
0
  return version_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1464
0
}
1465
0
inline void ChangeEncryptionInfoRequestPB::set_allocated_version_id(::std::string* version_id) {
1466
0
  if (version_id != NULL) {
1467
0
    set_has_version_id();
1468
0
  } else {
1469
0
    clear_has_version_id();
1470
0
  }
1471
0
  version_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version_id);
1472
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ChangeEncryptionInfoRequestPB.version_id)
1473
0
}
1474
1475
// optional bool in_memory = 4;
1476
22
inline bool ChangeEncryptionInfoRequestPB::has_in_memory() const {
1477
22
  return (_has_bits_[0] & 0x00000008u) != 0;
1478
22
}
1479
28
inline void ChangeEncryptionInfoRequestPB::set_has_in_memory() {
1480
28
  _has_bits_[0] |= 0x00000008u;
1481
28
}
1482
0
inline void ChangeEncryptionInfoRequestPB::clear_has_in_memory() {
1483
0
  _has_bits_[0] &= ~0x00000008u;
1484
0
}
1485
0
inline void ChangeEncryptionInfoRequestPB::clear_in_memory() {
1486
0
  in_memory_ = false;
1487
0
  clear_has_in_memory();
1488
0
}
1489
45
inline bool ChangeEncryptionInfoRequestPB::in_memory() const {
1490
  // @@protoc_insertion_point(field_get:yb.master.ChangeEncryptionInfoRequestPB.in_memory)
1491
45
  return in_memory_;
1492
45
}
1493
11
inline void ChangeEncryptionInfoRequestPB::set_in_memory(bool value) {
1494
11
  set_has_in_memory();
1495
11
  in_memory_ = value;
1496
  // @@protoc_insertion_point(field_set:yb.master.ChangeEncryptionInfoRequestPB.in_memory)
1497
11
}
1498
1499
// -------------------------------------------------------------------
1500
1501
// ChangeEncryptionInfoResponsePB
1502
1503
// optional .yb.master.MasterErrorPB error = 1;
1504
73
inline bool ChangeEncryptionInfoResponsePB::has_error() const {
1505
73
  return (_has_bits_[0] & 0x00000001u) != 0;
1506
73
}
1507
0
inline void ChangeEncryptionInfoResponsePB::set_has_error() {
1508
0
  _has_bits_[0] |= 0x00000001u;
1509
0
}
1510
0
inline void ChangeEncryptionInfoResponsePB::clear_has_error() {
1511
0
  _has_bits_[0] &= ~0x00000001u;
1512
0
}
1513
0
inline const ::yb::master::MasterErrorPB& ChangeEncryptionInfoResponsePB::error() const {
1514
0
  const ::yb::master::MasterErrorPB* p = error_;
1515
0
  // @@protoc_insertion_point(field_get:yb.master.ChangeEncryptionInfoResponsePB.error)
1516
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>(
1517
0
      &::yb::master::_MasterErrorPB_default_instance_);
1518
0
}
1519
0
inline ::yb::master::MasterErrorPB* ChangeEncryptionInfoResponsePB::release_error() {
1520
0
  // @@protoc_insertion_point(field_release:yb.master.ChangeEncryptionInfoResponsePB.error)
1521
0
  clear_has_error();
1522
0
  ::yb::master::MasterErrorPB* temp = error_;
1523
0
  error_ = NULL;
1524
0
  return temp;
1525
0
}
1526
0
inline ::yb::master::MasterErrorPB* ChangeEncryptionInfoResponsePB::mutable_error() {
1527
0
  set_has_error();
1528
0
  if (error_ == NULL) {
1529
0
    error_ = new ::yb::master::MasterErrorPB;
1530
0
  }
1531
  // @@protoc_insertion_point(field_mutable:yb.master.ChangeEncryptionInfoResponsePB.error)
1532
0
  return error_;
1533
0
}
1534
0
inline void ChangeEncryptionInfoResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) {
1535
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1536
0
  if (message_arena == NULL) {
1537
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
1538
0
  }
1539
0
  if (error) {
1540
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1541
0
    if (message_arena != submessage_arena) {
1542
0
      error = ::google::protobuf::internal::GetOwnedMessage(
1543
0
          message_arena, error, submessage_arena);
1544
0
    }
1545
0
    set_has_error();
1546
0
  } else {
1547
0
    clear_has_error();
1548
0
  }
1549
0
  error_ = error;
1550
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.ChangeEncryptionInfoResponsePB.error)
1551
0
}
1552
1553
// -------------------------------------------------------------------
1554
1555
// IsEncryptionEnabledRequestPB
1556
1557
// -------------------------------------------------------------------
1558
1559
// IsEncryptionEnabledResponsePB
1560
1561
// optional bool encryption_enabled = 1;
1562
34
inline bool IsEncryptionEnabledResponsePB::has_encryption_enabled() const {
1563
34
  return (_has_bits_[0] & 0x00000004u) != 0;
1564
34
}
1565
28
inline void IsEncryptionEnabledResponsePB::set_has_encryption_enabled() {
1566
28
  _has_bits_[0] |= 0x00000004u;
1567
28
}
1568
0
inline void IsEncryptionEnabledResponsePB::clear_has_encryption_enabled() {
1569
0
  _has_bits_[0] &= ~0x00000004u;
1570
0
}
1571
0
inline void IsEncryptionEnabledResponsePB::clear_encryption_enabled() {
1572
0
  encryption_enabled_ = false;
1573
0
  clear_has_encryption_enabled();
1574
0
}
1575
28
inline bool IsEncryptionEnabledResponsePB::encryption_enabled() const {
1576
  // @@protoc_insertion_point(field_get:yb.master.IsEncryptionEnabledResponsePB.encryption_enabled)
1577
28
  return encryption_enabled_;
1578
28
}
1579
17
inline void IsEncryptionEnabledResponsePB::set_encryption_enabled(bool value) {
1580
17
  set_has_encryption_enabled();
1581
17
  encryption_enabled_ = value;
1582
  // @@protoc_insertion_point(field_set:yb.master.IsEncryptionEnabledResponsePB.encryption_enabled)
1583
17
}
1584
1585
// optional string key_id = 2;
1586
34
inline bool IsEncryptionEnabledResponsePB::has_key_id() const {
1587
34
  return (_has_bits_[0] & 0x00000001u) != 0;
1588
34
}
1589
28
inline void IsEncryptionEnabledResponsePB::set_has_key_id() {
1590
28
  _has_bits_[0] |= 0x00000001u;
1591
28
}
1592
0
inline void IsEncryptionEnabledResponsePB::clear_has_key_id() {
1593
0
  _has_bits_[0] &= ~0x00000001u;
1594
0
}
1595
0
inline void IsEncryptionEnabledResponsePB::clear_key_id() {
1596
0
  key_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1597
0
  clear_has_key_id();
1598
0
}
1599
135
inline const ::std::string& IsEncryptionEnabledResponsePB::key_id() const {
1600
  // @@protoc_insertion_point(field_get:yb.master.IsEncryptionEnabledResponsePB.key_id)
1601
135
  return key_id_.GetNoArena();
1602
135
}
1603
17
inline void IsEncryptionEnabledResponsePB::set_key_id(const ::std::string& value) {
1604
17
  set_has_key_id();
1605
17
  key_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1606
  // @@protoc_insertion_point(field_set:yb.master.IsEncryptionEnabledResponsePB.key_id)
1607
17
}
1608
#if LANG_CXX11
1609
0
inline void IsEncryptionEnabledResponsePB::set_key_id(::std::string&& value) {
1610
0
  set_has_key_id();
1611
0
  key_id_.SetNoArena(
1612
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1613
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.IsEncryptionEnabledResponsePB.key_id)
1614
0
}
1615
#endif
1616
0
inline void IsEncryptionEnabledResponsePB::set_key_id(const char* value) {
1617
0
  GOOGLE_DCHECK(value != NULL);
1618
0
  set_has_key_id();
1619
0
  key_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1620
0
  // @@protoc_insertion_point(field_set_char:yb.master.IsEncryptionEnabledResponsePB.key_id)
1621
0
}
1622
0
inline void IsEncryptionEnabledResponsePB::set_key_id(const char* value, size_t size) {
1623
0
  set_has_key_id();
1624
0
  key_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1625
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1626
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.IsEncryptionEnabledResponsePB.key_id)
1627
0
}
1628
11
inline ::std::string* IsEncryptionEnabledResponsePB::mutable_key_id() {
1629
11
  set_has_key_id();
1630
  // @@protoc_insertion_point(field_mutable:yb.master.IsEncryptionEnabledResponsePB.key_id)
1631
11
  return key_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1632
11
}
1633
0
inline ::std::string* IsEncryptionEnabledResponsePB::release_key_id() {
1634
0
  // @@protoc_insertion_point(field_release:yb.master.IsEncryptionEnabledResponsePB.key_id)
1635
0
  clear_has_key_id();
1636
0
  return key_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1637
0
}
1638
0
inline void IsEncryptionEnabledResponsePB::set_allocated_key_id(::std::string* key_id) {
1639
0
  if (key_id != NULL) {
1640
0
    set_has_key_id();
1641
0
  } else {
1642
0
    clear_has_key_id();
1643
0
  }
1644
0
  key_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key_id);
1645
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.IsEncryptionEnabledResponsePB.key_id)
1646
0
}
1647
1648
// optional .yb.master.MasterErrorPB error = 3;
1649
73
inline bool IsEncryptionEnabledResponsePB::has_error() const {
1650
73
  return (_has_bits_[0] & 0x00000002u) != 0;
1651
73
}
1652
0
inline void IsEncryptionEnabledResponsePB::set_has_error() {
1653
0
  _has_bits_[0] |= 0x00000002u;
1654
0
}
1655
0
inline void IsEncryptionEnabledResponsePB::clear_has_error() {
1656
0
  _has_bits_[0] &= ~0x00000002u;
1657
0
}
1658
0
inline const ::yb::master::MasterErrorPB& IsEncryptionEnabledResponsePB::error() const {
1659
0
  const ::yb::master::MasterErrorPB* p = error_;
1660
0
  // @@protoc_insertion_point(field_get:yb.master.IsEncryptionEnabledResponsePB.error)
1661
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>(
1662
0
      &::yb::master::_MasterErrorPB_default_instance_);
1663
0
}
1664
0
inline ::yb::master::MasterErrorPB* IsEncryptionEnabledResponsePB::release_error() {
1665
0
  // @@protoc_insertion_point(field_release:yb.master.IsEncryptionEnabledResponsePB.error)
1666
0
  clear_has_error();
1667
0
  ::yb::master::MasterErrorPB* temp = error_;
1668
0
  error_ = NULL;
1669
0
  return temp;
1670
0
}
1671
0
inline ::yb::master::MasterErrorPB* IsEncryptionEnabledResponsePB::mutable_error() {
1672
0
  set_has_error();
1673
0
  if (error_ == NULL) {
1674
0
    error_ = new ::yb::master::MasterErrorPB;
1675
0
  }
1676
  // @@protoc_insertion_point(field_mutable:yb.master.IsEncryptionEnabledResponsePB.error)
1677
0
  return error_;
1678
0
}
1679
0
inline void IsEncryptionEnabledResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) {
1680
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1681
0
  if (message_arena == NULL) {
1682
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
1683
0
  }
1684
0
  if (error) {
1685
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1686
0
    if (message_arena != submessage_arena) {
1687
0
      error = ::google::protobuf::internal::GetOwnedMessage(
1688
0
          message_arena, error, submessage_arena);
1689
0
    }
1690
0
    set_has_error();
1691
0
  } else {
1692
0
    clear_has_error();
1693
0
  }
1694
0
  error_ = error;
1695
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.IsEncryptionEnabledResponsePB.error)
1696
0
}
1697
1698
// -------------------------------------------------------------------
1699
1700
// AddUniverseKeysRequestPB
1701
1702
// optional .yb.encryption.UniverseKeysPB universe_keys = 1;
1703
66
inline bool AddUniverseKeysRequestPB::has_universe_keys() const {
1704
66
  return (_has_bits_[0] & 0x00000001u) != 0;
1705
66
}
1706
62
inline void AddUniverseKeysRequestPB::set_has_universe_keys() {
1707
62
  _has_bits_[0] |= 0x00000001u;
1708
62
}
1709
0
inline void AddUniverseKeysRequestPB::clear_has_universe_keys() {
1710
0
  _has_bits_[0] &= ~0x00000001u;
1711
0
}
1712
51
inline const ::yb::encryption::UniverseKeysPB& AddUniverseKeysRequestPB::universe_keys() const {
1713
51
  const ::yb::encryption::UniverseKeysPB* p = universe_keys_;
1714
  // @@protoc_insertion_point(field_get:yb.master.AddUniverseKeysRequestPB.universe_keys)
1715
51
  return p != NULL ? *p : *reinterpret_cast<const ::yb::encryption::UniverseKeysPB*>(
1716
0
      &::yb::encryption::_UniverseKeysPB_default_instance_);
1717
51
}
1718
0
inline ::yb::encryption::UniverseKeysPB* AddUniverseKeysRequestPB::release_universe_keys() {
1719
0
  // @@protoc_insertion_point(field_release:yb.master.AddUniverseKeysRequestPB.universe_keys)
1720
0
  clear_has_universe_keys();
1721
0
  ::yb::encryption::UniverseKeysPB* temp = universe_keys_;
1722
0
  universe_keys_ = NULL;
1723
0
  return temp;
1724
0
}
1725
62
inline ::yb::encryption::UniverseKeysPB* AddUniverseKeysRequestPB::mutable_universe_keys() {
1726
62
  set_has_universe_keys();
1727
62
  if (universe_keys_ == NULL) {
1728
62
    universe_keys_ = new ::yb::encryption::UniverseKeysPB;
1729
62
  }
1730
  // @@protoc_insertion_point(field_mutable:yb.master.AddUniverseKeysRequestPB.universe_keys)
1731
62
  return universe_keys_;
1732
62
}
1733
0
inline void AddUniverseKeysRequestPB::set_allocated_universe_keys(::yb::encryption::UniverseKeysPB* universe_keys) {
1734
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1735
0
  if (message_arena == NULL) {
1736
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(universe_keys_);
1737
0
  }
1738
0
  if (universe_keys) {
1739
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1740
0
    if (message_arena != submessage_arena) {
1741
0
      universe_keys = ::google::protobuf::internal::GetOwnedMessage(
1742
0
          message_arena, universe_keys, submessage_arena);
1743
0
    }
1744
0
    set_has_universe_keys();
1745
0
  } else {
1746
0
    clear_has_universe_keys();
1747
0
  }
1748
0
  universe_keys_ = universe_keys;
1749
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.AddUniverseKeysRequestPB.universe_keys)
1750
0
}
1751
1752
// -------------------------------------------------------------------
1753
1754
// AddUniverseKeysResponsePB
1755
1756
// optional .yb.master.MasterErrorPB error = 1;
1757
219
inline bool AddUniverseKeysResponsePB::has_error() const {
1758
219
  return (_has_bits_[0] & 0x00000001u) != 0;
1759
219
}
1760
0
inline void AddUniverseKeysResponsePB::set_has_error() {
1761
0
  _has_bits_[0] |= 0x00000001u;
1762
0
}
1763
0
inline void AddUniverseKeysResponsePB::clear_has_error() {
1764
0
  _has_bits_[0] &= ~0x00000001u;
1765
0
}
1766
0
inline const ::yb::master::MasterErrorPB& AddUniverseKeysResponsePB::error() const {
1767
0
  const ::yb::master::MasterErrorPB* p = error_;
1768
0
  // @@protoc_insertion_point(field_get:yb.master.AddUniverseKeysResponsePB.error)
1769
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>(
1770
0
      &::yb::master::_MasterErrorPB_default_instance_);
1771
0
}
1772
0
inline ::yb::master::MasterErrorPB* AddUniverseKeysResponsePB::release_error() {
1773
0
  // @@protoc_insertion_point(field_release:yb.master.AddUniverseKeysResponsePB.error)
1774
0
  clear_has_error();
1775
0
  ::yb::master::MasterErrorPB* temp = error_;
1776
0
  error_ = NULL;
1777
0
  return temp;
1778
0
}
1779
0
inline ::yb::master::MasterErrorPB* AddUniverseKeysResponsePB::mutable_error() {
1780
0
  set_has_error();
1781
0
  if (error_ == NULL) {
1782
0
    error_ = new ::yb::master::MasterErrorPB;
1783
0
  }
1784
  // @@protoc_insertion_point(field_mutable:yb.master.AddUniverseKeysResponsePB.error)
1785
0
  return error_;
1786
0
}
1787
0
inline void AddUniverseKeysResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) {
1788
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1789
0
  if (message_arena == NULL) {
1790
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
1791
0
  }
1792
0
  if (error) {
1793
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1794
0
    if (message_arena != submessage_arena) {
1795
0
      error = ::google::protobuf::internal::GetOwnedMessage(
1796
0
          message_arena, error, submessage_arena);
1797
0
    }
1798
0
    set_has_error();
1799
0
  } else {
1800
0
    clear_has_error();
1801
0
  }
1802
0
  error_ = error;
1803
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.AddUniverseKeysResponsePB.error)
1804
0
}
1805
1806
// -------------------------------------------------------------------
1807
1808
// GetUniverseKeyRegistryRequestPB
1809
1810
// -------------------------------------------------------------------
1811
1812
// GetUniverseKeyRegistryResponsePB
1813
1814
// optional .yb.master.MasterErrorPB error = 1;
1815
63.9k
inline bool GetUniverseKeyRegistryResponsePB::has_error() const {
1816
63.9k
  return (_has_bits_[0] & 0x00000001u) != 0;
1817
63.9k
}
1818
0
inline void GetUniverseKeyRegistryResponsePB::set_has_error() {
1819
0
  _has_bits_[0] |= 0x00000001u;
1820
0
}
1821
0
inline void GetUniverseKeyRegistryResponsePB::clear_has_error() {
1822
0
  _has_bits_[0] &= ~0x00000001u;
1823
0
}
1824
0
inline const ::yb::master::MasterErrorPB& GetUniverseKeyRegistryResponsePB::error() const {
1825
0
  const ::yb::master::MasterErrorPB* p = error_;
1826
0
  // @@protoc_insertion_point(field_get:yb.master.GetUniverseKeyRegistryResponsePB.error)
1827
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>(
1828
0
      &::yb::master::_MasterErrorPB_default_instance_);
1829
0
}
1830
0
inline ::yb::master::MasterErrorPB* GetUniverseKeyRegistryResponsePB::release_error() {
1831
0
  // @@protoc_insertion_point(field_release:yb.master.GetUniverseKeyRegistryResponsePB.error)
1832
0
  clear_has_error();
1833
0
  ::yb::master::MasterErrorPB* temp = error_;
1834
0
  error_ = NULL;
1835
0
  return temp;
1836
0
}
1837
0
inline ::yb::master::MasterErrorPB* GetUniverseKeyRegistryResponsePB::mutable_error() {
1838
0
  set_has_error();
1839
0
  if (error_ == NULL) {
1840
0
    error_ = new ::yb::master::MasterErrorPB;
1841
0
  }
1842
  // @@protoc_insertion_point(field_mutable:yb.master.GetUniverseKeyRegistryResponsePB.error)
1843
0
  return error_;
1844
0
}
1845
0
inline void GetUniverseKeyRegistryResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) {
1846
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1847
0
  if (message_arena == NULL) {
1848
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
1849
0
  }
1850
0
  if (error) {
1851
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1852
0
    if (message_arena != submessage_arena) {
1853
0
      error = ::google::protobuf::internal::GetOwnedMessage(
1854
0
          message_arena, error, submessage_arena);
1855
0
    }
1856
0
    set_has_error();
1857
0
  } else {
1858
0
    clear_has_error();
1859
0
  }
1860
0
  error_ = error;
1861
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.GetUniverseKeyRegistryResponsePB.error)
1862
0
}
1863
1864
// optional .yb.encryption.UniverseKeysPB universe_keys = 2;
1865
25.5k
inline bool GetUniverseKeyRegistryResponsePB::has_universe_keys() const {
1866
25.5k
  return (_has_bits_[0] & 0x00000002u) != 0;
1867
25.5k
}
1868
25.5k
inline void GetUniverseKeyRegistryResponsePB::set_has_universe_keys() {
1869
25.5k
  _has_bits_[0] |= 0x00000002u;
1870
25.5k
}
1871
0
inline void GetUniverseKeyRegistryResponsePB::clear_has_universe_keys() {
1872
0
  _has_bits_[0] &= ~0x00000002u;
1873
0
}
1874
12.7k
inline const ::yb::encryption::UniverseKeysPB& GetUniverseKeyRegistryResponsePB::universe_keys() const {
1875
12.7k
  const ::yb::encryption::UniverseKeysPB* p = universe_keys_;
1876
  // @@protoc_insertion_point(field_get:yb.master.GetUniverseKeyRegistryResponsePB.universe_keys)
1877
12.7k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::encryption::UniverseKeysPB*>(
1878
0
      &::yb::encryption::_UniverseKeysPB_default_instance_);
1879
12.7k
}
1880
0
inline ::yb::encryption::UniverseKeysPB* GetUniverseKeyRegistryResponsePB::release_universe_keys() {
1881
0
  // @@protoc_insertion_point(field_release:yb.master.GetUniverseKeyRegistryResponsePB.universe_keys)
1882
0
  clear_has_universe_keys();
1883
0
  ::yb::encryption::UniverseKeysPB* temp = universe_keys_;
1884
0
  universe_keys_ = NULL;
1885
0
  return temp;
1886
0
}
1887
25.5k
inline ::yb::encryption::UniverseKeysPB* GetUniverseKeyRegistryResponsePB::mutable_universe_keys() {
1888
25.5k
  set_has_universe_keys();
1889
25.5k
  if (universe_keys_ == NULL) {
1890
25.5k
    universe_keys_ = new ::yb::encryption::UniverseKeysPB;
1891
25.5k
  }
1892
  // @@protoc_insertion_point(field_mutable:yb.master.GetUniverseKeyRegistryResponsePB.universe_keys)
1893
25.5k
  return universe_keys_;
1894
25.5k
}
1895
0
inline void GetUniverseKeyRegistryResponsePB::set_allocated_universe_keys(::yb::encryption::UniverseKeysPB* universe_keys) {
1896
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1897
0
  if (message_arena == NULL) {
1898
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(universe_keys_);
1899
0
  }
1900
0
  if (universe_keys) {
1901
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1902
0
    if (message_arena != submessage_arena) {
1903
0
      universe_keys = ::google::protobuf::internal::GetOwnedMessage(
1904
0
          message_arena, universe_keys, submessage_arena);
1905
0
    }
1906
0
    set_has_universe_keys();
1907
0
  } else {
1908
0
    clear_has_universe_keys();
1909
0
  }
1910
0
  universe_keys_ = universe_keys;
1911
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.GetUniverseKeyRegistryResponsePB.universe_keys)
1912
0
}
1913
1914
// -------------------------------------------------------------------
1915
1916
// HasUniverseKeyInMemoryRequestPB
1917
1918
// optional string version_id = 1;
1919
66
inline bool HasUniverseKeyInMemoryRequestPB::has_version_id() const {
1920
66
  return (_has_bits_[0] & 0x00000001u) != 0;
1921
66
}
1922
80
inline void HasUniverseKeyInMemoryRequestPB::set_has_version_id() {
1923
80
  _has_bits_[0] |= 0x00000001u;
1924
80
}
1925
0
inline void HasUniverseKeyInMemoryRequestPB::clear_has_version_id() {
1926
0
  _has_bits_[0] &= ~0x00000001u;
1927
0
}
1928
0
inline void HasUniverseKeyInMemoryRequestPB::clear_version_id() {
1929
0
  version_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1930
0
  clear_has_version_id();
1931
0
}
1932
441
inline const ::std::string& HasUniverseKeyInMemoryRequestPB::version_id() const {
1933
  // @@protoc_insertion_point(field_get:yb.master.HasUniverseKeyInMemoryRequestPB.version_id)
1934
441
  return version_id_.GetNoArena();
1935
441
}
1936
11
inline void HasUniverseKeyInMemoryRequestPB::set_version_id(const ::std::string& value) {
1937
11
  set_has_version_id();
1938
11
  version_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1939
  // @@protoc_insertion_point(field_set:yb.master.HasUniverseKeyInMemoryRequestPB.version_id)
1940
11
}
1941
#if LANG_CXX11
1942
0
inline void HasUniverseKeyInMemoryRequestPB::set_version_id(::std::string&& value) {
1943
0
  set_has_version_id();
1944
0
  version_id_.SetNoArena(
1945
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1946
0
  // @@protoc_insertion_point(field_set_rvalue:yb.master.HasUniverseKeyInMemoryRequestPB.version_id)
1947
0
}
1948
#endif
1949
0
inline void HasUniverseKeyInMemoryRequestPB::set_version_id(const char* value) {
1950
0
  GOOGLE_DCHECK(value != NULL);
1951
0
  set_has_version_id();
1952
0
  version_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1953
0
  // @@protoc_insertion_point(field_set_char:yb.master.HasUniverseKeyInMemoryRequestPB.version_id)
1954
0
}
1955
0
inline void HasUniverseKeyInMemoryRequestPB::set_version_id(const char* value, size_t size) {
1956
0
  set_has_version_id();
1957
0
  version_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1958
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1959
0
  // @@protoc_insertion_point(field_set_pointer:yb.master.HasUniverseKeyInMemoryRequestPB.version_id)
1960
0
}
1961
69
inline ::std::string* HasUniverseKeyInMemoryRequestPB::mutable_version_id() {
1962
69
  set_has_version_id();
1963
  // @@protoc_insertion_point(field_mutable:yb.master.HasUniverseKeyInMemoryRequestPB.version_id)
1964
69
  return version_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1965
69
}
1966
0
inline ::std::string* HasUniverseKeyInMemoryRequestPB::release_version_id() {
1967
0
  // @@protoc_insertion_point(field_release:yb.master.HasUniverseKeyInMemoryRequestPB.version_id)
1968
0
  clear_has_version_id();
1969
0
  return version_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1970
0
}
1971
0
inline void HasUniverseKeyInMemoryRequestPB::set_allocated_version_id(::std::string* version_id) {
1972
0
  if (version_id != NULL) {
1973
0
    set_has_version_id();
1974
0
  } else {
1975
0
    clear_has_version_id();
1976
0
  }
1977
0
  version_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version_id);
1978
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.HasUniverseKeyInMemoryRequestPB.version_id)
1979
0
}
1980
1981
// -------------------------------------------------------------------
1982
1983
// HasUniverseKeyInMemoryResponsePB
1984
1985
// optional bool has_key = 1;
1986
138
inline bool HasUniverseKeyInMemoryResponsePB::has_has_key() const {
1987
138
  return (_has_bits_[0] & 0x00000002u) != 0;
1988
138
}
1989
102
inline void HasUniverseKeyInMemoryResponsePB::set_has_has_key() {
1990
102
  _has_bits_[0] |= 0x00000002u;
1991
102
}
1992
0
inline void HasUniverseKeyInMemoryResponsePB::clear_has_has_key() {
1993
0
  _has_bits_[0] &= ~0x00000002u;
1994
0
}
1995
0
inline void HasUniverseKeyInMemoryResponsePB::clear_has_key() {
1996
0
  has_key_ = false;
1997
0
  clear_has_has_key();
1998
0
}
1999
135
inline bool HasUniverseKeyInMemoryResponsePB::has_key() const {
2000
  // @@protoc_insertion_point(field_get:yb.master.HasUniverseKeyInMemoryResponsePB.has_key)
2001
135
  return has_key_;
2002
135
}
2003
69
inline void HasUniverseKeyInMemoryResponsePB::set_has_key(bool value) {
2004
69
  set_has_has_key();
2005
69
  has_key_ = value;
2006
  // @@protoc_insertion_point(field_set:yb.master.HasUniverseKeyInMemoryResponsePB.has_key)
2007
69
}
2008
2009
// optional .yb.master.MasterErrorPB error = 2;
2010
273
inline bool HasUniverseKeyInMemoryResponsePB::has_error() const {
2011
273
  return (_has_bits_[0] & 0x00000001u) != 0;
2012
273
}
2013
0
inline void HasUniverseKeyInMemoryResponsePB::set_has_error() {
2014
0
  _has_bits_[0] |= 0x00000001u;
2015
0
}
2016
0
inline void HasUniverseKeyInMemoryResponsePB::clear_has_error() {
2017
0
  _has_bits_[0] &= ~0x00000001u;
2018
0
}
2019
0
inline const ::yb::master::MasterErrorPB& HasUniverseKeyInMemoryResponsePB::error() const {
2020
0
  const ::yb::master::MasterErrorPB* p = error_;
2021
0
  // @@protoc_insertion_point(field_get:yb.master.HasUniverseKeyInMemoryResponsePB.error)
2022
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>(
2023
0
      &::yb::master::_MasterErrorPB_default_instance_);
2024
0
}
2025
0
inline ::yb::master::MasterErrorPB* HasUniverseKeyInMemoryResponsePB::release_error() {
2026
0
  // @@protoc_insertion_point(field_release:yb.master.HasUniverseKeyInMemoryResponsePB.error)
2027
0
  clear_has_error();
2028
0
  ::yb::master::MasterErrorPB* temp = error_;
2029
0
  error_ = NULL;
2030
0
  return temp;
2031
0
}
2032
0
inline ::yb::master::MasterErrorPB* HasUniverseKeyInMemoryResponsePB::mutable_error() {
2033
0
  set_has_error();
2034
0
  if (error_ == NULL) {
2035
0
    error_ = new ::yb::master::MasterErrorPB;
2036
0
  }
2037
  // @@protoc_insertion_point(field_mutable:yb.master.HasUniverseKeyInMemoryResponsePB.error)
2038
0
  return error_;
2039
0
}
2040
0
inline void HasUniverseKeyInMemoryResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) {
2041
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2042
0
  if (message_arena == NULL) {
2043
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
2044
0
  }
2045
0
  if (error) {
2046
0
    ::google::protobuf::Arena* submessage_arena = NULL;
2047
0
    if (message_arena != submessage_arena) {
2048
0
      error = ::google::protobuf::internal::GetOwnedMessage(
2049
0
          message_arena, error, submessage_arena);
2050
0
    }
2051
0
    set_has_error();
2052
0
  } else {
2053
0
    clear_has_error();
2054
0
  }
2055
0
  error_ = error;
2056
0
  // @@protoc_insertion_point(field_set_allocated:yb.master.HasUniverseKeyInMemoryResponsePB.error)
2057
0
}
2058
2059
#ifdef __GNUC__
2060
  #pragma GCC diagnostic pop
2061
#endif  // __GNUC__
2062
// -------------------------------------------------------------------
2063
2064
// -------------------------------------------------------------------
2065
2066
// -------------------------------------------------------------------
2067
2068
// -------------------------------------------------------------------
2069
2070
// -------------------------------------------------------------------
2071
2072
// -------------------------------------------------------------------
2073
2074
// -------------------------------------------------------------------
2075
2076
// -------------------------------------------------------------------
2077
2078
// -------------------------------------------------------------------
2079
2080
2081
// @@protoc_insertion_point(namespace_scope)
2082
2083
}  // namespace master
2084
}  // namespace yb
2085
2086
// @@protoc_insertion_point(global_scope)
2087
2088
#endif  // PROTOBUF_yb_2fmaster_2fmaster_5fencryption_2eproto__INCLUDED