4 #ifndef PROTOBUF_encryption_2eproto__INCLUDED
5 #define PROTOBUF_encryption_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
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
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.
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>
37 void protobuf_AddDesc_encryption_2eproto();
38 void protobuf_AssignDesc_encryption_2eproto();
39 void protobuf_ShutdownFile_encryption_2eproto();
41 class CreateEncryptionZoneRequestProto;
42 class CreateEncryptionZoneResponseProto;
43 class EncryptionZoneProto;
44 class GetEZForPathRequestProto;
45 class GetEZForPathResponseProto;
46 class ListEncryptionZonesRequestProto;
47 class ListEncryptionZonesResponseProto;
63 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
64 return _internal_metadata_.unknown_fields();
67 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
68 return _internal_metadata_.mutable_unknown_fields();
71 static const ::google::protobuf::Descriptor* descriptor();
81 void CopyFrom(const ::google::protobuf::Message& from);
82 void MergeFrom(const ::google::protobuf::Message& from);
86 bool IsInitialized()
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);
98 int GetCachedSize()
const {
return _cached_size_; }
102 void SetCachedSize(
int size)
const;
105 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
106 return _internal_metadata_.arena();
108 inline void* MaybeArenaPtr()
const {
109 return _internal_metadata_.raw_arena_ptr();
113 ::google::protobuf::Metadata GetMetadata()
const;
120 bool has_src()
const;
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);
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);
145 inline void set_has_src();
146 inline void clear_has_src();
147 inline void set_has_keyname();
148 inline void clear_has_keyname();
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();
159 void InitAsDefaultInstance();
176 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
177 return _internal_metadata_.unknown_fields();
180 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
181 return _internal_metadata_.mutable_unknown_fields();
184 static const ::google::protobuf::Descriptor* descriptor();
194 void CopyFrom(const ::google::protobuf::Message& from);
195 void MergeFrom(const ::google::protobuf::Message& from);
199 bool IsInitialized()
const;
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);
211 int GetCachedSize()
const {
return _cached_size_; }
215 void SetCachedSize(
int size)
const;
218 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
219 return _internal_metadata_.arena();
221 inline void* MaybeArenaPtr()
const {
222 return _internal_metadata_.raw_arena_ptr();
226 ::google::protobuf::Metadata GetMetadata()
const;
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();
242 void InitAsDefaultInstance();
259 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
260 return _internal_metadata_.unknown_fields();
263 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
264 return _internal_metadata_.mutable_unknown_fields();
267 static const ::google::protobuf::Descriptor* descriptor();
277 void CopyFrom(const ::google::protobuf::Message& from);
278 void MergeFrom(const ::google::protobuf::Message& from);
282 bool IsInitialized()
const;
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);
294 int GetCachedSize()
const {
return _cached_size_; }
298 void SetCachedSize(
int size)
const;
301 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
302 return _internal_metadata_.arena();
304 inline void* MaybeArenaPtr()
const {
305 return _internal_metadata_.raw_arena_ptr();
309 ::google::protobuf::Metadata GetMetadata()
const;
318 static const int kIdFieldNumber = 1;
319 ::google::protobuf::int64 id()
const;
320 void set_id(::google::protobuf::int64 value);
324 inline void set_has_id();
325 inline void clear_has_id();
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();
335 void InitAsDefaultInstance();
352 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
353 return _internal_metadata_.unknown_fields();
356 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
357 return _internal_metadata_.mutable_unknown_fields();
360 static const ::google::protobuf::Descriptor* descriptor();
370 void CopyFrom(const ::google::protobuf::Message& from);
371 void MergeFrom(const ::google::protobuf::Message& from);
375 bool IsInitialized()
const;
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);
387 int GetCachedSize()
const {
return _cached_size_; }
391 void SetCachedSize(
int size)
const;
394 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
395 return _internal_metadata_.arena();
397 inline void* MaybeArenaPtr()
const {
398 return _internal_metadata_.raw_arena_ptr();
402 ::google::protobuf::Metadata GetMetadata()
const;
411 static const int kIdFieldNumber = 1;
412 ::google::protobuf::int64 id()
const;
413 void set_id(::google::protobuf::int64 value);
416 bool has_path()
const;
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);
428 bool has_suite()
const;
430 static const int kSuiteFieldNumber = 3;
431 ::hadoop::hdfs::CipherSuiteProto suite()
const;
432 void set_suite(::hadoop::hdfs::CipherSuiteProto value);
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);
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);
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();
467 int RequiredFieldsByteSizeFallback()
const;
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_;
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();
481 void InitAsDefaultInstance();
498 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
499 return _internal_metadata_.unknown_fields();
502 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
503 return _internal_metadata_.mutable_unknown_fields();
506 static const ::google::protobuf::Descriptor* descriptor();
516 void CopyFrom(const ::google::protobuf::Message& from);
517 void MergeFrom(const ::google::protobuf::Message& from);
521 bool IsInitialized()
const;
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);
533 int GetCachedSize()
const {
return _cached_size_; }
537 void SetCachedSize(
int size)
const;
540 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
541 return _internal_metadata_.arena();
543 inline void* MaybeArenaPtr()
const {
544 return _internal_metadata_.raw_arena_ptr();
548 ::google::protobuf::Metadata GetMetadata()
const;
555 int zones_size()
const;
557 static const int kZonesFieldNumber = 1;
558 const ::hadoop::hdfs::EncryptionZoneProto& zones(
int index)
const;
561 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EncryptionZoneProto >*
563 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EncryptionZoneProto >&
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);
575 inline void set_has_hasmore();
576 inline void clear_has_hasmore();
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_;
583 friend void protobuf_AddDesc_encryption_2eproto();
584 friend void protobuf_AssignDesc_encryption_2eproto();
585 friend void protobuf_ShutdownFile_encryption_2eproto();
587 void InitAsDefaultInstance();
604 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
605 return _internal_metadata_.unknown_fields();
608 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
609 return _internal_metadata_.mutable_unknown_fields();
612 static const ::google::protobuf::Descriptor* descriptor();
622 void CopyFrom(const ::google::protobuf::Message& from);
623 void MergeFrom(const ::google::protobuf::Message& from);
627 bool IsInitialized()
const;
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);
639 int GetCachedSize()
const {
return _cached_size_; }
643 void SetCachedSize(
int size)
const;
646 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
647 return _internal_metadata_.arena();
649 inline void* MaybeArenaPtr()
const {
650 return _internal_metadata_.raw_arena_ptr();
654 ::google::protobuf::Metadata GetMetadata()
const;
661 bool has_src()
const;
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);
674 inline void set_has_src();
675 inline void clear_has_src();
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();
685 void InitAsDefaultInstance();
702 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
703 return _internal_metadata_.unknown_fields();
706 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
707 return _internal_metadata_.mutable_unknown_fields();
710 static const ::google::protobuf::Descriptor* descriptor();
720 void CopyFrom(const ::google::protobuf::Message& from);
721 void MergeFrom(const ::google::protobuf::Message& from);
725 bool IsInitialized()
const;
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);
737 int GetCachedSize()
const {
return _cached_size_; }
741 void SetCachedSize(
int size)
const;
744 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
745 return _internal_metadata_.arena();
747 inline void* MaybeArenaPtr()
const {
748 return _internal_metadata_.raw_arena_ptr();
752 ::google::protobuf::Metadata GetMetadata()
const;
759 bool has_zone()
const;
761 static const int kZoneFieldNumber = 1;
762 const ::hadoop::hdfs::EncryptionZoneProto& zone()
const;
769 inline void set_has_zone();
770 inline void clear_has_zone();
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();
780 void InitAsDefaultInstance();
788 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
792 inline bool CreateEncryptionZoneRequestProto::has_src()
const {
793 return (_has_bits_[0] & 0x00000001u) != 0;
795 inline void CreateEncryptionZoneRequestProto::set_has_src() {
796 _has_bits_[0] |= 0x00000001u;
798 inline void CreateEncryptionZoneRequestProto::clear_has_src() {
799 _has_bits_[0] &= ~0x00000001u;
801 inline void CreateEncryptionZoneRequestProto::clear_src() {
802 src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
805 inline const ::std::string& CreateEncryptionZoneRequestProto::src()
const {
807 return src_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
809 inline void CreateEncryptionZoneRequestProto::set_src(const ::std::string& value) {
811 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
814 inline void CreateEncryptionZoneRequestProto::set_src(
const char* value) {
816 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
819 inline void CreateEncryptionZoneRequestProto::set_src(
const char* value,
size_t size) {
821 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
822 ::std::string(reinterpret_cast<const char*>(value), size));
825 inline ::std::string* CreateEncryptionZoneRequestProto::mutable_src() {
828 return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
830 inline ::std::string* CreateEncryptionZoneRequestProto::release_src() {
833 return src_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
835 inline void CreateEncryptionZoneRequestProto::set_allocated_src(::std::string* src) {
841 src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src);
846 inline bool CreateEncryptionZoneRequestProto::has_keyname()
const {
847 return (_has_bits_[0] & 0x00000002u) != 0;
849 inline void CreateEncryptionZoneRequestProto::set_has_keyname() {
850 _has_bits_[0] |= 0x00000002u;
852 inline void CreateEncryptionZoneRequestProto::clear_has_keyname() {
853 _has_bits_[0] &= ~0x00000002u;
855 inline void CreateEncryptionZoneRequestProto::clear_keyname() {
856 keyname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
859 inline const ::std::string& CreateEncryptionZoneRequestProto::keyname()
const {
861 return keyname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
863 inline void CreateEncryptionZoneRequestProto::set_keyname(const ::std::string& value) {
865 keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
868 inline void CreateEncryptionZoneRequestProto::set_keyname(
const char* value) {
870 keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
873 inline void CreateEncryptionZoneRequestProto::set_keyname(
const char* value,
size_t size) {
875 keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
876 ::std::string(reinterpret_cast<const char*>(value), size));
879 inline ::std::string* CreateEncryptionZoneRequestProto::mutable_keyname() {
882 return keyname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
884 inline ::std::string* CreateEncryptionZoneRequestProto::release_keyname() {
887 return keyname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
889 inline void CreateEncryptionZoneRequestProto::set_allocated_keyname(::std::string* keyname) {
890 if (keyname != NULL) {
895 keyname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), keyname);
908 inline bool ListEncryptionZonesRequestProto::has_id()
const {
909 return (_has_bits_[0] & 0x00000001u) != 0;
911 inline void ListEncryptionZonesRequestProto::set_has_id() {
912 _has_bits_[0] |= 0x00000001u;
914 inline void ListEncryptionZonesRequestProto::clear_has_id() {
915 _has_bits_[0] &= ~0x00000001u;
917 inline void ListEncryptionZonesRequestProto::clear_id() {
918 id_ = GOOGLE_LONGLONG(0);
921 inline ::google::protobuf::int64 ListEncryptionZonesRequestProto::id()
const {
925 inline void ListEncryptionZonesRequestProto::set_id(::google::protobuf::int64 value) {
936 inline bool EncryptionZoneProto::has_id()
const {
937 return (_has_bits_[0] & 0x00000001u) != 0;
939 inline void EncryptionZoneProto::set_has_id() {
940 _has_bits_[0] |= 0x00000001u;
942 inline void EncryptionZoneProto::clear_has_id() {
943 _has_bits_[0] &= ~0x00000001u;
945 inline void EncryptionZoneProto::clear_id() {
946 id_ = GOOGLE_LONGLONG(0);
949 inline ::google::protobuf::int64 EncryptionZoneProto::id()
const {
953 inline void EncryptionZoneProto::set_id(::google::protobuf::int64 value) {
960 inline bool EncryptionZoneProto::has_path()
const {
961 return (_has_bits_[0] & 0x00000002u) != 0;
963 inline void EncryptionZoneProto::set_has_path() {
964 _has_bits_[0] |= 0x00000002u;
966 inline void EncryptionZoneProto::clear_has_path() {
967 _has_bits_[0] &= ~0x00000002u;
969 inline void EncryptionZoneProto::clear_path() {
970 path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
973 inline const ::std::string& EncryptionZoneProto::path()
const {
975 return path_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
977 inline void EncryptionZoneProto::set_path(const ::std::string& value) {
979 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
982 inline void EncryptionZoneProto::set_path(
const char* value) {
984 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
987 inline void EncryptionZoneProto::set_path(
const char* value,
size_t size) {
989 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
990 ::std::string(reinterpret_cast<const char*>(value), size));
993 inline ::std::string* EncryptionZoneProto::mutable_path() {
996 return path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
998 inline ::std::string* EncryptionZoneProto::release_path() {
1001 return path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1003 inline void EncryptionZoneProto::set_allocated_path(::std::string* path) {
1009 path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), path);
1014 inline bool EncryptionZoneProto::has_suite()
const {
1015 return (_has_bits_[0] & 0x00000004u) != 0;
1017 inline void EncryptionZoneProto::set_has_suite() {
1018 _has_bits_[0] |= 0x00000004u;
1020 inline void EncryptionZoneProto::clear_has_suite() {
1021 _has_bits_[0] &= ~0x00000004u;
1023 inline void EncryptionZoneProto::clear_suite() {
1027 inline ::hadoop::hdfs::CipherSuiteProto EncryptionZoneProto::suite()
const {
1029 return static_cast< ::hadoop::hdfs::CipherSuiteProto
>(suite_);
1031 inline void EncryptionZoneProto::set_suite(::hadoop::hdfs::CipherSuiteProto value) {
1032 assert(::hadoop::hdfs::CipherSuiteProto_IsValid(value));
1039 inline bool EncryptionZoneProto::has_cryptoprotocolversion()
const {
1040 return (_has_bits_[0] & 0x00000008u) != 0;
1042 inline void EncryptionZoneProto::set_has_cryptoprotocolversion() {
1043 _has_bits_[0] |= 0x00000008u;
1045 inline void EncryptionZoneProto::clear_has_cryptoprotocolversion() {
1046 _has_bits_[0] &= ~0x00000008u;
1048 inline void EncryptionZoneProto::clear_cryptoprotocolversion() {
1049 cryptoprotocolversion_ = 1;
1050 clear_has_cryptoprotocolversion();
1052 inline ::hadoop::hdfs::CryptoProtocolVersionProto EncryptionZoneProto::cryptoprotocolversion()
const {
1054 return static_cast< ::hadoop::hdfs::CryptoProtocolVersionProto
>(cryptoprotocolversion_);
1056 inline void EncryptionZoneProto::set_cryptoprotocolversion(::hadoop::hdfs::CryptoProtocolVersionProto value) {
1057 assert(::hadoop::hdfs::CryptoProtocolVersionProto_IsValid(value));
1058 set_has_cryptoprotocolversion();
1059 cryptoprotocolversion_ = value;
1064 inline bool EncryptionZoneProto::has_keyname()
const {
1065 return (_has_bits_[0] & 0x00000010u) != 0;
1067 inline void EncryptionZoneProto::set_has_keyname() {
1068 _has_bits_[0] |= 0x00000010u;
1070 inline void EncryptionZoneProto::clear_has_keyname() {
1071 _has_bits_[0] &= ~0x00000010u;
1073 inline void EncryptionZoneProto::clear_keyname() {
1074 keyname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1075 clear_has_keyname();
1077 inline const ::std::string& EncryptionZoneProto::keyname()
const {
1079 return keyname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1081 inline void EncryptionZoneProto::set_keyname(const ::std::string& value) {
1083 keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1086 inline void EncryptionZoneProto::set_keyname(
const char* value) {
1088 keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1091 inline void EncryptionZoneProto::set_keyname(
const char* value,
size_t size) {
1093 keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1094 ::std::string(reinterpret_cast<const char*>(value), size));
1097 inline ::std::string* EncryptionZoneProto::mutable_keyname() {
1100 return keyname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1102 inline ::std::string* EncryptionZoneProto::release_keyname() {
1104 clear_has_keyname();
1105 return keyname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1107 inline void EncryptionZoneProto::set_allocated_keyname(::std::string* keyname) {
1108 if (keyname != NULL) {
1111 clear_has_keyname();
1113 keyname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), keyname);
1122 inline int ListEncryptionZonesResponseProto::zones_size()
const {
1123 return zones_.size();
1125 inline void ListEncryptionZonesResponseProto::clear_zones() {
1128 inline const ::hadoop::hdfs::EncryptionZoneProto& ListEncryptionZonesResponseProto::zones(
int index)
const {
1130 return zones_.Get(index);
1132 inline ::hadoop::hdfs::EncryptionZoneProto* ListEncryptionZonesResponseProto::mutable_zones(
int index) {
1134 return zones_.Mutable(index);
1136 inline ::hadoop::hdfs::EncryptionZoneProto* ListEncryptionZonesResponseProto::add_zones() {
1138 return zones_.Add();
1140 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EncryptionZoneProto >*
1141 ListEncryptionZonesResponseProto::mutable_zones() {
1145 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EncryptionZoneProto >&
1146 ListEncryptionZonesResponseProto::zones()
const {
1152 inline bool ListEncryptionZonesResponseProto::has_hasmore()
const {
1153 return (_has_bits_[0] & 0x00000002u) != 0;
1155 inline void ListEncryptionZonesResponseProto::set_has_hasmore() {
1156 _has_bits_[0] |= 0x00000002u;
1158 inline void ListEncryptionZonesResponseProto::clear_has_hasmore() {
1159 _has_bits_[0] &= ~0x00000002u;
1161 inline void ListEncryptionZonesResponseProto::clear_hasmore() {
1163 clear_has_hasmore();
1165 inline bool ListEncryptionZonesResponseProto::hasmore()
const {
1169 inline void ListEncryptionZonesResponseProto::set_hasmore(
bool value) {
1180 inline bool GetEZForPathRequestProto::has_src()
const {
1181 return (_has_bits_[0] & 0x00000001u) != 0;
1183 inline void GetEZForPathRequestProto::set_has_src() {
1184 _has_bits_[0] |= 0x00000001u;
1186 inline void GetEZForPathRequestProto::clear_has_src() {
1187 _has_bits_[0] &= ~0x00000001u;
1189 inline void GetEZForPathRequestProto::clear_src() {
1190 src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1193 inline const ::std::string& GetEZForPathRequestProto::src()
const {
1195 return src_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1197 inline void GetEZForPathRequestProto::set_src(const ::std::string& value) {
1199 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1202 inline void GetEZForPathRequestProto::set_src(
const char* value) {
1204 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1207 inline void GetEZForPathRequestProto::set_src(
const char* value,
size_t size) {
1209 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1210 ::std::string(reinterpret_cast<const char*>(value), size));
1213 inline ::std::string* GetEZForPathRequestProto::mutable_src() {
1216 return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1218 inline ::std::string* GetEZForPathRequestProto::release_src() {
1221 return src_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1223 inline void GetEZForPathRequestProto::set_allocated_src(::std::string* src) {
1229 src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src);
1238 inline bool GetEZForPathResponseProto::has_zone()
const {
1239 return (_has_bits_[0] & 0x00000001u) != 0;
1241 inline void GetEZForPathResponseProto::set_has_zone() {
1242 _has_bits_[0] |= 0x00000001u;
1244 inline void GetEZForPathResponseProto::clear_has_zone() {
1245 _has_bits_[0] &= ~0x00000001u;
1247 inline void GetEZForPathResponseProto::clear_zone() {
1248 if (zone_ != NULL) zone_->::hadoop::hdfs::EncryptionZoneProto::Clear();
1251 inline const ::hadoop::hdfs::EncryptionZoneProto& GetEZForPathResponseProto::zone()
const {
1253 return zone_ != NULL ? *zone_ : *default_instance_->zone_;
1255 inline ::hadoop::hdfs::EncryptionZoneProto* GetEZForPathResponseProto::mutable_zone() {
1257 if (zone_ == NULL) {
1258 zone_ = new ::hadoop::hdfs::EncryptionZoneProto;
1263 inline ::hadoop::hdfs::EncryptionZoneProto* GetEZForPathResponseProto::release_zone() {
1281 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
1302 #endif // PROTOBUF_encryption_2eproto__INCLUDED
Definition: encryption.pb.h:51
Definition: encryption.pb.h:592
Definition: encryption.pb.h:164
Definition: encryption.pb.h:690
Definition: encryption.pb.h:340
Definition: encryption.pb.h:486
Definition: encryption.pb.h:247