4 #ifndef PROTOBUF_fsimage_2eproto__INCLUDED
5 #define PROTOBUF_fsimage_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/generated_enum_reflection.h>
30 #include <google/protobuf/unknown_field_set.h>
41 void protobuf_AddDesc_fsimage_2eproto();
42 void protobuf_AssignDesc_fsimage_2eproto();
43 void protobuf_ShutdownFile_fsimage_2eproto();
45 class CacheManagerSection;
47 class FileSummary_Section;
48 class FilesUnderConstructionSection;
49 class FilesUnderConstructionSection_FileUnderConstructionEntry;
50 class INodeDirectorySection;
51 class INodeDirectorySection_DirEntry;
52 class INodeReferenceSection;
53 class INodeReferenceSection_INodeReference;
55 class INodeSection_AclFeatureProto;
56 class INodeSection_FileUnderConstructionFeature;
57 class INodeSection_INode;
58 class INodeSection_INodeDirectory;
59 class INodeSection_INodeFile;
60 class INodeSection_INodeSymlink;
61 class INodeSection_QuotaByStorageTypeEntryProto;
62 class INodeSection_QuotaByStorageTypeFeatureProto;
63 class INodeSection_XAttrCompactProto;
64 class INodeSection_XAttrFeatureProto;
65 class NameSystemSection;
66 class SecretManagerSection;
67 class SecretManagerSection_DelegationKey;
68 class SecretManagerSection_PersistToken;
69 class SnapshotDiffSection;
70 class SnapshotDiffSection_CreatedListEntry;
71 class SnapshotDiffSection_DiffEntry;
72 class SnapshotDiffSection_DirectoryDiff;
73 class SnapshotDiffSection_FileDiff;
74 class SnapshotSection;
75 class SnapshotSection_Snapshot;
76 class StringTableSection;
77 class StringTableSection_Entry;
79 enum INodeSection_INode_Type {
80 INodeSection_INode_Type_FILE = 1,
81 INodeSection_INode_Type_DIRECTORY = 2,
82 INodeSection_INode_Type_SYMLINK = 3
84 bool INodeSection_INode_Type_IsValid(
int value);
85 const INodeSection_INode_Type INodeSection_INode_Type_Type_MIN = INodeSection_INode_Type_FILE;
86 const INodeSection_INode_Type INodeSection_INode_Type_Type_MAX = INodeSection_INode_Type_SYMLINK;
87 const int INodeSection_INode_Type_Type_ARRAYSIZE = INodeSection_INode_Type_Type_MAX + 1;
89 const ::google::protobuf::EnumDescriptor* INodeSection_INode_Type_descriptor();
90 inline const ::std::string& INodeSection_INode_Type_Name(INodeSection_INode_Type value) {
91 return ::google::protobuf::internal::NameOfEnum(
92 INodeSection_INode_Type_descriptor(), value);
94 inline bool INodeSection_INode_Type_Parse(
95 const ::std::string& name, INodeSection_INode_Type* value) {
96 return ::google::protobuf::internal::ParseNamedEnum<INodeSection_INode_Type>(
97 INodeSection_INode_Type_descriptor(), name, value);
99 enum SnapshotDiffSection_DiffEntry_Type {
100 SnapshotDiffSection_DiffEntry_Type_FILEDIFF = 1,
101 SnapshotDiffSection_DiffEntry_Type_DIRECTORYDIFF = 2
103 bool SnapshotDiffSection_DiffEntry_Type_IsValid(
int value);
104 const SnapshotDiffSection_DiffEntry_Type SnapshotDiffSection_DiffEntry_Type_Type_MIN = SnapshotDiffSection_DiffEntry_Type_FILEDIFF;
105 const SnapshotDiffSection_DiffEntry_Type SnapshotDiffSection_DiffEntry_Type_Type_MAX = SnapshotDiffSection_DiffEntry_Type_DIRECTORYDIFF;
106 const int SnapshotDiffSection_DiffEntry_Type_Type_ARRAYSIZE = SnapshotDiffSection_DiffEntry_Type_Type_MAX + 1;
108 const ::google::protobuf::EnumDescriptor* SnapshotDiffSection_DiffEntry_Type_descriptor();
109 inline const ::std::string& SnapshotDiffSection_DiffEntry_Type_Name(SnapshotDiffSection_DiffEntry_Type value) {
110 return ::google::protobuf::internal::NameOfEnum(
111 SnapshotDiffSection_DiffEntry_Type_descriptor(), value);
113 inline bool SnapshotDiffSection_DiffEntry_Type_Parse(
114 const ::std::string& name, SnapshotDiffSection_DiffEntry_Type* value) {
115 return ::google::protobuf::internal::ParseNamedEnum<SnapshotDiffSection_DiffEntry_Type>(
116 SnapshotDiffSection_DiffEntry_Type_descriptor(), name, value);
132 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
133 return _internal_metadata_.unknown_fields();
136 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
137 return _internal_metadata_.mutable_unknown_fields();
140 static const ::google::protobuf::Descriptor* descriptor();
150 void CopyFrom(const ::google::protobuf::Message& from);
151 void MergeFrom(const ::google::protobuf::Message& from);
155 bool IsInitialized()
const;
157 int ByteSize()
const;
158 bool MergePartialFromCodedStream(
159 ::google::protobuf::io::CodedInputStream* input);
160 void SerializeWithCachedSizes(
161 ::google::protobuf::io::CodedOutputStream* output)
const;
162 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
163 bool deterministic, ::google::protobuf::uint8* output)
const;
164 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
165 return InternalSerializeWithCachedSizesToArray(
false, output);
167 int GetCachedSize()
const {
return _cached_size_; }
171 void SetCachedSize(
int size)
const;
174 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
175 return _internal_metadata_.arena();
177 inline void* MaybeArenaPtr()
const {
178 return _internal_metadata_.raw_arena_ptr();
182 ::google::protobuf::Metadata GetMetadata()
const;
189 bool has_name()
const;
191 static const int kNameFieldNumber = 1;
192 const ::std::string& name()
const;
193 void set_name(const ::std::string& value);
194 void set_name(
const char* value);
195 void set_name(
const char* value,
size_t size);
196 ::std::string* mutable_name();
197 ::std::string* release_name();
198 void set_allocated_name(::std::string* name);
201 bool has_length()
const;
203 static const int kLengthFieldNumber = 2;
204 ::google::protobuf::uint64 length()
const;
205 void set_length(::google::protobuf::uint64 value);
208 bool has_offset()
const;
210 static const int kOffsetFieldNumber = 3;
211 ::google::protobuf::uint64 offset()
const;
212 void set_offset(::google::protobuf::uint64 value);
216 inline void set_has_name();
217 inline void clear_has_name();
218 inline void set_has_length();
219 inline void clear_has_length();
220 inline void set_has_offset();
221 inline void clear_has_offset();
223 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
224 ::google::protobuf::uint32 _has_bits_[1];
225 mutable int _cached_size_;
226 ::google::protobuf::internal::ArenaStringPtr name_;
227 ::google::protobuf::uint64 length_;
228 ::google::protobuf::uint64 offset_;
229 friend void protobuf_AddDesc_fsimage_2eproto();
230 friend void protobuf_AssignDesc_fsimage_2eproto();
231 friend void protobuf_ShutdownFile_fsimage_2eproto();
233 void InitAsDefaultInstance();
250 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
251 return _internal_metadata_.unknown_fields();
254 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
255 return _internal_metadata_.mutable_unknown_fields();
258 static const ::google::protobuf::Descriptor* descriptor();
265 inline FileSummary* New()
const {
return New(NULL); }
267 FileSummary* New(::google::protobuf::Arena* arena)
const;
268 void CopyFrom(const ::google::protobuf::Message& from);
269 void MergeFrom(const ::google::protobuf::Message& from);
273 bool IsInitialized()
const;
275 int ByteSize()
const;
276 bool MergePartialFromCodedStream(
277 ::google::protobuf::io::CodedInputStream* input);
278 void SerializeWithCachedSizes(
279 ::google::protobuf::io::CodedOutputStream* output)
const;
280 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
281 bool deterministic, ::google::protobuf::uint8* output)
const;
282 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
283 return InternalSerializeWithCachedSizesToArray(
false, output);
285 int GetCachedSize()
const {
return _cached_size_; }
289 void SetCachedSize(
int size)
const;
292 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
293 return _internal_metadata_.arena();
295 inline void* MaybeArenaPtr()
const {
296 return _internal_metadata_.raw_arena_ptr();
300 ::google::protobuf::Metadata GetMetadata()
const;
309 bool has_ondiskversion()
const;
310 void clear_ondiskversion();
311 static const int kOndiskVersionFieldNumber = 1;
312 ::google::protobuf::uint32 ondiskversion()
const;
313 void set_ondiskversion(::google::protobuf::uint32 value);
316 bool has_layoutversion()
const;
317 void clear_layoutversion();
318 static const int kLayoutVersionFieldNumber = 2;
319 ::google::protobuf::uint32 layoutversion()
const;
320 void set_layoutversion(::google::protobuf::uint32 value);
323 bool has_codec()
const;
325 static const int kCodecFieldNumber = 3;
326 const ::std::string& codec()
const;
327 void set_codec(const ::std::string& value);
328 void set_codec(
const char* value);
329 void set_codec(
const char* value,
size_t size);
330 ::std::string* mutable_codec();
331 ::std::string* release_codec();
332 void set_allocated_codec(::std::string* codec);
335 int sections_size()
const;
336 void clear_sections();
337 static const int kSectionsFieldNumber = 4;
338 const ::hadoop::hdfs::fsimage::FileSummary_Section& sections(
int index)
const;
341 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::FileSummary_Section >*
343 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::FileSummary_Section >&
348 inline void set_has_ondiskversion();
349 inline void clear_has_ondiskversion();
350 inline void set_has_layoutversion();
351 inline void clear_has_layoutversion();
352 inline void set_has_codec();
353 inline void clear_has_codec();
356 int RequiredFieldsByteSizeFallback()
const;
358 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
359 ::google::protobuf::uint32 _has_bits_[1];
360 mutable int _cached_size_;
361 ::google::protobuf::uint32 ondiskversion_;
362 ::google::protobuf::uint32 layoutversion_;
363 ::google::protobuf::internal::ArenaStringPtr codec_;
364 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::FileSummary_Section > sections_;
365 friend void protobuf_AddDesc_fsimage_2eproto();
366 friend void protobuf_AssignDesc_fsimage_2eproto();
367 friend void protobuf_ShutdownFile_fsimage_2eproto();
369 void InitAsDefaultInstance();
386 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
387 return _internal_metadata_.unknown_fields();
390 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
391 return _internal_metadata_.mutable_unknown_fields();
394 static const ::google::protobuf::Descriptor* descriptor();
404 void CopyFrom(const ::google::protobuf::Message& from);
405 void MergeFrom(const ::google::protobuf::Message& from);
409 bool IsInitialized()
const;
411 int ByteSize()
const;
412 bool MergePartialFromCodedStream(
413 ::google::protobuf::io::CodedInputStream* input);
414 void SerializeWithCachedSizes(
415 ::google::protobuf::io::CodedOutputStream* output)
const;
416 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
417 bool deterministic, ::google::protobuf::uint8* output)
const;
418 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
419 return InternalSerializeWithCachedSizesToArray(
false, output);
421 int GetCachedSize()
const {
return _cached_size_; }
425 void SetCachedSize(
int size)
const;
428 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
429 return _internal_metadata_.arena();
431 inline void* MaybeArenaPtr()
const {
432 return _internal_metadata_.raw_arena_ptr();
436 ::google::protobuf::Metadata GetMetadata()
const;
443 bool has_namespaceid()
const;
444 void clear_namespaceid();
445 static const int kNamespaceIdFieldNumber = 1;
446 ::google::protobuf::uint32 namespaceid()
const;
447 void set_namespaceid(::google::protobuf::uint32 value);
450 bool has_genstampv1()
const;
451 void clear_genstampv1();
452 static const int kGenstampV1FieldNumber = 2;
453 ::google::protobuf::uint64 genstampv1()
const;
454 void set_genstampv1(::google::protobuf::uint64 value);
457 bool has_genstampv2()
const;
458 void clear_genstampv2();
459 static const int kGenstampV2FieldNumber = 3;
460 ::google::protobuf::uint64 genstampv2()
const;
461 void set_genstampv2(::google::protobuf::uint64 value);
464 bool has_genstampv1limit()
const;
465 void clear_genstampv1limit();
466 static const int kGenstampV1LimitFieldNumber = 4;
467 ::google::protobuf::uint64 genstampv1limit()
const;
468 void set_genstampv1limit(::google::protobuf::uint64 value);
471 bool has_lastallocatedblockid()
const;
472 void clear_lastallocatedblockid();
473 static const int kLastAllocatedBlockIdFieldNumber = 5;
474 ::google::protobuf::uint64 lastallocatedblockid()
const;
475 void set_lastallocatedblockid(::google::protobuf::uint64 value);
478 bool has_transactionid()
const;
479 void clear_transactionid();
480 static const int kTransactionIdFieldNumber = 6;
481 ::google::protobuf::uint64 transactionid()
const;
482 void set_transactionid(::google::protobuf::uint64 value);
485 bool has_rollingupgradestarttime()
const;
486 void clear_rollingupgradestarttime();
487 static const int kRollingUpgradeStartTimeFieldNumber = 7;
488 ::google::protobuf::uint64 rollingupgradestarttime()
const;
489 void set_rollingupgradestarttime(::google::protobuf::uint64 value);
493 inline void set_has_namespaceid();
494 inline void clear_has_namespaceid();
495 inline void set_has_genstampv1();
496 inline void clear_has_genstampv1();
497 inline void set_has_genstampv2();
498 inline void clear_has_genstampv2();
499 inline void set_has_genstampv1limit();
500 inline void clear_has_genstampv1limit();
501 inline void set_has_lastallocatedblockid();
502 inline void clear_has_lastallocatedblockid();
503 inline void set_has_transactionid();
504 inline void clear_has_transactionid();
505 inline void set_has_rollingupgradestarttime();
506 inline void clear_has_rollingupgradestarttime();
508 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
509 ::google::protobuf::uint32 _has_bits_[1];
510 mutable int _cached_size_;
511 ::google::protobuf::uint64 genstampv1_;
512 ::google::protobuf::uint64 genstampv2_;
513 ::google::protobuf::uint64 genstampv1limit_;
514 ::google::protobuf::uint64 lastallocatedblockid_;
515 ::google::protobuf::uint64 transactionid_;
516 ::google::protobuf::uint64 rollingupgradestarttime_;
517 ::google::protobuf::uint32 namespaceid_;
518 friend void protobuf_AddDesc_fsimage_2eproto();
519 friend void protobuf_AssignDesc_fsimage_2eproto();
520 friend void protobuf_ShutdownFile_fsimage_2eproto();
522 void InitAsDefaultInstance();
539 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
540 return _internal_metadata_.unknown_fields();
543 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
544 return _internal_metadata_.mutable_unknown_fields();
547 static const ::google::protobuf::Descriptor* descriptor();
557 void CopyFrom(const ::google::protobuf::Message& from);
558 void MergeFrom(const ::google::protobuf::Message& from);
562 bool IsInitialized()
const;
564 int ByteSize()
const;
565 bool MergePartialFromCodedStream(
566 ::google::protobuf::io::CodedInputStream* input);
567 void SerializeWithCachedSizes(
568 ::google::protobuf::io::CodedOutputStream* output)
const;
569 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
570 bool deterministic, ::google::protobuf::uint8* output)
const;
571 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
572 return InternalSerializeWithCachedSizesToArray(
false, output);
574 int GetCachedSize()
const {
return _cached_size_; }
578 void SetCachedSize(
int size)
const;
581 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
582 return _internal_metadata_.arena();
584 inline void* MaybeArenaPtr()
const {
585 return _internal_metadata_.raw_arena_ptr();
589 ::google::protobuf::Metadata GetMetadata()
const;
596 bool has_clientname()
const;
597 void clear_clientname();
598 static const int kClientNameFieldNumber = 1;
599 const ::std::string& clientname()
const;
600 void set_clientname(const ::std::string& value);
601 void set_clientname(
const char* value);
602 void set_clientname(
const char* value,
size_t size);
603 ::std::string* mutable_clientname();
604 ::std::string* release_clientname();
605 void set_allocated_clientname(::std::string* clientname);
608 bool has_clientmachine()
const;
609 void clear_clientmachine();
610 static const int kClientMachineFieldNumber = 2;
611 const ::std::string& clientmachine()
const;
612 void set_clientmachine(const ::std::string& value);
613 void set_clientmachine(
const char* value);
614 void set_clientmachine(
const char* value,
size_t size);
615 ::std::string* mutable_clientmachine();
616 ::std::string* release_clientmachine();
617 void set_allocated_clientmachine(::std::string* clientmachine);
621 inline void set_has_clientname();
622 inline void clear_has_clientname();
623 inline void set_has_clientmachine();
624 inline void clear_has_clientmachine();
626 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
627 ::google::protobuf::uint32 _has_bits_[1];
628 mutable int _cached_size_;
629 ::google::protobuf::internal::ArenaStringPtr clientname_;
630 ::google::protobuf::internal::ArenaStringPtr clientmachine_;
631 friend void protobuf_AddDesc_fsimage_2eproto();
632 friend void protobuf_AssignDesc_fsimage_2eproto();
633 friend void protobuf_ShutdownFile_fsimage_2eproto();
635 void InitAsDefaultInstance();
652 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
653 return _internal_metadata_.unknown_fields();
656 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
657 return _internal_metadata_.mutable_unknown_fields();
660 static const ::google::protobuf::Descriptor* descriptor();
670 void CopyFrom(const ::google::protobuf::Message& from);
671 void MergeFrom(const ::google::protobuf::Message& from);
675 bool IsInitialized()
const;
677 int ByteSize()
const;
678 bool MergePartialFromCodedStream(
679 ::google::protobuf::io::CodedInputStream* input);
680 void SerializeWithCachedSizes(
681 ::google::protobuf::io::CodedOutputStream* output)
const;
682 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
683 bool deterministic, ::google::protobuf::uint8* output)
const;
684 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
685 return InternalSerializeWithCachedSizesToArray(
false, output);
687 int GetCachedSize()
const {
return _cached_size_; }
691 void SetCachedSize(
int size)
const;
694 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
695 return _internal_metadata_.arena();
697 inline void* MaybeArenaPtr()
const {
698 return _internal_metadata_.raw_arena_ptr();
702 ::google::protobuf::Metadata GetMetadata()
const;
709 int entries_size()
const;
710 void clear_entries();
711 static const int kEntriesFieldNumber = 2;
712 ::google::protobuf::uint32 entries(
int index)
const;
713 void set_entries(
int index, ::google::protobuf::uint32 value);
714 void add_entries(::google::protobuf::uint32 value);
715 const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
717 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
723 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
724 ::google::protobuf::uint32 _has_bits_[1];
725 mutable int _cached_size_;
726 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > entries_;
727 mutable int _entries_cached_byte_size_;
728 friend void protobuf_AddDesc_fsimage_2eproto();
729 friend void protobuf_AssignDesc_fsimage_2eproto();
730 friend void protobuf_ShutdownFile_fsimage_2eproto();
732 void InitAsDefaultInstance();
749 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
750 return _internal_metadata_.unknown_fields();
753 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
754 return _internal_metadata_.mutable_unknown_fields();
757 static const ::google::protobuf::Descriptor* descriptor();
767 void CopyFrom(const ::google::protobuf::Message& from);
768 void MergeFrom(const ::google::protobuf::Message& from);
772 bool IsInitialized()
const;
774 int ByteSize()
const;
775 bool MergePartialFromCodedStream(
776 ::google::protobuf::io::CodedInputStream* input);
777 void SerializeWithCachedSizes(
778 ::google::protobuf::io::CodedOutputStream* output)
const;
779 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
780 bool deterministic, ::google::protobuf::uint8* output)
const;
781 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
782 return InternalSerializeWithCachedSizesToArray(
false, output);
784 int GetCachedSize()
const {
return _cached_size_; }
788 void SetCachedSize(
int size)
const;
791 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
792 return _internal_metadata_.arena();
794 inline void* MaybeArenaPtr()
const {
795 return _internal_metadata_.raw_arena_ptr();
799 ::google::protobuf::Metadata GetMetadata()
const;
806 bool has_name()
const;
808 static const int kNameFieldNumber = 1;
809 ::google::protobuf::uint32 name()
const;
810 void set_name(::google::protobuf::uint32 value);
813 bool has_value()
const;
815 static const int kValueFieldNumber = 2;
816 const ::std::string& value()
const;
817 void set_value(const ::std::string& value);
818 void set_value(
const char* value);
819 void set_value(
const void* value,
size_t size);
820 ::std::string* mutable_value();
821 ::std::string* release_value();
822 void set_allocated_value(::std::string* value);
826 inline void set_has_name();
827 inline void clear_has_name();
828 inline void set_has_value();
829 inline void clear_has_value();
831 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
832 ::google::protobuf::uint32 _has_bits_[1];
833 mutable int _cached_size_;
834 ::google::protobuf::internal::ArenaStringPtr value_;
835 ::google::protobuf::uint32 name_;
836 friend void protobuf_AddDesc_fsimage_2eproto();
837 friend void protobuf_AssignDesc_fsimage_2eproto();
838 friend void protobuf_ShutdownFile_fsimage_2eproto();
840 void InitAsDefaultInstance();
857 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
858 return _internal_metadata_.unknown_fields();
861 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
862 return _internal_metadata_.mutable_unknown_fields();
865 static const ::google::protobuf::Descriptor* descriptor();
875 void CopyFrom(const ::google::protobuf::Message& from);
876 void MergeFrom(const ::google::protobuf::Message& from);
880 bool IsInitialized()
const;
882 int ByteSize()
const;
883 bool MergePartialFromCodedStream(
884 ::google::protobuf::io::CodedInputStream* input);
885 void SerializeWithCachedSizes(
886 ::google::protobuf::io::CodedOutputStream* output)
const;
887 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
888 bool deterministic, ::google::protobuf::uint8* output)
const;
889 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
890 return InternalSerializeWithCachedSizesToArray(
false, output);
892 int GetCachedSize()
const {
return _cached_size_; }
896 void SetCachedSize(
int size)
const;
899 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
900 return _internal_metadata_.arena();
902 inline void* MaybeArenaPtr()
const {
903 return _internal_metadata_.raw_arena_ptr();
907 ::google::protobuf::Metadata GetMetadata()
const;
914 int xattrs_size()
const;
916 static const int kXAttrsFieldNumber = 1;
917 const ::hadoop::hdfs::fsimage::INodeSection_XAttrCompactProto& xattrs(
int index)
const;
920 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::INodeSection_XAttrCompactProto >*
922 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::INodeSection_XAttrCompactProto >&
928 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
929 ::google::protobuf::uint32 _has_bits_[1];
930 mutable int _cached_size_;
931 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::INodeSection_XAttrCompactProto > xattrs_;
932 friend void protobuf_AddDesc_fsimage_2eproto();
933 friend void protobuf_AssignDesc_fsimage_2eproto();
934 friend void protobuf_ShutdownFile_fsimage_2eproto();
936 void InitAsDefaultInstance();
953 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
954 return _internal_metadata_.unknown_fields();
957 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
958 return _internal_metadata_.mutable_unknown_fields();
961 static const ::google::protobuf::Descriptor* descriptor();
971 void CopyFrom(const ::google::protobuf::Message& from);
972 void MergeFrom(const ::google::protobuf::Message& from);
976 bool IsInitialized()
const;
978 int ByteSize()
const;
979 bool MergePartialFromCodedStream(
980 ::google::protobuf::io::CodedInputStream* input);
981 void SerializeWithCachedSizes(
982 ::google::protobuf::io::CodedOutputStream* output)
const;
983 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
984 bool deterministic, ::google::protobuf::uint8* output)
const;
985 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
986 return InternalSerializeWithCachedSizesToArray(
false, output);
988 int GetCachedSize()
const {
return _cached_size_; }
992 void SetCachedSize(
int size)
const;
995 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
996 return _internal_metadata_.arena();
998 inline void* MaybeArenaPtr()
const {
999 return _internal_metadata_.raw_arena_ptr();
1003 ::google::protobuf::Metadata GetMetadata()
const;
1010 bool has_replication()
const;
1011 void clear_replication();
1012 static const int kReplicationFieldNumber = 1;
1013 ::google::protobuf::uint32 replication()
const;
1014 void set_replication(::google::protobuf::uint32 value);
1017 bool has_modificationtime()
const;
1018 void clear_modificationtime();
1019 static const int kModificationTimeFieldNumber = 2;
1020 ::google::protobuf::uint64 modificationtime()
const;
1021 void set_modificationtime(::google::protobuf::uint64 value);
1024 bool has_accesstime()
const;
1025 void clear_accesstime();
1026 static const int kAccessTimeFieldNumber = 3;
1027 ::google::protobuf::uint64 accesstime()
const;
1028 void set_accesstime(::google::protobuf::uint64 value);
1031 bool has_preferredblocksize()
const;
1032 void clear_preferredblocksize();
1033 static const int kPreferredBlockSizeFieldNumber = 4;
1034 ::google::protobuf::uint64 preferredblocksize()
const;
1035 void set_preferredblocksize(::google::protobuf::uint64 value);
1038 bool has_permission()
const;
1039 void clear_permission();
1040 static const int kPermissionFieldNumber = 5;
1041 ::google::protobuf::uint64 permission()
const;
1042 void set_permission(::google::protobuf::uint64 value);
1045 int blocks_size()
const;
1046 void clear_blocks();
1047 static const int kBlocksFieldNumber = 6;
1048 const ::hadoop::hdfs::BlockProto& blocks(
int index)
const;
1051 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockProto >*
1053 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockProto >&
1057 bool has_fileuc()
const;
1058 void clear_fileuc();
1059 static const int kFileUCFieldNumber = 7;
1060 const ::hadoop::hdfs::fsimage::INodeSection_FileUnderConstructionFeature& fileuc()
const;
1066 bool has_acl()
const;
1068 static const int kAclFieldNumber = 8;
1069 const ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto& acl()
const;
1075 bool has_xattrs()
const;
1076 void clear_xattrs();
1077 static const int kXAttrsFieldNumber = 9;
1078 const ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto& xattrs()
const;
1084 bool has_storagepolicyid()
const;
1085 void clear_storagepolicyid();
1086 static const int kStoragePolicyIDFieldNumber = 10;
1087 ::google::protobuf::uint32 storagepolicyid()
const;
1088 void set_storagepolicyid(::google::protobuf::uint32 value);
1092 inline void set_has_replication();
1093 inline void clear_has_replication();
1094 inline void set_has_modificationtime();
1095 inline void clear_has_modificationtime();
1096 inline void set_has_accesstime();
1097 inline void clear_has_accesstime();
1098 inline void set_has_preferredblocksize();
1099 inline void clear_has_preferredblocksize();
1100 inline void set_has_permission();
1101 inline void clear_has_permission();
1102 inline void set_has_fileuc();
1103 inline void clear_has_fileuc();
1104 inline void set_has_acl();
1105 inline void clear_has_acl();
1106 inline void set_has_xattrs();
1107 inline void clear_has_xattrs();
1108 inline void set_has_storagepolicyid();
1109 inline void clear_has_storagepolicyid();
1111 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1112 ::google::protobuf::uint32 _has_bits_[1];
1113 mutable int _cached_size_;
1114 ::google::protobuf::uint64 modificationtime_;
1115 ::google::protobuf::uint64 accesstime_;
1116 ::google::protobuf::uint64 preferredblocksize_;
1117 ::google::protobuf::uint64 permission_;
1118 ::google::protobuf::uint32 replication_;
1119 ::google::protobuf::uint32 storagepolicyid_;
1120 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockProto > blocks_;
1124 friend void protobuf_AddDesc_fsimage_2eproto();
1125 friend void protobuf_AssignDesc_fsimage_2eproto();
1126 friend void protobuf_ShutdownFile_fsimage_2eproto();
1128 void InitAsDefaultInstance();
1145 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1146 return _internal_metadata_.unknown_fields();
1149 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1150 return _internal_metadata_.mutable_unknown_fields();
1153 static const ::google::protobuf::Descriptor* descriptor();
1163 void CopyFrom(const ::google::protobuf::Message& from);
1164 void MergeFrom(const ::google::protobuf::Message& from);
1168 bool IsInitialized()
const;
1170 int ByteSize()
const;
1171 bool MergePartialFromCodedStream(
1172 ::google::protobuf::io::CodedInputStream* input);
1173 void SerializeWithCachedSizes(
1174 ::google::protobuf::io::CodedOutputStream* output)
const;
1175 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1176 bool deterministic, ::google::protobuf::uint8* output)
const;
1177 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
1178 return InternalSerializeWithCachedSizesToArray(
false, output);
1180 int GetCachedSize()
const {
return _cached_size_; }
1184 void SetCachedSize(
int size)
const;
1187 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1188 return _internal_metadata_.arena();
1190 inline void* MaybeArenaPtr()
const {
1191 return _internal_metadata_.raw_arena_ptr();
1195 ::google::protobuf::Metadata GetMetadata()
const;
1202 bool has_storagetype()
const;
1203 void clear_storagetype();
1204 static const int kStorageTypeFieldNumber = 1;
1205 ::hadoop::hdfs::StorageTypeProto storagetype()
const;
1206 void set_storagetype(::hadoop::hdfs::StorageTypeProto value);
1209 bool has_quota()
const;
1211 static const int kQuotaFieldNumber = 2;
1212 ::google::protobuf::uint64 quota()
const;
1213 void set_quota(::google::protobuf::uint64 value);
1217 inline void set_has_storagetype();
1218 inline void clear_has_storagetype();
1219 inline void set_has_quota();
1220 inline void clear_has_quota();
1223 int RequiredFieldsByteSizeFallback()
const;
1225 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1226 ::google::protobuf::uint32 _has_bits_[1];
1227 mutable int _cached_size_;
1228 ::google::protobuf::uint64 quota_;
1230 friend void protobuf_AddDesc_fsimage_2eproto();
1231 friend void protobuf_AssignDesc_fsimage_2eproto();
1232 friend void protobuf_ShutdownFile_fsimage_2eproto();
1234 void InitAsDefaultInstance();
1251 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1252 return _internal_metadata_.unknown_fields();
1255 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1256 return _internal_metadata_.mutable_unknown_fields();
1259 static const ::google::protobuf::Descriptor* descriptor();
1269 void CopyFrom(const ::google::protobuf::Message& from);
1270 void MergeFrom(const ::google::protobuf::Message& from);
1274 bool IsInitialized()
const;
1276 int ByteSize()
const;
1277 bool MergePartialFromCodedStream(
1278 ::google::protobuf::io::CodedInputStream* input);
1279 void SerializeWithCachedSizes(
1280 ::google::protobuf::io::CodedOutputStream* output)
const;
1281 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1282 bool deterministic, ::google::protobuf::uint8* output)
const;
1283 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
1284 return InternalSerializeWithCachedSizesToArray(
false, output);
1286 int GetCachedSize()
const {
return _cached_size_; }
1290 void SetCachedSize(
int size)
const;
1293 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1294 return _internal_metadata_.arena();
1296 inline void* MaybeArenaPtr()
const {
1297 return _internal_metadata_.raw_arena_ptr();
1301 ::google::protobuf::Metadata GetMetadata()
const;
1308 int quotas_size()
const;
1309 void clear_quotas();
1310 static const int kQuotasFieldNumber = 1;
1311 const ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeEntryProto& quotas(
int index)
const;
1314 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeEntryProto >*
1316 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeEntryProto >&
1322 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1323 ::google::protobuf::uint32 _has_bits_[1];
1324 mutable int _cached_size_;
1325 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeEntryProto > quotas_;
1326 friend void protobuf_AddDesc_fsimage_2eproto();
1327 friend void protobuf_AssignDesc_fsimage_2eproto();
1328 friend void protobuf_ShutdownFile_fsimage_2eproto();
1330 void InitAsDefaultInstance();
1347 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1348 return _internal_metadata_.unknown_fields();
1351 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1352 return _internal_metadata_.mutable_unknown_fields();
1355 static const ::google::protobuf::Descriptor* descriptor();
1365 void CopyFrom(const ::google::protobuf::Message& from);
1366 void MergeFrom(const ::google::protobuf::Message& from);
1370 bool IsInitialized()
const;
1372 int ByteSize()
const;
1373 bool MergePartialFromCodedStream(
1374 ::google::protobuf::io::CodedInputStream* input);
1375 void SerializeWithCachedSizes(
1376 ::google::protobuf::io::CodedOutputStream* output)
const;
1377 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1378 bool deterministic, ::google::protobuf::uint8* output)
const;
1379 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
1380 return InternalSerializeWithCachedSizesToArray(
false, output);
1382 int GetCachedSize()
const {
return _cached_size_; }
1386 void SetCachedSize(
int size)
const;
1389 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1390 return _internal_metadata_.arena();
1392 inline void* MaybeArenaPtr()
const {
1393 return _internal_metadata_.raw_arena_ptr();
1397 ::google::protobuf::Metadata GetMetadata()
const;
1404 bool has_modificationtime()
const;
1405 void clear_modificationtime();
1406 static const int kModificationTimeFieldNumber = 1;
1407 ::google::protobuf::uint64 modificationtime()
const;
1408 void set_modificationtime(::google::protobuf::uint64 value);
1411 bool has_nsquota()
const;
1412 void clear_nsquota();
1413 static const int kNsQuotaFieldNumber = 2;
1414 ::google::protobuf::uint64 nsquota()
const;
1415 void set_nsquota(::google::protobuf::uint64 value);
1418 bool has_dsquota()
const;
1419 void clear_dsquota();
1420 static const int kDsQuotaFieldNumber = 3;
1421 ::google::protobuf::uint64 dsquota()
const;
1422 void set_dsquota(::google::protobuf::uint64 value);
1425 bool has_permission()
const;
1426 void clear_permission();
1427 static const int kPermissionFieldNumber = 4;
1428 ::google::protobuf::uint64 permission()
const;
1429 void set_permission(::google::protobuf::uint64 value);
1432 bool has_acl()
const;
1434 static const int kAclFieldNumber = 5;
1435 const ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto& acl()
const;
1441 bool has_xattrs()
const;
1442 void clear_xattrs();
1443 static const int kXAttrsFieldNumber = 6;
1444 const ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto& xattrs()
const;
1450 bool has_typequotas()
const;
1451 void clear_typequotas();
1452 static const int kTypeQuotasFieldNumber = 7;
1453 const ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeFeatureProto& typequotas()
const;
1460 inline void set_has_modificationtime();
1461 inline void clear_has_modificationtime();
1462 inline void set_has_nsquota();
1463 inline void clear_has_nsquota();
1464 inline void set_has_dsquota();
1465 inline void clear_has_dsquota();
1466 inline void set_has_permission();
1467 inline void clear_has_permission();
1468 inline void set_has_acl();
1469 inline void clear_has_acl();
1470 inline void set_has_xattrs();
1471 inline void clear_has_xattrs();
1472 inline void set_has_typequotas();
1473 inline void clear_has_typequotas();
1475 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1476 ::google::protobuf::uint32 _has_bits_[1];
1477 mutable int _cached_size_;
1478 ::google::protobuf::uint64 modificationtime_;
1479 ::google::protobuf::uint64 nsquota_;
1480 ::google::protobuf::uint64 dsquota_;
1481 ::google::protobuf::uint64 permission_;
1485 friend void protobuf_AddDesc_fsimage_2eproto();
1486 friend void protobuf_AssignDesc_fsimage_2eproto();
1487 friend void protobuf_ShutdownFile_fsimage_2eproto();
1489 void InitAsDefaultInstance();
1506 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1507 return _internal_metadata_.unknown_fields();
1510 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1511 return _internal_metadata_.mutable_unknown_fields();
1514 static const ::google::protobuf::Descriptor* descriptor();
1524 void CopyFrom(const ::google::protobuf::Message& from);
1525 void MergeFrom(const ::google::protobuf::Message& from);
1529 bool IsInitialized()
const;
1531 int ByteSize()
const;
1532 bool MergePartialFromCodedStream(
1533 ::google::protobuf::io::CodedInputStream* input);
1534 void SerializeWithCachedSizes(
1535 ::google::protobuf::io::CodedOutputStream* output)
const;
1536 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1537 bool deterministic, ::google::protobuf::uint8* output)
const;
1538 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
1539 return InternalSerializeWithCachedSizesToArray(
false, output);
1541 int GetCachedSize()
const {
return _cached_size_; }
1545 void SetCachedSize(
int size)
const;
1548 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1549 return _internal_metadata_.arena();
1551 inline void* MaybeArenaPtr()
const {
1552 return _internal_metadata_.raw_arena_ptr();
1556 ::google::protobuf::Metadata GetMetadata()
const;
1563 bool has_permission()
const;
1564 void clear_permission();
1565 static const int kPermissionFieldNumber = 1;
1566 ::google::protobuf::uint64 permission()
const;
1567 void set_permission(::google::protobuf::uint64 value);
1570 bool has_target()
const;
1571 void clear_target();
1572 static const int kTargetFieldNumber = 2;
1573 const ::std::string& target()
const;
1574 void set_target(const ::std::string& value);
1575 void set_target(
const char* value);
1576 void set_target(
const void* value,
size_t size);
1577 ::std::string* mutable_target();
1578 ::std::string* release_target();
1579 void set_allocated_target(::std::string* target);
1582 bool has_modificationtime()
const;
1583 void clear_modificationtime();
1584 static const int kModificationTimeFieldNumber = 3;
1585 ::google::protobuf::uint64 modificationtime()
const;
1586 void set_modificationtime(::google::protobuf::uint64 value);
1589 bool has_accesstime()
const;
1590 void clear_accesstime();
1591 static const int kAccessTimeFieldNumber = 4;
1592 ::google::protobuf::uint64 accesstime()
const;
1593 void set_accesstime(::google::protobuf::uint64 value);
1597 inline void set_has_permission();
1598 inline void clear_has_permission();
1599 inline void set_has_target();
1600 inline void clear_has_target();
1601 inline void set_has_modificationtime();
1602 inline void clear_has_modificationtime();
1603 inline void set_has_accesstime();
1604 inline void clear_has_accesstime();
1606 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1607 ::google::protobuf::uint32 _has_bits_[1];
1608 mutable int _cached_size_;
1609 ::google::protobuf::uint64 permission_;
1610 ::google::protobuf::internal::ArenaStringPtr target_;
1611 ::google::protobuf::uint64 modificationtime_;
1612 ::google::protobuf::uint64 accesstime_;
1613 friend void protobuf_AddDesc_fsimage_2eproto();
1614 friend void protobuf_AssignDesc_fsimage_2eproto();
1615 friend void protobuf_ShutdownFile_fsimage_2eproto();
1617 void InitAsDefaultInstance();
1634 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1635 return _internal_metadata_.unknown_fields();
1638 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1639 return _internal_metadata_.mutable_unknown_fields();
1642 static const ::google::protobuf::Descriptor* descriptor();
1652 void CopyFrom(const ::google::protobuf::Message& from);
1653 void MergeFrom(const ::google::protobuf::Message& from);
1657 bool IsInitialized()
const;
1659 int ByteSize()
const;
1660 bool MergePartialFromCodedStream(
1661 ::google::protobuf::io::CodedInputStream* input);
1662 void SerializeWithCachedSizes(
1663 ::google::protobuf::io::CodedOutputStream* output)
const;
1664 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1665 bool deterministic, ::google::protobuf::uint8* output)
const;
1666 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
1667 return InternalSerializeWithCachedSizesToArray(
false, output);
1669 int GetCachedSize()
const {
return _cached_size_; }
1673 void SetCachedSize(
int size)
const;
1676 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1677 return _internal_metadata_.arena();
1679 inline void* MaybeArenaPtr()
const {
1680 return _internal_metadata_.raw_arena_ptr();
1684 ::google::protobuf::Metadata GetMetadata()
const;
1688 typedef INodeSection_INode_Type Type;
1689 static const Type FILE =
1690 INodeSection_INode_Type_FILE;
1691 static const Type DIRECTORY =
1692 INodeSection_INode_Type_DIRECTORY;
1693 static const Type SYMLINK =
1694 INodeSection_INode_Type_SYMLINK;
1695 static inline bool Type_IsValid(
int value) {
1696 return INodeSection_INode_Type_IsValid(value);
1698 static const Type Type_MIN =
1699 INodeSection_INode_Type_Type_MIN;
1700 static const Type Type_MAX =
1701 INodeSection_INode_Type_Type_MAX;
1702 static const int Type_ARRAYSIZE =
1703 INodeSection_INode_Type_Type_ARRAYSIZE;
1704 static inline const ::google::protobuf::EnumDescriptor*
1706 return INodeSection_INode_Type_descriptor();
1708 static inline const ::std::string& Type_Name(Type value) {
1709 return INodeSection_INode_Type_Name(value);
1711 static inline bool Type_Parse(const ::std::string& name,
1713 return INodeSection_INode_Type_Parse(name, value);
1719 bool has_type()
const;
1721 static const int kTypeFieldNumber = 1;
1722 ::hadoop::hdfs::fsimage::INodeSection_INode_Type type()
const;
1723 void set_type(::hadoop::hdfs::fsimage::INodeSection_INode_Type value);
1726 bool has_id()
const;
1728 static const int kIdFieldNumber = 2;
1729 ::google::protobuf::uint64 id()
const;
1730 void set_id(::google::protobuf::uint64 value);
1733 bool has_name()
const;
1735 static const int kNameFieldNumber = 3;
1736 const ::std::string& name()
const;
1737 void set_name(const ::std::string& value);
1738 void set_name(
const char* value);
1739 void set_name(
const void* value,
size_t size);
1740 ::std::string* mutable_name();
1741 ::std::string* release_name();
1742 void set_allocated_name(::std::string* name);
1745 bool has_file()
const;
1747 static const int kFileFieldNumber = 4;
1748 const ::hadoop::hdfs::fsimage::INodeSection_INodeFile& file()
const;
1754 bool has_directory()
const;
1755 void clear_directory();
1756 static const int kDirectoryFieldNumber = 5;
1757 const ::hadoop::hdfs::fsimage::INodeSection_INodeDirectory& directory()
const;
1763 bool has_symlink()
const;
1764 void clear_symlink();
1765 static const int kSymlinkFieldNumber = 6;
1766 const ::hadoop::hdfs::fsimage::INodeSection_INodeSymlink& symlink()
const;
1773 inline void set_has_type();
1774 inline void clear_has_type();
1775 inline void set_has_id();
1776 inline void clear_has_id();
1777 inline void set_has_name();
1778 inline void clear_has_name();
1779 inline void set_has_file();
1780 inline void clear_has_file();
1781 inline void set_has_directory();
1782 inline void clear_has_directory();
1783 inline void set_has_symlink();
1784 inline void clear_has_symlink();
1787 int RequiredFieldsByteSizeFallback()
const;
1789 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1790 ::google::protobuf::uint32 _has_bits_[1];
1791 mutable int _cached_size_;
1792 ::google::protobuf::uint64 id_;
1793 ::google::protobuf::internal::ArenaStringPtr name_;
1798 friend void protobuf_AddDesc_fsimage_2eproto();
1799 friend void protobuf_AssignDesc_fsimage_2eproto();
1800 friend void protobuf_ShutdownFile_fsimage_2eproto();
1802 void InitAsDefaultInstance();
1819 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1820 return _internal_metadata_.unknown_fields();
1823 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1824 return _internal_metadata_.mutable_unknown_fields();
1827 static const ::google::protobuf::Descriptor* descriptor();
1836 INodeSection* New(::google::protobuf::Arena* arena)
const;
1837 void CopyFrom(const ::google::protobuf::Message& from);
1838 void MergeFrom(const ::google::protobuf::Message& from);
1842 bool IsInitialized()
const;
1844 int ByteSize()
const;
1845 bool MergePartialFromCodedStream(
1846 ::google::protobuf::io::CodedInputStream* input);
1847 void SerializeWithCachedSizes(
1848 ::google::protobuf::io::CodedOutputStream* output)
const;
1849 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1850 bool deterministic, ::google::protobuf::uint8* output)
const;
1851 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
1852 return InternalSerializeWithCachedSizesToArray(
false, output);
1854 int GetCachedSize()
const {
return _cached_size_; }
1858 void SetCachedSize(
int size)
const;
1861 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1862 return _internal_metadata_.arena();
1864 inline void* MaybeArenaPtr()
const {
1865 return _internal_metadata_.raw_arena_ptr();
1869 ::google::protobuf::Metadata GetMetadata()
const;
1887 bool has_lastinodeid()
const;
1888 void clear_lastinodeid();
1889 static const int kLastInodeIdFieldNumber = 1;
1890 ::google::protobuf::uint64 lastinodeid()
const;
1891 void set_lastinodeid(::google::protobuf::uint64 value);
1894 bool has_numinodes()
const;
1895 void clear_numinodes();
1896 static const int kNumInodesFieldNumber = 2;
1897 ::google::protobuf::uint64 numinodes()
const;
1898 void set_numinodes(::google::protobuf::uint64 value);
1902 inline void set_has_lastinodeid();
1903 inline void clear_has_lastinodeid();
1904 inline void set_has_numinodes();
1905 inline void clear_has_numinodes();
1907 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1908 ::google::protobuf::uint32 _has_bits_[1];
1909 mutable int _cached_size_;
1910 ::google::protobuf::uint64 lastinodeid_;
1911 ::google::protobuf::uint64 numinodes_;
1912 friend void protobuf_AddDesc_fsimage_2eproto();
1913 friend void protobuf_AssignDesc_fsimage_2eproto();
1914 friend void protobuf_ShutdownFile_fsimage_2eproto();
1916 void InitAsDefaultInstance();
1933 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1934 return _internal_metadata_.unknown_fields();
1937 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1938 return _internal_metadata_.mutable_unknown_fields();
1941 static const ::google::protobuf::Descriptor* descriptor();
1951 void CopyFrom(const ::google::protobuf::Message& from);
1952 void MergeFrom(const ::google::protobuf::Message& from);
1956 bool IsInitialized()
const;
1958 int ByteSize()
const;
1959 bool MergePartialFromCodedStream(
1960 ::google::protobuf::io::CodedInputStream* input);
1961 void SerializeWithCachedSizes(
1962 ::google::protobuf::io::CodedOutputStream* output)
const;
1963 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1964 bool deterministic, ::google::protobuf::uint8* output)
const;
1965 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
1966 return InternalSerializeWithCachedSizesToArray(
false, output);
1968 int GetCachedSize()
const {
return _cached_size_; }
1972 void SetCachedSize(
int size)
const;
1975 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1976 return _internal_metadata_.arena();
1978 inline void* MaybeArenaPtr()
const {
1979 return _internal_metadata_.raw_arena_ptr();
1983 ::google::protobuf::Metadata GetMetadata()
const;
1990 bool has_inodeid()
const;
1991 void clear_inodeid();
1992 static const int kInodeIdFieldNumber = 1;
1993 ::google::protobuf::uint64 inodeid()
const;
1994 void set_inodeid(::google::protobuf::uint64 value);
1997 bool has_fullpath()
const;
1998 void clear_fullpath();
1999 static const int kFullPathFieldNumber = 2;
2000 const ::std::string& fullpath()
const;
2001 void set_fullpath(const ::std::string& value);
2002 void set_fullpath(
const char* value);
2003 void set_fullpath(
const char* value,
size_t size);
2004 ::std::string* mutable_fullpath();
2005 ::std::string* release_fullpath();
2006 void set_allocated_fullpath(::std::string* fullpath);
2010 inline void set_has_inodeid();
2011 inline void clear_has_inodeid();
2012 inline void set_has_fullpath();
2013 inline void clear_has_fullpath();
2015 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2016 ::google::protobuf::uint32 _has_bits_[1];
2017 mutable int _cached_size_;
2018 ::google::protobuf::uint64 inodeid_;
2019 ::google::protobuf::internal::ArenaStringPtr fullpath_;
2020 friend void protobuf_AddDesc_fsimage_2eproto();
2021 friend void protobuf_AssignDesc_fsimage_2eproto();
2022 friend void protobuf_ShutdownFile_fsimage_2eproto();
2024 void InitAsDefaultInstance();
2041 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2042 return _internal_metadata_.unknown_fields();
2045 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2046 return _internal_metadata_.mutable_unknown_fields();
2049 static const ::google::protobuf::Descriptor* descriptor();
2059 void CopyFrom(const ::google::protobuf::Message& from);
2060 void MergeFrom(const ::google::protobuf::Message& from);
2064 bool IsInitialized()
const;
2066 int ByteSize()
const;
2067 bool MergePartialFromCodedStream(
2068 ::google::protobuf::io::CodedInputStream* input);
2069 void SerializeWithCachedSizes(
2070 ::google::protobuf::io::CodedOutputStream* output)
const;
2071 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2072 bool deterministic, ::google::protobuf::uint8* output)
const;
2073 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
2074 return InternalSerializeWithCachedSizesToArray(
false, output);
2076 int GetCachedSize()
const {
return _cached_size_; }
2080 void SetCachedSize(
int size)
const;
2083 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2084 return _internal_metadata_.arena();
2086 inline void* MaybeArenaPtr()
const {
2087 return _internal_metadata_.raw_arena_ptr();
2091 ::google::protobuf::Metadata GetMetadata()
const;
2102 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2103 ::google::protobuf::uint32 _has_bits_[1];
2104 mutable int _cached_size_;
2105 friend void protobuf_AddDesc_fsimage_2eproto();
2106 friend void protobuf_AssignDesc_fsimage_2eproto();
2107 friend void protobuf_ShutdownFile_fsimage_2eproto();
2109 void InitAsDefaultInstance();
2126 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2127 return _internal_metadata_.unknown_fields();
2130 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2131 return _internal_metadata_.mutable_unknown_fields();
2134 static const ::google::protobuf::Descriptor* descriptor();
2144 void CopyFrom(const ::google::protobuf::Message& from);
2145 void MergeFrom(const ::google::protobuf::Message& from);
2149 bool IsInitialized()
const;
2151 int ByteSize()
const;
2152 bool MergePartialFromCodedStream(
2153 ::google::protobuf::io::CodedInputStream* input);
2154 void SerializeWithCachedSizes(
2155 ::google::protobuf::io::CodedOutputStream* output)
const;
2156 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2157 bool deterministic, ::google::protobuf::uint8* output)
const;
2158 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
2159 return InternalSerializeWithCachedSizesToArray(
false, output);
2161 int GetCachedSize()
const {
return _cached_size_; }
2165 void SetCachedSize(
int size)
const;
2168 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2169 return _internal_metadata_.arena();
2171 inline void* MaybeArenaPtr()
const {
2172 return _internal_metadata_.raw_arena_ptr();
2176 ::google::protobuf::Metadata GetMetadata()
const;
2183 bool has_parent()
const;
2184 void clear_parent();
2185 static const int kParentFieldNumber = 1;
2186 ::google::protobuf::uint64 parent()
const;
2187 void set_parent(::google::protobuf::uint64 value);
2190 int children_size()
const;
2191 void clear_children();
2192 static const int kChildrenFieldNumber = 2;
2193 ::google::protobuf::uint64 children(
int index)
const;
2194 void set_children(
int index, ::google::protobuf::uint64 value);
2195 void add_children(::google::protobuf::uint64 value);
2196 const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
2198 ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
2202 int refchildren_size()
const;
2203 void clear_refchildren();
2204 static const int kRefChildrenFieldNumber = 3;
2205 ::google::protobuf::uint32 refchildren(
int index)
const;
2206 void set_refchildren(
int index, ::google::protobuf::uint32 value);
2207 void add_refchildren(::google::protobuf::uint32 value);
2208 const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
2209 refchildren()
const;
2210 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
2211 mutable_refchildren();
2215 inline void set_has_parent();
2216 inline void clear_has_parent();
2218 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2219 ::google::protobuf::uint32 _has_bits_[1];
2220 mutable int _cached_size_;
2221 ::google::protobuf::uint64 parent_;
2222 ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > children_;
2223 mutable int _children_cached_byte_size_;
2224 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > refchildren_;
2225 mutable int _refchildren_cached_byte_size_;
2226 friend void protobuf_AddDesc_fsimage_2eproto();
2227 friend void protobuf_AssignDesc_fsimage_2eproto();
2228 friend void protobuf_ShutdownFile_fsimage_2eproto();
2230 void InitAsDefaultInstance();
2247 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2248 return _internal_metadata_.unknown_fields();
2251 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2252 return _internal_metadata_.mutable_unknown_fields();
2255 static const ::google::protobuf::Descriptor* descriptor();
2265 void CopyFrom(const ::google::protobuf::Message& from);
2266 void MergeFrom(const ::google::protobuf::Message& from);
2270 bool IsInitialized()
const;
2272 int ByteSize()
const;
2273 bool MergePartialFromCodedStream(
2274 ::google::protobuf::io::CodedInputStream* input);
2275 void SerializeWithCachedSizes(
2276 ::google::protobuf::io::CodedOutputStream* output)
const;
2277 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2278 bool deterministic, ::google::protobuf::uint8* output)
const;
2279 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
2280 return InternalSerializeWithCachedSizesToArray(
false, output);
2282 int GetCachedSize()
const {
return _cached_size_; }
2286 void SetCachedSize(
int size)
const;
2289 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2290 return _internal_metadata_.arena();
2292 inline void* MaybeArenaPtr()
const {
2293 return _internal_metadata_.raw_arena_ptr();
2297 ::google::protobuf::Metadata GetMetadata()
const;
2308 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2309 ::google::protobuf::uint32 _has_bits_[1];
2310 mutable int _cached_size_;
2311 friend void protobuf_AddDesc_fsimage_2eproto();
2312 friend void protobuf_AssignDesc_fsimage_2eproto();
2313 friend void protobuf_ShutdownFile_fsimage_2eproto();
2315 void InitAsDefaultInstance();
2332 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2333 return _internal_metadata_.unknown_fields();
2336 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2337 return _internal_metadata_.mutable_unknown_fields();
2340 static const ::google::protobuf::Descriptor* descriptor();
2350 void CopyFrom(const ::google::protobuf::Message& from);
2351 void MergeFrom(const ::google::protobuf::Message& from);
2355 bool IsInitialized()
const;
2357 int ByteSize()
const;
2358 bool MergePartialFromCodedStream(
2359 ::google::protobuf::io::CodedInputStream* input);
2360 void SerializeWithCachedSizes(
2361 ::google::protobuf::io::CodedOutputStream* output)
const;
2362 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2363 bool deterministic, ::google::protobuf::uint8* output)
const;
2364 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
2365 return InternalSerializeWithCachedSizesToArray(
false, output);
2367 int GetCachedSize()
const {
return _cached_size_; }
2371 void SetCachedSize(
int size)
const;
2374 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2375 return _internal_metadata_.arena();
2377 inline void* MaybeArenaPtr()
const {
2378 return _internal_metadata_.raw_arena_ptr();
2382 ::google::protobuf::Metadata GetMetadata()
const;
2389 bool has_referredid()
const;
2390 void clear_referredid();
2391 static const int kReferredIdFieldNumber = 1;
2392 ::google::protobuf::uint64 referredid()
const;
2393 void set_referredid(::google::protobuf::uint64 value);
2396 bool has_name()
const;
2398 static const int kNameFieldNumber = 2;
2399 const ::std::string& name()
const;
2400 void set_name(const ::std::string& value);
2401 void set_name(
const char* value);
2402 void set_name(
const void* value,
size_t size);
2403 ::std::string* mutable_name();
2404 ::std::string* release_name();
2405 void set_allocated_name(::std::string* name);
2408 bool has_dstsnapshotid()
const;
2409 void clear_dstsnapshotid();
2410 static const int kDstSnapshotIdFieldNumber = 3;
2411 ::google::protobuf::uint32 dstsnapshotid()
const;
2412 void set_dstsnapshotid(::google::protobuf::uint32 value);
2415 bool has_lastsnapshotid()
const;
2416 void clear_lastsnapshotid();
2417 static const int kLastSnapshotIdFieldNumber = 4;
2418 ::google::protobuf::uint32 lastsnapshotid()
const;
2419 void set_lastsnapshotid(::google::protobuf::uint32 value);
2423 inline void set_has_referredid();
2424 inline void clear_has_referredid();
2425 inline void set_has_name();
2426 inline void clear_has_name();
2427 inline void set_has_dstsnapshotid();
2428 inline void clear_has_dstsnapshotid();
2429 inline void set_has_lastsnapshotid();
2430 inline void clear_has_lastsnapshotid();
2432 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2433 ::google::protobuf::uint32 _has_bits_[1];
2434 mutable int _cached_size_;
2435 ::google::protobuf::uint64 referredid_;
2436 ::google::protobuf::internal::ArenaStringPtr name_;
2437 ::google::protobuf::uint32 dstsnapshotid_;
2438 ::google::protobuf::uint32 lastsnapshotid_;
2439 friend void protobuf_AddDesc_fsimage_2eproto();
2440 friend void protobuf_AssignDesc_fsimage_2eproto();
2441 friend void protobuf_ShutdownFile_fsimage_2eproto();
2443 void InitAsDefaultInstance();
2460 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2461 return _internal_metadata_.unknown_fields();
2464 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2465 return _internal_metadata_.mutable_unknown_fields();
2468 static const ::google::protobuf::Descriptor* descriptor();
2478 void CopyFrom(const ::google::protobuf::Message& from);
2479 void MergeFrom(const ::google::protobuf::Message& from);
2483 bool IsInitialized()
const;
2485 int ByteSize()
const;
2486 bool MergePartialFromCodedStream(
2487 ::google::protobuf::io::CodedInputStream* input);
2488 void SerializeWithCachedSizes(
2489 ::google::protobuf::io::CodedOutputStream* output)
const;
2490 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2491 bool deterministic, ::google::protobuf::uint8* output)
const;
2492 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
2493 return InternalSerializeWithCachedSizesToArray(
false, output);
2495 int GetCachedSize()
const {
return _cached_size_; }
2499 void SetCachedSize(
int size)
const;
2502 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2503 return _internal_metadata_.arena();
2505 inline void* MaybeArenaPtr()
const {
2506 return _internal_metadata_.raw_arena_ptr();
2510 ::google::protobuf::Metadata GetMetadata()
const;
2521 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2522 ::google::protobuf::uint32 _has_bits_[1];
2523 mutable int _cached_size_;
2524 friend void protobuf_AddDesc_fsimage_2eproto();
2525 friend void protobuf_AssignDesc_fsimage_2eproto();
2526 friend void protobuf_ShutdownFile_fsimage_2eproto();
2528 void InitAsDefaultInstance();
2545 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2546 return _internal_metadata_.unknown_fields();
2549 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2550 return _internal_metadata_.mutable_unknown_fields();
2553 static const ::google::protobuf::Descriptor* descriptor();
2563 void CopyFrom(const ::google::protobuf::Message& from);
2564 void MergeFrom(const ::google::protobuf::Message& from);
2568 bool IsInitialized()
const;
2570 int ByteSize()
const;
2571 bool MergePartialFromCodedStream(
2572 ::google::protobuf::io::CodedInputStream* input);
2573 void SerializeWithCachedSizes(
2574 ::google::protobuf::io::CodedOutputStream* output)
const;
2575 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2576 bool deterministic, ::google::protobuf::uint8* output)
const;
2577 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
2578 return InternalSerializeWithCachedSizesToArray(
false, output);
2580 int GetCachedSize()
const {
return _cached_size_; }
2584 void SetCachedSize(
int size)
const;
2587 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2588 return _internal_metadata_.arena();
2590 inline void* MaybeArenaPtr()
const {
2591 return _internal_metadata_.raw_arena_ptr();
2595 ::google::protobuf::Metadata GetMetadata()
const;
2602 bool has_snapshotid()
const;
2603 void clear_snapshotid();
2604 static const int kSnapshotIdFieldNumber = 1;
2605 ::google::protobuf::uint32 snapshotid()
const;
2606 void set_snapshotid(::google::protobuf::uint32 value);
2609 bool has_root()
const;
2611 static const int kRootFieldNumber = 2;
2612 const ::hadoop::hdfs::fsimage::INodeSection_INode& root()
const;
2619 inline void set_has_snapshotid();
2620 inline void clear_has_snapshotid();
2621 inline void set_has_root();
2622 inline void clear_has_root();
2624 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2625 ::google::protobuf::uint32 _has_bits_[1];
2626 mutable int _cached_size_;
2628 ::google::protobuf::uint32 snapshotid_;
2629 friend void protobuf_AddDesc_fsimage_2eproto();
2630 friend void protobuf_AssignDesc_fsimage_2eproto();
2631 friend void protobuf_ShutdownFile_fsimage_2eproto();
2633 void InitAsDefaultInstance();
2650 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2651 return _internal_metadata_.unknown_fields();
2654 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2655 return _internal_metadata_.mutable_unknown_fields();
2658 static const ::google::protobuf::Descriptor* descriptor();
2668 void CopyFrom(const ::google::protobuf::Message& from);
2669 void MergeFrom(const ::google::protobuf::Message& from);
2673 bool IsInitialized()
const;
2675 int ByteSize()
const;
2676 bool MergePartialFromCodedStream(
2677 ::google::protobuf::io::CodedInputStream* input);
2678 void SerializeWithCachedSizes(
2679 ::google::protobuf::io::CodedOutputStream* output)
const;
2680 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2681 bool deterministic, ::google::protobuf::uint8* output)
const;
2682 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
2683 return InternalSerializeWithCachedSizesToArray(
false, output);
2685 int GetCachedSize()
const {
return _cached_size_; }
2689 void SetCachedSize(
int size)
const;
2692 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2693 return _internal_metadata_.arena();
2695 inline void* MaybeArenaPtr()
const {
2696 return _internal_metadata_.raw_arena_ptr();
2700 ::google::protobuf::Metadata GetMetadata()
const;
2709 bool has_snapshotcounter()
const;
2710 void clear_snapshotcounter();
2711 static const int kSnapshotCounterFieldNumber = 1;
2712 ::google::protobuf::uint32 snapshotcounter()
const;
2713 void set_snapshotcounter(::google::protobuf::uint32 value);
2716 int snapshottabledir_size()
const;
2717 void clear_snapshottabledir();
2718 static const int kSnapshottableDirFieldNumber = 2;
2719 ::google::protobuf::uint64 snapshottabledir(
int index)
const;
2720 void set_snapshottabledir(
int index, ::google::protobuf::uint64 value);
2721 void add_snapshottabledir(::google::protobuf::uint64 value);
2722 const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
2723 snapshottabledir()
const;
2724 ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
2725 mutable_snapshottabledir();
2728 bool has_numsnapshots()
const;
2729 void clear_numsnapshots();
2730 static const int kNumSnapshotsFieldNumber = 3;
2731 ::google::protobuf::uint32 numsnapshots()
const;
2732 void set_numsnapshots(::google::protobuf::uint32 value);
2736 inline void set_has_snapshotcounter();
2737 inline void clear_has_snapshotcounter();
2738 inline void set_has_numsnapshots();
2739 inline void clear_has_numsnapshots();
2741 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2742 ::google::protobuf::uint32 _has_bits_[1];
2743 mutable int _cached_size_;
2744 ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > snapshottabledir_;
2745 mutable int _snapshottabledir_cached_byte_size_;
2746 ::google::protobuf::uint32 snapshotcounter_;
2747 ::google::protobuf::uint32 numsnapshots_;
2748 friend void protobuf_AddDesc_fsimage_2eproto();
2749 friend void protobuf_AssignDesc_fsimage_2eproto();
2750 friend void protobuf_ShutdownFile_fsimage_2eproto();
2752 void InitAsDefaultInstance();
2769 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2770 return _internal_metadata_.unknown_fields();
2773 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2774 return _internal_metadata_.mutable_unknown_fields();
2777 static const ::google::protobuf::Descriptor* descriptor();
2787 void CopyFrom(const ::google::protobuf::Message& from);
2788 void MergeFrom(const ::google::protobuf::Message& from);
2792 bool IsInitialized()
const;
2794 int ByteSize()
const;
2795 bool MergePartialFromCodedStream(
2796 ::google::protobuf::io::CodedInputStream* input);
2797 void SerializeWithCachedSizes(
2798 ::google::protobuf::io::CodedOutputStream* output)
const;
2799 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2800 bool deterministic, ::google::protobuf::uint8* output)
const;
2801 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
2802 return InternalSerializeWithCachedSizesToArray(
false, output);
2804 int GetCachedSize()
const {
return _cached_size_; }
2808 void SetCachedSize(
int size)
const;
2811 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2812 return _internal_metadata_.arena();
2814 inline void* MaybeArenaPtr()
const {
2815 return _internal_metadata_.raw_arena_ptr();
2819 ::google::protobuf::Metadata GetMetadata()
const;
2826 bool has_name()
const;
2828 static const int kNameFieldNumber = 1;
2829 const ::std::string& name()
const;
2830 void set_name(const ::std::string& value);
2831 void set_name(
const char* value);
2832 void set_name(
const void* value,
size_t size);
2833 ::std::string* mutable_name();
2834 ::std::string* release_name();
2835 void set_allocated_name(::std::string* name);
2839 inline void set_has_name();
2840 inline void clear_has_name();
2842 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2843 ::google::protobuf::uint32 _has_bits_[1];
2844 mutable int _cached_size_;
2845 ::google::protobuf::internal::ArenaStringPtr name_;
2846 friend void protobuf_AddDesc_fsimage_2eproto();
2847 friend void protobuf_AssignDesc_fsimage_2eproto();
2848 friend void protobuf_ShutdownFile_fsimage_2eproto();
2850 void InitAsDefaultInstance();
2867 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2868 return _internal_metadata_.unknown_fields();
2871 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2872 return _internal_metadata_.mutable_unknown_fields();
2875 static const ::google::protobuf::Descriptor* descriptor();
2885 void CopyFrom(const ::google::protobuf::Message& from);
2886 void MergeFrom(const ::google::protobuf::Message& from);
2890 bool IsInitialized()
const;
2892 int ByteSize()
const;
2893 bool MergePartialFromCodedStream(
2894 ::google::protobuf::io::CodedInputStream* input);
2895 void SerializeWithCachedSizes(
2896 ::google::protobuf::io::CodedOutputStream* output)
const;
2897 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2898 bool deterministic, ::google::protobuf::uint8* output)
const;
2899 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
2900 return InternalSerializeWithCachedSizesToArray(
false, output);
2902 int GetCachedSize()
const {
return _cached_size_; }
2906 void SetCachedSize(
int size)
const;
2909 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2910 return _internal_metadata_.arena();
2912 inline void* MaybeArenaPtr()
const {
2913 return _internal_metadata_.raw_arena_ptr();
2917 ::google::protobuf::Metadata GetMetadata()
const;
2924 bool has_snapshotid()
const;
2925 void clear_snapshotid();
2926 static const int kSnapshotIdFieldNumber = 1;
2927 ::google::protobuf::uint32 snapshotid()
const;
2928 void set_snapshotid(::google::protobuf::uint32 value);
2931 bool has_childrensize()
const;
2932 void clear_childrensize();
2933 static const int kChildrenSizeFieldNumber = 2;
2934 ::google::protobuf::uint32 childrensize()
const;
2935 void set_childrensize(::google::protobuf::uint32 value);
2938 bool has_issnapshotroot()
const;
2939 void clear_issnapshotroot();
2940 static const int kIsSnapshotRootFieldNumber = 3;
2941 bool issnapshotroot()
const;
2942 void set_issnapshotroot(
bool value);
2945 bool has_name()
const;
2947 static const int kNameFieldNumber = 4;
2948 const ::std::string& name()
const;
2949 void set_name(const ::std::string& value);
2950 void set_name(
const char* value);
2951 void set_name(
const void* value,
size_t size);
2952 ::std::string* mutable_name();
2953 ::std::string* release_name();
2954 void set_allocated_name(::std::string* name);
2957 bool has_snapshotcopy()
const;
2958 void clear_snapshotcopy();
2959 static const int kSnapshotCopyFieldNumber = 5;
2960 const ::hadoop::hdfs::fsimage::INodeSection_INodeDirectory& snapshotcopy()
const;
2966 bool has_createdlistsize()
const;
2967 void clear_createdlistsize();
2968 static const int kCreatedListSizeFieldNumber = 6;
2969 ::google::protobuf::uint32 createdlistsize()
const;
2970 void set_createdlistsize(::google::protobuf::uint32 value);
2973 int deletedinode_size()
const;
2974 void clear_deletedinode();
2975 static const int kDeletedINodeFieldNumber = 7;
2976 ::google::protobuf::uint64 deletedinode(
int index)
const;
2977 void set_deletedinode(
int index, ::google::protobuf::uint64 value);
2978 void add_deletedinode(::google::protobuf::uint64 value);
2979 const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
2980 deletedinode()
const;
2981 ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
2982 mutable_deletedinode();
2985 int deletedinoderef_size()
const;
2986 void clear_deletedinoderef();
2987 static const int kDeletedINodeRefFieldNumber = 8;
2988 ::google::protobuf::uint32 deletedinoderef(
int index)
const;
2989 void set_deletedinoderef(
int index, ::google::protobuf::uint32 value);
2990 void add_deletedinoderef(::google::protobuf::uint32 value);
2991 const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
2992 deletedinoderef()
const;
2993 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
2994 mutable_deletedinoderef();
2998 inline void set_has_snapshotid();
2999 inline void clear_has_snapshotid();
3000 inline void set_has_childrensize();
3001 inline void clear_has_childrensize();
3002 inline void set_has_issnapshotroot();
3003 inline void clear_has_issnapshotroot();
3004 inline void set_has_name();
3005 inline void clear_has_name();
3006 inline void set_has_snapshotcopy();
3007 inline void clear_has_snapshotcopy();
3008 inline void set_has_createdlistsize();
3009 inline void clear_has_createdlistsize();
3011 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3012 ::google::protobuf::uint32 _has_bits_[1];
3013 mutable int _cached_size_;
3014 ::google::protobuf::uint32 snapshotid_;
3015 ::google::protobuf::uint32 childrensize_;
3016 ::google::protobuf::internal::ArenaStringPtr name_;
3017 bool issnapshotroot_;
3018 ::google::protobuf::uint32 createdlistsize_;
3020 ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > deletedinode_;
3021 mutable int _deletedinode_cached_byte_size_;
3022 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > deletedinoderef_;
3023 mutable int _deletedinoderef_cached_byte_size_;
3024 friend void protobuf_AddDesc_fsimage_2eproto();
3025 friend void protobuf_AssignDesc_fsimage_2eproto();
3026 friend void protobuf_ShutdownFile_fsimage_2eproto();
3028 void InitAsDefaultInstance();
3045 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
3046 return _internal_metadata_.unknown_fields();
3049 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3050 return _internal_metadata_.mutable_unknown_fields();
3053 static const ::google::protobuf::Descriptor* descriptor();
3063 void CopyFrom(const ::google::protobuf::Message& from);
3064 void MergeFrom(const ::google::protobuf::Message& from);
3068 bool IsInitialized()
const;
3070 int ByteSize()
const;
3071 bool MergePartialFromCodedStream(
3072 ::google::protobuf::io::CodedInputStream* input);
3073 void SerializeWithCachedSizes(
3074 ::google::protobuf::io::CodedOutputStream* output)
const;
3075 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3076 bool deterministic, ::google::protobuf::uint8* output)
const;
3077 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
3078 return InternalSerializeWithCachedSizesToArray(
false, output);
3080 int GetCachedSize()
const {
return _cached_size_; }
3084 void SetCachedSize(
int size)
const;
3087 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3088 return _internal_metadata_.arena();
3090 inline void* MaybeArenaPtr()
const {
3091 return _internal_metadata_.raw_arena_ptr();
3095 ::google::protobuf::Metadata GetMetadata()
const;
3102 bool has_snapshotid()
const;
3103 void clear_snapshotid();
3104 static const int kSnapshotIdFieldNumber = 1;
3105 ::google::protobuf::uint32 snapshotid()
const;
3106 void set_snapshotid(::google::protobuf::uint32 value);
3109 bool has_filesize()
const;
3110 void clear_filesize();
3111 static const int kFileSizeFieldNumber = 2;
3112 ::google::protobuf::uint64 filesize()
const;
3113 void set_filesize(::google::protobuf::uint64 value);
3116 bool has_name()
const;
3118 static const int kNameFieldNumber = 3;
3119 const ::std::string& name()
const;
3120 void set_name(const ::std::string& value);
3121 void set_name(
const char* value);
3122 void set_name(
const void* value,
size_t size);
3123 ::std::string* mutable_name();
3124 ::std::string* release_name();
3125 void set_allocated_name(::std::string* name);
3128 bool has_snapshotcopy()
const;
3129 void clear_snapshotcopy();
3130 static const int kSnapshotCopyFieldNumber = 4;
3131 const ::hadoop::hdfs::fsimage::INodeSection_INodeFile& snapshotcopy()
const;
3137 int blocks_size()
const;
3138 void clear_blocks();
3139 static const int kBlocksFieldNumber = 5;
3140 const ::hadoop::hdfs::BlockProto& blocks(
int index)
const;
3143 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockProto >*
3145 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockProto >&
3150 inline void set_has_snapshotid();
3151 inline void clear_has_snapshotid();
3152 inline void set_has_filesize();
3153 inline void clear_has_filesize();
3154 inline void set_has_name();
3155 inline void clear_has_name();
3156 inline void set_has_snapshotcopy();
3157 inline void clear_has_snapshotcopy();
3159 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3160 ::google::protobuf::uint32 _has_bits_[1];
3161 mutable int _cached_size_;
3162 ::google::protobuf::uint64 filesize_;
3163 ::google::protobuf::internal::ArenaStringPtr name_;
3165 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockProto > blocks_;
3166 ::google::protobuf::uint32 snapshotid_;
3167 friend void protobuf_AddDesc_fsimage_2eproto();
3168 friend void protobuf_AssignDesc_fsimage_2eproto();
3169 friend void protobuf_ShutdownFile_fsimage_2eproto();
3171 void InitAsDefaultInstance();
3188 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
3189 return _internal_metadata_.unknown_fields();
3192 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3193 return _internal_metadata_.mutable_unknown_fields();
3196 static const ::google::protobuf::Descriptor* descriptor();
3206 void CopyFrom(const ::google::protobuf::Message& from);
3207 void MergeFrom(const ::google::protobuf::Message& from);
3211 bool IsInitialized()
const;
3213 int ByteSize()
const;
3214 bool MergePartialFromCodedStream(
3215 ::google::protobuf::io::CodedInputStream* input);
3216 void SerializeWithCachedSizes(
3217 ::google::protobuf::io::CodedOutputStream* output)
const;
3218 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3219 bool deterministic, ::google::protobuf::uint8* output)
const;
3220 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
3221 return InternalSerializeWithCachedSizesToArray(
false, output);
3223 int GetCachedSize()
const {
return _cached_size_; }
3227 void SetCachedSize(
int size)
const;
3230 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3231 return _internal_metadata_.arena();
3233 inline void* MaybeArenaPtr()
const {
3234 return _internal_metadata_.raw_arena_ptr();
3238 ::google::protobuf::Metadata GetMetadata()
const;
3242 typedef SnapshotDiffSection_DiffEntry_Type Type;
3243 static const Type FILEDIFF =
3244 SnapshotDiffSection_DiffEntry_Type_FILEDIFF;
3245 static const Type DIRECTORYDIFF =
3246 SnapshotDiffSection_DiffEntry_Type_DIRECTORYDIFF;
3247 static inline bool Type_IsValid(
int value) {
3248 return SnapshotDiffSection_DiffEntry_Type_IsValid(value);
3250 static const Type Type_MIN =
3251 SnapshotDiffSection_DiffEntry_Type_Type_MIN;
3252 static const Type Type_MAX =
3253 SnapshotDiffSection_DiffEntry_Type_Type_MAX;
3254 static const int Type_ARRAYSIZE =
3255 SnapshotDiffSection_DiffEntry_Type_Type_ARRAYSIZE;
3256 static inline const ::google::protobuf::EnumDescriptor*
3258 return SnapshotDiffSection_DiffEntry_Type_descriptor();
3260 static inline const ::std::string& Type_Name(Type value) {
3261 return SnapshotDiffSection_DiffEntry_Type_Name(value);
3263 static inline bool Type_Parse(const ::std::string& name,
3265 return SnapshotDiffSection_DiffEntry_Type_Parse(name, value);
3271 bool has_type()
const;
3273 static const int kTypeFieldNumber = 1;
3274 ::hadoop::hdfs::fsimage::SnapshotDiffSection_DiffEntry_Type type()
const;
3275 void set_type(::hadoop::hdfs::fsimage::SnapshotDiffSection_DiffEntry_Type value);
3278 bool has_inodeid()
const;
3279 void clear_inodeid();
3280 static const int kInodeIdFieldNumber = 2;
3281 ::google::protobuf::uint64 inodeid()
const;
3282 void set_inodeid(::google::protobuf::uint64 value);
3285 bool has_numofdiff()
const;
3286 void clear_numofdiff();
3287 static const int kNumOfDiffFieldNumber = 3;
3288 ::google::protobuf::uint32 numofdiff()
const;
3289 void set_numofdiff(::google::protobuf::uint32 value);
3293 inline void set_has_type();
3294 inline void clear_has_type();
3295 inline void set_has_inodeid();
3296 inline void clear_has_inodeid();
3297 inline void set_has_numofdiff();
3298 inline void clear_has_numofdiff();
3300 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3301 ::google::protobuf::uint32 _has_bits_[1];
3302 mutable int _cached_size_;
3303 ::google::protobuf::uint64 inodeid_;
3305 ::google::protobuf::uint32 numofdiff_;
3306 friend void protobuf_AddDesc_fsimage_2eproto();
3307 friend void protobuf_AssignDesc_fsimage_2eproto();
3308 friend void protobuf_ShutdownFile_fsimage_2eproto();
3310 void InitAsDefaultInstance();
3327 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
3328 return _internal_metadata_.unknown_fields();
3331 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3332 return _internal_metadata_.mutable_unknown_fields();
3335 static const ::google::protobuf::Descriptor* descriptor();
3345 void CopyFrom(const ::google::protobuf::Message& from);
3346 void MergeFrom(const ::google::protobuf::Message& from);
3350 bool IsInitialized()
const;
3352 int ByteSize()
const;
3353 bool MergePartialFromCodedStream(
3354 ::google::protobuf::io::CodedInputStream* input);
3355 void SerializeWithCachedSizes(
3356 ::google::protobuf::io::CodedOutputStream* output)
const;
3357 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3358 bool deterministic, ::google::protobuf::uint8* output)
const;
3359 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
3360 return InternalSerializeWithCachedSizesToArray(
false, output);
3362 int GetCachedSize()
const {
return _cached_size_; }
3366 void SetCachedSize(
int size)
const;
3369 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3370 return _internal_metadata_.arena();
3372 inline void* MaybeArenaPtr()
const {
3373 return _internal_metadata_.raw_arena_ptr();
3377 ::google::protobuf::Metadata GetMetadata()
const;
3391 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3392 ::google::protobuf::uint32 _has_bits_[1];
3393 mutable int _cached_size_;
3394 friend void protobuf_AddDesc_fsimage_2eproto();
3395 friend void protobuf_AssignDesc_fsimage_2eproto();
3396 friend void protobuf_ShutdownFile_fsimage_2eproto();
3398 void InitAsDefaultInstance();
3415 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
3416 return _internal_metadata_.unknown_fields();
3419 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3420 return _internal_metadata_.mutable_unknown_fields();
3423 static const ::google::protobuf::Descriptor* descriptor();
3433 void CopyFrom(const ::google::protobuf::Message& from);
3434 void MergeFrom(const ::google::protobuf::Message& from);
3438 bool IsInitialized()
const;
3440 int ByteSize()
const;
3441 bool MergePartialFromCodedStream(
3442 ::google::protobuf::io::CodedInputStream* input);
3443 void SerializeWithCachedSizes(
3444 ::google::protobuf::io::CodedOutputStream* output)
const;
3445 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3446 bool deterministic, ::google::protobuf::uint8* output)
const;
3447 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
3448 return InternalSerializeWithCachedSizesToArray(
false, output);
3450 int GetCachedSize()
const {
return _cached_size_; }
3454 void SetCachedSize(
int size)
const;
3457 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3458 return _internal_metadata_.arena();
3460 inline void* MaybeArenaPtr()
const {
3461 return _internal_metadata_.raw_arena_ptr();
3465 ::google::protobuf::Metadata GetMetadata()
const;
3472 bool has_id()
const;
3474 static const int kIdFieldNumber = 1;
3475 ::google::protobuf::uint32 id()
const;
3476 void set_id(::google::protobuf::uint32 value);
3479 bool has_str()
const;
3481 static const int kStrFieldNumber = 2;
3482 const ::std::string& str()
const;
3483 void set_str(const ::std::string& value);
3484 void set_str(
const char* value);
3485 void set_str(
const char* value,
size_t size);
3486 ::std::string* mutable_str();
3487 ::std::string* release_str();
3488 void set_allocated_str(::std::string* str);
3492 inline void set_has_id();
3493 inline void clear_has_id();
3494 inline void set_has_str();
3495 inline void clear_has_str();
3497 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3498 ::google::protobuf::uint32 _has_bits_[1];
3499 mutable int _cached_size_;
3500 ::google::protobuf::internal::ArenaStringPtr str_;
3501 ::google::protobuf::uint32 id_;
3502 friend void protobuf_AddDesc_fsimage_2eproto();
3503 friend void protobuf_AssignDesc_fsimage_2eproto();
3504 friend void protobuf_ShutdownFile_fsimage_2eproto();
3506 void InitAsDefaultInstance();
3523 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
3524 return _internal_metadata_.unknown_fields();
3527 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3528 return _internal_metadata_.mutable_unknown_fields();
3531 static const ::google::protobuf::Descriptor* descriptor();
3541 void CopyFrom(const ::google::protobuf::Message& from);
3542 void MergeFrom(const ::google::protobuf::Message& from);
3546 bool IsInitialized()
const;
3548 int ByteSize()
const;
3549 bool MergePartialFromCodedStream(
3550 ::google::protobuf::io::CodedInputStream* input);
3551 void SerializeWithCachedSizes(
3552 ::google::protobuf::io::CodedOutputStream* output)
const;
3553 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3554 bool deterministic, ::google::protobuf::uint8* output)
const;
3555 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
3556 return InternalSerializeWithCachedSizesToArray(
false, output);
3558 int GetCachedSize()
const {
return _cached_size_; }
3562 void SetCachedSize(
int size)
const;
3565 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3566 return _internal_metadata_.arena();
3568 inline void* MaybeArenaPtr()
const {
3569 return _internal_metadata_.raw_arena_ptr();
3573 ::google::protobuf::Metadata GetMetadata()
const;
3582 bool has_numentry()
const;
3583 void clear_numentry();
3584 static const int kNumEntryFieldNumber = 1;
3585 ::google::protobuf::uint32 numentry()
const;
3586 void set_numentry(::google::protobuf::uint32 value);
3590 inline void set_has_numentry();
3591 inline void clear_has_numentry();
3593 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3594 ::google::protobuf::uint32 _has_bits_[1];
3595 mutable int _cached_size_;
3596 ::google::protobuf::uint32 numentry_;
3597 friend void protobuf_AddDesc_fsimage_2eproto();
3598 friend void protobuf_AssignDesc_fsimage_2eproto();
3599 friend void protobuf_ShutdownFile_fsimage_2eproto();
3601 void InitAsDefaultInstance();
3618 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
3619 return _internal_metadata_.unknown_fields();
3622 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3623 return _internal_metadata_.mutable_unknown_fields();
3626 static const ::google::protobuf::Descriptor* descriptor();
3636 void CopyFrom(const ::google::protobuf::Message& from);
3637 void MergeFrom(const ::google::protobuf::Message& from);
3641 bool IsInitialized()
const;
3643 int ByteSize()
const;
3644 bool MergePartialFromCodedStream(
3645 ::google::protobuf::io::CodedInputStream* input);
3646 void SerializeWithCachedSizes(
3647 ::google::protobuf::io::CodedOutputStream* output)
const;
3648 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3649 bool deterministic, ::google::protobuf::uint8* output)
const;
3650 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
3651 return InternalSerializeWithCachedSizesToArray(
false, output);
3653 int GetCachedSize()
const {
return _cached_size_; }
3657 void SetCachedSize(
int size)
const;
3660 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3661 return _internal_metadata_.arena();
3663 inline void* MaybeArenaPtr()
const {
3664 return _internal_metadata_.raw_arena_ptr();
3668 ::google::protobuf::Metadata GetMetadata()
const;
3675 bool has_id()
const;
3677 static const int kIdFieldNumber = 1;
3678 ::google::protobuf::uint32 id()
const;
3679 void set_id(::google::protobuf::uint32 value);
3682 bool has_expirydate()
const;
3683 void clear_expirydate();
3684 static const int kExpiryDateFieldNumber = 2;
3685 ::google::protobuf::uint64 expirydate()
const;
3686 void set_expirydate(::google::protobuf::uint64 value);
3689 bool has_key()
const;
3691 static const int kKeyFieldNumber = 3;
3692 const ::std::string& key()
const;
3693 void set_key(const ::std::string& value);
3694 void set_key(
const char* value);
3695 void set_key(
const void* value,
size_t size);
3696 ::std::string* mutable_key();
3697 ::std::string* release_key();
3698 void set_allocated_key(::std::string* key);
3702 inline void set_has_id();
3703 inline void clear_has_id();
3704 inline void set_has_expirydate();
3705 inline void clear_has_expirydate();
3706 inline void set_has_key();
3707 inline void clear_has_key();
3709 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3710 ::google::protobuf::uint32 _has_bits_[1];
3711 mutable int _cached_size_;
3712 ::google::protobuf::uint64 expirydate_;
3713 ::google::protobuf::internal::ArenaStringPtr key_;
3714 ::google::protobuf::uint32 id_;
3715 friend void protobuf_AddDesc_fsimage_2eproto();
3716 friend void protobuf_AssignDesc_fsimage_2eproto();
3717 friend void protobuf_ShutdownFile_fsimage_2eproto();
3719 void InitAsDefaultInstance();
3736 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
3737 return _internal_metadata_.unknown_fields();
3740 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3741 return _internal_metadata_.mutable_unknown_fields();
3744 static const ::google::protobuf::Descriptor* descriptor();
3754 void CopyFrom(const ::google::protobuf::Message& from);
3755 void MergeFrom(const ::google::protobuf::Message& from);
3759 bool IsInitialized()
const;
3761 int ByteSize()
const;
3762 bool MergePartialFromCodedStream(
3763 ::google::protobuf::io::CodedInputStream* input);
3764 void SerializeWithCachedSizes(
3765 ::google::protobuf::io::CodedOutputStream* output)
const;
3766 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3767 bool deterministic, ::google::protobuf::uint8* output)
const;
3768 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
3769 return InternalSerializeWithCachedSizesToArray(
false, output);
3771 int GetCachedSize()
const {
return _cached_size_; }
3775 void SetCachedSize(
int size)
const;
3778 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3779 return _internal_metadata_.arena();
3781 inline void* MaybeArenaPtr()
const {
3782 return _internal_metadata_.raw_arena_ptr();
3786 ::google::protobuf::Metadata GetMetadata()
const;
3793 bool has_version()
const;
3794 void clear_version();
3795 static const int kVersionFieldNumber = 1;
3796 ::google::protobuf::uint32 version()
const;
3797 void set_version(::google::protobuf::uint32 value);
3800 bool has_owner()
const;
3802 static const int kOwnerFieldNumber = 2;
3803 const ::std::string& owner()
const;
3804 void set_owner(const ::std::string& value);
3805 void set_owner(
const char* value);
3806 void set_owner(
const char* value,
size_t size);
3807 ::std::string* mutable_owner();
3808 ::std::string* release_owner();
3809 void set_allocated_owner(::std::string* owner);
3812 bool has_renewer()
const;
3813 void clear_renewer();
3814 static const int kRenewerFieldNumber = 3;
3815 const ::std::string& renewer()
const;
3816 void set_renewer(const ::std::string& value);
3817 void set_renewer(
const char* value);
3818 void set_renewer(
const char* value,
size_t size);
3819 ::std::string* mutable_renewer();
3820 ::std::string* release_renewer();
3821 void set_allocated_renewer(::std::string* renewer);
3824 bool has_realuser()
const;
3825 void clear_realuser();
3826 static const int kRealUserFieldNumber = 4;
3827 const ::std::string& realuser()
const;
3828 void set_realuser(const ::std::string& value);
3829 void set_realuser(
const char* value);
3830 void set_realuser(
const char* value,
size_t size);
3831 ::std::string* mutable_realuser();
3832 ::std::string* release_realuser();
3833 void set_allocated_realuser(::std::string* realuser);
3836 bool has_issuedate()
const;
3837 void clear_issuedate();
3838 static const int kIssueDateFieldNumber = 5;
3839 ::google::protobuf::uint64 issuedate()
const;
3840 void set_issuedate(::google::protobuf::uint64 value);
3843 bool has_maxdate()
const;
3844 void clear_maxdate();
3845 static const int kMaxDateFieldNumber = 6;
3846 ::google::protobuf::uint64 maxdate()
const;
3847 void set_maxdate(::google::protobuf::uint64 value);
3850 bool has_sequencenumber()
const;
3851 void clear_sequencenumber();
3852 static const int kSequenceNumberFieldNumber = 7;
3853 ::google::protobuf::uint32 sequencenumber()
const;
3854 void set_sequencenumber(::google::protobuf::uint32 value);
3857 bool has_masterkeyid()
const;
3858 void clear_masterkeyid();
3859 static const int kMasterKeyIdFieldNumber = 8;
3860 ::google::protobuf::uint32 masterkeyid()
const;
3861 void set_masterkeyid(::google::protobuf::uint32 value);
3864 bool has_expirydate()
const;
3865 void clear_expirydate();
3866 static const int kExpiryDateFieldNumber = 9;
3867 ::google::protobuf::uint64 expirydate()
const;
3868 void set_expirydate(::google::protobuf::uint64 value);
3872 inline void set_has_version();
3873 inline void clear_has_version();
3874 inline void set_has_owner();
3875 inline void clear_has_owner();
3876 inline void set_has_renewer();
3877 inline void clear_has_renewer();
3878 inline void set_has_realuser();
3879 inline void clear_has_realuser();
3880 inline void set_has_issuedate();
3881 inline void clear_has_issuedate();
3882 inline void set_has_maxdate();
3883 inline void clear_has_maxdate();
3884 inline void set_has_sequencenumber();
3885 inline void clear_has_sequencenumber();
3886 inline void set_has_masterkeyid();
3887 inline void clear_has_masterkeyid();
3888 inline void set_has_expirydate();
3889 inline void clear_has_expirydate();
3891 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3892 ::google::protobuf::uint32 _has_bits_[1];
3893 mutable int _cached_size_;
3894 ::google::protobuf::internal::ArenaStringPtr owner_;
3895 ::google::protobuf::internal::ArenaStringPtr renewer_;
3896 ::google::protobuf::internal::ArenaStringPtr realuser_;
3897 ::google::protobuf::uint32 version_;
3898 ::google::protobuf::uint32 sequencenumber_;
3899 ::google::protobuf::uint64 issuedate_;
3900 ::google::protobuf::uint64 maxdate_;
3901 ::google::protobuf::uint64 expirydate_;
3902 ::google::protobuf::uint32 masterkeyid_;
3903 friend void protobuf_AddDesc_fsimage_2eproto();
3904 friend void protobuf_AssignDesc_fsimage_2eproto();
3905 friend void protobuf_ShutdownFile_fsimage_2eproto();
3907 void InitAsDefaultInstance();
3924 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
3925 return _internal_metadata_.unknown_fields();
3928 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3929 return _internal_metadata_.mutable_unknown_fields();
3932 static const ::google::protobuf::Descriptor* descriptor();
3942 void CopyFrom(const ::google::protobuf::Message& from);
3943 void MergeFrom(const ::google::protobuf::Message& from);
3947 bool IsInitialized()
const;
3949 int ByteSize()
const;
3950 bool MergePartialFromCodedStream(
3951 ::google::protobuf::io::CodedInputStream* input);
3952 void SerializeWithCachedSizes(
3953 ::google::protobuf::io::CodedOutputStream* output)
const;
3954 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3955 bool deterministic, ::google::protobuf::uint8* output)
const;
3956 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
3957 return InternalSerializeWithCachedSizesToArray(
false, output);
3959 int GetCachedSize()
const {
return _cached_size_; }
3963 void SetCachedSize(
int size)
const;
3966 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3967 return _internal_metadata_.arena();
3969 inline void* MaybeArenaPtr()
const {
3970 return _internal_metadata_.raw_arena_ptr();
3974 ::google::protobuf::Metadata GetMetadata()
const;
3984 bool has_currentid()
const;
3985 void clear_currentid();
3986 static const int kCurrentIdFieldNumber = 1;
3987 ::google::protobuf::uint32 currentid()
const;
3988 void set_currentid(::google::protobuf::uint32 value);
3991 bool has_tokensequencenumber()
const;
3992 void clear_tokensequencenumber();
3993 static const int kTokenSequenceNumberFieldNumber = 2;
3994 ::google::protobuf::uint32 tokensequencenumber()
const;
3995 void set_tokensequencenumber(::google::protobuf::uint32 value);
3998 bool has_numkeys()
const;
3999 void clear_numkeys();
4000 static const int kNumKeysFieldNumber = 3;
4001 ::google::protobuf::uint32 numkeys()
const;
4002 void set_numkeys(::google::protobuf::uint32 value);
4005 bool has_numtokens()
const;
4006 void clear_numtokens();
4007 static const int kNumTokensFieldNumber = 4;
4008 ::google::protobuf::uint32 numtokens()
const;
4009 void set_numtokens(::google::protobuf::uint32 value);
4013 inline void set_has_currentid();
4014 inline void clear_has_currentid();
4015 inline void set_has_tokensequencenumber();
4016 inline void clear_has_tokensequencenumber();
4017 inline void set_has_numkeys();
4018 inline void clear_has_numkeys();
4019 inline void set_has_numtokens();
4020 inline void clear_has_numtokens();
4022 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4023 ::google::protobuf::uint32 _has_bits_[1];
4024 mutable int _cached_size_;
4025 ::google::protobuf::uint32 currentid_;
4026 ::google::protobuf::uint32 tokensequencenumber_;
4027 ::google::protobuf::uint32 numkeys_;
4028 ::google::protobuf::uint32 numtokens_;
4029 friend void protobuf_AddDesc_fsimage_2eproto();
4030 friend void protobuf_AssignDesc_fsimage_2eproto();
4031 friend void protobuf_ShutdownFile_fsimage_2eproto();
4033 void InitAsDefaultInstance();
4050 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
4051 return _internal_metadata_.unknown_fields();
4054 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4055 return _internal_metadata_.mutable_unknown_fields();
4058 static const ::google::protobuf::Descriptor* descriptor();
4068 void CopyFrom(const ::google::protobuf::Message& from);
4069 void MergeFrom(const ::google::protobuf::Message& from);
4073 bool IsInitialized()
const;
4075 int ByteSize()
const;
4076 bool MergePartialFromCodedStream(
4077 ::google::protobuf::io::CodedInputStream* input);
4078 void SerializeWithCachedSizes(
4079 ::google::protobuf::io::CodedOutputStream* output)
const;
4080 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4081 bool deterministic, ::google::protobuf::uint8* output)
const;
4082 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
4083 return InternalSerializeWithCachedSizesToArray(
false, output);
4085 int GetCachedSize()
const {
return _cached_size_; }
4089 void SetCachedSize(
int size)
const;
4092 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
4093 return _internal_metadata_.arena();
4095 inline void* MaybeArenaPtr()
const {
4096 return _internal_metadata_.raw_arena_ptr();
4100 ::google::protobuf::Metadata GetMetadata()
const;
4107 bool has_nextdirectiveid()
const;
4108 void clear_nextdirectiveid();
4109 static const int kNextDirectiveIdFieldNumber = 1;
4110 ::google::protobuf::uint64 nextdirectiveid()
const;
4111 void set_nextdirectiveid(::google::protobuf::uint64 value);
4114 bool has_numpools()
const;
4115 void clear_numpools();
4116 static const int kNumPoolsFieldNumber = 2;
4117 ::google::protobuf::uint32 numpools()
const;
4118 void set_numpools(::google::protobuf::uint32 value);
4121 bool has_numdirectives()
const;
4122 void clear_numdirectives();
4123 static const int kNumDirectivesFieldNumber = 3;
4124 ::google::protobuf::uint32 numdirectives()
const;
4125 void set_numdirectives(::google::protobuf::uint32 value);
4129 inline void set_has_nextdirectiveid();
4130 inline void clear_has_nextdirectiveid();
4131 inline void set_has_numpools();
4132 inline void clear_has_numpools();
4133 inline void set_has_numdirectives();
4134 inline void clear_has_numdirectives();
4137 int RequiredFieldsByteSizeFallback()
const;
4139 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4140 ::google::protobuf::uint32 _has_bits_[1];
4141 mutable int _cached_size_;
4142 ::google::protobuf::uint64 nextdirectiveid_;
4143 ::google::protobuf::uint32 numpools_;
4144 ::google::protobuf::uint32 numdirectives_;
4145 friend void protobuf_AddDesc_fsimage_2eproto();
4146 friend void protobuf_AssignDesc_fsimage_2eproto();
4147 friend void protobuf_ShutdownFile_fsimage_2eproto();
4149 void InitAsDefaultInstance();
4157 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
4161 inline bool FileSummary_Section::has_name()
const {
4162 return (_has_bits_[0] & 0x00000001u) != 0;
4164 inline void FileSummary_Section::set_has_name() {
4165 _has_bits_[0] |= 0x00000001u;
4167 inline void FileSummary_Section::clear_has_name() {
4168 _has_bits_[0] &= ~0x00000001u;
4170 inline void FileSummary_Section::clear_name() {
4171 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4174 inline const ::std::string& FileSummary_Section::name()
const {
4176 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4178 inline void FileSummary_Section::set_name(const ::std::string& value) {
4180 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4183 inline void FileSummary_Section::set_name(
const char* value) {
4185 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4188 inline void FileSummary_Section::set_name(
const char* value,
size_t size) {
4190 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4191 ::std::string(reinterpret_cast<const char*>(value), size));
4194 inline ::std::string* FileSummary_Section::mutable_name() {
4197 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4199 inline ::std::string* FileSummary_Section::release_name() {
4202 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4204 inline void FileSummary_Section::set_allocated_name(::std::string* name) {
4210 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
4215 inline bool FileSummary_Section::has_length()
const {
4216 return (_has_bits_[0] & 0x00000002u) != 0;
4218 inline void FileSummary_Section::set_has_length() {
4219 _has_bits_[0] |= 0x00000002u;
4221 inline void FileSummary_Section::clear_has_length() {
4222 _has_bits_[0] &= ~0x00000002u;
4224 inline void FileSummary_Section::clear_length() {
4225 length_ = GOOGLE_ULONGLONG(0);
4228 inline ::google::protobuf::uint64 FileSummary_Section::length()
const {
4232 inline void FileSummary_Section::set_length(::google::protobuf::uint64 value) {
4239 inline bool FileSummary_Section::has_offset()
const {
4240 return (_has_bits_[0] & 0x00000004u) != 0;
4242 inline void FileSummary_Section::set_has_offset() {
4243 _has_bits_[0] |= 0x00000004u;
4245 inline void FileSummary_Section::clear_has_offset() {
4246 _has_bits_[0] &= ~0x00000004u;
4248 inline void FileSummary_Section::clear_offset() {
4249 offset_ = GOOGLE_ULONGLONG(0);
4252 inline ::google::protobuf::uint64 FileSummary_Section::offset()
const {
4256 inline void FileSummary_Section::set_offset(::google::protobuf::uint64 value) {
4267 inline bool FileSummary::has_ondiskversion()
const {
4268 return (_has_bits_[0] & 0x00000001u) != 0;
4270 inline void FileSummary::set_has_ondiskversion() {
4271 _has_bits_[0] |= 0x00000001u;
4273 inline void FileSummary::clear_has_ondiskversion() {
4274 _has_bits_[0] &= ~0x00000001u;
4276 inline void FileSummary::clear_ondiskversion() {
4277 ondiskversion_ = 0u;
4278 clear_has_ondiskversion();
4280 inline ::google::protobuf::uint32 FileSummary::ondiskversion()
const {
4282 return ondiskversion_;
4284 inline void FileSummary::set_ondiskversion(::google::protobuf::uint32 value) {
4285 set_has_ondiskversion();
4286 ondiskversion_ = value;
4291 inline bool FileSummary::has_layoutversion()
const {
4292 return (_has_bits_[0] & 0x00000002u) != 0;
4294 inline void FileSummary::set_has_layoutversion() {
4295 _has_bits_[0] |= 0x00000002u;
4297 inline void FileSummary::clear_has_layoutversion() {
4298 _has_bits_[0] &= ~0x00000002u;
4300 inline void FileSummary::clear_layoutversion() {
4301 layoutversion_ = 0u;
4302 clear_has_layoutversion();
4304 inline ::google::protobuf::uint32 FileSummary::layoutversion()
const {
4306 return layoutversion_;
4308 inline void FileSummary::set_layoutversion(::google::protobuf::uint32 value) {
4309 set_has_layoutversion();
4310 layoutversion_ = value;
4315 inline bool FileSummary::has_codec()
const {
4316 return (_has_bits_[0] & 0x00000004u) != 0;
4318 inline void FileSummary::set_has_codec() {
4319 _has_bits_[0] |= 0x00000004u;
4321 inline void FileSummary::clear_has_codec() {
4322 _has_bits_[0] &= ~0x00000004u;
4324 inline void FileSummary::clear_codec() {
4325 codec_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4328 inline const ::std::string& FileSummary::codec()
const {
4330 return codec_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4332 inline void FileSummary::set_codec(const ::std::string& value) {
4334 codec_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4337 inline void FileSummary::set_codec(
const char* value) {
4339 codec_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4342 inline void FileSummary::set_codec(
const char* value,
size_t size) {
4344 codec_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4345 ::std::string(reinterpret_cast<const char*>(value), size));
4348 inline ::std::string* FileSummary::mutable_codec() {
4351 return codec_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4353 inline ::std::string* FileSummary::release_codec() {
4356 return codec_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4358 inline void FileSummary::set_allocated_codec(::std::string* codec) {
4359 if (codec != NULL) {
4364 codec_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), codec);
4369 inline int FileSummary::sections_size()
const {
4370 return sections_.size();
4372 inline void FileSummary::clear_sections() {
4375 inline const ::hadoop::hdfs::fsimage::FileSummary_Section& FileSummary::sections(
int index)
const {
4377 return sections_.Get(index);
4379 inline ::hadoop::hdfs::fsimage::FileSummary_Section* FileSummary::mutable_sections(
int index) {
4381 return sections_.Mutable(index);
4383 inline ::hadoop::hdfs::fsimage::FileSummary_Section* FileSummary::add_sections() {
4385 return sections_.Add();
4387 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::FileSummary_Section >*
4388 FileSummary::mutable_sections() {
4392 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::FileSummary_Section >&
4393 FileSummary::sections()
const {
4403 inline bool NameSystemSection::has_namespaceid()
const {
4404 return (_has_bits_[0] & 0x00000001u) != 0;
4406 inline void NameSystemSection::set_has_namespaceid() {
4407 _has_bits_[0] |= 0x00000001u;
4409 inline void NameSystemSection::clear_has_namespaceid() {
4410 _has_bits_[0] &= ~0x00000001u;
4412 inline void NameSystemSection::clear_namespaceid() {
4414 clear_has_namespaceid();
4416 inline ::google::protobuf::uint32 NameSystemSection::namespaceid()
const {
4418 return namespaceid_;
4420 inline void NameSystemSection::set_namespaceid(::google::protobuf::uint32 value) {
4421 set_has_namespaceid();
4422 namespaceid_ = value;
4427 inline bool NameSystemSection::has_genstampv1()
const {
4428 return (_has_bits_[0] & 0x00000002u) != 0;
4430 inline void NameSystemSection::set_has_genstampv1() {
4431 _has_bits_[0] |= 0x00000002u;
4433 inline void NameSystemSection::clear_has_genstampv1() {
4434 _has_bits_[0] &= ~0x00000002u;
4436 inline void NameSystemSection::clear_genstampv1() {
4437 genstampv1_ = GOOGLE_ULONGLONG(0);
4438 clear_has_genstampv1();
4440 inline ::google::protobuf::uint64 NameSystemSection::genstampv1()
const {
4444 inline void NameSystemSection::set_genstampv1(::google::protobuf::uint64 value) {
4445 set_has_genstampv1();
4446 genstampv1_ = value;
4451 inline bool NameSystemSection::has_genstampv2()
const {
4452 return (_has_bits_[0] & 0x00000004u) != 0;
4454 inline void NameSystemSection::set_has_genstampv2() {
4455 _has_bits_[0] |= 0x00000004u;
4457 inline void NameSystemSection::clear_has_genstampv2() {
4458 _has_bits_[0] &= ~0x00000004u;
4460 inline void NameSystemSection::clear_genstampv2() {
4461 genstampv2_ = GOOGLE_ULONGLONG(0);
4462 clear_has_genstampv2();
4464 inline ::google::protobuf::uint64 NameSystemSection::genstampv2()
const {
4468 inline void NameSystemSection::set_genstampv2(::google::protobuf::uint64 value) {
4469 set_has_genstampv2();
4470 genstampv2_ = value;
4475 inline bool NameSystemSection::has_genstampv1limit()
const {
4476 return (_has_bits_[0] & 0x00000008u) != 0;
4478 inline void NameSystemSection::set_has_genstampv1limit() {
4479 _has_bits_[0] |= 0x00000008u;
4481 inline void NameSystemSection::clear_has_genstampv1limit() {
4482 _has_bits_[0] &= ~0x00000008u;
4484 inline void NameSystemSection::clear_genstampv1limit() {
4485 genstampv1limit_ = GOOGLE_ULONGLONG(0);
4486 clear_has_genstampv1limit();
4488 inline ::google::protobuf::uint64 NameSystemSection::genstampv1limit()
const {
4490 return genstampv1limit_;
4492 inline void NameSystemSection::set_genstampv1limit(::google::protobuf::uint64 value) {
4493 set_has_genstampv1limit();
4494 genstampv1limit_ = value;
4499 inline bool NameSystemSection::has_lastallocatedblockid()
const {
4500 return (_has_bits_[0] & 0x00000010u) != 0;
4502 inline void NameSystemSection::set_has_lastallocatedblockid() {
4503 _has_bits_[0] |= 0x00000010u;
4505 inline void NameSystemSection::clear_has_lastallocatedblockid() {
4506 _has_bits_[0] &= ~0x00000010u;
4508 inline void NameSystemSection::clear_lastallocatedblockid() {
4509 lastallocatedblockid_ = GOOGLE_ULONGLONG(0);
4510 clear_has_lastallocatedblockid();
4512 inline ::google::protobuf::uint64 NameSystemSection::lastallocatedblockid()
const {
4514 return lastallocatedblockid_;
4516 inline void NameSystemSection::set_lastallocatedblockid(::google::protobuf::uint64 value) {
4517 set_has_lastallocatedblockid();
4518 lastallocatedblockid_ = value;
4523 inline bool NameSystemSection::has_transactionid()
const {
4524 return (_has_bits_[0] & 0x00000020u) != 0;
4526 inline void NameSystemSection::set_has_transactionid() {
4527 _has_bits_[0] |= 0x00000020u;
4529 inline void NameSystemSection::clear_has_transactionid() {
4530 _has_bits_[0] &= ~0x00000020u;
4532 inline void NameSystemSection::clear_transactionid() {
4533 transactionid_ = GOOGLE_ULONGLONG(0);
4534 clear_has_transactionid();
4536 inline ::google::protobuf::uint64 NameSystemSection::transactionid()
const {
4538 return transactionid_;
4540 inline void NameSystemSection::set_transactionid(::google::protobuf::uint64 value) {
4541 set_has_transactionid();
4542 transactionid_ = value;
4547 inline bool NameSystemSection::has_rollingupgradestarttime()
const {
4548 return (_has_bits_[0] & 0x00000040u) != 0;
4550 inline void NameSystemSection::set_has_rollingupgradestarttime() {
4551 _has_bits_[0] |= 0x00000040u;
4553 inline void NameSystemSection::clear_has_rollingupgradestarttime() {
4554 _has_bits_[0] &= ~0x00000040u;
4556 inline void NameSystemSection::clear_rollingupgradestarttime() {
4557 rollingupgradestarttime_ = GOOGLE_ULONGLONG(0);
4558 clear_has_rollingupgradestarttime();
4560 inline ::google::protobuf::uint64 NameSystemSection::rollingupgradestarttime()
const {
4562 return rollingupgradestarttime_;
4564 inline void NameSystemSection::set_rollingupgradestarttime(::google::protobuf::uint64 value) {
4565 set_has_rollingupgradestarttime();
4566 rollingupgradestarttime_ = value;
4575 inline bool INodeSection_FileUnderConstructionFeature::has_clientname()
const {
4576 return (_has_bits_[0] & 0x00000001u) != 0;
4578 inline void INodeSection_FileUnderConstructionFeature::set_has_clientname() {
4579 _has_bits_[0] |= 0x00000001u;
4581 inline void INodeSection_FileUnderConstructionFeature::clear_has_clientname() {
4582 _has_bits_[0] &= ~0x00000001u;
4584 inline void INodeSection_FileUnderConstructionFeature::clear_clientname() {
4585 clientname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4586 clear_has_clientname();
4588 inline const ::std::string& INodeSection_FileUnderConstructionFeature::clientname()
const {
4590 return clientname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4592 inline void INodeSection_FileUnderConstructionFeature::set_clientname(const ::std::string& value) {
4593 set_has_clientname();
4594 clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4597 inline void INodeSection_FileUnderConstructionFeature::set_clientname(
const char* value) {
4598 set_has_clientname();
4599 clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4602 inline void INodeSection_FileUnderConstructionFeature::set_clientname(
const char* value,
size_t size) {
4603 set_has_clientname();
4604 clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4605 ::std::string(reinterpret_cast<const char*>(value), size));
4608 inline ::std::string* INodeSection_FileUnderConstructionFeature::mutable_clientname() {
4609 set_has_clientname();
4611 return clientname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4613 inline ::std::string* INodeSection_FileUnderConstructionFeature::release_clientname() {
4615 clear_has_clientname();
4616 return clientname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4618 inline void INodeSection_FileUnderConstructionFeature::set_allocated_clientname(::std::string* clientname) {
4619 if (clientname != NULL) {
4620 set_has_clientname();
4622 clear_has_clientname();
4624 clientname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), clientname);
4629 inline bool INodeSection_FileUnderConstructionFeature::has_clientmachine()
const {
4630 return (_has_bits_[0] & 0x00000002u) != 0;
4632 inline void INodeSection_FileUnderConstructionFeature::set_has_clientmachine() {
4633 _has_bits_[0] |= 0x00000002u;
4635 inline void INodeSection_FileUnderConstructionFeature::clear_has_clientmachine() {
4636 _has_bits_[0] &= ~0x00000002u;
4638 inline void INodeSection_FileUnderConstructionFeature::clear_clientmachine() {
4639 clientmachine_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4640 clear_has_clientmachine();
4642 inline const ::std::string& INodeSection_FileUnderConstructionFeature::clientmachine()
const {
4644 return clientmachine_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4646 inline void INodeSection_FileUnderConstructionFeature::set_clientmachine(const ::std::string& value) {
4647 set_has_clientmachine();
4648 clientmachine_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4651 inline void INodeSection_FileUnderConstructionFeature::set_clientmachine(
const char* value) {
4652 set_has_clientmachine();
4653 clientmachine_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4656 inline void INodeSection_FileUnderConstructionFeature::set_clientmachine(
const char* value,
size_t size) {
4657 set_has_clientmachine();
4658 clientmachine_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4659 ::std::string(reinterpret_cast<const char*>(value), size));
4662 inline ::std::string* INodeSection_FileUnderConstructionFeature::mutable_clientmachine() {
4663 set_has_clientmachine();
4665 return clientmachine_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4667 inline ::std::string* INodeSection_FileUnderConstructionFeature::release_clientmachine() {
4669 clear_has_clientmachine();
4670 return clientmachine_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4672 inline void INodeSection_FileUnderConstructionFeature::set_allocated_clientmachine(::std::string* clientmachine) {
4673 if (clientmachine != NULL) {
4674 set_has_clientmachine();
4676 clear_has_clientmachine();
4678 clientmachine_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), clientmachine);
4687 inline int INodeSection_AclFeatureProto::entries_size()
const {
4688 return entries_.size();
4690 inline void INodeSection_AclFeatureProto::clear_entries() {
4693 inline ::google::protobuf::uint32 INodeSection_AclFeatureProto::entries(
int index)
const {
4695 return entries_.Get(index);
4697 inline void INodeSection_AclFeatureProto::set_entries(
int index, ::google::protobuf::uint32 value) {
4698 entries_.Set(index, value);
4701 inline void INodeSection_AclFeatureProto::add_entries(::google::protobuf::uint32 value) {
4702 entries_.Add(value);
4705 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
4706 INodeSection_AclFeatureProto::entries()
const {
4710 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
4711 INodeSection_AclFeatureProto::mutable_entries() {
4721 inline bool INodeSection_XAttrCompactProto::has_name()
const {
4722 return (_has_bits_[0] & 0x00000001u) != 0;
4724 inline void INodeSection_XAttrCompactProto::set_has_name() {
4725 _has_bits_[0] |= 0x00000001u;
4727 inline void INodeSection_XAttrCompactProto::clear_has_name() {
4728 _has_bits_[0] &= ~0x00000001u;
4730 inline void INodeSection_XAttrCompactProto::clear_name() {
4734 inline ::google::protobuf::uint32 INodeSection_XAttrCompactProto::name()
const {
4738 inline void INodeSection_XAttrCompactProto::set_name(::google::protobuf::uint32 value) {
4745 inline bool INodeSection_XAttrCompactProto::has_value()
const {
4746 return (_has_bits_[0] & 0x00000002u) != 0;
4748 inline void INodeSection_XAttrCompactProto::set_has_value() {
4749 _has_bits_[0] |= 0x00000002u;
4751 inline void INodeSection_XAttrCompactProto::clear_has_value() {
4752 _has_bits_[0] &= ~0x00000002u;
4754 inline void INodeSection_XAttrCompactProto::clear_value() {
4755 value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4758 inline const ::std::string& INodeSection_XAttrCompactProto::value()
const {
4760 return value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4762 inline void INodeSection_XAttrCompactProto::set_value(const ::std::string& value) {
4764 value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4767 inline void INodeSection_XAttrCompactProto::set_value(
const char* value) {
4769 value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4772 inline void INodeSection_XAttrCompactProto::set_value(
const void* value,
size_t size) {
4774 value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4775 ::std::string(reinterpret_cast<const char*>(value), size));
4778 inline ::std::string* INodeSection_XAttrCompactProto::mutable_value() {
4781 return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4783 inline ::std::string* INodeSection_XAttrCompactProto::release_value() {
4786 return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4788 inline void INodeSection_XAttrCompactProto::set_allocated_value(::std::string* value) {
4789 if (value != NULL) {
4794 value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4803 inline int INodeSection_XAttrFeatureProto::xattrs_size()
const {
4804 return xattrs_.size();
4806 inline void INodeSection_XAttrFeatureProto::clear_xattrs() {
4809 inline const ::hadoop::hdfs::fsimage::INodeSection_XAttrCompactProto& INodeSection_XAttrFeatureProto::xattrs(
int index)
const {
4811 return xattrs_.Get(index);
4813 inline ::hadoop::hdfs::fsimage::INodeSection_XAttrCompactProto* INodeSection_XAttrFeatureProto::mutable_xattrs(
int index) {
4815 return xattrs_.Mutable(index);
4817 inline ::hadoop::hdfs::fsimage::INodeSection_XAttrCompactProto* INodeSection_XAttrFeatureProto::add_xattrs() {
4819 return xattrs_.Add();
4821 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::INodeSection_XAttrCompactProto >*
4822 INodeSection_XAttrFeatureProto::mutable_xattrs() {
4826 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::INodeSection_XAttrCompactProto >&
4827 INodeSection_XAttrFeatureProto::xattrs()
const {
4837 inline bool INodeSection_INodeFile::has_replication()
const {
4838 return (_has_bits_[0] & 0x00000001u) != 0;
4840 inline void INodeSection_INodeFile::set_has_replication() {
4841 _has_bits_[0] |= 0x00000001u;
4843 inline void INodeSection_INodeFile::clear_has_replication() {
4844 _has_bits_[0] &= ~0x00000001u;
4846 inline void INodeSection_INodeFile::clear_replication() {
4848 clear_has_replication();
4850 inline ::google::protobuf::uint32 INodeSection_INodeFile::replication()
const {
4852 return replication_;
4854 inline void INodeSection_INodeFile::set_replication(::google::protobuf::uint32 value) {
4855 set_has_replication();
4856 replication_ = value;
4861 inline bool INodeSection_INodeFile::has_modificationtime()
const {
4862 return (_has_bits_[0] & 0x00000002u) != 0;
4864 inline void INodeSection_INodeFile::set_has_modificationtime() {
4865 _has_bits_[0] |= 0x00000002u;
4867 inline void INodeSection_INodeFile::clear_has_modificationtime() {
4868 _has_bits_[0] &= ~0x00000002u;
4870 inline void INodeSection_INodeFile::clear_modificationtime() {
4871 modificationtime_ = GOOGLE_ULONGLONG(0);
4872 clear_has_modificationtime();
4874 inline ::google::protobuf::uint64 INodeSection_INodeFile::modificationtime()
const {
4876 return modificationtime_;
4878 inline void INodeSection_INodeFile::set_modificationtime(::google::protobuf::uint64 value) {
4879 set_has_modificationtime();
4880 modificationtime_ = value;
4885 inline bool INodeSection_INodeFile::has_accesstime()
const {
4886 return (_has_bits_[0] & 0x00000004u) != 0;
4888 inline void INodeSection_INodeFile::set_has_accesstime() {
4889 _has_bits_[0] |= 0x00000004u;
4891 inline void INodeSection_INodeFile::clear_has_accesstime() {
4892 _has_bits_[0] &= ~0x00000004u;
4894 inline void INodeSection_INodeFile::clear_accesstime() {
4895 accesstime_ = GOOGLE_ULONGLONG(0);
4896 clear_has_accesstime();
4898 inline ::google::protobuf::uint64 INodeSection_INodeFile::accesstime()
const {
4902 inline void INodeSection_INodeFile::set_accesstime(::google::protobuf::uint64 value) {
4903 set_has_accesstime();
4904 accesstime_ = value;
4909 inline bool INodeSection_INodeFile::has_preferredblocksize()
const {
4910 return (_has_bits_[0] & 0x00000008u) != 0;
4912 inline void INodeSection_INodeFile::set_has_preferredblocksize() {
4913 _has_bits_[0] |= 0x00000008u;
4915 inline void INodeSection_INodeFile::clear_has_preferredblocksize() {
4916 _has_bits_[0] &= ~0x00000008u;
4918 inline void INodeSection_INodeFile::clear_preferredblocksize() {
4919 preferredblocksize_ = GOOGLE_ULONGLONG(0);
4920 clear_has_preferredblocksize();
4922 inline ::google::protobuf::uint64 INodeSection_INodeFile::preferredblocksize()
const {
4924 return preferredblocksize_;
4926 inline void INodeSection_INodeFile::set_preferredblocksize(::google::protobuf::uint64 value) {
4927 set_has_preferredblocksize();
4928 preferredblocksize_ = value;
4933 inline bool INodeSection_INodeFile::has_permission()
const {
4934 return (_has_bits_[0] & 0x00000010u) != 0;
4936 inline void INodeSection_INodeFile::set_has_permission() {
4937 _has_bits_[0] |= 0x00000010u;
4939 inline void INodeSection_INodeFile::clear_has_permission() {
4940 _has_bits_[0] &= ~0x00000010u;
4942 inline void INodeSection_INodeFile::clear_permission() {
4943 permission_ = GOOGLE_ULONGLONG(0);
4944 clear_has_permission();
4946 inline ::google::protobuf::uint64 INodeSection_INodeFile::permission()
const {
4950 inline void INodeSection_INodeFile::set_permission(::google::protobuf::uint64 value) {
4951 set_has_permission();
4952 permission_ = value;
4957 inline int INodeSection_INodeFile::blocks_size()
const {
4958 return blocks_.size();
4960 inline void INodeSection_INodeFile::clear_blocks() {
4963 inline const ::hadoop::hdfs::BlockProto& INodeSection_INodeFile::blocks(
int index)
const {
4965 return blocks_.Get(index);
4967 inline ::hadoop::hdfs::BlockProto* INodeSection_INodeFile::mutable_blocks(
int index) {
4969 return blocks_.Mutable(index);
4971 inline ::hadoop::hdfs::BlockProto* INodeSection_INodeFile::add_blocks() {
4973 return blocks_.Add();
4975 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockProto >*
4976 INodeSection_INodeFile::mutable_blocks() {
4980 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockProto >&
4981 INodeSection_INodeFile::blocks()
const {
4987 inline bool INodeSection_INodeFile::has_fileuc()
const {
4988 return (_has_bits_[0] & 0x00000040u) != 0;
4990 inline void INodeSection_INodeFile::set_has_fileuc() {
4991 _has_bits_[0] |= 0x00000040u;
4993 inline void INodeSection_INodeFile::clear_has_fileuc() {
4994 _has_bits_[0] &= ~0x00000040u;
4996 inline void INodeSection_INodeFile::clear_fileuc() {
4997 if (fileuc_ != NULL) fileuc_->::hadoop::hdfs::fsimage::INodeSection_FileUnderConstructionFeature::Clear();
5000 inline const ::hadoop::hdfs::fsimage::INodeSection_FileUnderConstructionFeature& INodeSection_INodeFile::fileuc()
const {
5002 return fileuc_ != NULL ? *fileuc_ : *default_instance_->fileuc_;
5004 inline ::hadoop::hdfs::fsimage::INodeSection_FileUnderConstructionFeature* INodeSection_INodeFile::mutable_fileuc() {
5006 if (fileuc_ == NULL) {
5007 fileuc_ = new ::hadoop::hdfs::fsimage::INodeSection_FileUnderConstructionFeature;
5012 inline ::hadoop::hdfs::fsimage::INodeSection_FileUnderConstructionFeature* INodeSection_INodeFile::release_fileuc() {
5031 inline bool INodeSection_INodeFile::has_acl()
const {
5032 return (_has_bits_[0] & 0x00000080u) != 0;
5034 inline void INodeSection_INodeFile::set_has_acl() {
5035 _has_bits_[0] |= 0x00000080u;
5037 inline void INodeSection_INodeFile::clear_has_acl() {
5038 _has_bits_[0] &= ~0x00000080u;
5040 inline void INodeSection_INodeFile::clear_acl() {
5041 if (acl_ != NULL) acl_->::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto::Clear();
5044 inline const ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto& INodeSection_INodeFile::acl()
const {
5046 return acl_ != NULL ? *acl_ : *default_instance_->acl_;
5048 inline ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto* INodeSection_INodeFile::mutable_acl() {
5051 acl_ = new ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto;
5056 inline ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto* INodeSection_INodeFile::release_acl() {
5075 inline bool INodeSection_INodeFile::has_xattrs()
const {
5076 return (_has_bits_[0] & 0x00000100u) != 0;
5078 inline void INodeSection_INodeFile::set_has_xattrs() {
5079 _has_bits_[0] |= 0x00000100u;
5081 inline void INodeSection_INodeFile::clear_has_xattrs() {
5082 _has_bits_[0] &= ~0x00000100u;
5084 inline void INodeSection_INodeFile::clear_xattrs() {
5085 if (xattrs_ != NULL) xattrs_->::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto::Clear();
5088 inline const ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto& INodeSection_INodeFile::xattrs()
const {
5090 return xattrs_ != NULL ? *xattrs_ : *default_instance_->xattrs_;
5092 inline ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto* INodeSection_INodeFile::mutable_xattrs() {
5094 if (xattrs_ == NULL) {
5095 xattrs_ = new ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto;
5100 inline ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto* INodeSection_INodeFile::release_xattrs() {
5119 inline bool INodeSection_INodeFile::has_storagepolicyid()
const {
5120 return (_has_bits_[0] & 0x00000200u) != 0;
5122 inline void INodeSection_INodeFile::set_has_storagepolicyid() {
5123 _has_bits_[0] |= 0x00000200u;
5125 inline void INodeSection_INodeFile::clear_has_storagepolicyid() {
5126 _has_bits_[0] &= ~0x00000200u;
5128 inline void INodeSection_INodeFile::clear_storagepolicyid() {
5129 storagepolicyid_ = 0u;
5130 clear_has_storagepolicyid();
5132 inline ::google::protobuf::uint32 INodeSection_INodeFile::storagepolicyid()
const {
5134 return storagepolicyid_;
5136 inline void INodeSection_INodeFile::set_storagepolicyid(::google::protobuf::uint32 value) {
5137 set_has_storagepolicyid();
5138 storagepolicyid_ = value;
5147 inline bool INodeSection_QuotaByStorageTypeEntryProto::has_storagetype()
const {
5148 return (_has_bits_[0] & 0x00000001u) != 0;
5150 inline void INodeSection_QuotaByStorageTypeEntryProto::set_has_storagetype() {
5151 _has_bits_[0] |= 0x00000001u;
5153 inline void INodeSection_QuotaByStorageTypeEntryProto::clear_has_storagetype() {
5154 _has_bits_[0] &= ~0x00000001u;
5156 inline void INodeSection_QuotaByStorageTypeEntryProto::clear_storagetype() {
5158 clear_has_storagetype();
5160 inline ::hadoop::hdfs::StorageTypeProto INodeSection_QuotaByStorageTypeEntryProto::storagetype()
const {
5162 return static_cast< ::hadoop::hdfs::StorageTypeProto
>(storagetype_);
5164 inline void INodeSection_QuotaByStorageTypeEntryProto::set_storagetype(::hadoop::hdfs::StorageTypeProto value) {
5165 assert(::hadoop::hdfs::StorageTypeProto_IsValid(value));
5166 set_has_storagetype();
5167 storagetype_ = value;
5172 inline bool INodeSection_QuotaByStorageTypeEntryProto::has_quota()
const {
5173 return (_has_bits_[0] & 0x00000002u) != 0;
5175 inline void INodeSection_QuotaByStorageTypeEntryProto::set_has_quota() {
5176 _has_bits_[0] |= 0x00000002u;
5178 inline void INodeSection_QuotaByStorageTypeEntryProto::clear_has_quota() {
5179 _has_bits_[0] &= ~0x00000002u;
5181 inline void INodeSection_QuotaByStorageTypeEntryProto::clear_quota() {
5182 quota_ = GOOGLE_ULONGLONG(0);
5185 inline ::google::protobuf::uint64 INodeSection_QuotaByStorageTypeEntryProto::quota()
const {
5189 inline void INodeSection_QuotaByStorageTypeEntryProto::set_quota(::google::protobuf::uint64 value) {
5200 inline int INodeSection_QuotaByStorageTypeFeatureProto::quotas_size()
const {
5201 return quotas_.size();
5203 inline void INodeSection_QuotaByStorageTypeFeatureProto::clear_quotas() {
5206 inline const ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeEntryProto& INodeSection_QuotaByStorageTypeFeatureProto::quotas(
int index)
const {
5208 return quotas_.Get(index);
5210 inline ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeEntryProto* INodeSection_QuotaByStorageTypeFeatureProto::mutable_quotas(
int index) {
5212 return quotas_.Mutable(index);
5214 inline ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeEntryProto* INodeSection_QuotaByStorageTypeFeatureProto::add_quotas() {
5216 return quotas_.Add();
5218 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeEntryProto >*
5219 INodeSection_QuotaByStorageTypeFeatureProto::mutable_quotas() {
5223 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeEntryProto >&
5224 INodeSection_QuotaByStorageTypeFeatureProto::quotas()
const {
5234 inline bool INodeSection_INodeDirectory::has_modificationtime()
const {
5235 return (_has_bits_[0] & 0x00000001u) != 0;
5237 inline void INodeSection_INodeDirectory::set_has_modificationtime() {
5238 _has_bits_[0] |= 0x00000001u;
5240 inline void INodeSection_INodeDirectory::clear_has_modificationtime() {
5241 _has_bits_[0] &= ~0x00000001u;
5243 inline void INodeSection_INodeDirectory::clear_modificationtime() {
5244 modificationtime_ = GOOGLE_ULONGLONG(0);
5245 clear_has_modificationtime();
5247 inline ::google::protobuf::uint64 INodeSection_INodeDirectory::modificationtime()
const {
5249 return modificationtime_;
5251 inline void INodeSection_INodeDirectory::set_modificationtime(::google::protobuf::uint64 value) {
5252 set_has_modificationtime();
5253 modificationtime_ = value;
5258 inline bool INodeSection_INodeDirectory::has_nsquota()
const {
5259 return (_has_bits_[0] & 0x00000002u) != 0;
5261 inline void INodeSection_INodeDirectory::set_has_nsquota() {
5262 _has_bits_[0] |= 0x00000002u;
5264 inline void INodeSection_INodeDirectory::clear_has_nsquota() {
5265 _has_bits_[0] &= ~0x00000002u;
5267 inline void INodeSection_INodeDirectory::clear_nsquota() {
5268 nsquota_ = GOOGLE_ULONGLONG(0);
5269 clear_has_nsquota();
5271 inline ::google::protobuf::uint64 INodeSection_INodeDirectory::nsquota()
const {
5275 inline void INodeSection_INodeDirectory::set_nsquota(::google::protobuf::uint64 value) {
5282 inline bool INodeSection_INodeDirectory::has_dsquota()
const {
5283 return (_has_bits_[0] & 0x00000004u) != 0;
5285 inline void INodeSection_INodeDirectory::set_has_dsquota() {
5286 _has_bits_[0] |= 0x00000004u;
5288 inline void INodeSection_INodeDirectory::clear_has_dsquota() {
5289 _has_bits_[0] &= ~0x00000004u;
5291 inline void INodeSection_INodeDirectory::clear_dsquota() {
5292 dsquota_ = GOOGLE_ULONGLONG(0);
5293 clear_has_dsquota();
5295 inline ::google::protobuf::uint64 INodeSection_INodeDirectory::dsquota()
const {
5299 inline void INodeSection_INodeDirectory::set_dsquota(::google::protobuf::uint64 value) {
5306 inline bool INodeSection_INodeDirectory::has_permission()
const {
5307 return (_has_bits_[0] & 0x00000008u) != 0;
5309 inline void INodeSection_INodeDirectory::set_has_permission() {
5310 _has_bits_[0] |= 0x00000008u;
5312 inline void INodeSection_INodeDirectory::clear_has_permission() {
5313 _has_bits_[0] &= ~0x00000008u;
5315 inline void INodeSection_INodeDirectory::clear_permission() {
5316 permission_ = GOOGLE_ULONGLONG(0);
5317 clear_has_permission();
5319 inline ::google::protobuf::uint64 INodeSection_INodeDirectory::permission()
const {
5323 inline void INodeSection_INodeDirectory::set_permission(::google::protobuf::uint64 value) {
5324 set_has_permission();
5325 permission_ = value;
5330 inline bool INodeSection_INodeDirectory::has_acl()
const {
5331 return (_has_bits_[0] & 0x00000010u) != 0;
5333 inline void INodeSection_INodeDirectory::set_has_acl() {
5334 _has_bits_[0] |= 0x00000010u;
5336 inline void INodeSection_INodeDirectory::clear_has_acl() {
5337 _has_bits_[0] &= ~0x00000010u;
5339 inline void INodeSection_INodeDirectory::clear_acl() {
5340 if (acl_ != NULL) acl_->::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto::Clear();
5343 inline const ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto& INodeSection_INodeDirectory::acl()
const {
5345 return acl_ != NULL ? *acl_ : *default_instance_->acl_;
5347 inline ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto* INodeSection_INodeDirectory::mutable_acl() {
5350 acl_ = new ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto;
5355 inline ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto* INodeSection_INodeDirectory::release_acl() {
5374 inline bool INodeSection_INodeDirectory::has_xattrs()
const {
5375 return (_has_bits_[0] & 0x00000020u) != 0;
5377 inline void INodeSection_INodeDirectory::set_has_xattrs() {
5378 _has_bits_[0] |= 0x00000020u;
5380 inline void INodeSection_INodeDirectory::clear_has_xattrs() {
5381 _has_bits_[0] &= ~0x00000020u;
5383 inline void INodeSection_INodeDirectory::clear_xattrs() {
5384 if (xattrs_ != NULL) xattrs_->::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto::Clear();
5387 inline const ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto& INodeSection_INodeDirectory::xattrs()
const {
5389 return xattrs_ != NULL ? *xattrs_ : *default_instance_->xattrs_;
5391 inline ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto* INodeSection_INodeDirectory::mutable_xattrs() {
5393 if (xattrs_ == NULL) {
5394 xattrs_ = new ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto;
5399 inline ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto* INodeSection_INodeDirectory::release_xattrs() {
5418 inline bool INodeSection_INodeDirectory::has_typequotas()
const {
5419 return (_has_bits_[0] & 0x00000040u) != 0;
5421 inline void INodeSection_INodeDirectory::set_has_typequotas() {
5422 _has_bits_[0] |= 0x00000040u;
5424 inline void INodeSection_INodeDirectory::clear_has_typequotas() {
5425 _has_bits_[0] &= ~0x00000040u;
5427 inline void INodeSection_INodeDirectory::clear_typequotas() {
5428 if (typequotas_ != NULL) typequotas_->::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeFeatureProto::Clear();
5429 clear_has_typequotas();
5431 inline const ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeFeatureProto& INodeSection_INodeDirectory::typequotas()
const {
5433 return typequotas_ != NULL ? *typequotas_ : *default_instance_->typequotas_;
5435 inline ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeFeatureProto* INodeSection_INodeDirectory::mutable_typequotas() {
5436 set_has_typequotas();
5437 if (typequotas_ == NULL) {
5438 typequotas_ = new ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeFeatureProto;
5443 inline ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeFeatureProto* INodeSection_INodeDirectory::release_typequotas() {
5445 clear_has_typequotas();
5452 typequotas_ = typequotas;
5454 set_has_typequotas();
5456 clear_has_typequotas();
5466 inline bool INodeSection_INodeSymlink::has_permission()
const {
5467 return (_has_bits_[0] & 0x00000001u) != 0;
5469 inline void INodeSection_INodeSymlink::set_has_permission() {
5470 _has_bits_[0] |= 0x00000001u;
5472 inline void INodeSection_INodeSymlink::clear_has_permission() {
5473 _has_bits_[0] &= ~0x00000001u;
5475 inline void INodeSection_INodeSymlink::clear_permission() {
5476 permission_ = GOOGLE_ULONGLONG(0);
5477 clear_has_permission();
5479 inline ::google::protobuf::uint64 INodeSection_INodeSymlink::permission()
const {
5483 inline void INodeSection_INodeSymlink::set_permission(::google::protobuf::uint64 value) {
5484 set_has_permission();
5485 permission_ = value;
5490 inline bool INodeSection_INodeSymlink::has_target()
const {
5491 return (_has_bits_[0] & 0x00000002u) != 0;
5493 inline void INodeSection_INodeSymlink::set_has_target() {
5494 _has_bits_[0] |= 0x00000002u;
5496 inline void INodeSection_INodeSymlink::clear_has_target() {
5497 _has_bits_[0] &= ~0x00000002u;
5499 inline void INodeSection_INodeSymlink::clear_target() {
5500 target_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5503 inline const ::std::string& INodeSection_INodeSymlink::target()
const {
5505 return target_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5507 inline void INodeSection_INodeSymlink::set_target(const ::std::string& value) {
5509 target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5512 inline void INodeSection_INodeSymlink::set_target(
const char* value) {
5514 target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5517 inline void INodeSection_INodeSymlink::set_target(
const void* value,
size_t size) {
5519 target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5520 ::std::string(reinterpret_cast<const char*>(value), size));
5523 inline ::std::string* INodeSection_INodeSymlink::mutable_target() {
5526 return target_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5528 inline ::std::string* INodeSection_INodeSymlink::release_target() {
5531 return target_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5533 inline void INodeSection_INodeSymlink::set_allocated_target(::std::string* target) {
5534 if (target != NULL) {
5539 target_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), target);
5544 inline bool INodeSection_INodeSymlink::has_modificationtime()
const {
5545 return (_has_bits_[0] & 0x00000004u) != 0;
5547 inline void INodeSection_INodeSymlink::set_has_modificationtime() {
5548 _has_bits_[0] |= 0x00000004u;
5550 inline void INodeSection_INodeSymlink::clear_has_modificationtime() {
5551 _has_bits_[0] &= ~0x00000004u;
5553 inline void INodeSection_INodeSymlink::clear_modificationtime() {
5554 modificationtime_ = GOOGLE_ULONGLONG(0);
5555 clear_has_modificationtime();
5557 inline ::google::protobuf::uint64 INodeSection_INodeSymlink::modificationtime()
const {
5559 return modificationtime_;
5561 inline void INodeSection_INodeSymlink::set_modificationtime(::google::protobuf::uint64 value) {
5562 set_has_modificationtime();
5563 modificationtime_ = value;
5568 inline bool INodeSection_INodeSymlink::has_accesstime()
const {
5569 return (_has_bits_[0] & 0x00000008u) != 0;
5571 inline void INodeSection_INodeSymlink::set_has_accesstime() {
5572 _has_bits_[0] |= 0x00000008u;
5574 inline void INodeSection_INodeSymlink::clear_has_accesstime() {
5575 _has_bits_[0] &= ~0x00000008u;
5577 inline void INodeSection_INodeSymlink::clear_accesstime() {
5578 accesstime_ = GOOGLE_ULONGLONG(0);
5579 clear_has_accesstime();
5581 inline ::google::protobuf::uint64 INodeSection_INodeSymlink::accesstime()
const {
5585 inline void INodeSection_INodeSymlink::set_accesstime(::google::protobuf::uint64 value) {
5586 set_has_accesstime();
5587 accesstime_ = value;
5596 inline bool INodeSection_INode::has_type()
const {
5597 return (_has_bits_[0] & 0x00000001u) != 0;
5599 inline void INodeSection_INode::set_has_type() {
5600 _has_bits_[0] |= 0x00000001u;
5602 inline void INodeSection_INode::clear_has_type() {
5603 _has_bits_[0] &= ~0x00000001u;
5605 inline void INodeSection_INode::clear_type() {
5609 inline ::hadoop::hdfs::fsimage::INodeSection_INode_Type INodeSection_INode::type()
const {
5611 return static_cast< ::hadoop::hdfs::fsimage::INodeSection_INode_Type
>(type_);
5613 inline void INodeSection_INode::set_type(::hadoop::hdfs::fsimage::INodeSection_INode_Type value) {
5614 assert(::hadoop::hdfs::fsimage::INodeSection_INode_Type_IsValid(value));
5621 inline bool INodeSection_INode::has_id()
const {
5622 return (_has_bits_[0] & 0x00000002u) != 0;
5624 inline void INodeSection_INode::set_has_id() {
5625 _has_bits_[0] |= 0x00000002u;
5627 inline void INodeSection_INode::clear_has_id() {
5628 _has_bits_[0] &= ~0x00000002u;
5630 inline void INodeSection_INode::clear_id() {
5631 id_ = GOOGLE_ULONGLONG(0);
5634 inline ::google::protobuf::uint64 INodeSection_INode::id()
const {
5638 inline void INodeSection_INode::set_id(::google::protobuf::uint64 value) {
5645 inline bool INodeSection_INode::has_name()
const {
5646 return (_has_bits_[0] & 0x00000004u) != 0;
5648 inline void INodeSection_INode::set_has_name() {
5649 _has_bits_[0] |= 0x00000004u;
5651 inline void INodeSection_INode::clear_has_name() {
5652 _has_bits_[0] &= ~0x00000004u;
5654 inline void INodeSection_INode::clear_name() {
5655 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5658 inline const ::std::string& INodeSection_INode::name()
const {
5660 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5662 inline void INodeSection_INode::set_name(const ::std::string& value) {
5664 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5667 inline void INodeSection_INode::set_name(
const char* value) {
5669 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5672 inline void INodeSection_INode::set_name(
const void* value,
size_t size) {
5674 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5675 ::std::string(reinterpret_cast<const char*>(value), size));
5678 inline ::std::string* INodeSection_INode::mutable_name() {
5681 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5683 inline ::std::string* INodeSection_INode::release_name() {
5686 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5688 inline void INodeSection_INode::set_allocated_name(::std::string* name) {
5694 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
5699 inline bool INodeSection_INode::has_file()
const {
5700 return (_has_bits_[0] & 0x00000008u) != 0;
5702 inline void INodeSection_INode::set_has_file() {
5703 _has_bits_[0] |= 0x00000008u;
5705 inline void INodeSection_INode::clear_has_file() {
5706 _has_bits_[0] &= ~0x00000008u;
5708 inline void INodeSection_INode::clear_file() {
5709 if (file_ != NULL) file_->::hadoop::hdfs::fsimage::INodeSection_INodeFile::Clear();
5712 inline const ::hadoop::hdfs::fsimage::INodeSection_INodeFile& INodeSection_INode::file()
const {
5714 return file_ != NULL ? *file_ : *default_instance_->file_;
5716 inline ::hadoop::hdfs::fsimage::INodeSection_INodeFile* INodeSection_INode::mutable_file() {
5718 if (file_ == NULL) {
5719 file_ = new ::hadoop::hdfs::fsimage::INodeSection_INodeFile;
5724 inline ::hadoop::hdfs::fsimage::INodeSection_INodeFile* INodeSection_INode::release_file() {
5743 inline bool INodeSection_INode::has_directory()
const {
5744 return (_has_bits_[0] & 0x00000010u) != 0;
5746 inline void INodeSection_INode::set_has_directory() {
5747 _has_bits_[0] |= 0x00000010u;
5749 inline void INodeSection_INode::clear_has_directory() {
5750 _has_bits_[0] &= ~0x00000010u;
5752 inline void INodeSection_INode::clear_directory() {
5753 if (directory_ != NULL) directory_->::hadoop::hdfs::fsimage::INodeSection_INodeDirectory::Clear();
5754 clear_has_directory();
5756 inline const ::hadoop::hdfs::fsimage::INodeSection_INodeDirectory& INodeSection_INode::directory()
const {
5758 return directory_ != NULL ? *directory_ : *default_instance_->directory_;
5760 inline ::hadoop::hdfs::fsimage::INodeSection_INodeDirectory* INodeSection_INode::mutable_directory() {
5761 set_has_directory();
5762 if (directory_ == NULL) {
5763 directory_ = new ::hadoop::hdfs::fsimage::INodeSection_INodeDirectory;
5768 inline ::hadoop::hdfs::fsimage::INodeSection_INodeDirectory* INodeSection_INode::release_directory() {
5770 clear_has_directory();
5777 directory_ = directory;
5779 set_has_directory();
5781 clear_has_directory();
5787 inline bool INodeSection_INode::has_symlink()
const {
5788 return (_has_bits_[0] & 0x00000020u) != 0;
5790 inline void INodeSection_INode::set_has_symlink() {
5791 _has_bits_[0] |= 0x00000020u;
5793 inline void INodeSection_INode::clear_has_symlink() {
5794 _has_bits_[0] &= ~0x00000020u;
5796 inline void INodeSection_INode::clear_symlink() {
5797 if (symlink_ != NULL) symlink_->::hadoop::hdfs::fsimage::INodeSection_INodeSymlink::Clear();
5798 clear_has_symlink();
5800 inline const ::hadoop::hdfs::fsimage::INodeSection_INodeSymlink& INodeSection_INode::symlink()
const {
5802 return symlink_ != NULL ? *symlink_ : *default_instance_->symlink_;
5804 inline ::hadoop::hdfs::fsimage::INodeSection_INodeSymlink* INodeSection_INode::mutable_symlink() {
5806 if (symlink_ == NULL) {
5807 symlink_ = new ::hadoop::hdfs::fsimage::INodeSection_INodeSymlink;
5812 inline ::hadoop::hdfs::fsimage::INodeSection_INodeSymlink* INodeSection_INode::release_symlink() {
5814 clear_has_symlink();
5825 clear_has_symlink();
5835 inline bool INodeSection::has_lastinodeid()
const {
5836 return (_has_bits_[0] & 0x00000001u) != 0;
5838 inline void INodeSection::set_has_lastinodeid() {
5839 _has_bits_[0] |= 0x00000001u;
5841 inline void INodeSection::clear_has_lastinodeid() {
5842 _has_bits_[0] &= ~0x00000001u;
5844 inline void INodeSection::clear_lastinodeid() {
5845 lastinodeid_ = GOOGLE_ULONGLONG(0);
5846 clear_has_lastinodeid();
5848 inline ::google::protobuf::uint64 INodeSection::lastinodeid()
const {
5850 return lastinodeid_;
5852 inline void INodeSection::set_lastinodeid(::google::protobuf::uint64 value) {
5853 set_has_lastinodeid();
5854 lastinodeid_ = value;
5859 inline bool INodeSection::has_numinodes()
const {
5860 return (_has_bits_[0] & 0x00000002u) != 0;
5862 inline void INodeSection::set_has_numinodes() {
5863 _has_bits_[0] |= 0x00000002u;
5865 inline void INodeSection::clear_has_numinodes() {
5866 _has_bits_[0] &= ~0x00000002u;
5868 inline void INodeSection::clear_numinodes() {
5869 numinodes_ = GOOGLE_ULONGLONG(0);
5870 clear_has_numinodes();
5872 inline ::google::protobuf::uint64 INodeSection::numinodes()
const {
5876 inline void INodeSection::set_numinodes(::google::protobuf::uint64 value) {
5877 set_has_numinodes();
5887 inline bool FilesUnderConstructionSection_FileUnderConstructionEntry::has_inodeid()
const {
5888 return (_has_bits_[0] & 0x00000001u) != 0;
5890 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::set_has_inodeid() {
5891 _has_bits_[0] |= 0x00000001u;
5893 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::clear_has_inodeid() {
5894 _has_bits_[0] &= ~0x00000001u;
5896 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::clear_inodeid() {
5897 inodeid_ = GOOGLE_ULONGLONG(0);
5898 clear_has_inodeid();
5900 inline ::google::protobuf::uint64 FilesUnderConstructionSection_FileUnderConstructionEntry::inodeid()
const {
5904 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::set_inodeid(::google::protobuf::uint64 value) {
5911 inline bool FilesUnderConstructionSection_FileUnderConstructionEntry::has_fullpath()
const {
5912 return (_has_bits_[0] & 0x00000002u) != 0;
5914 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::set_has_fullpath() {
5915 _has_bits_[0] |= 0x00000002u;
5917 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::clear_has_fullpath() {
5918 _has_bits_[0] &= ~0x00000002u;
5920 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::clear_fullpath() {
5921 fullpath_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5922 clear_has_fullpath();
5924 inline const ::std::string& FilesUnderConstructionSection_FileUnderConstructionEntry::fullpath()
const {
5926 return fullpath_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5928 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::set_fullpath(const ::std::string& value) {
5930 fullpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5933 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::set_fullpath(
const char* value) {
5935 fullpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5938 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::set_fullpath(
const char* value,
size_t size) {
5940 fullpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5941 ::std::string(reinterpret_cast<const char*>(value), size));
5944 inline ::std::string* FilesUnderConstructionSection_FileUnderConstructionEntry::mutable_fullpath() {
5947 return fullpath_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5949 inline ::std::string* FilesUnderConstructionSection_FileUnderConstructionEntry::release_fullpath() {
5951 clear_has_fullpath();
5952 return fullpath_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5954 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::set_allocated_fullpath(::std::string* fullpath) {
5955 if (fullpath != NULL) {
5958 clear_has_fullpath();
5960 fullpath_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fullpath);
5973 inline bool INodeDirectorySection_DirEntry::has_parent()
const {
5974 return (_has_bits_[0] & 0x00000001u) != 0;
5976 inline void INodeDirectorySection_DirEntry::set_has_parent() {
5977 _has_bits_[0] |= 0x00000001u;
5979 inline void INodeDirectorySection_DirEntry::clear_has_parent() {
5980 _has_bits_[0] &= ~0x00000001u;
5982 inline void INodeDirectorySection_DirEntry::clear_parent() {
5983 parent_ = GOOGLE_ULONGLONG(0);
5986 inline ::google::protobuf::uint64 INodeDirectorySection_DirEntry::parent()
const {
5990 inline void INodeDirectorySection_DirEntry::set_parent(::google::protobuf::uint64 value) {
5997 inline int INodeDirectorySection_DirEntry::children_size()
const {
5998 return children_.size();
6000 inline void INodeDirectorySection_DirEntry::clear_children() {
6003 inline ::google::protobuf::uint64 INodeDirectorySection_DirEntry::children(
int index)
const {
6005 return children_.Get(index);
6007 inline void INodeDirectorySection_DirEntry::set_children(
int index, ::google::protobuf::uint64 value) {
6008 children_.Set(index, value);
6011 inline void INodeDirectorySection_DirEntry::add_children(::google::protobuf::uint64 value) {
6012 children_.Add(value);
6015 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
6016 INodeDirectorySection_DirEntry::children()
const {
6020 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
6021 INodeDirectorySection_DirEntry::mutable_children() {
6027 inline int INodeDirectorySection_DirEntry::refchildren_size()
const {
6028 return refchildren_.size();
6030 inline void INodeDirectorySection_DirEntry::clear_refchildren() {
6031 refchildren_.Clear();
6033 inline ::google::protobuf::uint32 INodeDirectorySection_DirEntry::refchildren(
int index)
const {
6035 return refchildren_.Get(index);
6037 inline void INodeDirectorySection_DirEntry::set_refchildren(
int index, ::google::protobuf::uint32 value) {
6038 refchildren_.Set(index, value);
6041 inline void INodeDirectorySection_DirEntry::add_refchildren(::google::protobuf::uint32 value) {
6042 refchildren_.Add(value);
6045 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
6046 INodeDirectorySection_DirEntry::refchildren()
const {
6048 return refchildren_;
6050 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
6051 INodeDirectorySection_DirEntry::mutable_refchildren() {
6053 return &refchildren_;
6065 inline bool INodeReferenceSection_INodeReference::has_referredid()
const {
6066 return (_has_bits_[0] & 0x00000001u) != 0;
6068 inline void INodeReferenceSection_INodeReference::set_has_referredid() {
6069 _has_bits_[0] |= 0x00000001u;
6071 inline void INodeReferenceSection_INodeReference::clear_has_referredid() {
6072 _has_bits_[0] &= ~0x00000001u;
6074 inline void INodeReferenceSection_INodeReference::clear_referredid() {
6075 referredid_ = GOOGLE_ULONGLONG(0);
6076 clear_has_referredid();
6078 inline ::google::protobuf::uint64 INodeReferenceSection_INodeReference::referredid()
const {
6082 inline void INodeReferenceSection_INodeReference::set_referredid(::google::protobuf::uint64 value) {
6083 set_has_referredid();
6084 referredid_ = value;
6089 inline bool INodeReferenceSection_INodeReference::has_name()
const {
6090 return (_has_bits_[0] & 0x00000002u) != 0;
6092 inline void INodeReferenceSection_INodeReference::set_has_name() {
6093 _has_bits_[0] |= 0x00000002u;
6095 inline void INodeReferenceSection_INodeReference::clear_has_name() {
6096 _has_bits_[0] &= ~0x00000002u;
6098 inline void INodeReferenceSection_INodeReference::clear_name() {
6099 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6102 inline const ::std::string& INodeReferenceSection_INodeReference::name()
const {
6104 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6106 inline void INodeReferenceSection_INodeReference::set_name(const ::std::string& value) {
6108 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6111 inline void INodeReferenceSection_INodeReference::set_name(
const char* value) {
6113 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6116 inline void INodeReferenceSection_INodeReference::set_name(
const void* value,
size_t size) {
6118 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6119 ::std::string(reinterpret_cast<const char*>(value), size));
6122 inline ::std::string* INodeReferenceSection_INodeReference::mutable_name() {
6125 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6127 inline ::std::string* INodeReferenceSection_INodeReference::release_name() {
6130 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6132 inline void INodeReferenceSection_INodeReference::set_allocated_name(::std::string* name) {
6138 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
6143 inline bool INodeReferenceSection_INodeReference::has_dstsnapshotid()
const {
6144 return (_has_bits_[0] & 0x00000004u) != 0;
6146 inline void INodeReferenceSection_INodeReference::set_has_dstsnapshotid() {
6147 _has_bits_[0] |= 0x00000004u;
6149 inline void INodeReferenceSection_INodeReference::clear_has_dstsnapshotid() {
6150 _has_bits_[0] &= ~0x00000004u;
6152 inline void INodeReferenceSection_INodeReference::clear_dstsnapshotid() {
6153 dstsnapshotid_ = 0u;
6154 clear_has_dstsnapshotid();
6156 inline ::google::protobuf::uint32 INodeReferenceSection_INodeReference::dstsnapshotid()
const {
6158 return dstsnapshotid_;
6160 inline void INodeReferenceSection_INodeReference::set_dstsnapshotid(::google::protobuf::uint32 value) {
6161 set_has_dstsnapshotid();
6162 dstsnapshotid_ = value;
6167 inline bool INodeReferenceSection_INodeReference::has_lastsnapshotid()
const {
6168 return (_has_bits_[0] & 0x00000008u) != 0;
6170 inline void INodeReferenceSection_INodeReference::set_has_lastsnapshotid() {
6171 _has_bits_[0] |= 0x00000008u;
6173 inline void INodeReferenceSection_INodeReference::clear_has_lastsnapshotid() {
6174 _has_bits_[0] &= ~0x00000008u;
6176 inline void INodeReferenceSection_INodeReference::clear_lastsnapshotid() {
6177 lastsnapshotid_ = 0u;
6178 clear_has_lastsnapshotid();
6180 inline ::google::protobuf::uint32 INodeReferenceSection_INodeReference::lastsnapshotid()
const {
6182 return lastsnapshotid_;
6184 inline void INodeReferenceSection_INodeReference::set_lastsnapshotid(::google::protobuf::uint32 value) {
6185 set_has_lastsnapshotid();
6186 lastsnapshotid_ = value;
6199 inline bool SnapshotSection_Snapshot::has_snapshotid()
const {
6200 return (_has_bits_[0] & 0x00000001u) != 0;
6202 inline void SnapshotSection_Snapshot::set_has_snapshotid() {
6203 _has_bits_[0] |= 0x00000001u;
6205 inline void SnapshotSection_Snapshot::clear_has_snapshotid() {
6206 _has_bits_[0] &= ~0x00000001u;
6208 inline void SnapshotSection_Snapshot::clear_snapshotid() {
6210 clear_has_snapshotid();
6212 inline ::google::protobuf::uint32 SnapshotSection_Snapshot::snapshotid()
const {
6216 inline void SnapshotSection_Snapshot::set_snapshotid(::google::protobuf::uint32 value) {
6217 set_has_snapshotid();
6218 snapshotid_ = value;
6223 inline bool SnapshotSection_Snapshot::has_root()
const {
6224 return (_has_bits_[0] & 0x00000002u) != 0;
6226 inline void SnapshotSection_Snapshot::set_has_root() {
6227 _has_bits_[0] |= 0x00000002u;
6229 inline void SnapshotSection_Snapshot::clear_has_root() {
6230 _has_bits_[0] &= ~0x00000002u;
6232 inline void SnapshotSection_Snapshot::clear_root() {
6233 if (root_ != NULL) root_->::hadoop::hdfs::fsimage::INodeSection_INode::Clear();
6236 inline const ::hadoop::hdfs::fsimage::INodeSection_INode& SnapshotSection_Snapshot::root()
const {
6238 return root_ != NULL ? *root_ : *default_instance_->root_;
6240 inline ::hadoop::hdfs::fsimage::INodeSection_INode* SnapshotSection_Snapshot::mutable_root() {
6242 if (root_ == NULL) {
6243 root_ = new ::hadoop::hdfs::fsimage::INodeSection_INode;
6248 inline ::hadoop::hdfs::fsimage::INodeSection_INode* SnapshotSection_Snapshot::release_root() {
6271 inline bool SnapshotSection::has_snapshotcounter()
const {
6272 return (_has_bits_[0] & 0x00000001u) != 0;
6274 inline void SnapshotSection::set_has_snapshotcounter() {
6275 _has_bits_[0] |= 0x00000001u;
6277 inline void SnapshotSection::clear_has_snapshotcounter() {
6278 _has_bits_[0] &= ~0x00000001u;
6280 inline void SnapshotSection::clear_snapshotcounter() {
6281 snapshotcounter_ = 0u;
6282 clear_has_snapshotcounter();
6284 inline ::google::protobuf::uint32 SnapshotSection::snapshotcounter()
const {
6286 return snapshotcounter_;
6288 inline void SnapshotSection::set_snapshotcounter(::google::protobuf::uint32 value) {
6289 set_has_snapshotcounter();
6290 snapshotcounter_ = value;
6295 inline int SnapshotSection::snapshottabledir_size()
const {
6296 return snapshottabledir_.size();
6298 inline void SnapshotSection::clear_snapshottabledir() {
6299 snapshottabledir_.Clear();
6301 inline ::google::protobuf::uint64 SnapshotSection::snapshottabledir(
int index)
const {
6303 return snapshottabledir_.Get(index);
6305 inline void SnapshotSection::set_snapshottabledir(
int index, ::google::protobuf::uint64 value) {
6306 snapshottabledir_.Set(index, value);
6309 inline void SnapshotSection::add_snapshottabledir(::google::protobuf::uint64 value) {
6310 snapshottabledir_.Add(value);
6313 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
6314 SnapshotSection::snapshottabledir()
const {
6316 return snapshottabledir_;
6318 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
6319 SnapshotSection::mutable_snapshottabledir() {
6321 return &snapshottabledir_;
6325 inline bool SnapshotSection::has_numsnapshots()
const {
6326 return (_has_bits_[0] & 0x00000004u) != 0;
6328 inline void SnapshotSection::set_has_numsnapshots() {
6329 _has_bits_[0] |= 0x00000004u;
6331 inline void SnapshotSection::clear_has_numsnapshots() {
6332 _has_bits_[0] &= ~0x00000004u;
6334 inline void SnapshotSection::clear_numsnapshots() {
6336 clear_has_numsnapshots();
6338 inline ::google::protobuf::uint32 SnapshotSection::numsnapshots()
const {
6340 return numsnapshots_;
6342 inline void SnapshotSection::set_numsnapshots(::google::protobuf::uint32 value) {
6343 set_has_numsnapshots();
6344 numsnapshots_ = value;
6353 inline bool SnapshotDiffSection_CreatedListEntry::has_name()
const {
6354 return (_has_bits_[0] & 0x00000001u) != 0;
6356 inline void SnapshotDiffSection_CreatedListEntry::set_has_name() {
6357 _has_bits_[0] |= 0x00000001u;
6359 inline void SnapshotDiffSection_CreatedListEntry::clear_has_name() {
6360 _has_bits_[0] &= ~0x00000001u;
6362 inline void SnapshotDiffSection_CreatedListEntry::clear_name() {
6363 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6366 inline const ::std::string& SnapshotDiffSection_CreatedListEntry::name()
const {
6368 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6370 inline void SnapshotDiffSection_CreatedListEntry::set_name(const ::std::string& value) {
6372 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6375 inline void SnapshotDiffSection_CreatedListEntry::set_name(
const char* value) {
6377 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6380 inline void SnapshotDiffSection_CreatedListEntry::set_name(
const void* value,
size_t size) {
6382 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6383 ::std::string(reinterpret_cast<const char*>(value), size));
6386 inline ::std::string* SnapshotDiffSection_CreatedListEntry::mutable_name() {
6389 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6391 inline ::std::string* SnapshotDiffSection_CreatedListEntry::release_name() {
6394 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6396 inline void SnapshotDiffSection_CreatedListEntry::set_allocated_name(::std::string* name) {
6402 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
6411 inline bool SnapshotDiffSection_DirectoryDiff::has_snapshotid()
const {
6412 return (_has_bits_[0] & 0x00000001u) != 0;
6414 inline void SnapshotDiffSection_DirectoryDiff::set_has_snapshotid() {
6415 _has_bits_[0] |= 0x00000001u;
6417 inline void SnapshotDiffSection_DirectoryDiff::clear_has_snapshotid() {
6418 _has_bits_[0] &= ~0x00000001u;
6420 inline void SnapshotDiffSection_DirectoryDiff::clear_snapshotid() {
6422 clear_has_snapshotid();
6424 inline ::google::protobuf::uint32 SnapshotDiffSection_DirectoryDiff::snapshotid()
const {
6428 inline void SnapshotDiffSection_DirectoryDiff::set_snapshotid(::google::protobuf::uint32 value) {
6429 set_has_snapshotid();
6430 snapshotid_ = value;
6435 inline bool SnapshotDiffSection_DirectoryDiff::has_childrensize()
const {
6436 return (_has_bits_[0] & 0x00000002u) != 0;
6438 inline void SnapshotDiffSection_DirectoryDiff::set_has_childrensize() {
6439 _has_bits_[0] |= 0x00000002u;
6441 inline void SnapshotDiffSection_DirectoryDiff::clear_has_childrensize() {
6442 _has_bits_[0] &= ~0x00000002u;
6444 inline void SnapshotDiffSection_DirectoryDiff::clear_childrensize() {
6446 clear_has_childrensize();
6448 inline ::google::protobuf::uint32 SnapshotDiffSection_DirectoryDiff::childrensize()
const {
6450 return childrensize_;
6452 inline void SnapshotDiffSection_DirectoryDiff::set_childrensize(::google::protobuf::uint32 value) {
6453 set_has_childrensize();
6454 childrensize_ = value;
6459 inline bool SnapshotDiffSection_DirectoryDiff::has_issnapshotroot()
const {
6460 return (_has_bits_[0] & 0x00000004u) != 0;
6462 inline void SnapshotDiffSection_DirectoryDiff::set_has_issnapshotroot() {
6463 _has_bits_[0] |= 0x00000004u;
6465 inline void SnapshotDiffSection_DirectoryDiff::clear_has_issnapshotroot() {
6466 _has_bits_[0] &= ~0x00000004u;
6468 inline void SnapshotDiffSection_DirectoryDiff::clear_issnapshotroot() {
6469 issnapshotroot_ =
false;
6470 clear_has_issnapshotroot();
6472 inline bool SnapshotDiffSection_DirectoryDiff::issnapshotroot()
const {
6474 return issnapshotroot_;
6476 inline void SnapshotDiffSection_DirectoryDiff::set_issnapshotroot(
bool value) {
6477 set_has_issnapshotroot();
6478 issnapshotroot_ = value;
6483 inline bool SnapshotDiffSection_DirectoryDiff::has_name()
const {
6484 return (_has_bits_[0] & 0x00000008u) != 0;
6486 inline void SnapshotDiffSection_DirectoryDiff::set_has_name() {
6487 _has_bits_[0] |= 0x00000008u;
6489 inline void SnapshotDiffSection_DirectoryDiff::clear_has_name() {
6490 _has_bits_[0] &= ~0x00000008u;
6492 inline void SnapshotDiffSection_DirectoryDiff::clear_name() {
6493 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6496 inline const ::std::string& SnapshotDiffSection_DirectoryDiff::name()
const {
6498 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6500 inline void SnapshotDiffSection_DirectoryDiff::set_name(const ::std::string& value) {
6502 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6505 inline void SnapshotDiffSection_DirectoryDiff::set_name(
const char* value) {
6507 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6510 inline void SnapshotDiffSection_DirectoryDiff::set_name(
const void* value,
size_t size) {
6512 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6513 ::std::string(reinterpret_cast<const char*>(value), size));
6516 inline ::std::string* SnapshotDiffSection_DirectoryDiff::mutable_name() {
6519 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6521 inline ::std::string* SnapshotDiffSection_DirectoryDiff::release_name() {
6524 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6526 inline void SnapshotDiffSection_DirectoryDiff::set_allocated_name(::std::string* name) {
6532 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
6537 inline bool SnapshotDiffSection_DirectoryDiff::has_snapshotcopy()
const {
6538 return (_has_bits_[0] & 0x00000010u) != 0;
6540 inline void SnapshotDiffSection_DirectoryDiff::set_has_snapshotcopy() {
6541 _has_bits_[0] |= 0x00000010u;
6543 inline void SnapshotDiffSection_DirectoryDiff::clear_has_snapshotcopy() {
6544 _has_bits_[0] &= ~0x00000010u;
6546 inline void SnapshotDiffSection_DirectoryDiff::clear_snapshotcopy() {
6547 if (snapshotcopy_ != NULL) snapshotcopy_->::hadoop::hdfs::fsimage::INodeSection_INodeDirectory::Clear();
6548 clear_has_snapshotcopy();
6550 inline const ::hadoop::hdfs::fsimage::INodeSection_INodeDirectory& SnapshotDiffSection_DirectoryDiff::snapshotcopy()
const {
6552 return snapshotcopy_ != NULL ? *snapshotcopy_ : *default_instance_->snapshotcopy_;
6554 inline ::hadoop::hdfs::fsimage::INodeSection_INodeDirectory* SnapshotDiffSection_DirectoryDiff::mutable_snapshotcopy() {
6555 set_has_snapshotcopy();
6556 if (snapshotcopy_ == NULL) {
6557 snapshotcopy_ = new ::hadoop::hdfs::fsimage::INodeSection_INodeDirectory;
6560 return snapshotcopy_;
6562 inline ::hadoop::hdfs::fsimage::INodeSection_INodeDirectory* SnapshotDiffSection_DirectoryDiff::release_snapshotcopy() {
6564 clear_has_snapshotcopy();
6566 snapshotcopy_ = NULL;
6570 delete snapshotcopy_;
6571 snapshotcopy_ = snapshotcopy;
6573 set_has_snapshotcopy();
6575 clear_has_snapshotcopy();
6581 inline bool SnapshotDiffSection_DirectoryDiff::has_createdlistsize()
const {
6582 return (_has_bits_[0] & 0x00000020u) != 0;
6584 inline void SnapshotDiffSection_DirectoryDiff::set_has_createdlistsize() {
6585 _has_bits_[0] |= 0x00000020u;
6587 inline void SnapshotDiffSection_DirectoryDiff::clear_has_createdlistsize() {
6588 _has_bits_[0] &= ~0x00000020u;
6590 inline void SnapshotDiffSection_DirectoryDiff::clear_createdlistsize() {
6591 createdlistsize_ = 0u;
6592 clear_has_createdlistsize();
6594 inline ::google::protobuf::uint32 SnapshotDiffSection_DirectoryDiff::createdlistsize()
const {
6596 return createdlistsize_;
6598 inline void SnapshotDiffSection_DirectoryDiff::set_createdlistsize(::google::protobuf::uint32 value) {
6599 set_has_createdlistsize();
6600 createdlistsize_ = value;
6605 inline int SnapshotDiffSection_DirectoryDiff::deletedinode_size()
const {
6606 return deletedinode_.size();
6608 inline void SnapshotDiffSection_DirectoryDiff::clear_deletedinode() {
6609 deletedinode_.Clear();
6611 inline ::google::protobuf::uint64 SnapshotDiffSection_DirectoryDiff::deletedinode(
int index)
const {
6613 return deletedinode_.Get(index);
6615 inline void SnapshotDiffSection_DirectoryDiff::set_deletedinode(
int index, ::google::protobuf::uint64 value) {
6616 deletedinode_.Set(index, value);
6619 inline void SnapshotDiffSection_DirectoryDiff::add_deletedinode(::google::protobuf::uint64 value) {
6620 deletedinode_.Add(value);
6623 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
6624 SnapshotDiffSection_DirectoryDiff::deletedinode()
const {
6626 return deletedinode_;
6628 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
6629 SnapshotDiffSection_DirectoryDiff::mutable_deletedinode() {
6631 return &deletedinode_;
6635 inline int SnapshotDiffSection_DirectoryDiff::deletedinoderef_size()
const {
6636 return deletedinoderef_.size();
6638 inline void SnapshotDiffSection_DirectoryDiff::clear_deletedinoderef() {
6639 deletedinoderef_.Clear();
6641 inline ::google::protobuf::uint32 SnapshotDiffSection_DirectoryDiff::deletedinoderef(
int index)
const {
6643 return deletedinoderef_.Get(index);
6645 inline void SnapshotDiffSection_DirectoryDiff::set_deletedinoderef(
int index, ::google::protobuf::uint32 value) {
6646 deletedinoderef_.Set(index, value);
6649 inline void SnapshotDiffSection_DirectoryDiff::add_deletedinoderef(::google::protobuf::uint32 value) {
6650 deletedinoderef_.Add(value);
6653 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
6654 SnapshotDiffSection_DirectoryDiff::deletedinoderef()
const {
6656 return deletedinoderef_;
6658 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
6659 SnapshotDiffSection_DirectoryDiff::mutable_deletedinoderef() {
6661 return &deletedinoderef_;
6669 inline bool SnapshotDiffSection_FileDiff::has_snapshotid()
const {
6670 return (_has_bits_[0] & 0x00000001u) != 0;
6672 inline void SnapshotDiffSection_FileDiff::set_has_snapshotid() {
6673 _has_bits_[0] |= 0x00000001u;
6675 inline void SnapshotDiffSection_FileDiff::clear_has_snapshotid() {
6676 _has_bits_[0] &= ~0x00000001u;
6678 inline void SnapshotDiffSection_FileDiff::clear_snapshotid() {
6680 clear_has_snapshotid();
6682 inline ::google::protobuf::uint32 SnapshotDiffSection_FileDiff::snapshotid()
const {
6686 inline void SnapshotDiffSection_FileDiff::set_snapshotid(::google::protobuf::uint32 value) {
6687 set_has_snapshotid();
6688 snapshotid_ = value;
6693 inline bool SnapshotDiffSection_FileDiff::has_filesize()
const {
6694 return (_has_bits_[0] & 0x00000002u) != 0;
6696 inline void SnapshotDiffSection_FileDiff::set_has_filesize() {
6697 _has_bits_[0] |= 0x00000002u;
6699 inline void SnapshotDiffSection_FileDiff::clear_has_filesize() {
6700 _has_bits_[0] &= ~0x00000002u;
6702 inline void SnapshotDiffSection_FileDiff::clear_filesize() {
6703 filesize_ = GOOGLE_ULONGLONG(0);
6704 clear_has_filesize();
6706 inline ::google::protobuf::uint64 SnapshotDiffSection_FileDiff::filesize()
const {
6710 inline void SnapshotDiffSection_FileDiff::set_filesize(::google::protobuf::uint64 value) {
6717 inline bool SnapshotDiffSection_FileDiff::has_name()
const {
6718 return (_has_bits_[0] & 0x00000004u) != 0;
6720 inline void SnapshotDiffSection_FileDiff::set_has_name() {
6721 _has_bits_[0] |= 0x00000004u;
6723 inline void SnapshotDiffSection_FileDiff::clear_has_name() {
6724 _has_bits_[0] &= ~0x00000004u;
6726 inline void SnapshotDiffSection_FileDiff::clear_name() {
6727 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6730 inline const ::std::string& SnapshotDiffSection_FileDiff::name()
const {
6732 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6734 inline void SnapshotDiffSection_FileDiff::set_name(const ::std::string& value) {
6736 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6739 inline void SnapshotDiffSection_FileDiff::set_name(
const char* value) {
6741 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6744 inline void SnapshotDiffSection_FileDiff::set_name(
const void* value,
size_t size) {
6746 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6747 ::std::string(reinterpret_cast<const char*>(value), size));
6750 inline ::std::string* SnapshotDiffSection_FileDiff::mutable_name() {
6753 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6755 inline ::std::string* SnapshotDiffSection_FileDiff::release_name() {
6758 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6760 inline void SnapshotDiffSection_FileDiff::set_allocated_name(::std::string* name) {
6766 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
6771 inline bool SnapshotDiffSection_FileDiff::has_snapshotcopy()
const {
6772 return (_has_bits_[0] & 0x00000008u) != 0;
6774 inline void SnapshotDiffSection_FileDiff::set_has_snapshotcopy() {
6775 _has_bits_[0] |= 0x00000008u;
6777 inline void SnapshotDiffSection_FileDiff::clear_has_snapshotcopy() {
6778 _has_bits_[0] &= ~0x00000008u;
6780 inline void SnapshotDiffSection_FileDiff::clear_snapshotcopy() {
6781 if (snapshotcopy_ != NULL) snapshotcopy_->::hadoop::hdfs::fsimage::INodeSection_INodeFile::Clear();
6782 clear_has_snapshotcopy();
6784 inline const ::hadoop::hdfs::fsimage::INodeSection_INodeFile& SnapshotDiffSection_FileDiff::snapshotcopy()
const {
6786 return snapshotcopy_ != NULL ? *snapshotcopy_ : *default_instance_->snapshotcopy_;
6788 inline ::hadoop::hdfs::fsimage::INodeSection_INodeFile* SnapshotDiffSection_FileDiff::mutable_snapshotcopy() {
6789 set_has_snapshotcopy();
6790 if (snapshotcopy_ == NULL) {
6791 snapshotcopy_ = new ::hadoop::hdfs::fsimage::INodeSection_INodeFile;
6794 return snapshotcopy_;
6796 inline ::hadoop::hdfs::fsimage::INodeSection_INodeFile* SnapshotDiffSection_FileDiff::release_snapshotcopy() {
6798 clear_has_snapshotcopy();
6800 snapshotcopy_ = NULL;
6804 delete snapshotcopy_;
6805 snapshotcopy_ = snapshotcopy;
6807 set_has_snapshotcopy();
6809 clear_has_snapshotcopy();
6815 inline int SnapshotDiffSection_FileDiff::blocks_size()
const {
6816 return blocks_.size();
6818 inline void SnapshotDiffSection_FileDiff::clear_blocks() {
6821 inline const ::hadoop::hdfs::BlockProto& SnapshotDiffSection_FileDiff::blocks(
int index)
const {
6823 return blocks_.Get(index);
6825 inline ::hadoop::hdfs::BlockProto* SnapshotDiffSection_FileDiff::mutable_blocks(
int index) {
6827 return blocks_.Mutable(index);
6829 inline ::hadoop::hdfs::BlockProto* SnapshotDiffSection_FileDiff::add_blocks() {
6831 return blocks_.Add();
6833 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockProto >*
6834 SnapshotDiffSection_FileDiff::mutable_blocks() {
6838 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockProto >&
6839 SnapshotDiffSection_FileDiff::blocks()
const {
6849 inline bool SnapshotDiffSection_DiffEntry::has_type()
const {
6850 return (_has_bits_[0] & 0x00000001u) != 0;
6852 inline void SnapshotDiffSection_DiffEntry::set_has_type() {
6853 _has_bits_[0] |= 0x00000001u;
6855 inline void SnapshotDiffSection_DiffEntry::clear_has_type() {
6856 _has_bits_[0] &= ~0x00000001u;
6858 inline void SnapshotDiffSection_DiffEntry::clear_type() {
6862 inline ::hadoop::hdfs::fsimage::SnapshotDiffSection_DiffEntry_Type SnapshotDiffSection_DiffEntry::type()
const {
6864 return static_cast< ::hadoop::hdfs::fsimage::SnapshotDiffSection_DiffEntry_Type
>(type_);
6866 inline void SnapshotDiffSection_DiffEntry::set_type(::hadoop::hdfs::fsimage::SnapshotDiffSection_DiffEntry_Type value) {
6867 assert(::hadoop::hdfs::fsimage::SnapshotDiffSection_DiffEntry_Type_IsValid(value));
6874 inline bool SnapshotDiffSection_DiffEntry::has_inodeid()
const {
6875 return (_has_bits_[0] & 0x00000002u) != 0;
6877 inline void SnapshotDiffSection_DiffEntry::set_has_inodeid() {
6878 _has_bits_[0] |= 0x00000002u;
6880 inline void SnapshotDiffSection_DiffEntry::clear_has_inodeid() {
6881 _has_bits_[0] &= ~0x00000002u;
6883 inline void SnapshotDiffSection_DiffEntry::clear_inodeid() {
6884 inodeid_ = GOOGLE_ULONGLONG(0);
6885 clear_has_inodeid();
6887 inline ::google::protobuf::uint64 SnapshotDiffSection_DiffEntry::inodeid()
const {
6891 inline void SnapshotDiffSection_DiffEntry::set_inodeid(::google::protobuf::uint64 value) {
6898 inline bool SnapshotDiffSection_DiffEntry::has_numofdiff()
const {
6899 return (_has_bits_[0] & 0x00000004u) != 0;
6901 inline void SnapshotDiffSection_DiffEntry::set_has_numofdiff() {
6902 _has_bits_[0] |= 0x00000004u;
6904 inline void SnapshotDiffSection_DiffEntry::clear_has_numofdiff() {
6905 _has_bits_[0] &= ~0x00000004u;
6907 inline void SnapshotDiffSection_DiffEntry::clear_numofdiff() {
6909 clear_has_numofdiff();
6911 inline ::google::protobuf::uint32 SnapshotDiffSection_DiffEntry::numofdiff()
const {
6915 inline void SnapshotDiffSection_DiffEntry::set_numofdiff(::google::protobuf::uint32 value) {
6916 set_has_numofdiff();
6930 inline bool StringTableSection_Entry::has_id()
const {
6931 return (_has_bits_[0] & 0x00000001u) != 0;
6933 inline void StringTableSection_Entry::set_has_id() {
6934 _has_bits_[0] |= 0x00000001u;
6936 inline void StringTableSection_Entry::clear_has_id() {
6937 _has_bits_[0] &= ~0x00000001u;
6939 inline void StringTableSection_Entry::clear_id() {
6943 inline ::google::protobuf::uint32 StringTableSection_Entry::id()
const {
6947 inline void StringTableSection_Entry::set_id(::google::protobuf::uint32 value) {
6954 inline bool StringTableSection_Entry::has_str()
const {
6955 return (_has_bits_[0] & 0x00000002u) != 0;
6957 inline void StringTableSection_Entry::set_has_str() {
6958 _has_bits_[0] |= 0x00000002u;
6960 inline void StringTableSection_Entry::clear_has_str() {
6961 _has_bits_[0] &= ~0x00000002u;
6963 inline void StringTableSection_Entry::clear_str() {
6964 str_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6967 inline const ::std::string& StringTableSection_Entry::str()
const {
6969 return str_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6971 inline void StringTableSection_Entry::set_str(const ::std::string& value) {
6973 str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6976 inline void StringTableSection_Entry::set_str(
const char* value) {
6978 str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6981 inline void StringTableSection_Entry::set_str(
const char* value,
size_t size) {
6983 str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6984 ::std::string(reinterpret_cast<const char*>(value), size));
6987 inline ::std::string* StringTableSection_Entry::mutable_str() {
6990 return str_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6992 inline ::std::string* StringTableSection_Entry::release_str() {
6995 return str_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6997 inline void StringTableSection_Entry::set_allocated_str(::std::string* str) {
7003 str_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), str);
7012 inline bool StringTableSection::has_numentry()
const {
7013 return (_has_bits_[0] & 0x00000001u) != 0;
7015 inline void StringTableSection::set_has_numentry() {
7016 _has_bits_[0] |= 0x00000001u;
7018 inline void StringTableSection::clear_has_numentry() {
7019 _has_bits_[0] &= ~0x00000001u;
7021 inline void StringTableSection::clear_numentry() {
7023 clear_has_numentry();
7025 inline ::google::protobuf::uint32 StringTableSection::numentry()
const {
7029 inline void StringTableSection::set_numentry(::google::protobuf::uint32 value) {
7040 inline bool SecretManagerSection_DelegationKey::has_id()
const {
7041 return (_has_bits_[0] & 0x00000001u) != 0;
7043 inline void SecretManagerSection_DelegationKey::set_has_id() {
7044 _has_bits_[0] |= 0x00000001u;
7046 inline void SecretManagerSection_DelegationKey::clear_has_id() {
7047 _has_bits_[0] &= ~0x00000001u;
7049 inline void SecretManagerSection_DelegationKey::clear_id() {
7053 inline ::google::protobuf::uint32 SecretManagerSection_DelegationKey::id()
const {
7057 inline void SecretManagerSection_DelegationKey::set_id(::google::protobuf::uint32 value) {
7064 inline bool SecretManagerSection_DelegationKey::has_expirydate()
const {
7065 return (_has_bits_[0] & 0x00000002u) != 0;
7067 inline void SecretManagerSection_DelegationKey::set_has_expirydate() {
7068 _has_bits_[0] |= 0x00000002u;
7070 inline void SecretManagerSection_DelegationKey::clear_has_expirydate() {
7071 _has_bits_[0] &= ~0x00000002u;
7073 inline void SecretManagerSection_DelegationKey::clear_expirydate() {
7074 expirydate_ = GOOGLE_ULONGLONG(0);
7075 clear_has_expirydate();
7077 inline ::google::protobuf::uint64 SecretManagerSection_DelegationKey::expirydate()
const {
7081 inline void SecretManagerSection_DelegationKey::set_expirydate(::google::protobuf::uint64 value) {
7082 set_has_expirydate();
7083 expirydate_ = value;
7088 inline bool SecretManagerSection_DelegationKey::has_key()
const {
7089 return (_has_bits_[0] & 0x00000004u) != 0;
7091 inline void SecretManagerSection_DelegationKey::set_has_key() {
7092 _has_bits_[0] |= 0x00000004u;
7094 inline void SecretManagerSection_DelegationKey::clear_has_key() {
7095 _has_bits_[0] &= ~0x00000004u;
7097 inline void SecretManagerSection_DelegationKey::clear_key() {
7098 key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7101 inline const ::std::string& SecretManagerSection_DelegationKey::key()
const {
7103 return key_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7105 inline void SecretManagerSection_DelegationKey::set_key(const ::std::string& value) {
7107 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7110 inline void SecretManagerSection_DelegationKey::set_key(
const char* value) {
7112 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7115 inline void SecretManagerSection_DelegationKey::set_key(
const void* value,
size_t size) {
7117 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7118 ::std::string(reinterpret_cast<const char*>(value), size));
7121 inline ::std::string* SecretManagerSection_DelegationKey::mutable_key() {
7124 return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7126 inline ::std::string* SecretManagerSection_DelegationKey::release_key() {
7129 return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7131 inline void SecretManagerSection_DelegationKey::set_allocated_key(::std::string* key) {
7137 key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key);
7146 inline bool SecretManagerSection_PersistToken::has_version()
const {
7147 return (_has_bits_[0] & 0x00000001u) != 0;
7149 inline void SecretManagerSection_PersistToken::set_has_version() {
7150 _has_bits_[0] |= 0x00000001u;
7152 inline void SecretManagerSection_PersistToken::clear_has_version() {
7153 _has_bits_[0] &= ~0x00000001u;
7155 inline void SecretManagerSection_PersistToken::clear_version() {
7157 clear_has_version();
7159 inline ::google::protobuf::uint32 SecretManagerSection_PersistToken::version()
const {
7163 inline void SecretManagerSection_PersistToken::set_version(::google::protobuf::uint32 value) {
7170 inline bool SecretManagerSection_PersistToken::has_owner()
const {
7171 return (_has_bits_[0] & 0x00000002u) != 0;
7173 inline void SecretManagerSection_PersistToken::set_has_owner() {
7174 _has_bits_[0] |= 0x00000002u;
7176 inline void SecretManagerSection_PersistToken::clear_has_owner() {
7177 _has_bits_[0] &= ~0x00000002u;
7179 inline void SecretManagerSection_PersistToken::clear_owner() {
7180 owner_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7183 inline const ::std::string& SecretManagerSection_PersistToken::owner()
const {
7185 return owner_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7187 inline void SecretManagerSection_PersistToken::set_owner(const ::std::string& value) {
7189 owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7192 inline void SecretManagerSection_PersistToken::set_owner(
const char* value) {
7194 owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7197 inline void SecretManagerSection_PersistToken::set_owner(
const char* value,
size_t size) {
7199 owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7200 ::std::string(reinterpret_cast<const char*>(value), size));
7203 inline ::std::string* SecretManagerSection_PersistToken::mutable_owner() {
7206 return owner_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7208 inline ::std::string* SecretManagerSection_PersistToken::release_owner() {
7211 return owner_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7213 inline void SecretManagerSection_PersistToken::set_allocated_owner(::std::string* owner) {
7214 if (owner != NULL) {
7219 owner_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), owner);
7224 inline bool SecretManagerSection_PersistToken::has_renewer()
const {
7225 return (_has_bits_[0] & 0x00000004u) != 0;
7227 inline void SecretManagerSection_PersistToken::set_has_renewer() {
7228 _has_bits_[0] |= 0x00000004u;
7230 inline void SecretManagerSection_PersistToken::clear_has_renewer() {
7231 _has_bits_[0] &= ~0x00000004u;
7233 inline void SecretManagerSection_PersistToken::clear_renewer() {
7234 renewer_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7235 clear_has_renewer();
7237 inline const ::std::string& SecretManagerSection_PersistToken::renewer()
const {
7239 return renewer_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7241 inline void SecretManagerSection_PersistToken::set_renewer(const ::std::string& value) {
7243 renewer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7246 inline void SecretManagerSection_PersistToken::set_renewer(
const char* value) {
7248 renewer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7251 inline void SecretManagerSection_PersistToken::set_renewer(
const char* value,
size_t size) {
7253 renewer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7254 ::std::string(reinterpret_cast<const char*>(value), size));
7257 inline ::std::string* SecretManagerSection_PersistToken::mutable_renewer() {
7260 return renewer_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7262 inline ::std::string* SecretManagerSection_PersistToken::release_renewer() {
7264 clear_has_renewer();
7265 return renewer_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7267 inline void SecretManagerSection_PersistToken::set_allocated_renewer(::std::string* renewer) {
7268 if (renewer != NULL) {
7271 clear_has_renewer();
7273 renewer_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), renewer);
7278 inline bool SecretManagerSection_PersistToken::has_realuser()
const {
7279 return (_has_bits_[0] & 0x00000008u) != 0;
7281 inline void SecretManagerSection_PersistToken::set_has_realuser() {
7282 _has_bits_[0] |= 0x00000008u;
7284 inline void SecretManagerSection_PersistToken::clear_has_realuser() {
7285 _has_bits_[0] &= ~0x00000008u;
7287 inline void SecretManagerSection_PersistToken::clear_realuser() {
7288 realuser_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7289 clear_has_realuser();
7291 inline const ::std::string& SecretManagerSection_PersistToken::realuser()
const {
7293 return realuser_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7295 inline void SecretManagerSection_PersistToken::set_realuser(const ::std::string& value) {
7297 realuser_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7300 inline void SecretManagerSection_PersistToken::set_realuser(
const char* value) {
7302 realuser_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7305 inline void SecretManagerSection_PersistToken::set_realuser(
const char* value,
size_t size) {
7307 realuser_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7308 ::std::string(reinterpret_cast<const char*>(value), size));
7311 inline ::std::string* SecretManagerSection_PersistToken::mutable_realuser() {
7314 return realuser_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7316 inline ::std::string* SecretManagerSection_PersistToken::release_realuser() {
7318 clear_has_realuser();
7319 return realuser_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7321 inline void SecretManagerSection_PersistToken::set_allocated_realuser(::std::string* realuser) {
7322 if (realuser != NULL) {
7325 clear_has_realuser();
7327 realuser_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), realuser);
7332 inline bool SecretManagerSection_PersistToken::has_issuedate()
const {
7333 return (_has_bits_[0] & 0x00000010u) != 0;
7335 inline void SecretManagerSection_PersistToken::set_has_issuedate() {
7336 _has_bits_[0] |= 0x00000010u;
7338 inline void SecretManagerSection_PersistToken::clear_has_issuedate() {
7339 _has_bits_[0] &= ~0x00000010u;
7341 inline void SecretManagerSection_PersistToken::clear_issuedate() {
7342 issuedate_ = GOOGLE_ULONGLONG(0);
7343 clear_has_issuedate();
7345 inline ::google::protobuf::uint64 SecretManagerSection_PersistToken::issuedate()
const {
7349 inline void SecretManagerSection_PersistToken::set_issuedate(::google::protobuf::uint64 value) {
7350 set_has_issuedate();
7356 inline bool SecretManagerSection_PersistToken::has_maxdate()
const {
7357 return (_has_bits_[0] & 0x00000020u) != 0;
7359 inline void SecretManagerSection_PersistToken::set_has_maxdate() {
7360 _has_bits_[0] |= 0x00000020u;
7362 inline void SecretManagerSection_PersistToken::clear_has_maxdate() {
7363 _has_bits_[0] &= ~0x00000020u;
7365 inline void SecretManagerSection_PersistToken::clear_maxdate() {
7366 maxdate_ = GOOGLE_ULONGLONG(0);
7367 clear_has_maxdate();
7369 inline ::google::protobuf::uint64 SecretManagerSection_PersistToken::maxdate()
const {
7373 inline void SecretManagerSection_PersistToken::set_maxdate(::google::protobuf::uint64 value) {
7380 inline bool SecretManagerSection_PersistToken::has_sequencenumber()
const {
7381 return (_has_bits_[0] & 0x00000040u) != 0;
7383 inline void SecretManagerSection_PersistToken::set_has_sequencenumber() {
7384 _has_bits_[0] |= 0x00000040u;
7386 inline void SecretManagerSection_PersistToken::clear_has_sequencenumber() {
7387 _has_bits_[0] &= ~0x00000040u;
7389 inline void SecretManagerSection_PersistToken::clear_sequencenumber() {
7390 sequencenumber_ = 0u;
7391 clear_has_sequencenumber();
7393 inline ::google::protobuf::uint32 SecretManagerSection_PersistToken::sequencenumber()
const {
7395 return sequencenumber_;
7397 inline void SecretManagerSection_PersistToken::set_sequencenumber(::google::protobuf::uint32 value) {
7398 set_has_sequencenumber();
7399 sequencenumber_ = value;
7404 inline bool SecretManagerSection_PersistToken::has_masterkeyid()
const {
7405 return (_has_bits_[0] & 0x00000080u) != 0;
7407 inline void SecretManagerSection_PersistToken::set_has_masterkeyid() {
7408 _has_bits_[0] |= 0x00000080u;
7410 inline void SecretManagerSection_PersistToken::clear_has_masterkeyid() {
7411 _has_bits_[0] &= ~0x00000080u;
7413 inline void SecretManagerSection_PersistToken::clear_masterkeyid() {
7415 clear_has_masterkeyid();
7417 inline ::google::protobuf::uint32 SecretManagerSection_PersistToken::masterkeyid()
const {
7419 return masterkeyid_;
7421 inline void SecretManagerSection_PersistToken::set_masterkeyid(::google::protobuf::uint32 value) {
7422 set_has_masterkeyid();
7423 masterkeyid_ = value;
7428 inline bool SecretManagerSection_PersistToken::has_expirydate()
const {
7429 return (_has_bits_[0] & 0x00000100u) != 0;
7431 inline void SecretManagerSection_PersistToken::set_has_expirydate() {
7432 _has_bits_[0] |= 0x00000100u;
7434 inline void SecretManagerSection_PersistToken::clear_has_expirydate() {
7435 _has_bits_[0] &= ~0x00000100u;
7437 inline void SecretManagerSection_PersistToken::clear_expirydate() {
7438 expirydate_ = GOOGLE_ULONGLONG(0);
7439 clear_has_expirydate();
7441 inline ::google::protobuf::uint64 SecretManagerSection_PersistToken::expirydate()
const {
7445 inline void SecretManagerSection_PersistToken::set_expirydate(::google::protobuf::uint64 value) {
7446 set_has_expirydate();
7447 expirydate_ = value;
7456 inline bool SecretManagerSection::has_currentid()
const {
7457 return (_has_bits_[0] & 0x00000001u) != 0;
7459 inline void SecretManagerSection::set_has_currentid() {
7460 _has_bits_[0] |= 0x00000001u;
7462 inline void SecretManagerSection::clear_has_currentid() {
7463 _has_bits_[0] &= ~0x00000001u;
7465 inline void SecretManagerSection::clear_currentid() {
7467 clear_has_currentid();
7469 inline ::google::protobuf::uint32 SecretManagerSection::currentid()
const {
7473 inline void SecretManagerSection::set_currentid(::google::protobuf::uint32 value) {
7474 set_has_currentid();
7480 inline bool SecretManagerSection::has_tokensequencenumber()
const {
7481 return (_has_bits_[0] & 0x00000002u) != 0;
7483 inline void SecretManagerSection::set_has_tokensequencenumber() {
7484 _has_bits_[0] |= 0x00000002u;
7486 inline void SecretManagerSection::clear_has_tokensequencenumber() {
7487 _has_bits_[0] &= ~0x00000002u;
7489 inline void SecretManagerSection::clear_tokensequencenumber() {
7490 tokensequencenumber_ = 0u;
7491 clear_has_tokensequencenumber();
7493 inline ::google::protobuf::uint32 SecretManagerSection::tokensequencenumber()
const {
7495 return tokensequencenumber_;
7497 inline void SecretManagerSection::set_tokensequencenumber(::google::protobuf::uint32 value) {
7498 set_has_tokensequencenumber();
7499 tokensequencenumber_ = value;
7504 inline bool SecretManagerSection::has_numkeys()
const {
7505 return (_has_bits_[0] & 0x00000004u) != 0;
7507 inline void SecretManagerSection::set_has_numkeys() {
7508 _has_bits_[0] |= 0x00000004u;
7510 inline void SecretManagerSection::clear_has_numkeys() {
7511 _has_bits_[0] &= ~0x00000004u;
7513 inline void SecretManagerSection::clear_numkeys() {
7515 clear_has_numkeys();
7517 inline ::google::protobuf::uint32 SecretManagerSection::numkeys()
const {
7521 inline void SecretManagerSection::set_numkeys(::google::protobuf::uint32 value) {
7528 inline bool SecretManagerSection::has_numtokens()
const {
7529 return (_has_bits_[0] & 0x00000008u) != 0;
7531 inline void SecretManagerSection::set_has_numtokens() {
7532 _has_bits_[0] |= 0x00000008u;
7534 inline void SecretManagerSection::clear_has_numtokens() {
7535 _has_bits_[0] &= ~0x00000008u;
7537 inline void SecretManagerSection::clear_numtokens() {
7539 clear_has_numtokens();
7541 inline ::google::protobuf::uint32 SecretManagerSection::numtokens()
const {
7545 inline void SecretManagerSection::set_numtokens(::google::protobuf::uint32 value) {
7546 set_has_numtokens();
7556 inline bool CacheManagerSection::has_nextdirectiveid()
const {
7557 return (_has_bits_[0] & 0x00000001u) != 0;
7559 inline void CacheManagerSection::set_has_nextdirectiveid() {
7560 _has_bits_[0] |= 0x00000001u;
7562 inline void CacheManagerSection::clear_has_nextdirectiveid() {
7563 _has_bits_[0] &= ~0x00000001u;
7565 inline void CacheManagerSection::clear_nextdirectiveid() {
7566 nextdirectiveid_ = GOOGLE_ULONGLONG(0);
7567 clear_has_nextdirectiveid();
7569 inline ::google::protobuf::uint64 CacheManagerSection::nextdirectiveid()
const {
7571 return nextdirectiveid_;
7573 inline void CacheManagerSection::set_nextdirectiveid(::google::protobuf::uint64 value) {
7574 set_has_nextdirectiveid();
7575 nextdirectiveid_ = value;
7580 inline bool CacheManagerSection::has_numpools()
const {
7581 return (_has_bits_[0] & 0x00000002u) != 0;
7583 inline void CacheManagerSection::set_has_numpools() {
7584 _has_bits_[0] |= 0x00000002u;
7586 inline void CacheManagerSection::clear_has_numpools() {
7587 _has_bits_[0] &= ~0x00000002u;
7589 inline void CacheManagerSection::clear_numpools() {
7591 clear_has_numpools();
7593 inline ::google::protobuf::uint32 CacheManagerSection::numpools()
const {
7597 inline void CacheManagerSection::set_numpools(::google::protobuf::uint32 value) {
7604 inline bool CacheManagerSection::has_numdirectives()
const {
7605 return (_has_bits_[0] & 0x00000004u) != 0;
7607 inline void CacheManagerSection::set_has_numdirectives() {
7608 _has_bits_[0] |= 0x00000004u;
7610 inline void CacheManagerSection::clear_has_numdirectives() {
7611 _has_bits_[0] &= ~0x00000004u;
7613 inline void CacheManagerSection::clear_numdirectives() {
7614 numdirectives_ = 0u;
7615 clear_has_numdirectives();
7617 inline ::google::protobuf::uint32 CacheManagerSection::numdirectives()
const {
7619 return numdirectives_;
7621 inline void CacheManagerSection::set_numdirectives(::google::protobuf::uint32 value) {
7622 set_has_numdirectives();
7623 numdirectives_ = value;
7627 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
7701 namespace protobuf {
7703 template <>
struct is_proto_enum< ::hadoop::hdfs::fsimage::INodeSection_INode_Type> : ::google::protobuf::internal::true_type {};
7705 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::fsimage::INodeSection_INode_Type>() {
7706 return ::hadoop::hdfs::fsimage::INodeSection_INode_Type_descriptor();
7708 template <>
struct is_proto_enum< ::hadoop::hdfs::fsimage::SnapshotDiffSection_DiffEntry_Type> : ::google::protobuf::internal::true_type {};
7710 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::fsimage::SnapshotDiffSection_DiffEntry_Type>() {
7711 return ::hadoop::hdfs::fsimage::SnapshotDiffSection_DiffEntry_Type_descriptor();
7720 #endif // PROTOBUF_fsimage_2eproto__INCLUDED
Definition: fsimage.pb.h:2235
Definition: fsimage.pb.h:120
Definition: fsimage.pb.h:3033
Definition: fsimage.pb.h:238
Definition: hdfs.pb.h:5639
Definition: fsimage.pb.h:2448
Definition: fsimage.pb.h:2533
Definition: fsimage.pb.h:2114
Definition: fsimage.pb.h:845
Definition: fsimage.pb.h:1133
Definition: fsimage.pb.h:1494
Definition: fsimage.pb.h:374
Definition: fsimage.pb.h:640
Definition: fsimage.pb.h:4038
Definition: fsimage.pb.h:3511
Definition: fsimage.pb.h:941
Definition: fsimage.pb.h:2320
Definition: fsimage.pb.h:1622
Definition: fsimage.pb.h:1921
Definition: fsimage.pb.h:2638
Definition: fsimage.pb.h:527
Definition: fsimage.pb.h:3315
Definition: fsimage.pb.h:1239
Definition: fsimage.pb.h:1807
Definition: fsimage.pb.h:3606
Definition: fsimage.pb.h:2029
Definition: fsimage.pb.h:3724
Definition: fsimage.pb.h:3403
Definition: fsimage.pb.h:1335
Definition: fsimage.pb.h:3912
Definition: fsimage.pb.h:3176
Definition: fsimage.pb.h:737
Definition: fsimage.pb.h:2757
Definition: fsimage.pb.h:2855