RDFS
The Rice Comp413 2017 class' continuation on the work of the 2016 RDFS.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
encryption.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: encryption.proto
3 
4 #ifndef PROTOBUF_encryption_2eproto__INCLUDED
5 #define PROTOBUF_encryption_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3000000
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 3000000 < 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/arena.h>
23 #include <google/protobuf/arenastring.h>
24 #include <google/protobuf/generated_message_util.h>
25 #include <google/protobuf/metadata.h>
26 #include <google/protobuf/message.h>
27 #include <google/protobuf/repeated_field.h>
28 #include <google/protobuf/extension_set.h>
29 #include <google/protobuf/unknown_field_set.h>
30 #include "hdfs.pb.h"
31 // @@protoc_insertion_point(includes)
32 
33 namespace hadoop {
34 namespace hdfs {
35 
36 // Internal implementation detail -- do not call these.
37 void protobuf_AddDesc_encryption_2eproto();
38 void protobuf_AssignDesc_encryption_2eproto();
39 void protobuf_ShutdownFile_encryption_2eproto();
40 
41 class CreateEncryptionZoneRequestProto;
42 class CreateEncryptionZoneResponseProto;
43 class EncryptionZoneProto;
44 class GetEZForPathRequestProto;
45 class GetEZForPathResponseProto;
46 class ListEncryptionZonesRequestProto;
47 class ListEncryptionZonesResponseProto;
48 
49 // ===================================================================
50 
51 class CreateEncryptionZoneRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.CreateEncryptionZoneRequestProto) */ {
52  public:
55 
57 
59  CopyFrom(from);
60  return *this;
61  }
62 
63  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
64  return _internal_metadata_.unknown_fields();
65  }
66 
67  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
68  return _internal_metadata_.mutable_unknown_fields();
69  }
70 
71  static const ::google::protobuf::Descriptor* descriptor();
72  static const CreateEncryptionZoneRequestProto& default_instance();
73 
74  void Swap(CreateEncryptionZoneRequestProto* other);
75 
76  // implements Message ----------------------------------------------
77 
78  inline CreateEncryptionZoneRequestProto* New() const { return New(NULL); }
79 
80  CreateEncryptionZoneRequestProto* New(::google::protobuf::Arena* arena) const;
81  void CopyFrom(const ::google::protobuf::Message& from);
82  void MergeFrom(const ::google::protobuf::Message& from);
83  void CopyFrom(const CreateEncryptionZoneRequestProto& from);
84  void MergeFrom(const CreateEncryptionZoneRequestProto& from);
85  void Clear();
86  bool IsInitialized() const;
87 
88  int ByteSize() const;
89  bool MergePartialFromCodedStream(
90  ::google::protobuf::io::CodedInputStream* input);
91  void SerializeWithCachedSizes(
92  ::google::protobuf::io::CodedOutputStream* output) const;
93  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
94  bool deterministic, ::google::protobuf::uint8* output) const;
95  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
96  return InternalSerializeWithCachedSizesToArray(false, output);
97  }
98  int GetCachedSize() const { return _cached_size_; }
99  private:
100  void SharedCtor();
101  void SharedDtor();
102  void SetCachedSize(int size) const;
103  void InternalSwap(CreateEncryptionZoneRequestProto* other);
104  private:
105  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
106  return _internal_metadata_.arena();
107  }
108  inline void* MaybeArenaPtr() const {
109  return _internal_metadata_.raw_arena_ptr();
110  }
111  public:
112 
113  ::google::protobuf::Metadata GetMetadata() const;
114 
115  // nested types ----------------------------------------------------
116 
117  // accessors -------------------------------------------------------
118 
119  // required string src = 1;
120  bool has_src() const;
121  void clear_src();
122  static const int kSrcFieldNumber = 1;
123  const ::std::string& src() const;
124  void set_src(const ::std::string& value);
125  void set_src(const char* value);
126  void set_src(const char* value, size_t size);
127  ::std::string* mutable_src();
128  ::std::string* release_src();
129  void set_allocated_src(::std::string* src);
130 
131  // optional string keyName = 2;
132  bool has_keyname() const;
133  void clear_keyname();
134  static const int kKeyNameFieldNumber = 2;
135  const ::std::string& keyname() const;
136  void set_keyname(const ::std::string& value);
137  void set_keyname(const char* value);
138  void set_keyname(const char* value, size_t size);
139  ::std::string* mutable_keyname();
140  ::std::string* release_keyname();
141  void set_allocated_keyname(::std::string* keyname);
142 
143  // @@protoc_insertion_point(class_scope:hadoop.hdfs.CreateEncryptionZoneRequestProto)
144  private:
145  inline void set_has_src();
146  inline void clear_has_src();
147  inline void set_has_keyname();
148  inline void clear_has_keyname();
149 
150  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
151  ::google::protobuf::uint32 _has_bits_[1];
152  mutable int _cached_size_;
153  ::google::protobuf::internal::ArenaStringPtr src_;
154  ::google::protobuf::internal::ArenaStringPtr keyname_;
155  friend void protobuf_AddDesc_encryption_2eproto();
156  friend void protobuf_AssignDesc_encryption_2eproto();
157  friend void protobuf_ShutdownFile_encryption_2eproto();
158 
159  void InitAsDefaultInstance();
160  static CreateEncryptionZoneRequestProto* default_instance_;
161 };
162 // -------------------------------------------------------------------
163 
164 class CreateEncryptionZoneResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.CreateEncryptionZoneResponseProto) */ {
165  public:
168 
170 
172  CopyFrom(from);
173  return *this;
174  }
175 
176  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
177  return _internal_metadata_.unknown_fields();
178  }
179 
180  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
181  return _internal_metadata_.mutable_unknown_fields();
182  }
183 
184  static const ::google::protobuf::Descriptor* descriptor();
185  static const CreateEncryptionZoneResponseProto& default_instance();
186 
187  void Swap(CreateEncryptionZoneResponseProto* other);
188 
189  // implements Message ----------------------------------------------
190 
191  inline CreateEncryptionZoneResponseProto* New() const { return New(NULL); }
192 
193  CreateEncryptionZoneResponseProto* New(::google::protobuf::Arena* arena) const;
194  void CopyFrom(const ::google::protobuf::Message& from);
195  void MergeFrom(const ::google::protobuf::Message& from);
196  void CopyFrom(const CreateEncryptionZoneResponseProto& from);
197  void MergeFrom(const CreateEncryptionZoneResponseProto& from);
198  void Clear();
199  bool IsInitialized() const;
200 
201  int ByteSize() const;
202  bool MergePartialFromCodedStream(
203  ::google::protobuf::io::CodedInputStream* input);
204  void SerializeWithCachedSizes(
205  ::google::protobuf::io::CodedOutputStream* output) const;
206  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
207  bool deterministic, ::google::protobuf::uint8* output) const;
208  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
209  return InternalSerializeWithCachedSizesToArray(false, output);
210  }
211  int GetCachedSize() const { return _cached_size_; }
212  private:
213  void SharedCtor();
214  void SharedDtor();
215  void SetCachedSize(int size) const;
216  void InternalSwap(CreateEncryptionZoneResponseProto* other);
217  private:
218  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
219  return _internal_metadata_.arena();
220  }
221  inline void* MaybeArenaPtr() const {
222  return _internal_metadata_.raw_arena_ptr();
223  }
224  public:
225 
226  ::google::protobuf::Metadata GetMetadata() const;
227 
228  // nested types ----------------------------------------------------
229 
230  // accessors -------------------------------------------------------
231 
232  // @@protoc_insertion_point(class_scope:hadoop.hdfs.CreateEncryptionZoneResponseProto)
233  private:
234 
235  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
236  ::google::protobuf::uint32 _has_bits_[1];
237  mutable int _cached_size_;
238  friend void protobuf_AddDesc_encryption_2eproto();
239  friend void protobuf_AssignDesc_encryption_2eproto();
240  friend void protobuf_ShutdownFile_encryption_2eproto();
241 
242  void InitAsDefaultInstance();
243  static CreateEncryptionZoneResponseProto* default_instance_;
244 };
245 // -------------------------------------------------------------------
246 
247 class ListEncryptionZonesRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.ListEncryptionZonesRequestProto) */ {
248  public:
251 
253 
255  CopyFrom(from);
256  return *this;
257  }
258 
259  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
260  return _internal_metadata_.unknown_fields();
261  }
262 
263  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
264  return _internal_metadata_.mutable_unknown_fields();
265  }
266 
267  static const ::google::protobuf::Descriptor* descriptor();
268  static const ListEncryptionZonesRequestProto& default_instance();
269 
270  void Swap(ListEncryptionZonesRequestProto* other);
271 
272  // implements Message ----------------------------------------------
273 
274  inline ListEncryptionZonesRequestProto* New() const { return New(NULL); }
275 
276  ListEncryptionZonesRequestProto* New(::google::protobuf::Arena* arena) const;
277  void CopyFrom(const ::google::protobuf::Message& from);
278  void MergeFrom(const ::google::protobuf::Message& from);
279  void CopyFrom(const ListEncryptionZonesRequestProto& from);
280  void MergeFrom(const ListEncryptionZonesRequestProto& from);
281  void Clear();
282  bool IsInitialized() const;
283 
284  int ByteSize() const;
285  bool MergePartialFromCodedStream(
286  ::google::protobuf::io::CodedInputStream* input);
287  void SerializeWithCachedSizes(
288  ::google::protobuf::io::CodedOutputStream* output) const;
289  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
290  bool deterministic, ::google::protobuf::uint8* output) const;
291  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
292  return InternalSerializeWithCachedSizesToArray(false, output);
293  }
294  int GetCachedSize() const { return _cached_size_; }
295  private:
296  void SharedCtor();
297  void SharedDtor();
298  void SetCachedSize(int size) const;
299  void InternalSwap(ListEncryptionZonesRequestProto* other);
300  private:
301  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
302  return _internal_metadata_.arena();
303  }
304  inline void* MaybeArenaPtr() const {
305  return _internal_metadata_.raw_arena_ptr();
306  }
307  public:
308 
309  ::google::protobuf::Metadata GetMetadata() const;
310 
311  // nested types ----------------------------------------------------
312 
313  // accessors -------------------------------------------------------
314 
315  // required int64 id = 1;
316  bool has_id() const;
317  void clear_id();
318  static const int kIdFieldNumber = 1;
319  ::google::protobuf::int64 id() const;
320  void set_id(::google::protobuf::int64 value);
321 
322  // @@protoc_insertion_point(class_scope:hadoop.hdfs.ListEncryptionZonesRequestProto)
323  private:
324  inline void set_has_id();
325  inline void clear_has_id();
326 
327  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
328  ::google::protobuf::uint32 _has_bits_[1];
329  mutable int _cached_size_;
330  ::google::protobuf::int64 id_;
331  friend void protobuf_AddDesc_encryption_2eproto();
332  friend void protobuf_AssignDesc_encryption_2eproto();
333  friend void protobuf_ShutdownFile_encryption_2eproto();
334 
335  void InitAsDefaultInstance();
336  static ListEncryptionZonesRequestProto* default_instance_;
337 };
338 // -------------------------------------------------------------------
339 
340 class EncryptionZoneProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.EncryptionZoneProto) */ {
341  public:
343  virtual ~EncryptionZoneProto();
344 
346 
347  inline EncryptionZoneProto& operator=(const EncryptionZoneProto& from) {
348  CopyFrom(from);
349  return *this;
350  }
351 
352  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
353  return _internal_metadata_.unknown_fields();
354  }
355 
356  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
357  return _internal_metadata_.mutable_unknown_fields();
358  }
359 
360  static const ::google::protobuf::Descriptor* descriptor();
361  static const EncryptionZoneProto& default_instance();
362 
363  void Swap(EncryptionZoneProto* other);
364 
365  // implements Message ----------------------------------------------
366 
367  inline EncryptionZoneProto* New() const { return New(NULL); }
368 
369  EncryptionZoneProto* New(::google::protobuf::Arena* arena) const;
370  void CopyFrom(const ::google::protobuf::Message& from);
371  void MergeFrom(const ::google::protobuf::Message& from);
372  void CopyFrom(const EncryptionZoneProto& from);
373  void MergeFrom(const EncryptionZoneProto& from);
374  void Clear();
375  bool IsInitialized() const;
376 
377  int ByteSize() const;
378  bool MergePartialFromCodedStream(
379  ::google::protobuf::io::CodedInputStream* input);
380  void SerializeWithCachedSizes(
381  ::google::protobuf::io::CodedOutputStream* output) const;
382  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
383  bool deterministic, ::google::protobuf::uint8* output) const;
384  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
385  return InternalSerializeWithCachedSizesToArray(false, output);
386  }
387  int GetCachedSize() const { return _cached_size_; }
388  private:
389  void SharedCtor();
390  void SharedDtor();
391  void SetCachedSize(int size) const;
392  void InternalSwap(EncryptionZoneProto* other);
393  private:
394  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
395  return _internal_metadata_.arena();
396  }
397  inline void* MaybeArenaPtr() const {
398  return _internal_metadata_.raw_arena_ptr();
399  }
400  public:
401 
402  ::google::protobuf::Metadata GetMetadata() const;
403 
404  // nested types ----------------------------------------------------
405 
406  // accessors -------------------------------------------------------
407 
408  // required int64 id = 1;
409  bool has_id() const;
410  void clear_id();
411  static const int kIdFieldNumber = 1;
412  ::google::protobuf::int64 id() const;
413  void set_id(::google::protobuf::int64 value);
414 
415  // required string path = 2;
416  bool has_path() const;
417  void clear_path();
418  static const int kPathFieldNumber = 2;
419  const ::std::string& path() const;
420  void set_path(const ::std::string& value);
421  void set_path(const char* value);
422  void set_path(const char* value, size_t size);
423  ::std::string* mutable_path();
424  ::std::string* release_path();
425  void set_allocated_path(::std::string* path);
426 
427  // required .hadoop.hdfs.CipherSuiteProto suite = 3;
428  bool has_suite() const;
429  void clear_suite();
430  static const int kSuiteFieldNumber = 3;
431  ::hadoop::hdfs::CipherSuiteProto suite() const;
432  void set_suite(::hadoop::hdfs::CipherSuiteProto value);
433 
434  // required .hadoop.hdfs.CryptoProtocolVersionProto cryptoProtocolVersion = 4;
435  bool has_cryptoprotocolversion() const;
436  void clear_cryptoprotocolversion();
437  static const int kCryptoProtocolVersionFieldNumber = 4;
438  ::hadoop::hdfs::CryptoProtocolVersionProto cryptoprotocolversion() const;
439  void set_cryptoprotocolversion(::hadoop::hdfs::CryptoProtocolVersionProto value);
440 
441  // required string keyName = 5;
442  bool has_keyname() const;
443  void clear_keyname();
444  static const int kKeyNameFieldNumber = 5;
445  const ::std::string& keyname() const;
446  void set_keyname(const ::std::string& value);
447  void set_keyname(const char* value);
448  void set_keyname(const char* value, size_t size);
449  ::std::string* mutable_keyname();
450  ::std::string* release_keyname();
451  void set_allocated_keyname(::std::string* keyname);
452 
453  // @@protoc_insertion_point(class_scope:hadoop.hdfs.EncryptionZoneProto)
454  private:
455  inline void set_has_id();
456  inline void clear_has_id();
457  inline void set_has_path();
458  inline void clear_has_path();
459  inline void set_has_suite();
460  inline void clear_has_suite();
461  inline void set_has_cryptoprotocolversion();
462  inline void clear_has_cryptoprotocolversion();
463  inline void set_has_keyname();
464  inline void clear_has_keyname();
465 
466  // helper for ByteSize()
467  int RequiredFieldsByteSizeFallback() const;
468 
469  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
470  ::google::protobuf::uint32 _has_bits_[1];
471  mutable int _cached_size_;
472  ::google::protobuf::int64 id_;
473  ::google::protobuf::internal::ArenaStringPtr path_;
474  int suite_;
475  int cryptoprotocolversion_;
476  ::google::protobuf::internal::ArenaStringPtr keyname_;
477  friend void protobuf_AddDesc_encryption_2eproto();
478  friend void protobuf_AssignDesc_encryption_2eproto();
479  friend void protobuf_ShutdownFile_encryption_2eproto();
480 
481  void InitAsDefaultInstance();
482  static EncryptionZoneProto* default_instance_;
483 };
484 // -------------------------------------------------------------------
485 
486 class ListEncryptionZonesResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.ListEncryptionZonesResponseProto) */ {
487  public:
490 
492 
494  CopyFrom(from);
495  return *this;
496  }
497 
498  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
499  return _internal_metadata_.unknown_fields();
500  }
501 
502  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
503  return _internal_metadata_.mutable_unknown_fields();
504  }
505 
506  static const ::google::protobuf::Descriptor* descriptor();
507  static const ListEncryptionZonesResponseProto& default_instance();
508 
509  void Swap(ListEncryptionZonesResponseProto* other);
510 
511  // implements Message ----------------------------------------------
512 
513  inline ListEncryptionZonesResponseProto* New() const { return New(NULL); }
514 
515  ListEncryptionZonesResponseProto* New(::google::protobuf::Arena* arena) const;
516  void CopyFrom(const ::google::protobuf::Message& from);
517  void MergeFrom(const ::google::protobuf::Message& from);
518  void CopyFrom(const ListEncryptionZonesResponseProto& from);
519  void MergeFrom(const ListEncryptionZonesResponseProto& from);
520  void Clear();
521  bool IsInitialized() const;
522 
523  int ByteSize() const;
524  bool MergePartialFromCodedStream(
525  ::google::protobuf::io::CodedInputStream* input);
526  void SerializeWithCachedSizes(
527  ::google::protobuf::io::CodedOutputStream* output) const;
528  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
529  bool deterministic, ::google::protobuf::uint8* output) const;
530  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
531  return InternalSerializeWithCachedSizesToArray(false, output);
532  }
533  int GetCachedSize() const { return _cached_size_; }
534  private:
535  void SharedCtor();
536  void SharedDtor();
537  void SetCachedSize(int size) const;
538  void InternalSwap(ListEncryptionZonesResponseProto* other);
539  private:
540  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
541  return _internal_metadata_.arena();
542  }
543  inline void* MaybeArenaPtr() const {
544  return _internal_metadata_.raw_arena_ptr();
545  }
546  public:
547 
548  ::google::protobuf::Metadata GetMetadata() const;
549 
550  // nested types ----------------------------------------------------
551 
552  // accessors -------------------------------------------------------
553 
554  // repeated .hadoop.hdfs.EncryptionZoneProto zones = 1;
555  int zones_size() const;
556  void clear_zones();
557  static const int kZonesFieldNumber = 1;
558  const ::hadoop::hdfs::EncryptionZoneProto& zones(int index) const;
559  ::hadoop::hdfs::EncryptionZoneProto* mutable_zones(int index);
561  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EncryptionZoneProto >*
562  mutable_zones();
563  const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EncryptionZoneProto >&
564  zones() const;
565 
566  // required bool hasMore = 2;
567  bool has_hasmore() const;
568  void clear_hasmore();
569  static const int kHasMoreFieldNumber = 2;
570  bool hasmore() const;
571  void set_hasmore(bool value);
572 
573  // @@protoc_insertion_point(class_scope:hadoop.hdfs.ListEncryptionZonesResponseProto)
574  private:
575  inline void set_has_hasmore();
576  inline void clear_has_hasmore();
577 
578  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
579  ::google::protobuf::uint32 _has_bits_[1];
580  mutable int _cached_size_;
581  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EncryptionZoneProto > zones_;
582  bool hasmore_;
583  friend void protobuf_AddDesc_encryption_2eproto();
584  friend void protobuf_AssignDesc_encryption_2eproto();
585  friend void protobuf_ShutdownFile_encryption_2eproto();
586 
587  void InitAsDefaultInstance();
588  static ListEncryptionZonesResponseProto* default_instance_;
589 };
590 // -------------------------------------------------------------------
591 
592 class GetEZForPathRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.GetEZForPathRequestProto) */ {
593  public:
595  virtual ~GetEZForPathRequestProto();
596 
598 
599  inline GetEZForPathRequestProto& operator=(const GetEZForPathRequestProto& from) {
600  CopyFrom(from);
601  return *this;
602  }
603 
604  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
605  return _internal_metadata_.unknown_fields();
606  }
607 
608  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
609  return _internal_metadata_.mutable_unknown_fields();
610  }
611 
612  static const ::google::protobuf::Descriptor* descriptor();
613  static const GetEZForPathRequestProto& default_instance();
614 
615  void Swap(GetEZForPathRequestProto* other);
616 
617  // implements Message ----------------------------------------------
618 
619  inline GetEZForPathRequestProto* New() const { return New(NULL); }
620 
621  GetEZForPathRequestProto* New(::google::protobuf::Arena* arena) const;
622  void CopyFrom(const ::google::protobuf::Message& from);
623  void MergeFrom(const ::google::protobuf::Message& from);
624  void CopyFrom(const GetEZForPathRequestProto& from);
625  void MergeFrom(const GetEZForPathRequestProto& from);
626  void Clear();
627  bool IsInitialized() const;
628 
629  int ByteSize() const;
630  bool MergePartialFromCodedStream(
631  ::google::protobuf::io::CodedInputStream* input);
632  void SerializeWithCachedSizes(
633  ::google::protobuf::io::CodedOutputStream* output) const;
634  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
635  bool deterministic, ::google::protobuf::uint8* output) const;
636  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
637  return InternalSerializeWithCachedSizesToArray(false, output);
638  }
639  int GetCachedSize() const { return _cached_size_; }
640  private:
641  void SharedCtor();
642  void SharedDtor();
643  void SetCachedSize(int size) const;
644  void InternalSwap(GetEZForPathRequestProto* other);
645  private:
646  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
647  return _internal_metadata_.arena();
648  }
649  inline void* MaybeArenaPtr() const {
650  return _internal_metadata_.raw_arena_ptr();
651  }
652  public:
653 
654  ::google::protobuf::Metadata GetMetadata() const;
655 
656  // nested types ----------------------------------------------------
657 
658  // accessors -------------------------------------------------------
659 
660  // required string src = 1;
661  bool has_src() const;
662  void clear_src();
663  static const int kSrcFieldNumber = 1;
664  const ::std::string& src() const;
665  void set_src(const ::std::string& value);
666  void set_src(const char* value);
667  void set_src(const char* value, size_t size);
668  ::std::string* mutable_src();
669  ::std::string* release_src();
670  void set_allocated_src(::std::string* src);
671 
672  // @@protoc_insertion_point(class_scope:hadoop.hdfs.GetEZForPathRequestProto)
673  private:
674  inline void set_has_src();
675  inline void clear_has_src();
676 
677  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
678  ::google::protobuf::uint32 _has_bits_[1];
679  mutable int _cached_size_;
680  ::google::protobuf::internal::ArenaStringPtr src_;
681  friend void protobuf_AddDesc_encryption_2eproto();
682  friend void protobuf_AssignDesc_encryption_2eproto();
683  friend void protobuf_ShutdownFile_encryption_2eproto();
684 
685  void InitAsDefaultInstance();
686  static GetEZForPathRequestProto* default_instance_;
687 };
688 // -------------------------------------------------------------------
689 
690 class GetEZForPathResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.GetEZForPathResponseProto) */ {
691  public:
693  virtual ~GetEZForPathResponseProto();
694 
696 
697  inline GetEZForPathResponseProto& operator=(const GetEZForPathResponseProto& from) {
698  CopyFrom(from);
699  return *this;
700  }
701 
702  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
703  return _internal_metadata_.unknown_fields();
704  }
705 
706  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
707  return _internal_metadata_.mutable_unknown_fields();
708  }
709 
710  static const ::google::protobuf::Descriptor* descriptor();
711  static const GetEZForPathResponseProto& default_instance();
712 
713  void Swap(GetEZForPathResponseProto* other);
714 
715  // implements Message ----------------------------------------------
716 
717  inline GetEZForPathResponseProto* New() const { return New(NULL); }
718 
719  GetEZForPathResponseProto* New(::google::protobuf::Arena* arena) const;
720  void CopyFrom(const ::google::protobuf::Message& from);
721  void MergeFrom(const ::google::protobuf::Message& from);
722  void CopyFrom(const GetEZForPathResponseProto& from);
723  void MergeFrom(const GetEZForPathResponseProto& from);
724  void Clear();
725  bool IsInitialized() const;
726 
727  int ByteSize() const;
728  bool MergePartialFromCodedStream(
729  ::google::protobuf::io::CodedInputStream* input);
730  void SerializeWithCachedSizes(
731  ::google::protobuf::io::CodedOutputStream* output) const;
732  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
733  bool deterministic, ::google::protobuf::uint8* output) const;
734  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
735  return InternalSerializeWithCachedSizesToArray(false, output);
736  }
737  int GetCachedSize() const { return _cached_size_; }
738  private:
739  void SharedCtor();
740  void SharedDtor();
741  void SetCachedSize(int size) const;
742  void InternalSwap(GetEZForPathResponseProto* other);
743  private:
744  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
745  return _internal_metadata_.arena();
746  }
747  inline void* MaybeArenaPtr() const {
748  return _internal_metadata_.raw_arena_ptr();
749  }
750  public:
751 
752  ::google::protobuf::Metadata GetMetadata() const;
753 
754  // nested types ----------------------------------------------------
755 
756  // accessors -------------------------------------------------------
757 
758  // optional .hadoop.hdfs.EncryptionZoneProto zone = 1;
759  bool has_zone() const;
760  void clear_zone();
761  static const int kZoneFieldNumber = 1;
762  const ::hadoop::hdfs::EncryptionZoneProto& zone() const;
763  ::hadoop::hdfs::EncryptionZoneProto* mutable_zone();
764  ::hadoop::hdfs::EncryptionZoneProto* release_zone();
765  void set_allocated_zone(::hadoop::hdfs::EncryptionZoneProto* zone);
766 
767  // @@protoc_insertion_point(class_scope:hadoop.hdfs.GetEZForPathResponseProto)
768  private:
769  inline void set_has_zone();
770  inline void clear_has_zone();
771 
772  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
773  ::google::protobuf::uint32 _has_bits_[1];
774  mutable int _cached_size_;
776  friend void protobuf_AddDesc_encryption_2eproto();
777  friend void protobuf_AssignDesc_encryption_2eproto();
778  friend void protobuf_ShutdownFile_encryption_2eproto();
779 
780  void InitAsDefaultInstance();
781  static GetEZForPathResponseProto* default_instance_;
782 };
783 // ===================================================================
784 
785 
786 // ===================================================================
787 
788 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
789 // CreateEncryptionZoneRequestProto
790 
791 // required string src = 1;
792 inline bool CreateEncryptionZoneRequestProto::has_src() const {
793  return (_has_bits_[0] & 0x00000001u) != 0;
794 }
795 inline void CreateEncryptionZoneRequestProto::set_has_src() {
796  _has_bits_[0] |= 0x00000001u;
797 }
798 inline void CreateEncryptionZoneRequestProto::clear_has_src() {
799  _has_bits_[0] &= ~0x00000001u;
800 }
801 inline void CreateEncryptionZoneRequestProto::clear_src() {
802  src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
803  clear_has_src();
804 }
805 inline const ::std::string& CreateEncryptionZoneRequestProto::src() const {
806  // @@protoc_insertion_point(field_get:hadoop.hdfs.CreateEncryptionZoneRequestProto.src)
807  return src_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
808 }
809 inline void CreateEncryptionZoneRequestProto::set_src(const ::std::string& value) {
810  set_has_src();
811  src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
812  // @@protoc_insertion_point(field_set:hadoop.hdfs.CreateEncryptionZoneRequestProto.src)
813 }
814 inline void CreateEncryptionZoneRequestProto::set_src(const char* value) {
815  set_has_src();
816  src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
817  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.CreateEncryptionZoneRequestProto.src)
818 }
819 inline void CreateEncryptionZoneRequestProto::set_src(const char* value, size_t size) {
820  set_has_src();
821  src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
822  ::std::string(reinterpret_cast<const char*>(value), size));
823  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.CreateEncryptionZoneRequestProto.src)
824 }
825 inline ::std::string* CreateEncryptionZoneRequestProto::mutable_src() {
826  set_has_src();
827  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.CreateEncryptionZoneRequestProto.src)
828  return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
829 }
830 inline ::std::string* CreateEncryptionZoneRequestProto::release_src() {
831  // @@protoc_insertion_point(field_release:hadoop.hdfs.CreateEncryptionZoneRequestProto.src)
832  clear_has_src();
833  return src_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
834 }
835 inline void CreateEncryptionZoneRequestProto::set_allocated_src(::std::string* src) {
836  if (src != NULL) {
837  set_has_src();
838  } else {
839  clear_has_src();
840  }
841  src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src);
842  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.CreateEncryptionZoneRequestProto.src)
843 }
844 
845 // optional string keyName = 2;
846 inline bool CreateEncryptionZoneRequestProto::has_keyname() const {
847  return (_has_bits_[0] & 0x00000002u) != 0;
848 }
849 inline void CreateEncryptionZoneRequestProto::set_has_keyname() {
850  _has_bits_[0] |= 0x00000002u;
851 }
852 inline void CreateEncryptionZoneRequestProto::clear_has_keyname() {
853  _has_bits_[0] &= ~0x00000002u;
854 }
855 inline void CreateEncryptionZoneRequestProto::clear_keyname() {
856  keyname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
857  clear_has_keyname();
858 }
859 inline const ::std::string& CreateEncryptionZoneRequestProto::keyname() const {
860  // @@protoc_insertion_point(field_get:hadoop.hdfs.CreateEncryptionZoneRequestProto.keyName)
861  return keyname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
862 }
863 inline void CreateEncryptionZoneRequestProto::set_keyname(const ::std::string& value) {
864  set_has_keyname();
865  keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
866  // @@protoc_insertion_point(field_set:hadoop.hdfs.CreateEncryptionZoneRequestProto.keyName)
867 }
868 inline void CreateEncryptionZoneRequestProto::set_keyname(const char* value) {
869  set_has_keyname();
870  keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
871  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.CreateEncryptionZoneRequestProto.keyName)
872 }
873 inline void CreateEncryptionZoneRequestProto::set_keyname(const char* value, size_t size) {
874  set_has_keyname();
875  keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
876  ::std::string(reinterpret_cast<const char*>(value), size));
877  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.CreateEncryptionZoneRequestProto.keyName)
878 }
879 inline ::std::string* CreateEncryptionZoneRequestProto::mutable_keyname() {
880  set_has_keyname();
881  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.CreateEncryptionZoneRequestProto.keyName)
882  return keyname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
883 }
884 inline ::std::string* CreateEncryptionZoneRequestProto::release_keyname() {
885  // @@protoc_insertion_point(field_release:hadoop.hdfs.CreateEncryptionZoneRequestProto.keyName)
886  clear_has_keyname();
887  return keyname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
888 }
889 inline void CreateEncryptionZoneRequestProto::set_allocated_keyname(::std::string* keyname) {
890  if (keyname != NULL) {
891  set_has_keyname();
892  } else {
893  clear_has_keyname();
894  }
895  keyname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), keyname);
896  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.CreateEncryptionZoneRequestProto.keyName)
897 }
898 
899 // -------------------------------------------------------------------
900 
901 // CreateEncryptionZoneResponseProto
902 
903 // -------------------------------------------------------------------
904 
905 // ListEncryptionZonesRequestProto
906 
907 // required int64 id = 1;
908 inline bool ListEncryptionZonesRequestProto::has_id() const {
909  return (_has_bits_[0] & 0x00000001u) != 0;
910 }
911 inline void ListEncryptionZonesRequestProto::set_has_id() {
912  _has_bits_[0] |= 0x00000001u;
913 }
914 inline void ListEncryptionZonesRequestProto::clear_has_id() {
915  _has_bits_[0] &= ~0x00000001u;
916 }
917 inline void ListEncryptionZonesRequestProto::clear_id() {
918  id_ = GOOGLE_LONGLONG(0);
919  clear_has_id();
920 }
921 inline ::google::protobuf::int64 ListEncryptionZonesRequestProto::id() const {
922  // @@protoc_insertion_point(field_get:hadoop.hdfs.ListEncryptionZonesRequestProto.id)
923  return id_;
924 }
925 inline void ListEncryptionZonesRequestProto::set_id(::google::protobuf::int64 value) {
926  set_has_id();
927  id_ = value;
928  // @@protoc_insertion_point(field_set:hadoop.hdfs.ListEncryptionZonesRequestProto.id)
929 }
930 
931 // -------------------------------------------------------------------
932 
933 // EncryptionZoneProto
934 
935 // required int64 id = 1;
936 inline bool EncryptionZoneProto::has_id() const {
937  return (_has_bits_[0] & 0x00000001u) != 0;
938 }
939 inline void EncryptionZoneProto::set_has_id() {
940  _has_bits_[0] |= 0x00000001u;
941 }
942 inline void EncryptionZoneProto::clear_has_id() {
943  _has_bits_[0] &= ~0x00000001u;
944 }
945 inline void EncryptionZoneProto::clear_id() {
946  id_ = GOOGLE_LONGLONG(0);
947  clear_has_id();
948 }
949 inline ::google::protobuf::int64 EncryptionZoneProto::id() const {
950  // @@protoc_insertion_point(field_get:hadoop.hdfs.EncryptionZoneProto.id)
951  return id_;
952 }
953 inline void EncryptionZoneProto::set_id(::google::protobuf::int64 value) {
954  set_has_id();
955  id_ = value;
956  // @@protoc_insertion_point(field_set:hadoop.hdfs.EncryptionZoneProto.id)
957 }
958 
959 // required string path = 2;
960 inline bool EncryptionZoneProto::has_path() const {
961  return (_has_bits_[0] & 0x00000002u) != 0;
962 }
963 inline void EncryptionZoneProto::set_has_path() {
964  _has_bits_[0] |= 0x00000002u;
965 }
966 inline void EncryptionZoneProto::clear_has_path() {
967  _has_bits_[0] &= ~0x00000002u;
968 }
969 inline void EncryptionZoneProto::clear_path() {
970  path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
971  clear_has_path();
972 }
973 inline const ::std::string& EncryptionZoneProto::path() const {
974  // @@protoc_insertion_point(field_get:hadoop.hdfs.EncryptionZoneProto.path)
975  return path_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
976 }
977 inline void EncryptionZoneProto::set_path(const ::std::string& value) {
978  set_has_path();
979  path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
980  // @@protoc_insertion_point(field_set:hadoop.hdfs.EncryptionZoneProto.path)
981 }
982 inline void EncryptionZoneProto::set_path(const char* value) {
983  set_has_path();
984  path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
985  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.EncryptionZoneProto.path)
986 }
987 inline void EncryptionZoneProto::set_path(const char* value, size_t size) {
988  set_has_path();
989  path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
990  ::std::string(reinterpret_cast<const char*>(value), size));
991  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.EncryptionZoneProto.path)
992 }
993 inline ::std::string* EncryptionZoneProto::mutable_path() {
994  set_has_path();
995  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.EncryptionZoneProto.path)
996  return path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
997 }
998 inline ::std::string* EncryptionZoneProto::release_path() {
999  // @@protoc_insertion_point(field_release:hadoop.hdfs.EncryptionZoneProto.path)
1000  clear_has_path();
1001  return path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1002 }
1003 inline void EncryptionZoneProto::set_allocated_path(::std::string* path) {
1004  if (path != NULL) {
1005  set_has_path();
1006  } else {
1007  clear_has_path();
1008  }
1009  path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), path);
1010  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.EncryptionZoneProto.path)
1011 }
1012 
1013 // required .hadoop.hdfs.CipherSuiteProto suite = 3;
1014 inline bool EncryptionZoneProto::has_suite() const {
1015  return (_has_bits_[0] & 0x00000004u) != 0;
1016 }
1017 inline void EncryptionZoneProto::set_has_suite() {
1018  _has_bits_[0] |= 0x00000004u;
1019 }
1020 inline void EncryptionZoneProto::clear_has_suite() {
1021  _has_bits_[0] &= ~0x00000004u;
1022 }
1023 inline void EncryptionZoneProto::clear_suite() {
1024  suite_ = 1;
1025  clear_has_suite();
1026 }
1027 inline ::hadoop::hdfs::CipherSuiteProto EncryptionZoneProto::suite() const {
1028  // @@protoc_insertion_point(field_get:hadoop.hdfs.EncryptionZoneProto.suite)
1029  return static_cast< ::hadoop::hdfs::CipherSuiteProto >(suite_);
1030 }
1031 inline void EncryptionZoneProto::set_suite(::hadoop::hdfs::CipherSuiteProto value) {
1032  assert(::hadoop::hdfs::CipherSuiteProto_IsValid(value));
1033  set_has_suite();
1034  suite_ = value;
1035  // @@protoc_insertion_point(field_set:hadoop.hdfs.EncryptionZoneProto.suite)
1036 }
1037 
1038 // required .hadoop.hdfs.CryptoProtocolVersionProto cryptoProtocolVersion = 4;
1039 inline bool EncryptionZoneProto::has_cryptoprotocolversion() const {
1040  return (_has_bits_[0] & 0x00000008u) != 0;
1041 }
1042 inline void EncryptionZoneProto::set_has_cryptoprotocolversion() {
1043  _has_bits_[0] |= 0x00000008u;
1044 }
1045 inline void EncryptionZoneProto::clear_has_cryptoprotocolversion() {
1046  _has_bits_[0] &= ~0x00000008u;
1047 }
1048 inline void EncryptionZoneProto::clear_cryptoprotocolversion() {
1049  cryptoprotocolversion_ = 1;
1050  clear_has_cryptoprotocolversion();
1051 }
1052 inline ::hadoop::hdfs::CryptoProtocolVersionProto EncryptionZoneProto::cryptoprotocolversion() const {
1053  // @@protoc_insertion_point(field_get:hadoop.hdfs.EncryptionZoneProto.cryptoProtocolVersion)
1054  return static_cast< ::hadoop::hdfs::CryptoProtocolVersionProto >(cryptoprotocolversion_);
1055 }
1056 inline void EncryptionZoneProto::set_cryptoprotocolversion(::hadoop::hdfs::CryptoProtocolVersionProto value) {
1057  assert(::hadoop::hdfs::CryptoProtocolVersionProto_IsValid(value));
1058  set_has_cryptoprotocolversion();
1059  cryptoprotocolversion_ = value;
1060  // @@protoc_insertion_point(field_set:hadoop.hdfs.EncryptionZoneProto.cryptoProtocolVersion)
1061 }
1062 
1063 // required string keyName = 5;
1064 inline bool EncryptionZoneProto::has_keyname() const {
1065  return (_has_bits_[0] & 0x00000010u) != 0;
1066 }
1067 inline void EncryptionZoneProto::set_has_keyname() {
1068  _has_bits_[0] |= 0x00000010u;
1069 }
1070 inline void EncryptionZoneProto::clear_has_keyname() {
1071  _has_bits_[0] &= ~0x00000010u;
1072 }
1073 inline void EncryptionZoneProto::clear_keyname() {
1074  keyname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1075  clear_has_keyname();
1076 }
1077 inline const ::std::string& EncryptionZoneProto::keyname() const {
1078  // @@protoc_insertion_point(field_get:hadoop.hdfs.EncryptionZoneProto.keyName)
1079  return keyname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1080 }
1081 inline void EncryptionZoneProto::set_keyname(const ::std::string& value) {
1082  set_has_keyname();
1083  keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1084  // @@protoc_insertion_point(field_set:hadoop.hdfs.EncryptionZoneProto.keyName)
1085 }
1086 inline void EncryptionZoneProto::set_keyname(const char* value) {
1087  set_has_keyname();
1088  keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1089  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.EncryptionZoneProto.keyName)
1090 }
1091 inline void EncryptionZoneProto::set_keyname(const char* value, size_t size) {
1092  set_has_keyname();
1093  keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1094  ::std::string(reinterpret_cast<const char*>(value), size));
1095  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.EncryptionZoneProto.keyName)
1096 }
1097 inline ::std::string* EncryptionZoneProto::mutable_keyname() {
1098  set_has_keyname();
1099  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.EncryptionZoneProto.keyName)
1100  return keyname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1101 }
1102 inline ::std::string* EncryptionZoneProto::release_keyname() {
1103  // @@protoc_insertion_point(field_release:hadoop.hdfs.EncryptionZoneProto.keyName)
1104  clear_has_keyname();
1105  return keyname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1106 }
1107 inline void EncryptionZoneProto::set_allocated_keyname(::std::string* keyname) {
1108  if (keyname != NULL) {
1109  set_has_keyname();
1110  } else {
1111  clear_has_keyname();
1112  }
1113  keyname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), keyname);
1114  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.EncryptionZoneProto.keyName)
1115 }
1116 
1117 // -------------------------------------------------------------------
1118 
1119 // ListEncryptionZonesResponseProto
1120 
1121 // repeated .hadoop.hdfs.EncryptionZoneProto zones = 1;
1122 inline int ListEncryptionZonesResponseProto::zones_size() const {
1123  return zones_.size();
1124 }
1125 inline void ListEncryptionZonesResponseProto::clear_zones() {
1126  zones_.Clear();
1127 }
1128 inline const ::hadoop::hdfs::EncryptionZoneProto& ListEncryptionZonesResponseProto::zones(int index) const {
1129  // @@protoc_insertion_point(field_get:hadoop.hdfs.ListEncryptionZonesResponseProto.zones)
1130  return zones_.Get(index);
1131 }
1132 inline ::hadoop::hdfs::EncryptionZoneProto* ListEncryptionZonesResponseProto::mutable_zones(int index) {
1133  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.ListEncryptionZonesResponseProto.zones)
1134  return zones_.Mutable(index);
1135 }
1136 inline ::hadoop::hdfs::EncryptionZoneProto* ListEncryptionZonesResponseProto::add_zones() {
1137  // @@protoc_insertion_point(field_add:hadoop.hdfs.ListEncryptionZonesResponseProto.zones)
1138  return zones_.Add();
1139 }
1140 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EncryptionZoneProto >*
1141 ListEncryptionZonesResponseProto::mutable_zones() {
1142  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.ListEncryptionZonesResponseProto.zones)
1143  return &zones_;
1144 }
1145 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EncryptionZoneProto >&
1146 ListEncryptionZonesResponseProto::zones() const {
1147  // @@protoc_insertion_point(field_list:hadoop.hdfs.ListEncryptionZonesResponseProto.zones)
1148  return zones_;
1149 }
1150 
1151 // required bool hasMore = 2;
1152 inline bool ListEncryptionZonesResponseProto::has_hasmore() const {
1153  return (_has_bits_[0] & 0x00000002u) != 0;
1154 }
1155 inline void ListEncryptionZonesResponseProto::set_has_hasmore() {
1156  _has_bits_[0] |= 0x00000002u;
1157 }
1158 inline void ListEncryptionZonesResponseProto::clear_has_hasmore() {
1159  _has_bits_[0] &= ~0x00000002u;
1160 }
1161 inline void ListEncryptionZonesResponseProto::clear_hasmore() {
1162  hasmore_ = false;
1163  clear_has_hasmore();
1164 }
1165 inline bool ListEncryptionZonesResponseProto::hasmore() const {
1166  // @@protoc_insertion_point(field_get:hadoop.hdfs.ListEncryptionZonesResponseProto.hasMore)
1167  return hasmore_;
1168 }
1169 inline void ListEncryptionZonesResponseProto::set_hasmore(bool value) {
1170  set_has_hasmore();
1171  hasmore_ = value;
1172  // @@protoc_insertion_point(field_set:hadoop.hdfs.ListEncryptionZonesResponseProto.hasMore)
1173 }
1174 
1175 // -------------------------------------------------------------------
1176 
1177 // GetEZForPathRequestProto
1178 
1179 // required string src = 1;
1180 inline bool GetEZForPathRequestProto::has_src() const {
1181  return (_has_bits_[0] & 0x00000001u) != 0;
1182 }
1183 inline void GetEZForPathRequestProto::set_has_src() {
1184  _has_bits_[0] |= 0x00000001u;
1185 }
1186 inline void GetEZForPathRequestProto::clear_has_src() {
1187  _has_bits_[0] &= ~0x00000001u;
1188 }
1189 inline void GetEZForPathRequestProto::clear_src() {
1190  src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1191  clear_has_src();
1192 }
1193 inline const ::std::string& GetEZForPathRequestProto::src() const {
1194  // @@protoc_insertion_point(field_get:hadoop.hdfs.GetEZForPathRequestProto.src)
1195  return src_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1196 }
1197 inline void GetEZForPathRequestProto::set_src(const ::std::string& value) {
1198  set_has_src();
1199  src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1200  // @@protoc_insertion_point(field_set:hadoop.hdfs.GetEZForPathRequestProto.src)
1201 }
1202 inline void GetEZForPathRequestProto::set_src(const char* value) {
1203  set_has_src();
1204  src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1205  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.GetEZForPathRequestProto.src)
1206 }
1207 inline void GetEZForPathRequestProto::set_src(const char* value, size_t size) {
1208  set_has_src();
1209  src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1210  ::std::string(reinterpret_cast<const char*>(value), size));
1211  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.GetEZForPathRequestProto.src)
1212 }
1213 inline ::std::string* GetEZForPathRequestProto::mutable_src() {
1214  set_has_src();
1215  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.GetEZForPathRequestProto.src)
1216  return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1217 }
1218 inline ::std::string* GetEZForPathRequestProto::release_src() {
1219  // @@protoc_insertion_point(field_release:hadoop.hdfs.GetEZForPathRequestProto.src)
1220  clear_has_src();
1221  return src_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1222 }
1223 inline void GetEZForPathRequestProto::set_allocated_src(::std::string* src) {
1224  if (src != NULL) {
1225  set_has_src();
1226  } else {
1227  clear_has_src();
1228  }
1229  src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src);
1230  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.GetEZForPathRequestProto.src)
1231 }
1232 
1233 // -------------------------------------------------------------------
1234 
1235 // GetEZForPathResponseProto
1236 
1237 // optional .hadoop.hdfs.EncryptionZoneProto zone = 1;
1238 inline bool GetEZForPathResponseProto::has_zone() const {
1239  return (_has_bits_[0] & 0x00000001u) != 0;
1240 }
1241 inline void GetEZForPathResponseProto::set_has_zone() {
1242  _has_bits_[0] |= 0x00000001u;
1243 }
1244 inline void GetEZForPathResponseProto::clear_has_zone() {
1245  _has_bits_[0] &= ~0x00000001u;
1246 }
1247 inline void GetEZForPathResponseProto::clear_zone() {
1248  if (zone_ != NULL) zone_->::hadoop::hdfs::EncryptionZoneProto::Clear();
1249  clear_has_zone();
1250 }
1251 inline const ::hadoop::hdfs::EncryptionZoneProto& GetEZForPathResponseProto::zone() const {
1252  // @@protoc_insertion_point(field_get:hadoop.hdfs.GetEZForPathResponseProto.zone)
1253  return zone_ != NULL ? *zone_ : *default_instance_->zone_;
1254 }
1255 inline ::hadoop::hdfs::EncryptionZoneProto* GetEZForPathResponseProto::mutable_zone() {
1256  set_has_zone();
1257  if (zone_ == NULL) {
1258  zone_ = new ::hadoop::hdfs::EncryptionZoneProto;
1259  }
1260  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.GetEZForPathResponseProto.zone)
1261  return zone_;
1262 }
1263 inline ::hadoop::hdfs::EncryptionZoneProto* GetEZForPathResponseProto::release_zone() {
1264  // @@protoc_insertion_point(field_release:hadoop.hdfs.GetEZForPathResponseProto.zone)
1265  clear_has_zone();
1267  zone_ = NULL;
1268  return temp;
1269 }
1270 inline void GetEZForPathResponseProto::set_allocated_zone(::hadoop::hdfs::EncryptionZoneProto* zone) {
1271  delete zone_;
1272  zone_ = zone;
1273  if (zone) {
1274  set_has_zone();
1275  } else {
1276  clear_has_zone();
1277  }
1278  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.GetEZForPathResponseProto.zone)
1279 }
1280 
1281 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
1282 // -------------------------------------------------------------------
1283 
1284 // -------------------------------------------------------------------
1285 
1286 // -------------------------------------------------------------------
1287 
1288 // -------------------------------------------------------------------
1289 
1290 // -------------------------------------------------------------------
1291 
1292 // -------------------------------------------------------------------
1293 
1294 
1295 // @@protoc_insertion_point(namespace_scope)
1296 
1297 } // namespace hdfs
1298 } // namespace hadoop
1299 
1300 // @@protoc_insertion_point(global_scope)
1301 
1302 #endif // PROTOBUF_encryption_2eproto__INCLUDED
Definition: encryption.pb.h:592
Definition: encryption.pb.h:690
Definition: encryption.pb.h:340
Definition: encryption.pb.h:486
Definition: encryption.pb.h:247