RDFS
The Rice Comp413 2017 class' continuation on the work of the 2016 RDFS.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
fsimage.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: fsimage.proto
3 
4 #ifndef PROTOBUF_fsimage_2eproto__INCLUDED
5 #define PROTOBUF_fsimage_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3000000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3000000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/arena.h>
23 #include <google/protobuf/arenastring.h>
24 #include <google/protobuf/generated_message_util.h>
25 #include <google/protobuf/metadata.h>
26 #include <google/protobuf/message.h>
27 #include <google/protobuf/repeated_field.h>
28 #include <google/protobuf/extension_set.h>
29 #include <google/protobuf/generated_enum_reflection.h>
30 #include <google/protobuf/unknown_field_set.h>
31 #include "hdfs.pb.h"
32 #include "acl.pb.h"
33 #include "xattr.pb.h"
34 // @@protoc_insertion_point(includes)
35 
36 namespace hadoop {
37 namespace hdfs {
38 namespace fsimage {
39 
40 // Internal implementation detail -- do not call these.
41 void protobuf_AddDesc_fsimage_2eproto();
42 void protobuf_AssignDesc_fsimage_2eproto();
43 void protobuf_ShutdownFile_fsimage_2eproto();
44 
45 class CacheManagerSection;
46 class FileSummary;
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;
54 class INodeSection;
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;
78 
79 enum INodeSection_INode_Type {
80  INodeSection_INode_Type_FILE = 1,
81  INodeSection_INode_Type_DIRECTORY = 2,
82  INodeSection_INode_Type_SYMLINK = 3
83 };
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;
88 
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);
93 }
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);
98 }
99 enum SnapshotDiffSection_DiffEntry_Type {
100  SnapshotDiffSection_DiffEntry_Type_FILEDIFF = 1,
101  SnapshotDiffSection_DiffEntry_Type_DIRECTORYDIFF = 2
102 };
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;
107 
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);
112 }
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);
117 }
118 // ===================================================================
119 
120 class FileSummary_Section : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.FileSummary.Section) */ {
121  public:
123  virtual ~FileSummary_Section();
124 
126 
127  inline FileSummary_Section& operator=(const FileSummary_Section& from) {
128  CopyFrom(from);
129  return *this;
130  }
131 
132  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
133  return _internal_metadata_.unknown_fields();
134  }
135 
136  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
137  return _internal_metadata_.mutable_unknown_fields();
138  }
139 
140  static const ::google::protobuf::Descriptor* descriptor();
141  static const FileSummary_Section& default_instance();
142 
143  void Swap(FileSummary_Section* other);
144 
145  // implements Message ----------------------------------------------
146 
147  inline FileSummary_Section* New() const { return New(NULL); }
148 
149  FileSummary_Section* New(::google::protobuf::Arena* arena) const;
150  void CopyFrom(const ::google::protobuf::Message& from);
151  void MergeFrom(const ::google::protobuf::Message& from);
152  void CopyFrom(const FileSummary_Section& from);
153  void MergeFrom(const FileSummary_Section& from);
154  void Clear();
155  bool IsInitialized() const;
156 
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);
166  }
167  int GetCachedSize() const { return _cached_size_; }
168  private:
169  void SharedCtor();
170  void SharedDtor();
171  void SetCachedSize(int size) const;
172  void InternalSwap(FileSummary_Section* other);
173  private:
174  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
175  return _internal_metadata_.arena();
176  }
177  inline void* MaybeArenaPtr() const {
178  return _internal_metadata_.raw_arena_ptr();
179  }
180  public:
181 
182  ::google::protobuf::Metadata GetMetadata() const;
183 
184  // nested types ----------------------------------------------------
185 
186  // accessors -------------------------------------------------------
187 
188  // optional string name = 1;
189  bool has_name() const;
190  void clear_name();
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);
199 
200  // optional uint64 length = 2;
201  bool has_length() const;
202  void clear_length();
203  static const int kLengthFieldNumber = 2;
204  ::google::protobuf::uint64 length() const;
205  void set_length(::google::protobuf::uint64 value);
206 
207  // optional uint64 offset = 3;
208  bool has_offset() const;
209  void clear_offset();
210  static const int kOffsetFieldNumber = 3;
211  ::google::protobuf::uint64 offset() const;
212  void set_offset(::google::protobuf::uint64 value);
213 
214  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.FileSummary.Section)
215  private:
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();
222 
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();
232 
233  void InitAsDefaultInstance();
234  static FileSummary_Section* default_instance_;
235 };
236 // -------------------------------------------------------------------
237 
238 class FileSummary : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.FileSummary) */ {
239  public:
240  FileSummary();
241  virtual ~FileSummary();
242 
243  FileSummary(const FileSummary& from);
244 
245  inline FileSummary& operator=(const FileSummary& from) {
246  CopyFrom(from);
247  return *this;
248  }
249 
250  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
251  return _internal_metadata_.unknown_fields();
252  }
253 
254  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
255  return _internal_metadata_.mutable_unknown_fields();
256  }
257 
258  static const ::google::protobuf::Descriptor* descriptor();
259  static const FileSummary& default_instance();
260 
261  void Swap(FileSummary* other);
262 
263  // implements Message ----------------------------------------------
264 
265  inline FileSummary* New() const { return New(NULL); }
266 
267  FileSummary* New(::google::protobuf::Arena* arena) const;
268  void CopyFrom(const ::google::protobuf::Message& from);
269  void MergeFrom(const ::google::protobuf::Message& from);
270  void CopyFrom(const FileSummary& from);
271  void MergeFrom(const FileSummary& from);
272  void Clear();
273  bool IsInitialized() const;
274 
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);
284  }
285  int GetCachedSize() const { return _cached_size_; }
286  private:
287  void SharedCtor();
288  void SharedDtor();
289  void SetCachedSize(int size) const;
290  void InternalSwap(FileSummary* other);
291  private:
292  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
293  return _internal_metadata_.arena();
294  }
295  inline void* MaybeArenaPtr() const {
296  return _internal_metadata_.raw_arena_ptr();
297  }
298  public:
299 
300  ::google::protobuf::Metadata GetMetadata() const;
301 
302  // nested types ----------------------------------------------------
303 
305 
306  // accessors -------------------------------------------------------
307 
308  // required uint32 ondiskVersion = 1;
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);
314 
315  // required uint32 layoutVersion = 2;
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);
321 
322  // optional string codec = 3;
323  bool has_codec() const;
324  void clear_codec();
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);
333 
334  // repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
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;
339  ::hadoop::hdfs::fsimage::FileSummary_Section* mutable_sections(int index);
341  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::FileSummary_Section >*
342  mutable_sections();
343  const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::FileSummary_Section >&
344  sections() const;
345 
346  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.FileSummary)
347  private:
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();
354 
355  // helper for ByteSize()
356  int RequiredFieldsByteSizeFallback() const;
357 
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();
368 
369  void InitAsDefaultInstance();
370  static FileSummary* default_instance_;
371 };
372 // -------------------------------------------------------------------
373 
374 class NameSystemSection : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.NameSystemSection) */ {
375  public:
377  virtual ~NameSystemSection();
378 
380 
381  inline NameSystemSection& operator=(const NameSystemSection& from) {
382  CopyFrom(from);
383  return *this;
384  }
385 
386  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
387  return _internal_metadata_.unknown_fields();
388  }
389 
390  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
391  return _internal_metadata_.mutable_unknown_fields();
392  }
393 
394  static const ::google::protobuf::Descriptor* descriptor();
395  static const NameSystemSection& default_instance();
396 
397  void Swap(NameSystemSection* other);
398 
399  // implements Message ----------------------------------------------
400 
401  inline NameSystemSection* New() const { return New(NULL); }
402 
403  NameSystemSection* New(::google::protobuf::Arena* arena) const;
404  void CopyFrom(const ::google::protobuf::Message& from);
405  void MergeFrom(const ::google::protobuf::Message& from);
406  void CopyFrom(const NameSystemSection& from);
407  void MergeFrom(const NameSystemSection& from);
408  void Clear();
409  bool IsInitialized() const;
410 
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);
420  }
421  int GetCachedSize() const { return _cached_size_; }
422  private:
423  void SharedCtor();
424  void SharedDtor();
425  void SetCachedSize(int size) const;
426  void InternalSwap(NameSystemSection* other);
427  private:
428  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
429  return _internal_metadata_.arena();
430  }
431  inline void* MaybeArenaPtr() const {
432  return _internal_metadata_.raw_arena_ptr();
433  }
434  public:
435 
436  ::google::protobuf::Metadata GetMetadata() const;
437 
438  // nested types ----------------------------------------------------
439 
440  // accessors -------------------------------------------------------
441 
442  // optional uint32 namespaceId = 1;
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);
448 
449  // optional uint64 genstampV1 = 2;
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);
455 
456  // optional uint64 genstampV2 = 3;
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);
462 
463  // optional uint64 genstampV1Limit = 4;
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);
469 
470  // optional uint64 lastAllocatedBlockId = 5;
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);
476 
477  // optional uint64 transactionId = 6;
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);
483 
484  // optional uint64 rollingUpgradeStartTime = 7;
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);
490 
491  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.NameSystemSection)
492  private:
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();
507 
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();
521 
522  void InitAsDefaultInstance();
523  static NameSystemSection* default_instance_;
524 };
525 // -------------------------------------------------------------------
526 
527 class INodeSection_FileUnderConstructionFeature : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature) */ {
528  public:
531 
533 
535  CopyFrom(from);
536  return *this;
537  }
538 
539  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
540  return _internal_metadata_.unknown_fields();
541  }
542 
543  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
544  return _internal_metadata_.mutable_unknown_fields();
545  }
546 
547  static const ::google::protobuf::Descriptor* descriptor();
548  static const INodeSection_FileUnderConstructionFeature& default_instance();
549 
551 
552  // implements Message ----------------------------------------------
553 
554  inline INodeSection_FileUnderConstructionFeature* New() const { return New(NULL); }
555 
556  INodeSection_FileUnderConstructionFeature* New(::google::protobuf::Arena* arena) const;
557  void CopyFrom(const ::google::protobuf::Message& from);
558  void MergeFrom(const ::google::protobuf::Message& from);
559  void CopyFrom(const INodeSection_FileUnderConstructionFeature& from);
560  void MergeFrom(const INodeSection_FileUnderConstructionFeature& from);
561  void Clear();
562  bool IsInitialized() const;
563 
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);
573  }
574  int GetCachedSize() const { return _cached_size_; }
575  private:
576  void SharedCtor();
577  void SharedDtor();
578  void SetCachedSize(int size) const;
579  void InternalSwap(INodeSection_FileUnderConstructionFeature* other);
580  private:
581  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
582  return _internal_metadata_.arena();
583  }
584  inline void* MaybeArenaPtr() const {
585  return _internal_metadata_.raw_arena_ptr();
586  }
587  public:
588 
589  ::google::protobuf::Metadata GetMetadata() const;
590 
591  // nested types ----------------------------------------------------
592 
593  // accessors -------------------------------------------------------
594 
595  // optional string clientName = 1;
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);
606 
607  // optional string clientMachine = 2;
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);
618 
619  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature)
620  private:
621  inline void set_has_clientname();
622  inline void clear_has_clientname();
623  inline void set_has_clientmachine();
624  inline void clear_has_clientmachine();
625 
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();
634 
635  void InitAsDefaultInstance();
636  static INodeSection_FileUnderConstructionFeature* default_instance_;
637 };
638 // -------------------------------------------------------------------
639 
640 class INodeSection_AclFeatureProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.INodeSection.AclFeatureProto) */ {
641  public:
643  virtual ~INodeSection_AclFeatureProto();
644 
646 
647  inline INodeSection_AclFeatureProto& operator=(const INodeSection_AclFeatureProto& from) {
648  CopyFrom(from);
649  return *this;
650  }
651 
652  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
653  return _internal_metadata_.unknown_fields();
654  }
655 
656  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
657  return _internal_metadata_.mutable_unknown_fields();
658  }
659 
660  static const ::google::protobuf::Descriptor* descriptor();
661  static const INodeSection_AclFeatureProto& default_instance();
662 
663  void Swap(INodeSection_AclFeatureProto* other);
664 
665  // implements Message ----------------------------------------------
666 
667  inline INodeSection_AclFeatureProto* New() const { return New(NULL); }
668 
669  INodeSection_AclFeatureProto* New(::google::protobuf::Arena* arena) const;
670  void CopyFrom(const ::google::protobuf::Message& from);
671  void MergeFrom(const ::google::protobuf::Message& from);
672  void CopyFrom(const INodeSection_AclFeatureProto& from);
673  void MergeFrom(const INodeSection_AclFeatureProto& from);
674  void Clear();
675  bool IsInitialized() const;
676 
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);
686  }
687  int GetCachedSize() const { return _cached_size_; }
688  private:
689  void SharedCtor();
690  void SharedDtor();
691  void SetCachedSize(int size) const;
692  void InternalSwap(INodeSection_AclFeatureProto* other);
693  private:
694  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
695  return _internal_metadata_.arena();
696  }
697  inline void* MaybeArenaPtr() const {
698  return _internal_metadata_.raw_arena_ptr();
699  }
700  public:
701 
702  ::google::protobuf::Metadata GetMetadata() const;
703 
704  // nested types ----------------------------------------------------
705 
706  // accessors -------------------------------------------------------
707 
708  // repeated fixed32 entries = 2 [packed = true];
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 >&
716  entries() const;
717  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
718  mutable_entries();
719 
720  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.INodeSection.AclFeatureProto)
721  private:
722 
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();
731 
732  void InitAsDefaultInstance();
733  static INodeSection_AclFeatureProto* default_instance_;
734 };
735 // -------------------------------------------------------------------
736 
737 class INodeSection_XAttrCompactProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.INodeSection.XAttrCompactProto) */ {
738  public:
741 
743 
744  inline INodeSection_XAttrCompactProto& operator=(const INodeSection_XAttrCompactProto& from) {
745  CopyFrom(from);
746  return *this;
747  }
748 
749  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
750  return _internal_metadata_.unknown_fields();
751  }
752 
753  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
754  return _internal_metadata_.mutable_unknown_fields();
755  }
756 
757  static const ::google::protobuf::Descriptor* descriptor();
758  static const INodeSection_XAttrCompactProto& default_instance();
759 
760  void Swap(INodeSection_XAttrCompactProto* other);
761 
762  // implements Message ----------------------------------------------
763 
764  inline INodeSection_XAttrCompactProto* New() const { return New(NULL); }
765 
766  INodeSection_XAttrCompactProto* New(::google::protobuf::Arena* arena) const;
767  void CopyFrom(const ::google::protobuf::Message& from);
768  void MergeFrom(const ::google::protobuf::Message& from);
769  void CopyFrom(const INodeSection_XAttrCompactProto& from);
770  void MergeFrom(const INodeSection_XAttrCompactProto& from);
771  void Clear();
772  bool IsInitialized() const;
773 
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);
783  }
784  int GetCachedSize() const { return _cached_size_; }
785  private:
786  void SharedCtor();
787  void SharedDtor();
788  void SetCachedSize(int size) const;
789  void InternalSwap(INodeSection_XAttrCompactProto* other);
790  private:
791  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
792  return _internal_metadata_.arena();
793  }
794  inline void* MaybeArenaPtr() const {
795  return _internal_metadata_.raw_arena_ptr();
796  }
797  public:
798 
799  ::google::protobuf::Metadata GetMetadata() const;
800 
801  // nested types ----------------------------------------------------
802 
803  // accessors -------------------------------------------------------
804 
805  // required fixed32 name = 1;
806  bool has_name() const;
807  void clear_name();
808  static const int kNameFieldNumber = 1;
809  ::google::protobuf::uint32 name() const;
810  void set_name(::google::protobuf::uint32 value);
811 
812  // optional bytes value = 2;
813  bool has_value() const;
814  void clear_value();
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);
823 
824  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.INodeSection.XAttrCompactProto)
825  private:
826  inline void set_has_name();
827  inline void clear_has_name();
828  inline void set_has_value();
829  inline void clear_has_value();
830 
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();
839 
840  void InitAsDefaultInstance();
841  static INodeSection_XAttrCompactProto* default_instance_;
842 };
843 // -------------------------------------------------------------------
844 
845 class INodeSection_XAttrFeatureProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto) */ {
846  public:
849 
851 
852  inline INodeSection_XAttrFeatureProto& operator=(const INodeSection_XAttrFeatureProto& from) {
853  CopyFrom(from);
854  return *this;
855  }
856 
857  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
858  return _internal_metadata_.unknown_fields();
859  }
860 
861  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
862  return _internal_metadata_.mutable_unknown_fields();
863  }
864 
865  static const ::google::protobuf::Descriptor* descriptor();
866  static const INodeSection_XAttrFeatureProto& default_instance();
867 
868  void Swap(INodeSection_XAttrFeatureProto* other);
869 
870  // implements Message ----------------------------------------------
871 
872  inline INodeSection_XAttrFeatureProto* New() const { return New(NULL); }
873 
874  INodeSection_XAttrFeatureProto* New(::google::protobuf::Arena* arena) const;
875  void CopyFrom(const ::google::protobuf::Message& from);
876  void MergeFrom(const ::google::protobuf::Message& from);
877  void CopyFrom(const INodeSection_XAttrFeatureProto& from);
878  void MergeFrom(const INodeSection_XAttrFeatureProto& from);
879  void Clear();
880  bool IsInitialized() const;
881 
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);
891  }
892  int GetCachedSize() const { return _cached_size_; }
893  private:
894  void SharedCtor();
895  void SharedDtor();
896  void SetCachedSize(int size) const;
897  void InternalSwap(INodeSection_XAttrFeatureProto* other);
898  private:
899  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
900  return _internal_metadata_.arena();
901  }
902  inline void* MaybeArenaPtr() const {
903  return _internal_metadata_.raw_arena_ptr();
904  }
905  public:
906 
907  ::google::protobuf::Metadata GetMetadata() const;
908 
909  // nested types ----------------------------------------------------
910 
911  // accessors -------------------------------------------------------
912 
913  // repeated .hadoop.hdfs.fsimage.INodeSection.XAttrCompactProto xAttrs = 1;
914  int xattrs_size() const;
915  void clear_xattrs();
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 >*
921  mutable_xattrs();
922  const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::INodeSection_XAttrCompactProto >&
923  xattrs() const;
924 
925  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto)
926  private:
927 
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();
935 
936  void InitAsDefaultInstance();
937  static INodeSection_XAttrFeatureProto* default_instance_;
938 };
939 // -------------------------------------------------------------------
940 
941 class INodeSection_INodeFile : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.INodeSection.INodeFile) */ {
942  public:
944  virtual ~INodeSection_INodeFile();
945 
947 
948  inline INodeSection_INodeFile& operator=(const INodeSection_INodeFile& from) {
949  CopyFrom(from);
950  return *this;
951  }
952 
953  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
954  return _internal_metadata_.unknown_fields();
955  }
956 
957  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
958  return _internal_metadata_.mutable_unknown_fields();
959  }
960 
961  static const ::google::protobuf::Descriptor* descriptor();
962  static const INodeSection_INodeFile& default_instance();
963 
964  void Swap(INodeSection_INodeFile* other);
965 
966  // implements Message ----------------------------------------------
967 
968  inline INodeSection_INodeFile* New() const { return New(NULL); }
969 
970  INodeSection_INodeFile* New(::google::protobuf::Arena* arena) const;
971  void CopyFrom(const ::google::protobuf::Message& from);
972  void MergeFrom(const ::google::protobuf::Message& from);
973  void CopyFrom(const INodeSection_INodeFile& from);
974  void MergeFrom(const INodeSection_INodeFile& from);
975  void Clear();
976  bool IsInitialized() const;
977 
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);
987  }
988  int GetCachedSize() const { return _cached_size_; }
989  private:
990  void SharedCtor();
991  void SharedDtor();
992  void SetCachedSize(int size) const;
993  void InternalSwap(INodeSection_INodeFile* other);
994  private:
995  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
996  return _internal_metadata_.arena();
997  }
998  inline void* MaybeArenaPtr() const {
999  return _internal_metadata_.raw_arena_ptr();
1000  }
1001  public:
1002 
1003  ::google::protobuf::Metadata GetMetadata() const;
1004 
1005  // nested types ----------------------------------------------------
1006 
1007  // accessors -------------------------------------------------------
1008 
1009  // optional uint32 replication = 1;
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);
1015 
1016  // optional uint64 modificationTime = 2;
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);
1022 
1023  // optional uint64 accessTime = 3;
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);
1029 
1030  // optional uint64 preferredBlockSize = 4;
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);
1036 
1037  // optional fixed64 permission = 5;
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);
1043 
1044  // repeated .hadoop.hdfs.BlockProto blocks = 6;
1045  int blocks_size() const;
1046  void clear_blocks();
1047  static const int kBlocksFieldNumber = 6;
1048  const ::hadoop::hdfs::BlockProto& blocks(int index) const;
1049  ::hadoop::hdfs::BlockProto* mutable_blocks(int index);
1050  ::hadoop::hdfs::BlockProto* add_blocks();
1051  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockProto >*
1052  mutable_blocks();
1053  const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockProto >&
1054  blocks() const;
1055 
1056  // optional .hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature fileUC = 7;
1057  bool has_fileuc() const;
1058  void clear_fileuc();
1059  static const int kFileUCFieldNumber = 7;
1060  const ::hadoop::hdfs::fsimage::INodeSection_FileUnderConstructionFeature& fileuc() const;
1063  void set_allocated_fileuc(::hadoop::hdfs::fsimage::INodeSection_FileUnderConstructionFeature* fileuc);
1064 
1065  // optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 8;
1066  bool has_acl() const;
1067  void clear_acl();
1068  static const int kAclFieldNumber = 8;
1069  const ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto& acl() const;
1072  void set_allocated_acl(::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto* acl);
1073 
1074  // optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 9;
1075  bool has_xattrs() const;
1076  void clear_xattrs();
1077  static const int kXAttrsFieldNumber = 9;
1078  const ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto& xattrs() const;
1081  void set_allocated_xattrs(::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto* xattrs);
1082 
1083  // optional uint32 storagePolicyID = 10;
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);
1089 
1090  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.INodeSection.INodeFile)
1091  private:
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();
1110 
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();
1127 
1128  void InitAsDefaultInstance();
1129  static INodeSection_INodeFile* default_instance_;
1130 };
1131 // -------------------------------------------------------------------
1132 
1133 class INodeSection_QuotaByStorageTypeEntryProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeEntryProto) */ {
1134  public:
1137 
1139 
1141  CopyFrom(from);
1142  return *this;
1143  }
1144 
1145  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1146  return _internal_metadata_.unknown_fields();
1147  }
1148 
1149  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1150  return _internal_metadata_.mutable_unknown_fields();
1151  }
1152 
1153  static const ::google::protobuf::Descriptor* descriptor();
1154  static const INodeSection_QuotaByStorageTypeEntryProto& default_instance();
1155 
1157 
1158  // implements Message ----------------------------------------------
1159 
1160  inline INodeSection_QuotaByStorageTypeEntryProto* New() const { return New(NULL); }
1161 
1162  INodeSection_QuotaByStorageTypeEntryProto* New(::google::protobuf::Arena* arena) const;
1163  void CopyFrom(const ::google::protobuf::Message& from);
1164  void MergeFrom(const ::google::protobuf::Message& from);
1165  void CopyFrom(const INodeSection_QuotaByStorageTypeEntryProto& from);
1166  void MergeFrom(const INodeSection_QuotaByStorageTypeEntryProto& from);
1167  void Clear();
1168  bool IsInitialized() const;
1169 
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);
1179  }
1180  int GetCachedSize() const { return _cached_size_; }
1181  private:
1182  void SharedCtor();
1183  void SharedDtor();
1184  void SetCachedSize(int size) const;
1185  void InternalSwap(INodeSection_QuotaByStorageTypeEntryProto* other);
1186  private:
1187  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1188  return _internal_metadata_.arena();
1189  }
1190  inline void* MaybeArenaPtr() const {
1191  return _internal_metadata_.raw_arena_ptr();
1192  }
1193  public:
1194 
1195  ::google::protobuf::Metadata GetMetadata() const;
1196 
1197  // nested types ----------------------------------------------------
1198 
1199  // accessors -------------------------------------------------------
1200 
1201  // required .hadoop.hdfs.StorageTypeProto storageType = 1;
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);
1207 
1208  // required uint64 quota = 2;
1209  bool has_quota() const;
1210  void clear_quota();
1211  static const int kQuotaFieldNumber = 2;
1212  ::google::protobuf::uint64 quota() const;
1213  void set_quota(::google::protobuf::uint64 value);
1214 
1215  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeEntryProto)
1216  private:
1217  inline void set_has_storagetype();
1218  inline void clear_has_storagetype();
1219  inline void set_has_quota();
1220  inline void clear_has_quota();
1221 
1222  // helper for ByteSize()
1223  int RequiredFieldsByteSizeFallback() const;
1224 
1225  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1226  ::google::protobuf::uint32 _has_bits_[1];
1227  mutable int _cached_size_;
1228  ::google::protobuf::uint64 quota_;
1229  int storagetype_;
1230  friend void protobuf_AddDesc_fsimage_2eproto();
1231  friend void protobuf_AssignDesc_fsimage_2eproto();
1232  friend void protobuf_ShutdownFile_fsimage_2eproto();
1233 
1234  void InitAsDefaultInstance();
1235  static INodeSection_QuotaByStorageTypeEntryProto* default_instance_;
1236 };
1237 // -------------------------------------------------------------------
1238 
1239 class INodeSection_QuotaByStorageTypeFeatureProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto) */ {
1240  public:
1243 
1245 
1247  CopyFrom(from);
1248  return *this;
1249  }
1250 
1251  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1252  return _internal_metadata_.unknown_fields();
1253  }
1254 
1255  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1256  return _internal_metadata_.mutable_unknown_fields();
1257  }
1258 
1259  static const ::google::protobuf::Descriptor* descriptor();
1260  static const INodeSection_QuotaByStorageTypeFeatureProto& default_instance();
1261 
1263 
1264  // implements Message ----------------------------------------------
1265 
1266  inline INodeSection_QuotaByStorageTypeFeatureProto* New() const { return New(NULL); }
1267 
1268  INodeSection_QuotaByStorageTypeFeatureProto* New(::google::protobuf::Arena* arena) const;
1269  void CopyFrom(const ::google::protobuf::Message& from);
1270  void MergeFrom(const ::google::protobuf::Message& from);
1271  void CopyFrom(const INodeSection_QuotaByStorageTypeFeatureProto& from);
1272  void MergeFrom(const INodeSection_QuotaByStorageTypeFeatureProto& from);
1273  void Clear();
1274  bool IsInitialized() const;
1275 
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);
1285  }
1286  int GetCachedSize() const { return _cached_size_; }
1287  private:
1288  void SharedCtor();
1289  void SharedDtor();
1290  void SetCachedSize(int size) const;
1291  void InternalSwap(INodeSection_QuotaByStorageTypeFeatureProto* other);
1292  private:
1293  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1294  return _internal_metadata_.arena();
1295  }
1296  inline void* MaybeArenaPtr() const {
1297  return _internal_metadata_.raw_arena_ptr();
1298  }
1299  public:
1300 
1301  ::google::protobuf::Metadata GetMetadata() const;
1302 
1303  // nested types ----------------------------------------------------
1304 
1305  // accessors -------------------------------------------------------
1306 
1307  // repeated .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeEntryProto quotas = 1;
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 >*
1315  mutable_quotas();
1316  const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeEntryProto >&
1317  quotas() const;
1318 
1319  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto)
1320  private:
1321 
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();
1329 
1330  void InitAsDefaultInstance();
1331  static INodeSection_QuotaByStorageTypeFeatureProto* default_instance_;
1332 };
1333 // -------------------------------------------------------------------
1334 
1335 class INodeSection_INodeDirectory : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.INodeSection.INodeDirectory) */ {
1336  public:
1338  virtual ~INodeSection_INodeDirectory();
1339 
1341 
1342  inline INodeSection_INodeDirectory& operator=(const INodeSection_INodeDirectory& from) {
1343  CopyFrom(from);
1344  return *this;
1345  }
1346 
1347  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1348  return _internal_metadata_.unknown_fields();
1349  }
1350 
1351  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1352  return _internal_metadata_.mutable_unknown_fields();
1353  }
1354 
1355  static const ::google::protobuf::Descriptor* descriptor();
1356  static const INodeSection_INodeDirectory& default_instance();
1357 
1358  void Swap(INodeSection_INodeDirectory* other);
1359 
1360  // implements Message ----------------------------------------------
1361 
1362  inline INodeSection_INodeDirectory* New() const { return New(NULL); }
1363 
1364  INodeSection_INodeDirectory* New(::google::protobuf::Arena* arena) const;
1365  void CopyFrom(const ::google::protobuf::Message& from);
1366  void MergeFrom(const ::google::protobuf::Message& from);
1367  void CopyFrom(const INodeSection_INodeDirectory& from);
1368  void MergeFrom(const INodeSection_INodeDirectory& from);
1369  void Clear();
1370  bool IsInitialized() const;
1371 
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);
1381  }
1382  int GetCachedSize() const { return _cached_size_; }
1383  private:
1384  void SharedCtor();
1385  void SharedDtor();
1386  void SetCachedSize(int size) const;
1387  void InternalSwap(INodeSection_INodeDirectory* other);
1388  private:
1389  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1390  return _internal_metadata_.arena();
1391  }
1392  inline void* MaybeArenaPtr() const {
1393  return _internal_metadata_.raw_arena_ptr();
1394  }
1395  public:
1396 
1397  ::google::protobuf::Metadata GetMetadata() const;
1398 
1399  // nested types ----------------------------------------------------
1400 
1401  // accessors -------------------------------------------------------
1402 
1403  // optional uint64 modificationTime = 1;
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);
1409 
1410  // optional uint64 nsQuota = 2;
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);
1416 
1417  // optional uint64 dsQuota = 3;
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);
1423 
1424  // optional fixed64 permission = 4;
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);
1430 
1431  // optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5;
1432  bool has_acl() const;
1433  void clear_acl();
1434  static const int kAclFieldNumber = 5;
1435  const ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto& acl() const;
1438  void set_allocated_acl(::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto* acl);
1439 
1440  // optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 6;
1441  bool has_xattrs() const;
1442  void clear_xattrs();
1443  static const int kXAttrsFieldNumber = 6;
1444  const ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto& xattrs() const;
1447  void set_allocated_xattrs(::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto* xattrs);
1448 
1449  // optional .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto typeQuotas = 7;
1450  bool has_typequotas() const;
1451  void clear_typequotas();
1452  static const int kTypeQuotasFieldNumber = 7;
1453  const ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeFeatureProto& typequotas() const;
1456  void set_allocated_typequotas(::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeFeatureProto* typequotas);
1457 
1458  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.INodeSection.INodeDirectory)
1459  private:
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();
1474 
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();
1488 
1489  void InitAsDefaultInstance();
1490  static INodeSection_INodeDirectory* default_instance_;
1491 };
1492 // -------------------------------------------------------------------
1493 
1494 class INodeSection_INodeSymlink : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.INodeSection.INodeSymlink) */ {
1495  public:
1497  virtual ~INodeSection_INodeSymlink();
1498 
1500 
1501  inline INodeSection_INodeSymlink& operator=(const INodeSection_INodeSymlink& from) {
1502  CopyFrom(from);
1503  return *this;
1504  }
1505 
1506  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1507  return _internal_metadata_.unknown_fields();
1508  }
1509 
1510  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1511  return _internal_metadata_.mutable_unknown_fields();
1512  }
1513 
1514  static const ::google::protobuf::Descriptor* descriptor();
1515  static const INodeSection_INodeSymlink& default_instance();
1516 
1517  void Swap(INodeSection_INodeSymlink* other);
1518 
1519  // implements Message ----------------------------------------------
1520 
1521  inline INodeSection_INodeSymlink* New() const { return New(NULL); }
1522 
1523  INodeSection_INodeSymlink* New(::google::protobuf::Arena* arena) const;
1524  void CopyFrom(const ::google::protobuf::Message& from);
1525  void MergeFrom(const ::google::protobuf::Message& from);
1526  void CopyFrom(const INodeSection_INodeSymlink& from);
1527  void MergeFrom(const INodeSection_INodeSymlink& from);
1528  void Clear();
1529  bool IsInitialized() const;
1530 
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);
1540  }
1541  int GetCachedSize() const { return _cached_size_; }
1542  private:
1543  void SharedCtor();
1544  void SharedDtor();
1545  void SetCachedSize(int size) const;
1546  void InternalSwap(INodeSection_INodeSymlink* other);
1547  private:
1548  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1549  return _internal_metadata_.arena();
1550  }
1551  inline void* MaybeArenaPtr() const {
1552  return _internal_metadata_.raw_arena_ptr();
1553  }
1554  public:
1555 
1556  ::google::protobuf::Metadata GetMetadata() const;
1557 
1558  // nested types ----------------------------------------------------
1559 
1560  // accessors -------------------------------------------------------
1561 
1562  // optional fixed64 permission = 1;
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);
1568 
1569  // optional bytes target = 2;
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);
1580 
1581  // optional uint64 modificationTime = 3;
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);
1587 
1588  // optional uint64 accessTime = 4;
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);
1594 
1595  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.INodeSection.INodeSymlink)
1596  private:
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();
1605 
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();
1616 
1617  void InitAsDefaultInstance();
1618  static INodeSection_INodeSymlink* default_instance_;
1619 };
1620 // -------------------------------------------------------------------
1621 
1622 class INodeSection_INode : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.INodeSection.INode) */ {
1623  public:
1625  virtual ~INodeSection_INode();
1626 
1628 
1629  inline INodeSection_INode& operator=(const INodeSection_INode& from) {
1630  CopyFrom(from);
1631  return *this;
1632  }
1633 
1634  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1635  return _internal_metadata_.unknown_fields();
1636  }
1637 
1638  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1639  return _internal_metadata_.mutable_unknown_fields();
1640  }
1641 
1642  static const ::google::protobuf::Descriptor* descriptor();
1643  static const INodeSection_INode& default_instance();
1644 
1645  void Swap(INodeSection_INode* other);
1646 
1647  // implements Message ----------------------------------------------
1648 
1649  inline INodeSection_INode* New() const { return New(NULL); }
1650 
1651  INodeSection_INode* New(::google::protobuf::Arena* arena) const;
1652  void CopyFrom(const ::google::protobuf::Message& from);
1653  void MergeFrom(const ::google::protobuf::Message& from);
1654  void CopyFrom(const INodeSection_INode& from);
1655  void MergeFrom(const INodeSection_INode& from);
1656  void Clear();
1657  bool IsInitialized() const;
1658 
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);
1668  }
1669  int GetCachedSize() const { return _cached_size_; }
1670  private:
1671  void SharedCtor();
1672  void SharedDtor();
1673  void SetCachedSize(int size) const;
1674  void InternalSwap(INodeSection_INode* other);
1675  private:
1676  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1677  return _internal_metadata_.arena();
1678  }
1679  inline void* MaybeArenaPtr() const {
1680  return _internal_metadata_.raw_arena_ptr();
1681  }
1682  public:
1683 
1684  ::google::protobuf::Metadata GetMetadata() const;
1685 
1686  // nested types ----------------------------------------------------
1687 
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);
1697  }
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*
1705  Type_descriptor() {
1706  return INodeSection_INode_Type_descriptor();
1707  }
1708  static inline const ::std::string& Type_Name(Type value) {
1709  return INodeSection_INode_Type_Name(value);
1710  }
1711  static inline bool Type_Parse(const ::std::string& name,
1712  Type* value) {
1713  return INodeSection_INode_Type_Parse(name, value);
1714  }
1715 
1716  // accessors -------------------------------------------------------
1717 
1718  // required .hadoop.hdfs.fsimage.INodeSection.INode.Type type = 1;
1719  bool has_type() const;
1720  void clear_type();
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);
1724 
1725  // required uint64 id = 2;
1726  bool has_id() const;
1727  void clear_id();
1728  static const int kIdFieldNumber = 2;
1729  ::google::protobuf::uint64 id() const;
1730  void set_id(::google::protobuf::uint64 value);
1731 
1732  // optional bytes name = 3;
1733  bool has_name() const;
1734  void clear_name();
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);
1743 
1744  // optional .hadoop.hdfs.fsimage.INodeSection.INodeFile file = 4;
1745  bool has_file() const;
1746  void clear_file();
1747  static const int kFileFieldNumber = 4;
1748  const ::hadoop::hdfs::fsimage::INodeSection_INodeFile& file() const;
1751  void set_allocated_file(::hadoop::hdfs::fsimage::INodeSection_INodeFile* file);
1752 
1753  // optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory directory = 5;
1754  bool has_directory() const;
1755  void clear_directory();
1756  static const int kDirectoryFieldNumber = 5;
1757  const ::hadoop::hdfs::fsimage::INodeSection_INodeDirectory& directory() const;
1760  void set_allocated_directory(::hadoop::hdfs::fsimage::INodeSection_INodeDirectory* directory);
1761 
1762  // optional .hadoop.hdfs.fsimage.INodeSection.INodeSymlink symlink = 6;
1763  bool has_symlink() const;
1764  void clear_symlink();
1765  static const int kSymlinkFieldNumber = 6;
1766  const ::hadoop::hdfs::fsimage::INodeSection_INodeSymlink& symlink() const;
1769  void set_allocated_symlink(::hadoop::hdfs::fsimage::INodeSection_INodeSymlink* symlink);
1770 
1771  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.INodeSection.INode)
1772  private:
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();
1785 
1786  // helper for ByteSize()
1787  int RequiredFieldsByteSizeFallback() const;
1788 
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_;
1797  int type_;
1798  friend void protobuf_AddDesc_fsimage_2eproto();
1799  friend void protobuf_AssignDesc_fsimage_2eproto();
1800  friend void protobuf_ShutdownFile_fsimage_2eproto();
1801 
1802  void InitAsDefaultInstance();
1803  static INodeSection_INode* default_instance_;
1804 };
1805 // -------------------------------------------------------------------
1806 
1807 class INodeSection : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.INodeSection) */ {
1808  public:
1809  INodeSection();
1810  virtual ~INodeSection();
1811 
1812  INodeSection(const INodeSection& from);
1813 
1814  inline INodeSection& operator=(const INodeSection& from) {
1815  CopyFrom(from);
1816  return *this;
1817  }
1818 
1819  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1820  return _internal_metadata_.unknown_fields();
1821  }
1822 
1823  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1824  return _internal_metadata_.mutable_unknown_fields();
1825  }
1826 
1827  static const ::google::protobuf::Descriptor* descriptor();
1828  static const INodeSection& default_instance();
1829 
1830  void Swap(INodeSection* other);
1831 
1832  // implements Message ----------------------------------------------
1833 
1834  inline INodeSection* New() const { return New(NULL); }
1835 
1836  INodeSection* New(::google::protobuf::Arena* arena) const;
1837  void CopyFrom(const ::google::protobuf::Message& from);
1838  void MergeFrom(const ::google::protobuf::Message& from);
1839  void CopyFrom(const INodeSection& from);
1840  void MergeFrom(const INodeSection& from);
1841  void Clear();
1842  bool IsInitialized() const;
1843 
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);
1853  }
1854  int GetCachedSize() const { return _cached_size_; }
1855  private:
1856  void SharedCtor();
1857  void SharedDtor();
1858  void SetCachedSize(int size) const;
1859  void InternalSwap(INodeSection* other);
1860  private:
1861  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1862  return _internal_metadata_.arena();
1863  }
1864  inline void* MaybeArenaPtr() const {
1865  return _internal_metadata_.raw_arena_ptr();
1866  }
1867  public:
1868 
1869  ::google::protobuf::Metadata GetMetadata() const;
1870 
1871  // nested types ----------------------------------------------------
1872 
1882  typedef INodeSection_INode INode;
1883 
1884  // accessors -------------------------------------------------------
1885 
1886  // optional uint64 lastInodeId = 1;
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);
1892 
1893  // optional uint64 numInodes = 2;
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);
1899 
1900  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.INodeSection)
1901  private:
1902  inline void set_has_lastinodeid();
1903  inline void clear_has_lastinodeid();
1904  inline void set_has_numinodes();
1905  inline void clear_has_numinodes();
1906 
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();
1915 
1916  void InitAsDefaultInstance();
1917  static INodeSection* default_instance_;
1918 };
1919 // -------------------------------------------------------------------
1920 
1921 class FilesUnderConstructionSection_FileUnderConstructionEntry : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.FilesUnderConstructionSection.FileUnderConstructionEntry) */ {
1922  public:
1925 
1927 
1929  CopyFrom(from);
1930  return *this;
1931  }
1932 
1933  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1934  return _internal_metadata_.unknown_fields();
1935  }
1936 
1937  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1938  return _internal_metadata_.mutable_unknown_fields();
1939  }
1940 
1941  static const ::google::protobuf::Descriptor* descriptor();
1942  static const FilesUnderConstructionSection_FileUnderConstructionEntry& default_instance();
1943 
1945 
1946  // implements Message ----------------------------------------------
1947 
1948  inline FilesUnderConstructionSection_FileUnderConstructionEntry* New() const { return New(NULL); }
1949 
1950  FilesUnderConstructionSection_FileUnderConstructionEntry* New(::google::protobuf::Arena* arena) const;
1951  void CopyFrom(const ::google::protobuf::Message& from);
1952  void MergeFrom(const ::google::protobuf::Message& from);
1955  void Clear();
1956  bool IsInitialized() const;
1957 
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);
1967  }
1968  int GetCachedSize() const { return _cached_size_; }
1969  private:
1970  void SharedCtor();
1971  void SharedDtor();
1972  void SetCachedSize(int size) const;
1974  private:
1975  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1976  return _internal_metadata_.arena();
1977  }
1978  inline void* MaybeArenaPtr() const {
1979  return _internal_metadata_.raw_arena_ptr();
1980  }
1981  public:
1982 
1983  ::google::protobuf::Metadata GetMetadata() const;
1984 
1985  // nested types ----------------------------------------------------
1986 
1987  // accessors -------------------------------------------------------
1988 
1989  // optional uint64 inodeId = 1;
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);
1995 
1996  // optional string fullPath = 2;
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);
2007 
2008  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.FilesUnderConstructionSection.FileUnderConstructionEntry)
2009  private:
2010  inline void set_has_inodeid();
2011  inline void clear_has_inodeid();
2012  inline void set_has_fullpath();
2013  inline void clear_has_fullpath();
2014 
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();
2023 
2024  void InitAsDefaultInstance();
2026 };
2027 // -------------------------------------------------------------------
2028 
2029 class FilesUnderConstructionSection : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.FilesUnderConstructionSection) */ {
2030  public:
2032  virtual ~FilesUnderConstructionSection();
2033 
2035 
2036  inline FilesUnderConstructionSection& operator=(const FilesUnderConstructionSection& from) {
2037  CopyFrom(from);
2038  return *this;
2039  }
2040 
2041  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2042  return _internal_metadata_.unknown_fields();
2043  }
2044 
2045  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2046  return _internal_metadata_.mutable_unknown_fields();
2047  }
2048 
2049  static const ::google::protobuf::Descriptor* descriptor();
2050  static const FilesUnderConstructionSection& default_instance();
2051 
2052  void Swap(FilesUnderConstructionSection* other);
2053 
2054  // implements Message ----------------------------------------------
2055 
2056  inline FilesUnderConstructionSection* New() const { return New(NULL); }
2057 
2058  FilesUnderConstructionSection* New(::google::protobuf::Arena* arena) const;
2059  void CopyFrom(const ::google::protobuf::Message& from);
2060  void MergeFrom(const ::google::protobuf::Message& from);
2061  void CopyFrom(const FilesUnderConstructionSection& from);
2062  void MergeFrom(const FilesUnderConstructionSection& from);
2063  void Clear();
2064  bool IsInitialized() const;
2065 
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);
2075  }
2076  int GetCachedSize() const { return _cached_size_; }
2077  private:
2078  void SharedCtor();
2079  void SharedDtor();
2080  void SetCachedSize(int size) const;
2081  void InternalSwap(FilesUnderConstructionSection* other);
2082  private:
2083  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2084  return _internal_metadata_.arena();
2085  }
2086  inline void* MaybeArenaPtr() const {
2087  return _internal_metadata_.raw_arena_ptr();
2088  }
2089  public:
2090 
2091  ::google::protobuf::Metadata GetMetadata() const;
2092 
2093  // nested types ----------------------------------------------------
2094 
2096 
2097  // accessors -------------------------------------------------------
2098 
2099  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.FilesUnderConstructionSection)
2100  private:
2101 
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();
2108 
2109  void InitAsDefaultInstance();
2110  static FilesUnderConstructionSection* default_instance_;
2111 };
2112 // -------------------------------------------------------------------
2113 
2114 class INodeDirectorySection_DirEntry : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.INodeDirectorySection.DirEntry) */ {
2115  public:
2117  virtual ~INodeDirectorySection_DirEntry();
2118 
2120 
2121  inline INodeDirectorySection_DirEntry& operator=(const INodeDirectorySection_DirEntry& from) {
2122  CopyFrom(from);
2123  return *this;
2124  }
2125 
2126  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2127  return _internal_metadata_.unknown_fields();
2128  }
2129 
2130  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2131  return _internal_metadata_.mutable_unknown_fields();
2132  }
2133 
2134  static const ::google::protobuf::Descriptor* descriptor();
2135  static const INodeDirectorySection_DirEntry& default_instance();
2136 
2137  void Swap(INodeDirectorySection_DirEntry* other);
2138 
2139  // implements Message ----------------------------------------------
2140 
2141  inline INodeDirectorySection_DirEntry* New() const { return New(NULL); }
2142 
2143  INodeDirectorySection_DirEntry* New(::google::protobuf::Arena* arena) const;
2144  void CopyFrom(const ::google::protobuf::Message& from);
2145  void MergeFrom(const ::google::protobuf::Message& from);
2146  void CopyFrom(const INodeDirectorySection_DirEntry& from);
2147  void MergeFrom(const INodeDirectorySection_DirEntry& from);
2148  void Clear();
2149  bool IsInitialized() const;
2150 
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);
2160  }
2161  int GetCachedSize() const { return _cached_size_; }
2162  private:
2163  void SharedCtor();
2164  void SharedDtor();
2165  void SetCachedSize(int size) const;
2166  void InternalSwap(INodeDirectorySection_DirEntry* other);
2167  private:
2168  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2169  return _internal_metadata_.arena();
2170  }
2171  inline void* MaybeArenaPtr() const {
2172  return _internal_metadata_.raw_arena_ptr();
2173  }
2174  public:
2175 
2176  ::google::protobuf::Metadata GetMetadata() const;
2177 
2178  // nested types ----------------------------------------------------
2179 
2180  // accessors -------------------------------------------------------
2181 
2182  // optional uint64 parent = 1;
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);
2188 
2189  // repeated uint64 children = 2 [packed = true];
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 >&
2197  children() const;
2198  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
2199  mutable_children();
2200 
2201  // repeated uint32 refChildren = 3 [packed = true];
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();
2212 
2213  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.INodeDirectorySection.DirEntry)
2214  private:
2215  inline void set_has_parent();
2216  inline void clear_has_parent();
2217 
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();
2229 
2230  void InitAsDefaultInstance();
2231  static INodeDirectorySection_DirEntry* default_instance_;
2232 };
2233 // -------------------------------------------------------------------
2234 
2235 class INodeDirectorySection : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.INodeDirectorySection) */ {
2236  public:
2238  virtual ~INodeDirectorySection();
2239 
2241 
2242  inline INodeDirectorySection& operator=(const INodeDirectorySection& from) {
2243  CopyFrom(from);
2244  return *this;
2245  }
2246 
2247  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2248  return _internal_metadata_.unknown_fields();
2249  }
2250 
2251  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2252  return _internal_metadata_.mutable_unknown_fields();
2253  }
2254 
2255  static const ::google::protobuf::Descriptor* descriptor();
2256  static const INodeDirectorySection& default_instance();
2257 
2258  void Swap(INodeDirectorySection* other);
2259 
2260  // implements Message ----------------------------------------------
2261 
2262  inline INodeDirectorySection* New() const { return New(NULL); }
2263 
2264  INodeDirectorySection* New(::google::protobuf::Arena* arena) const;
2265  void CopyFrom(const ::google::protobuf::Message& from);
2266  void MergeFrom(const ::google::protobuf::Message& from);
2267  void CopyFrom(const INodeDirectorySection& from);
2268  void MergeFrom(const INodeDirectorySection& from);
2269  void Clear();
2270  bool IsInitialized() const;
2271 
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);
2281  }
2282  int GetCachedSize() const { return _cached_size_; }
2283  private:
2284  void SharedCtor();
2285  void SharedDtor();
2286  void SetCachedSize(int size) const;
2287  void InternalSwap(INodeDirectorySection* other);
2288  private:
2289  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2290  return _internal_metadata_.arena();
2291  }
2292  inline void* MaybeArenaPtr() const {
2293  return _internal_metadata_.raw_arena_ptr();
2294  }
2295  public:
2296 
2297  ::google::protobuf::Metadata GetMetadata() const;
2298 
2299  // nested types ----------------------------------------------------
2300 
2302 
2303  // accessors -------------------------------------------------------
2304 
2305  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.INodeDirectorySection)
2306  private:
2307 
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();
2314 
2315  void InitAsDefaultInstance();
2316  static INodeDirectorySection* default_instance_;
2317 };
2318 // -------------------------------------------------------------------
2319 
2320 class INodeReferenceSection_INodeReference : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.INodeReferenceSection.INodeReference) */ {
2321  public:
2324 
2326 
2328  CopyFrom(from);
2329  return *this;
2330  }
2331 
2332  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2333  return _internal_metadata_.unknown_fields();
2334  }
2335 
2336  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2337  return _internal_metadata_.mutable_unknown_fields();
2338  }
2339 
2340  static const ::google::protobuf::Descriptor* descriptor();
2341  static const INodeReferenceSection_INodeReference& default_instance();
2342 
2343  void Swap(INodeReferenceSection_INodeReference* other);
2344 
2345  // implements Message ----------------------------------------------
2346 
2347  inline INodeReferenceSection_INodeReference* New() const { return New(NULL); }
2348 
2349  INodeReferenceSection_INodeReference* New(::google::protobuf::Arena* arena) const;
2350  void CopyFrom(const ::google::protobuf::Message& from);
2351  void MergeFrom(const ::google::protobuf::Message& from);
2352  void CopyFrom(const INodeReferenceSection_INodeReference& from);
2353  void MergeFrom(const INodeReferenceSection_INodeReference& from);
2354  void Clear();
2355  bool IsInitialized() const;
2356 
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);
2366  }
2367  int GetCachedSize() const { return _cached_size_; }
2368  private:
2369  void SharedCtor();
2370  void SharedDtor();
2371  void SetCachedSize(int size) const;
2372  void InternalSwap(INodeReferenceSection_INodeReference* other);
2373  private:
2374  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2375  return _internal_metadata_.arena();
2376  }
2377  inline void* MaybeArenaPtr() const {
2378  return _internal_metadata_.raw_arena_ptr();
2379  }
2380  public:
2381 
2382  ::google::protobuf::Metadata GetMetadata() const;
2383 
2384  // nested types ----------------------------------------------------
2385 
2386  // accessors -------------------------------------------------------
2387 
2388  // optional uint64 referredId = 1;
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);
2394 
2395  // optional bytes name = 2;
2396  bool has_name() const;
2397  void clear_name();
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);
2406 
2407  // optional uint32 dstSnapshotId = 3;
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);
2413 
2414  // optional uint32 lastSnapshotId = 4;
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);
2420 
2421  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.INodeReferenceSection.INodeReference)
2422  private:
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();
2431 
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();
2442 
2443  void InitAsDefaultInstance();
2444  static INodeReferenceSection_INodeReference* default_instance_;
2445 };
2446 // -------------------------------------------------------------------
2447 
2448 class INodeReferenceSection : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.INodeReferenceSection) */ {
2449  public:
2451  virtual ~INodeReferenceSection();
2452 
2454 
2455  inline INodeReferenceSection& operator=(const INodeReferenceSection& from) {
2456  CopyFrom(from);
2457  return *this;
2458  }
2459 
2460  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2461  return _internal_metadata_.unknown_fields();
2462  }
2463 
2464  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2465  return _internal_metadata_.mutable_unknown_fields();
2466  }
2467 
2468  static const ::google::protobuf::Descriptor* descriptor();
2469  static const INodeReferenceSection& default_instance();
2470 
2471  void Swap(INodeReferenceSection* other);
2472 
2473  // implements Message ----------------------------------------------
2474 
2475  inline INodeReferenceSection* New() const { return New(NULL); }
2476 
2477  INodeReferenceSection* New(::google::protobuf::Arena* arena) const;
2478  void CopyFrom(const ::google::protobuf::Message& from);
2479  void MergeFrom(const ::google::protobuf::Message& from);
2480  void CopyFrom(const INodeReferenceSection& from);
2481  void MergeFrom(const INodeReferenceSection& from);
2482  void Clear();
2483  bool IsInitialized() const;
2484 
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);
2494  }
2495  int GetCachedSize() const { return _cached_size_; }
2496  private:
2497  void SharedCtor();
2498  void SharedDtor();
2499  void SetCachedSize(int size) const;
2500  void InternalSwap(INodeReferenceSection* other);
2501  private:
2502  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2503  return _internal_metadata_.arena();
2504  }
2505  inline void* MaybeArenaPtr() const {
2506  return _internal_metadata_.raw_arena_ptr();
2507  }
2508  public:
2509 
2510  ::google::protobuf::Metadata GetMetadata() const;
2511 
2512  // nested types ----------------------------------------------------
2513 
2515 
2516  // accessors -------------------------------------------------------
2517 
2518  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.INodeReferenceSection)
2519  private:
2520 
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();
2527 
2528  void InitAsDefaultInstance();
2529  static INodeReferenceSection* default_instance_;
2530 };
2531 // -------------------------------------------------------------------
2532 
2533 class SnapshotSection_Snapshot : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.SnapshotSection.Snapshot) */ {
2534  public:
2536  virtual ~SnapshotSection_Snapshot();
2537 
2539 
2540  inline SnapshotSection_Snapshot& operator=(const SnapshotSection_Snapshot& from) {
2541  CopyFrom(from);
2542  return *this;
2543  }
2544 
2545  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2546  return _internal_metadata_.unknown_fields();
2547  }
2548 
2549  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2550  return _internal_metadata_.mutable_unknown_fields();
2551  }
2552 
2553  static const ::google::protobuf::Descriptor* descriptor();
2554  static const SnapshotSection_Snapshot& default_instance();
2555 
2556  void Swap(SnapshotSection_Snapshot* other);
2557 
2558  // implements Message ----------------------------------------------
2559 
2560  inline SnapshotSection_Snapshot* New() const { return New(NULL); }
2561 
2562  SnapshotSection_Snapshot* New(::google::protobuf::Arena* arena) const;
2563  void CopyFrom(const ::google::protobuf::Message& from);
2564  void MergeFrom(const ::google::protobuf::Message& from);
2565  void CopyFrom(const SnapshotSection_Snapshot& from);
2566  void MergeFrom(const SnapshotSection_Snapshot& from);
2567  void Clear();
2568  bool IsInitialized() const;
2569 
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);
2579  }
2580  int GetCachedSize() const { return _cached_size_; }
2581  private:
2582  void SharedCtor();
2583  void SharedDtor();
2584  void SetCachedSize(int size) const;
2585  void InternalSwap(SnapshotSection_Snapshot* other);
2586  private:
2587  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2588  return _internal_metadata_.arena();
2589  }
2590  inline void* MaybeArenaPtr() const {
2591  return _internal_metadata_.raw_arena_ptr();
2592  }
2593  public:
2594 
2595  ::google::protobuf::Metadata GetMetadata() const;
2596 
2597  // nested types ----------------------------------------------------
2598 
2599  // accessors -------------------------------------------------------
2600 
2601  // optional uint32 snapshotId = 1;
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);
2607 
2608  // optional .hadoop.hdfs.fsimage.INodeSection.INode root = 2;
2609  bool has_root() const;
2610  void clear_root();
2611  static const int kRootFieldNumber = 2;
2612  const ::hadoop::hdfs::fsimage::INodeSection_INode& root() const;
2615  void set_allocated_root(::hadoop::hdfs::fsimage::INodeSection_INode* root);
2616 
2617  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.SnapshotSection.Snapshot)
2618  private:
2619  inline void set_has_snapshotid();
2620  inline void clear_has_snapshotid();
2621  inline void set_has_root();
2622  inline void clear_has_root();
2623 
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();
2632 
2633  void InitAsDefaultInstance();
2634  static SnapshotSection_Snapshot* default_instance_;
2635 };
2636 // -------------------------------------------------------------------
2637 
2638 class SnapshotSection : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.SnapshotSection) */ {
2639  public:
2640  SnapshotSection();
2641  virtual ~SnapshotSection();
2642 
2643  SnapshotSection(const SnapshotSection& from);
2644 
2645  inline SnapshotSection& operator=(const SnapshotSection& from) {
2646  CopyFrom(from);
2647  return *this;
2648  }
2649 
2650  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2651  return _internal_metadata_.unknown_fields();
2652  }
2653 
2654  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2655  return _internal_metadata_.mutable_unknown_fields();
2656  }
2657 
2658  static const ::google::protobuf::Descriptor* descriptor();
2659  static const SnapshotSection& default_instance();
2660 
2661  void Swap(SnapshotSection* other);
2662 
2663  // implements Message ----------------------------------------------
2664 
2665  inline SnapshotSection* New() const { return New(NULL); }
2666 
2667  SnapshotSection* New(::google::protobuf::Arena* arena) const;
2668  void CopyFrom(const ::google::protobuf::Message& from);
2669  void MergeFrom(const ::google::protobuf::Message& from);
2670  void CopyFrom(const SnapshotSection& from);
2671  void MergeFrom(const SnapshotSection& from);
2672  void Clear();
2673  bool IsInitialized() const;
2674 
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);
2684  }
2685  int GetCachedSize() const { return _cached_size_; }
2686  private:
2687  void SharedCtor();
2688  void SharedDtor();
2689  void SetCachedSize(int size) const;
2690  void InternalSwap(SnapshotSection* other);
2691  private:
2692  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2693  return _internal_metadata_.arena();
2694  }
2695  inline void* MaybeArenaPtr() const {
2696  return _internal_metadata_.raw_arena_ptr();
2697  }
2698  public:
2699 
2700  ::google::protobuf::Metadata GetMetadata() const;
2701 
2702  // nested types ----------------------------------------------------
2703 
2705 
2706  // accessors -------------------------------------------------------
2707 
2708  // optional uint32 snapshotCounter = 1;
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);
2714 
2715  // repeated uint64 snapshottableDir = 2 [packed = true];
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();
2726 
2727  // optional uint32 numSnapshots = 3;
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);
2733 
2734  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.SnapshotSection)
2735  private:
2736  inline void set_has_snapshotcounter();
2737  inline void clear_has_snapshotcounter();
2738  inline void set_has_numsnapshots();
2739  inline void clear_has_numsnapshots();
2740 
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();
2751 
2752  void InitAsDefaultInstance();
2753  static SnapshotSection* default_instance_;
2754 };
2755 // -------------------------------------------------------------------
2756 
2757 class SnapshotDiffSection_CreatedListEntry : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.SnapshotDiffSection.CreatedListEntry) */ {
2758  public:
2761 
2763 
2765  CopyFrom(from);
2766  return *this;
2767  }
2768 
2769  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2770  return _internal_metadata_.unknown_fields();
2771  }
2772 
2773  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2774  return _internal_metadata_.mutable_unknown_fields();
2775  }
2776 
2777  static const ::google::protobuf::Descriptor* descriptor();
2778  static const SnapshotDiffSection_CreatedListEntry& default_instance();
2779 
2780  void Swap(SnapshotDiffSection_CreatedListEntry* other);
2781 
2782  // implements Message ----------------------------------------------
2783 
2784  inline SnapshotDiffSection_CreatedListEntry* New() const { return New(NULL); }
2785 
2786  SnapshotDiffSection_CreatedListEntry* New(::google::protobuf::Arena* arena) const;
2787  void CopyFrom(const ::google::protobuf::Message& from);
2788  void MergeFrom(const ::google::protobuf::Message& from);
2789  void CopyFrom(const SnapshotDiffSection_CreatedListEntry& from);
2790  void MergeFrom(const SnapshotDiffSection_CreatedListEntry& from);
2791  void Clear();
2792  bool IsInitialized() const;
2793 
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);
2803  }
2804  int GetCachedSize() const { return _cached_size_; }
2805  private:
2806  void SharedCtor();
2807  void SharedDtor();
2808  void SetCachedSize(int size) const;
2809  void InternalSwap(SnapshotDiffSection_CreatedListEntry* other);
2810  private:
2811  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2812  return _internal_metadata_.arena();
2813  }
2814  inline void* MaybeArenaPtr() const {
2815  return _internal_metadata_.raw_arena_ptr();
2816  }
2817  public:
2818 
2819  ::google::protobuf::Metadata GetMetadata() const;
2820 
2821  // nested types ----------------------------------------------------
2822 
2823  // accessors -------------------------------------------------------
2824 
2825  // optional bytes name = 1;
2826  bool has_name() const;
2827  void clear_name();
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);
2836 
2837  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.SnapshotDiffSection.CreatedListEntry)
2838  private:
2839  inline void set_has_name();
2840  inline void clear_has_name();
2841 
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();
2849 
2850  void InitAsDefaultInstance();
2851  static SnapshotDiffSection_CreatedListEntry* default_instance_;
2852 };
2853 // -------------------------------------------------------------------
2854 
2855 class SnapshotDiffSection_DirectoryDiff : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff) */ {
2856  public:
2859 
2861 
2863  CopyFrom(from);
2864  return *this;
2865  }
2866 
2867  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2868  return _internal_metadata_.unknown_fields();
2869  }
2870 
2871  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2872  return _internal_metadata_.mutable_unknown_fields();
2873  }
2874 
2875  static const ::google::protobuf::Descriptor* descriptor();
2876  static const SnapshotDiffSection_DirectoryDiff& default_instance();
2877 
2878  void Swap(SnapshotDiffSection_DirectoryDiff* other);
2879 
2880  // implements Message ----------------------------------------------
2881 
2882  inline SnapshotDiffSection_DirectoryDiff* New() const { return New(NULL); }
2883 
2884  SnapshotDiffSection_DirectoryDiff* New(::google::protobuf::Arena* arena) const;
2885  void CopyFrom(const ::google::protobuf::Message& from);
2886  void MergeFrom(const ::google::protobuf::Message& from);
2887  void CopyFrom(const SnapshotDiffSection_DirectoryDiff& from);
2888  void MergeFrom(const SnapshotDiffSection_DirectoryDiff& from);
2889  void Clear();
2890  bool IsInitialized() const;
2891 
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);
2901  }
2902  int GetCachedSize() const { return _cached_size_; }
2903  private:
2904  void SharedCtor();
2905  void SharedDtor();
2906  void SetCachedSize(int size) const;
2907  void InternalSwap(SnapshotDiffSection_DirectoryDiff* other);
2908  private:
2909  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2910  return _internal_metadata_.arena();
2911  }
2912  inline void* MaybeArenaPtr() const {
2913  return _internal_metadata_.raw_arena_ptr();
2914  }
2915  public:
2916 
2917  ::google::protobuf::Metadata GetMetadata() const;
2918 
2919  // nested types ----------------------------------------------------
2920 
2921  // accessors -------------------------------------------------------
2922 
2923  // optional uint32 snapshotId = 1;
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);
2929 
2930  // optional uint32 childrenSize = 2;
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);
2936 
2937  // optional bool isSnapshotRoot = 3;
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);
2943 
2944  // optional bytes name = 4;
2945  bool has_name() const;
2946  void clear_name();
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);
2955 
2956  // optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;
2957  bool has_snapshotcopy() const;
2958  void clear_snapshotcopy();
2959  static const int kSnapshotCopyFieldNumber = 5;
2960  const ::hadoop::hdfs::fsimage::INodeSection_INodeDirectory& snapshotcopy() const;
2963  void set_allocated_snapshotcopy(::hadoop::hdfs::fsimage::INodeSection_INodeDirectory* snapshotcopy);
2964 
2965  // optional uint32 createdListSize = 6;
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);
2971 
2972  // repeated uint64 deletedINode = 7 [packed = true];
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();
2983 
2984  // repeated uint32 deletedINodeRef = 8 [packed = true];
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();
2995 
2996  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff)
2997  private:
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();
3010 
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();
3027 
3028  void InitAsDefaultInstance();
3029  static SnapshotDiffSection_DirectoryDiff* default_instance_;
3030 };
3031 // -------------------------------------------------------------------
3032 
3033 class SnapshotDiffSection_FileDiff : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff) */ {
3034  public:
3036  virtual ~SnapshotDiffSection_FileDiff();
3037 
3039 
3040  inline SnapshotDiffSection_FileDiff& operator=(const SnapshotDiffSection_FileDiff& from) {
3041  CopyFrom(from);
3042  return *this;
3043  }
3044 
3045  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3046  return _internal_metadata_.unknown_fields();
3047  }
3048 
3049  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3050  return _internal_metadata_.mutable_unknown_fields();
3051  }
3052 
3053  static const ::google::protobuf::Descriptor* descriptor();
3054  static const SnapshotDiffSection_FileDiff& default_instance();
3055 
3056  void Swap(SnapshotDiffSection_FileDiff* other);
3057 
3058  // implements Message ----------------------------------------------
3059 
3060  inline SnapshotDiffSection_FileDiff* New() const { return New(NULL); }
3061 
3062  SnapshotDiffSection_FileDiff* New(::google::protobuf::Arena* arena) const;
3063  void CopyFrom(const ::google::protobuf::Message& from);
3064  void MergeFrom(const ::google::protobuf::Message& from);
3065  void CopyFrom(const SnapshotDiffSection_FileDiff& from);
3066  void MergeFrom(const SnapshotDiffSection_FileDiff& from);
3067  void Clear();
3068  bool IsInitialized() const;
3069 
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);
3079  }
3080  int GetCachedSize() const { return _cached_size_; }
3081  private:
3082  void SharedCtor();
3083  void SharedDtor();
3084  void SetCachedSize(int size) const;
3085  void InternalSwap(SnapshotDiffSection_FileDiff* other);
3086  private:
3087  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3088  return _internal_metadata_.arena();
3089  }
3090  inline void* MaybeArenaPtr() const {
3091  return _internal_metadata_.raw_arena_ptr();
3092  }
3093  public:
3094 
3095  ::google::protobuf::Metadata GetMetadata() const;
3096 
3097  // nested types ----------------------------------------------------
3098 
3099  // accessors -------------------------------------------------------
3100 
3101  // optional uint32 snapshotId = 1;
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);
3107 
3108  // optional uint64 fileSize = 2;
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);
3114 
3115  // optional bytes name = 3;
3116  bool has_name() const;
3117  void clear_name();
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);
3126 
3127  // optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;
3128  bool has_snapshotcopy() const;
3129  void clear_snapshotcopy();
3130  static const int kSnapshotCopyFieldNumber = 4;
3131  const ::hadoop::hdfs::fsimage::INodeSection_INodeFile& snapshotcopy() const;
3132  ::hadoop::hdfs::fsimage::INodeSection_INodeFile* mutable_snapshotcopy();
3133  ::hadoop::hdfs::fsimage::INodeSection_INodeFile* release_snapshotcopy();
3134  void set_allocated_snapshotcopy(::hadoop::hdfs::fsimage::INodeSection_INodeFile* snapshotcopy);
3135 
3136  // repeated .hadoop.hdfs.BlockProto blocks = 5;
3137  int blocks_size() const;
3138  void clear_blocks();
3139  static const int kBlocksFieldNumber = 5;
3140  const ::hadoop::hdfs::BlockProto& blocks(int index) const;
3141  ::hadoop::hdfs::BlockProto* mutable_blocks(int index);
3142  ::hadoop::hdfs::BlockProto* add_blocks();
3143  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockProto >*
3144  mutable_blocks();
3145  const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockProto >&
3146  blocks() const;
3147 
3148  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff)
3149  private:
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();
3158 
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();
3170 
3171  void InitAsDefaultInstance();
3172  static SnapshotDiffSection_FileDiff* default_instance_;
3173 };
3174 // -------------------------------------------------------------------
3175 
3176 class SnapshotDiffSection_DiffEntry : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry) */ {
3177  public:
3179  virtual ~SnapshotDiffSection_DiffEntry();
3180 
3182 
3183  inline SnapshotDiffSection_DiffEntry& operator=(const SnapshotDiffSection_DiffEntry& from) {
3184  CopyFrom(from);
3185  return *this;
3186  }
3187 
3188  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3189  return _internal_metadata_.unknown_fields();
3190  }
3191 
3192  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3193  return _internal_metadata_.mutable_unknown_fields();
3194  }
3195 
3196  static const ::google::protobuf::Descriptor* descriptor();
3197  static const SnapshotDiffSection_DiffEntry& default_instance();
3198 
3199  void Swap(SnapshotDiffSection_DiffEntry* other);
3200 
3201  // implements Message ----------------------------------------------
3202 
3203  inline SnapshotDiffSection_DiffEntry* New() const { return New(NULL); }
3204 
3205  SnapshotDiffSection_DiffEntry* New(::google::protobuf::Arena* arena) const;
3206  void CopyFrom(const ::google::protobuf::Message& from);
3207  void MergeFrom(const ::google::protobuf::Message& from);
3208  void CopyFrom(const SnapshotDiffSection_DiffEntry& from);
3209  void MergeFrom(const SnapshotDiffSection_DiffEntry& from);
3210  void Clear();
3211  bool IsInitialized() const;
3212 
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);
3222  }
3223  int GetCachedSize() const { return _cached_size_; }
3224  private:
3225  void SharedCtor();
3226  void SharedDtor();
3227  void SetCachedSize(int size) const;
3228  void InternalSwap(SnapshotDiffSection_DiffEntry* other);
3229  private:
3230  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3231  return _internal_metadata_.arena();
3232  }
3233  inline void* MaybeArenaPtr() const {
3234  return _internal_metadata_.raw_arena_ptr();
3235  }
3236  public:
3237 
3238  ::google::protobuf::Metadata GetMetadata() const;
3239 
3240  // nested types ----------------------------------------------------
3241 
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);
3249  }
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*
3257  Type_descriptor() {
3258  return SnapshotDiffSection_DiffEntry_Type_descriptor();
3259  }
3260  static inline const ::std::string& Type_Name(Type value) {
3261  return SnapshotDiffSection_DiffEntry_Type_Name(value);
3262  }
3263  static inline bool Type_Parse(const ::std::string& name,
3264  Type* value) {
3265  return SnapshotDiffSection_DiffEntry_Type_Parse(name, value);
3266  }
3267 
3268  // accessors -------------------------------------------------------
3269 
3270  // required .hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.Type type = 1;
3271  bool has_type() const;
3272  void clear_type();
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);
3276 
3277  // optional uint64 inodeId = 2;
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);
3283 
3284  // optional uint32 numOfDiff = 3;
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);
3290 
3291  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry)
3292  private:
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();
3299 
3300  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3301  ::google::protobuf::uint32 _has_bits_[1];
3302  mutable int _cached_size_;
3303  ::google::protobuf::uint64 inodeid_;
3304  int type_;
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();
3309 
3310  void InitAsDefaultInstance();
3311  static SnapshotDiffSection_DiffEntry* default_instance_;
3312 };
3313 // -------------------------------------------------------------------
3314 
3315 class SnapshotDiffSection : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.SnapshotDiffSection) */ {
3316  public:
3318  virtual ~SnapshotDiffSection();
3319 
3321 
3322  inline SnapshotDiffSection& operator=(const SnapshotDiffSection& from) {
3323  CopyFrom(from);
3324  return *this;
3325  }
3326 
3327  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3328  return _internal_metadata_.unknown_fields();
3329  }
3330 
3331  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3332  return _internal_metadata_.mutable_unknown_fields();
3333  }
3334 
3335  static const ::google::protobuf::Descriptor* descriptor();
3336  static const SnapshotDiffSection& default_instance();
3337 
3338  void Swap(SnapshotDiffSection* other);
3339 
3340  // implements Message ----------------------------------------------
3341 
3342  inline SnapshotDiffSection* New() const { return New(NULL); }
3343 
3344  SnapshotDiffSection* New(::google::protobuf::Arena* arena) const;
3345  void CopyFrom(const ::google::protobuf::Message& from);
3346  void MergeFrom(const ::google::protobuf::Message& from);
3347  void CopyFrom(const SnapshotDiffSection& from);
3348  void MergeFrom(const SnapshotDiffSection& from);
3349  void Clear();
3350  bool IsInitialized() const;
3351 
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);
3361  }
3362  int GetCachedSize() const { return _cached_size_; }
3363  private:
3364  void SharedCtor();
3365  void SharedDtor();
3366  void SetCachedSize(int size) const;
3367  void InternalSwap(SnapshotDiffSection* other);
3368  private:
3369  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3370  return _internal_metadata_.arena();
3371  }
3372  inline void* MaybeArenaPtr() const {
3373  return _internal_metadata_.raw_arena_ptr();
3374  }
3375  public:
3376 
3377  ::google::protobuf::Metadata GetMetadata() const;
3378 
3379  // nested types ----------------------------------------------------
3380 
3385 
3386  // accessors -------------------------------------------------------
3387 
3388  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.SnapshotDiffSection)
3389  private:
3390 
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();
3397 
3398  void InitAsDefaultInstance();
3399  static SnapshotDiffSection* default_instance_;
3400 };
3401 // -------------------------------------------------------------------
3402 
3403 class StringTableSection_Entry : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.StringTableSection.Entry) */ {
3404  public:
3406  virtual ~StringTableSection_Entry();
3407 
3409 
3410  inline StringTableSection_Entry& operator=(const StringTableSection_Entry& from) {
3411  CopyFrom(from);
3412  return *this;
3413  }
3414 
3415  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3416  return _internal_metadata_.unknown_fields();
3417  }
3418 
3419  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3420  return _internal_metadata_.mutable_unknown_fields();
3421  }
3422 
3423  static const ::google::protobuf::Descriptor* descriptor();
3424  static const StringTableSection_Entry& default_instance();
3425 
3426  void Swap(StringTableSection_Entry* other);
3427 
3428  // implements Message ----------------------------------------------
3429 
3430  inline StringTableSection_Entry* New() const { return New(NULL); }
3431 
3432  StringTableSection_Entry* New(::google::protobuf::Arena* arena) const;
3433  void CopyFrom(const ::google::protobuf::Message& from);
3434  void MergeFrom(const ::google::protobuf::Message& from);
3435  void CopyFrom(const StringTableSection_Entry& from);
3436  void MergeFrom(const StringTableSection_Entry& from);
3437  void Clear();
3438  bool IsInitialized() const;
3439 
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);
3449  }
3450  int GetCachedSize() const { return _cached_size_; }
3451  private:
3452  void SharedCtor();
3453  void SharedDtor();
3454  void SetCachedSize(int size) const;
3455  void InternalSwap(StringTableSection_Entry* other);
3456  private:
3457  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3458  return _internal_metadata_.arena();
3459  }
3460  inline void* MaybeArenaPtr() const {
3461  return _internal_metadata_.raw_arena_ptr();
3462  }
3463  public:
3464 
3465  ::google::protobuf::Metadata GetMetadata() const;
3466 
3467  // nested types ----------------------------------------------------
3468 
3469  // accessors -------------------------------------------------------
3470 
3471  // optional uint32 id = 1;
3472  bool has_id() const;
3473  void clear_id();
3474  static const int kIdFieldNumber = 1;
3475  ::google::protobuf::uint32 id() const;
3476  void set_id(::google::protobuf::uint32 value);
3477 
3478  // optional string str = 2;
3479  bool has_str() const;
3480  void clear_str();
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);
3489 
3490  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.StringTableSection.Entry)
3491  private:
3492  inline void set_has_id();
3493  inline void clear_has_id();
3494  inline void set_has_str();
3495  inline void clear_has_str();
3496 
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();
3505 
3506  void InitAsDefaultInstance();
3507  static StringTableSection_Entry* default_instance_;
3508 };
3509 // -------------------------------------------------------------------
3510 
3511 class StringTableSection : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.StringTableSection) */ {
3512  public:
3514  virtual ~StringTableSection();
3515 
3517 
3518  inline StringTableSection& operator=(const StringTableSection& from) {
3519  CopyFrom(from);
3520  return *this;
3521  }
3522 
3523  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3524  return _internal_metadata_.unknown_fields();
3525  }
3526 
3527  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3528  return _internal_metadata_.mutable_unknown_fields();
3529  }
3530 
3531  static const ::google::protobuf::Descriptor* descriptor();
3532  static const StringTableSection& default_instance();
3533 
3534  void Swap(StringTableSection* other);
3535 
3536  // implements Message ----------------------------------------------
3537 
3538  inline StringTableSection* New() const { return New(NULL); }
3539 
3540  StringTableSection* New(::google::protobuf::Arena* arena) const;
3541  void CopyFrom(const ::google::protobuf::Message& from);
3542  void MergeFrom(const ::google::protobuf::Message& from);
3543  void CopyFrom(const StringTableSection& from);
3544  void MergeFrom(const StringTableSection& from);
3545  void Clear();
3546  bool IsInitialized() const;
3547 
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);
3557  }
3558  int GetCachedSize() const { return _cached_size_; }
3559  private:
3560  void SharedCtor();
3561  void SharedDtor();
3562  void SetCachedSize(int size) const;
3563  void InternalSwap(StringTableSection* other);
3564  private:
3565  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3566  return _internal_metadata_.arena();
3567  }
3568  inline void* MaybeArenaPtr() const {
3569  return _internal_metadata_.raw_arena_ptr();
3570  }
3571  public:
3572 
3573  ::google::protobuf::Metadata GetMetadata() const;
3574 
3575  // nested types ----------------------------------------------------
3576 
3578 
3579  // accessors -------------------------------------------------------
3580 
3581  // optional uint32 numEntry = 1;
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);
3587 
3588  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.StringTableSection)
3589  private:
3590  inline void set_has_numentry();
3591  inline void clear_has_numentry();
3592 
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();
3600 
3601  void InitAsDefaultInstance();
3602  static StringTableSection* default_instance_;
3603 };
3604 // -------------------------------------------------------------------
3605 
3606 class SecretManagerSection_DelegationKey : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.SecretManagerSection.DelegationKey) */ {
3607  public:
3610 
3612 
3614  CopyFrom(from);
3615  return *this;
3616  }
3617 
3618  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3619  return _internal_metadata_.unknown_fields();
3620  }
3621 
3622  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3623  return _internal_metadata_.mutable_unknown_fields();
3624  }
3625 
3626  static const ::google::protobuf::Descriptor* descriptor();
3627  static const SecretManagerSection_DelegationKey& default_instance();
3628 
3629  void Swap(SecretManagerSection_DelegationKey* other);
3630 
3631  // implements Message ----------------------------------------------
3632 
3633  inline SecretManagerSection_DelegationKey* New() const { return New(NULL); }
3634 
3635  SecretManagerSection_DelegationKey* New(::google::protobuf::Arena* arena) const;
3636  void CopyFrom(const ::google::protobuf::Message& from);
3637  void MergeFrom(const ::google::protobuf::Message& from);
3638  void CopyFrom(const SecretManagerSection_DelegationKey& from);
3639  void MergeFrom(const SecretManagerSection_DelegationKey& from);
3640  void Clear();
3641  bool IsInitialized() const;
3642 
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);
3652  }
3653  int GetCachedSize() const { return _cached_size_; }
3654  private:
3655  void SharedCtor();
3656  void SharedDtor();
3657  void SetCachedSize(int size) const;
3658  void InternalSwap(SecretManagerSection_DelegationKey* other);
3659  private:
3660  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3661  return _internal_metadata_.arena();
3662  }
3663  inline void* MaybeArenaPtr() const {
3664  return _internal_metadata_.raw_arena_ptr();
3665  }
3666  public:
3667 
3668  ::google::protobuf::Metadata GetMetadata() const;
3669 
3670  // nested types ----------------------------------------------------
3671 
3672  // accessors -------------------------------------------------------
3673 
3674  // optional uint32 id = 1;
3675  bool has_id() const;
3676  void clear_id();
3677  static const int kIdFieldNumber = 1;
3678  ::google::protobuf::uint32 id() const;
3679  void set_id(::google::protobuf::uint32 value);
3680 
3681  // optional uint64 expiryDate = 2;
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);
3687 
3688  // optional bytes key = 3;
3689  bool has_key() const;
3690  void clear_key();
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);
3699 
3700  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.SecretManagerSection.DelegationKey)
3701  private:
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();
3708 
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();
3718 
3719  void InitAsDefaultInstance();
3720  static SecretManagerSection_DelegationKey* default_instance_;
3721 };
3722 // -------------------------------------------------------------------
3723 
3724 class SecretManagerSection_PersistToken : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken) */ {
3725  public:
3728 
3730 
3732  CopyFrom(from);
3733  return *this;
3734  }
3735 
3736  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3737  return _internal_metadata_.unknown_fields();
3738  }
3739 
3740  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3741  return _internal_metadata_.mutable_unknown_fields();
3742  }
3743 
3744  static const ::google::protobuf::Descriptor* descriptor();
3745  static const SecretManagerSection_PersistToken& default_instance();
3746 
3747  void Swap(SecretManagerSection_PersistToken* other);
3748 
3749  // implements Message ----------------------------------------------
3750 
3751  inline SecretManagerSection_PersistToken* New() const { return New(NULL); }
3752 
3753  SecretManagerSection_PersistToken* New(::google::protobuf::Arena* arena) const;
3754  void CopyFrom(const ::google::protobuf::Message& from);
3755  void MergeFrom(const ::google::protobuf::Message& from);
3756  void CopyFrom(const SecretManagerSection_PersistToken& from);
3757  void MergeFrom(const SecretManagerSection_PersistToken& from);
3758  void Clear();
3759  bool IsInitialized() const;
3760 
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);
3770  }
3771  int GetCachedSize() const { return _cached_size_; }
3772  private:
3773  void SharedCtor();
3774  void SharedDtor();
3775  void SetCachedSize(int size) const;
3776  void InternalSwap(SecretManagerSection_PersistToken* other);
3777  private:
3778  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3779  return _internal_metadata_.arena();
3780  }
3781  inline void* MaybeArenaPtr() const {
3782  return _internal_metadata_.raw_arena_ptr();
3783  }
3784  public:
3785 
3786  ::google::protobuf::Metadata GetMetadata() const;
3787 
3788  // nested types ----------------------------------------------------
3789 
3790  // accessors -------------------------------------------------------
3791 
3792  // optional uint32 version = 1;
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);
3798 
3799  // optional string owner = 2;
3800  bool has_owner() const;
3801  void clear_owner();
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);
3810 
3811  // optional string renewer = 3;
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);
3822 
3823  // optional string realUser = 4;
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);
3834 
3835  // optional uint64 issueDate = 5;
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);
3841 
3842  // optional uint64 maxDate = 6;
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);
3848 
3849  // optional uint32 sequenceNumber = 7;
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);
3855 
3856  // optional uint32 masterKeyId = 8;
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);
3862 
3863  // optional uint64 expiryDate = 9;
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);
3869 
3870  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken)
3871  private:
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();
3890 
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();
3906 
3907  void InitAsDefaultInstance();
3908  static SecretManagerSection_PersistToken* default_instance_;
3909 };
3910 // -------------------------------------------------------------------
3911 
3912 class SecretManagerSection : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.SecretManagerSection) */ {
3913  public:
3915  virtual ~SecretManagerSection();
3916 
3918 
3919  inline SecretManagerSection& operator=(const SecretManagerSection& from) {
3920  CopyFrom(from);
3921  return *this;
3922  }
3923 
3924  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3925  return _internal_metadata_.unknown_fields();
3926  }
3927 
3928  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3929  return _internal_metadata_.mutable_unknown_fields();
3930  }
3931 
3932  static const ::google::protobuf::Descriptor* descriptor();
3933  static const SecretManagerSection& default_instance();
3934 
3935  void Swap(SecretManagerSection* other);
3936 
3937  // implements Message ----------------------------------------------
3938 
3939  inline SecretManagerSection* New() const { return New(NULL); }
3940 
3941  SecretManagerSection* New(::google::protobuf::Arena* arena) const;
3942  void CopyFrom(const ::google::protobuf::Message& from);
3943  void MergeFrom(const ::google::protobuf::Message& from);
3944  void CopyFrom(const SecretManagerSection& from);
3945  void MergeFrom(const SecretManagerSection& from);
3946  void Clear();
3947  bool IsInitialized() const;
3948 
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);
3958  }
3959  int GetCachedSize() const { return _cached_size_; }
3960  private:
3961  void SharedCtor();
3962  void SharedDtor();
3963  void SetCachedSize(int size) const;
3964  void InternalSwap(SecretManagerSection* other);
3965  private:
3966  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3967  return _internal_metadata_.arena();
3968  }
3969  inline void* MaybeArenaPtr() const {
3970  return _internal_metadata_.raw_arena_ptr();
3971  }
3972  public:
3973 
3974  ::google::protobuf::Metadata GetMetadata() const;
3975 
3976  // nested types ----------------------------------------------------
3977 
3980 
3981  // accessors -------------------------------------------------------
3982 
3983  // optional uint32 currentId = 1;
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);
3989 
3990  // optional uint32 tokenSequenceNumber = 2;
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);
3996 
3997  // optional uint32 numKeys = 3;
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);
4003 
4004  // optional uint32 numTokens = 4;
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);
4010 
4011  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.SecretManagerSection)
4012  private:
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();
4021 
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();
4032 
4033  void InitAsDefaultInstance();
4034  static SecretManagerSection* default_instance_;
4035 };
4036 // -------------------------------------------------------------------
4037 
4038 class CacheManagerSection : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.fsimage.CacheManagerSection) */ {
4039  public:
4041  virtual ~CacheManagerSection();
4042 
4044 
4045  inline CacheManagerSection& operator=(const CacheManagerSection& from) {
4046  CopyFrom(from);
4047  return *this;
4048  }
4049 
4050  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4051  return _internal_metadata_.unknown_fields();
4052  }
4053 
4054  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4055  return _internal_metadata_.mutable_unknown_fields();
4056  }
4057 
4058  static const ::google::protobuf::Descriptor* descriptor();
4059  static const CacheManagerSection& default_instance();
4060 
4061  void Swap(CacheManagerSection* other);
4062 
4063  // implements Message ----------------------------------------------
4064 
4065  inline CacheManagerSection* New() const { return New(NULL); }
4066 
4067  CacheManagerSection* New(::google::protobuf::Arena* arena) const;
4068  void CopyFrom(const ::google::protobuf::Message& from);
4069  void MergeFrom(const ::google::protobuf::Message& from);
4070  void CopyFrom(const CacheManagerSection& from);
4071  void MergeFrom(const CacheManagerSection& from);
4072  void Clear();
4073  bool IsInitialized() const;
4074 
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);
4084  }
4085  int GetCachedSize() const { return _cached_size_; }
4086  private:
4087  void SharedCtor();
4088  void SharedDtor();
4089  void SetCachedSize(int size) const;
4090  void InternalSwap(CacheManagerSection* other);
4091  private:
4092  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4093  return _internal_metadata_.arena();
4094  }
4095  inline void* MaybeArenaPtr() const {
4096  return _internal_metadata_.raw_arena_ptr();
4097  }
4098  public:
4099 
4100  ::google::protobuf::Metadata GetMetadata() const;
4101 
4102  // nested types ----------------------------------------------------
4103 
4104  // accessors -------------------------------------------------------
4105 
4106  // required uint64 nextDirectiveId = 1;
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);
4112 
4113  // required uint32 numPools = 2;
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);
4119 
4120  // required uint32 numDirectives = 3;
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);
4126 
4127  // @@protoc_insertion_point(class_scope:hadoop.hdfs.fsimage.CacheManagerSection)
4128  private:
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();
4135 
4136  // helper for ByteSize()
4137  int RequiredFieldsByteSizeFallback() const;
4138 
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();
4148 
4149  void InitAsDefaultInstance();
4150  static CacheManagerSection* default_instance_;
4151 };
4152 // ===================================================================
4153 
4154 
4155 // ===================================================================
4156 
4157 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
4158 // FileSummary_Section
4159 
4160 // optional string name = 1;
4161 inline bool FileSummary_Section::has_name() const {
4162  return (_has_bits_[0] & 0x00000001u) != 0;
4163 }
4164 inline void FileSummary_Section::set_has_name() {
4165  _has_bits_[0] |= 0x00000001u;
4166 }
4167 inline void FileSummary_Section::clear_has_name() {
4168  _has_bits_[0] &= ~0x00000001u;
4169 }
4170 inline void FileSummary_Section::clear_name() {
4171  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4172  clear_has_name();
4173 }
4174 inline const ::std::string& FileSummary_Section::name() const {
4175  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.FileSummary.Section.name)
4176  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4177 }
4178 inline void FileSummary_Section::set_name(const ::std::string& value) {
4179  set_has_name();
4180  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4181  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.FileSummary.Section.name)
4182 }
4183 inline void FileSummary_Section::set_name(const char* value) {
4184  set_has_name();
4185  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4186  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.fsimage.FileSummary.Section.name)
4187 }
4188 inline void FileSummary_Section::set_name(const char* value, size_t size) {
4189  set_has_name();
4190  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4191  ::std::string(reinterpret_cast<const char*>(value), size));
4192  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.fsimage.FileSummary.Section.name)
4193 }
4194 inline ::std::string* FileSummary_Section::mutable_name() {
4195  set_has_name();
4196  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.FileSummary.Section.name)
4197  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4198 }
4199 inline ::std::string* FileSummary_Section::release_name() {
4200  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.FileSummary.Section.name)
4201  clear_has_name();
4202  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4203 }
4204 inline void FileSummary_Section::set_allocated_name(::std::string* name) {
4205  if (name != NULL) {
4206  set_has_name();
4207  } else {
4208  clear_has_name();
4209  }
4210  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
4211  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.FileSummary.Section.name)
4212 }
4213 
4214 // optional uint64 length = 2;
4215 inline bool FileSummary_Section::has_length() const {
4216  return (_has_bits_[0] & 0x00000002u) != 0;
4217 }
4218 inline void FileSummary_Section::set_has_length() {
4219  _has_bits_[0] |= 0x00000002u;
4220 }
4221 inline void FileSummary_Section::clear_has_length() {
4222  _has_bits_[0] &= ~0x00000002u;
4223 }
4224 inline void FileSummary_Section::clear_length() {
4225  length_ = GOOGLE_ULONGLONG(0);
4226  clear_has_length();
4227 }
4228 inline ::google::protobuf::uint64 FileSummary_Section::length() const {
4229  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.FileSummary.Section.length)
4230  return length_;
4231 }
4232 inline void FileSummary_Section::set_length(::google::protobuf::uint64 value) {
4233  set_has_length();
4234  length_ = value;
4235  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.FileSummary.Section.length)
4236 }
4237 
4238 // optional uint64 offset = 3;
4239 inline bool FileSummary_Section::has_offset() const {
4240  return (_has_bits_[0] & 0x00000004u) != 0;
4241 }
4242 inline void FileSummary_Section::set_has_offset() {
4243  _has_bits_[0] |= 0x00000004u;
4244 }
4245 inline void FileSummary_Section::clear_has_offset() {
4246  _has_bits_[0] &= ~0x00000004u;
4247 }
4248 inline void FileSummary_Section::clear_offset() {
4249  offset_ = GOOGLE_ULONGLONG(0);
4250  clear_has_offset();
4251 }
4252 inline ::google::protobuf::uint64 FileSummary_Section::offset() const {
4253  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.FileSummary.Section.offset)
4254  return offset_;
4255 }
4256 inline void FileSummary_Section::set_offset(::google::protobuf::uint64 value) {
4257  set_has_offset();
4258  offset_ = value;
4259  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.FileSummary.Section.offset)
4260 }
4261 
4262 // -------------------------------------------------------------------
4263 
4264 // FileSummary
4265 
4266 // required uint32 ondiskVersion = 1;
4267 inline bool FileSummary::has_ondiskversion() const {
4268  return (_has_bits_[0] & 0x00000001u) != 0;
4269 }
4270 inline void FileSummary::set_has_ondiskversion() {
4271  _has_bits_[0] |= 0x00000001u;
4272 }
4273 inline void FileSummary::clear_has_ondiskversion() {
4274  _has_bits_[0] &= ~0x00000001u;
4275 }
4276 inline void FileSummary::clear_ondiskversion() {
4277  ondiskversion_ = 0u;
4278  clear_has_ondiskversion();
4279 }
4280 inline ::google::protobuf::uint32 FileSummary::ondiskversion() const {
4281  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.FileSummary.ondiskVersion)
4282  return ondiskversion_;
4283 }
4284 inline void FileSummary::set_ondiskversion(::google::protobuf::uint32 value) {
4285  set_has_ondiskversion();
4286  ondiskversion_ = value;
4287  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.FileSummary.ondiskVersion)
4288 }
4289 
4290 // required uint32 layoutVersion = 2;
4291 inline bool FileSummary::has_layoutversion() const {
4292  return (_has_bits_[0] & 0x00000002u) != 0;
4293 }
4294 inline void FileSummary::set_has_layoutversion() {
4295  _has_bits_[0] |= 0x00000002u;
4296 }
4297 inline void FileSummary::clear_has_layoutversion() {
4298  _has_bits_[0] &= ~0x00000002u;
4299 }
4300 inline void FileSummary::clear_layoutversion() {
4301  layoutversion_ = 0u;
4302  clear_has_layoutversion();
4303 }
4304 inline ::google::protobuf::uint32 FileSummary::layoutversion() const {
4305  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.FileSummary.layoutVersion)
4306  return layoutversion_;
4307 }
4308 inline void FileSummary::set_layoutversion(::google::protobuf::uint32 value) {
4309  set_has_layoutversion();
4310  layoutversion_ = value;
4311  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.FileSummary.layoutVersion)
4312 }
4313 
4314 // optional string codec = 3;
4315 inline bool FileSummary::has_codec() const {
4316  return (_has_bits_[0] & 0x00000004u) != 0;
4317 }
4318 inline void FileSummary::set_has_codec() {
4319  _has_bits_[0] |= 0x00000004u;
4320 }
4321 inline void FileSummary::clear_has_codec() {
4322  _has_bits_[0] &= ~0x00000004u;
4323 }
4324 inline void FileSummary::clear_codec() {
4325  codec_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4326  clear_has_codec();
4327 }
4328 inline const ::std::string& FileSummary::codec() const {
4329  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.FileSummary.codec)
4330  return codec_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4331 }
4332 inline void FileSummary::set_codec(const ::std::string& value) {
4333  set_has_codec();
4334  codec_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4335  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.FileSummary.codec)
4336 }
4337 inline void FileSummary::set_codec(const char* value) {
4338  set_has_codec();
4339  codec_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4340  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.fsimage.FileSummary.codec)
4341 }
4342 inline void FileSummary::set_codec(const char* value, size_t size) {
4343  set_has_codec();
4344  codec_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4345  ::std::string(reinterpret_cast<const char*>(value), size));
4346  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.fsimage.FileSummary.codec)
4347 }
4348 inline ::std::string* FileSummary::mutable_codec() {
4349  set_has_codec();
4350  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.FileSummary.codec)
4351  return codec_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4352 }
4353 inline ::std::string* FileSummary::release_codec() {
4354  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.FileSummary.codec)
4355  clear_has_codec();
4356  return codec_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4357 }
4358 inline void FileSummary::set_allocated_codec(::std::string* codec) {
4359  if (codec != NULL) {
4360  set_has_codec();
4361  } else {
4362  clear_has_codec();
4363  }
4364  codec_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), codec);
4365  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.FileSummary.codec)
4366 }
4367 
4368 // repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
4369 inline int FileSummary::sections_size() const {
4370  return sections_.size();
4371 }
4372 inline void FileSummary::clear_sections() {
4373  sections_.Clear();
4374 }
4375 inline const ::hadoop::hdfs::fsimage::FileSummary_Section& FileSummary::sections(int index) const {
4376  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.FileSummary.sections)
4377  return sections_.Get(index);
4378 }
4379 inline ::hadoop::hdfs::fsimage::FileSummary_Section* FileSummary::mutable_sections(int index) {
4380  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.FileSummary.sections)
4381  return sections_.Mutable(index);
4382 }
4383 inline ::hadoop::hdfs::fsimage::FileSummary_Section* FileSummary::add_sections() {
4384  // @@protoc_insertion_point(field_add:hadoop.hdfs.fsimage.FileSummary.sections)
4385  return sections_.Add();
4386 }
4387 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::FileSummary_Section >*
4388 FileSummary::mutable_sections() {
4389  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.fsimage.FileSummary.sections)
4390  return &sections_;
4391 }
4392 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::FileSummary_Section >&
4393 FileSummary::sections() const {
4394  // @@protoc_insertion_point(field_list:hadoop.hdfs.fsimage.FileSummary.sections)
4395  return sections_;
4396 }
4397 
4398 // -------------------------------------------------------------------
4399 
4400 // NameSystemSection
4401 
4402 // optional uint32 namespaceId = 1;
4403 inline bool NameSystemSection::has_namespaceid() const {
4404  return (_has_bits_[0] & 0x00000001u) != 0;
4405 }
4406 inline void NameSystemSection::set_has_namespaceid() {
4407  _has_bits_[0] |= 0x00000001u;
4408 }
4409 inline void NameSystemSection::clear_has_namespaceid() {
4410  _has_bits_[0] &= ~0x00000001u;
4411 }
4412 inline void NameSystemSection::clear_namespaceid() {
4413  namespaceid_ = 0u;
4414  clear_has_namespaceid();
4415 }
4416 inline ::google::protobuf::uint32 NameSystemSection::namespaceid() const {
4417  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.NameSystemSection.namespaceId)
4418  return namespaceid_;
4419 }
4420 inline void NameSystemSection::set_namespaceid(::google::protobuf::uint32 value) {
4421  set_has_namespaceid();
4422  namespaceid_ = value;
4423  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.NameSystemSection.namespaceId)
4424 }
4425 
4426 // optional uint64 genstampV1 = 2;
4427 inline bool NameSystemSection::has_genstampv1() const {
4428  return (_has_bits_[0] & 0x00000002u) != 0;
4429 }
4430 inline void NameSystemSection::set_has_genstampv1() {
4431  _has_bits_[0] |= 0x00000002u;
4432 }
4433 inline void NameSystemSection::clear_has_genstampv1() {
4434  _has_bits_[0] &= ~0x00000002u;
4435 }
4436 inline void NameSystemSection::clear_genstampv1() {
4437  genstampv1_ = GOOGLE_ULONGLONG(0);
4438  clear_has_genstampv1();
4439 }
4440 inline ::google::protobuf::uint64 NameSystemSection::genstampv1() const {
4441  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.NameSystemSection.genstampV1)
4442  return genstampv1_;
4443 }
4444 inline void NameSystemSection::set_genstampv1(::google::protobuf::uint64 value) {
4445  set_has_genstampv1();
4446  genstampv1_ = value;
4447  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.NameSystemSection.genstampV1)
4448 }
4449 
4450 // optional uint64 genstampV2 = 3;
4451 inline bool NameSystemSection::has_genstampv2() const {
4452  return (_has_bits_[0] & 0x00000004u) != 0;
4453 }
4454 inline void NameSystemSection::set_has_genstampv2() {
4455  _has_bits_[0] |= 0x00000004u;
4456 }
4457 inline void NameSystemSection::clear_has_genstampv2() {
4458  _has_bits_[0] &= ~0x00000004u;
4459 }
4460 inline void NameSystemSection::clear_genstampv2() {
4461  genstampv2_ = GOOGLE_ULONGLONG(0);
4462  clear_has_genstampv2();
4463 }
4464 inline ::google::protobuf::uint64 NameSystemSection::genstampv2() const {
4465  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.NameSystemSection.genstampV2)
4466  return genstampv2_;
4467 }
4468 inline void NameSystemSection::set_genstampv2(::google::protobuf::uint64 value) {
4469  set_has_genstampv2();
4470  genstampv2_ = value;
4471  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.NameSystemSection.genstampV2)
4472 }
4473 
4474 // optional uint64 genstampV1Limit = 4;
4475 inline bool NameSystemSection::has_genstampv1limit() const {
4476  return (_has_bits_[0] & 0x00000008u) != 0;
4477 }
4478 inline void NameSystemSection::set_has_genstampv1limit() {
4479  _has_bits_[0] |= 0x00000008u;
4480 }
4481 inline void NameSystemSection::clear_has_genstampv1limit() {
4482  _has_bits_[0] &= ~0x00000008u;
4483 }
4484 inline void NameSystemSection::clear_genstampv1limit() {
4485  genstampv1limit_ = GOOGLE_ULONGLONG(0);
4486  clear_has_genstampv1limit();
4487 }
4488 inline ::google::protobuf::uint64 NameSystemSection::genstampv1limit() const {
4489  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.NameSystemSection.genstampV1Limit)
4490  return genstampv1limit_;
4491 }
4492 inline void NameSystemSection::set_genstampv1limit(::google::protobuf::uint64 value) {
4493  set_has_genstampv1limit();
4494  genstampv1limit_ = value;
4495  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.NameSystemSection.genstampV1Limit)
4496 }
4497 
4498 // optional uint64 lastAllocatedBlockId = 5;
4499 inline bool NameSystemSection::has_lastallocatedblockid() const {
4500  return (_has_bits_[0] & 0x00000010u) != 0;
4501 }
4502 inline void NameSystemSection::set_has_lastallocatedblockid() {
4503  _has_bits_[0] |= 0x00000010u;
4504 }
4505 inline void NameSystemSection::clear_has_lastallocatedblockid() {
4506  _has_bits_[0] &= ~0x00000010u;
4507 }
4508 inline void NameSystemSection::clear_lastallocatedblockid() {
4509  lastallocatedblockid_ = GOOGLE_ULONGLONG(0);
4510  clear_has_lastallocatedblockid();
4511 }
4512 inline ::google::protobuf::uint64 NameSystemSection::lastallocatedblockid() const {
4513  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.NameSystemSection.lastAllocatedBlockId)
4514  return lastallocatedblockid_;
4515 }
4516 inline void NameSystemSection::set_lastallocatedblockid(::google::protobuf::uint64 value) {
4517  set_has_lastallocatedblockid();
4518  lastallocatedblockid_ = value;
4519  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.NameSystemSection.lastAllocatedBlockId)
4520 }
4521 
4522 // optional uint64 transactionId = 6;
4523 inline bool NameSystemSection::has_transactionid() const {
4524  return (_has_bits_[0] & 0x00000020u) != 0;
4525 }
4526 inline void NameSystemSection::set_has_transactionid() {
4527  _has_bits_[0] |= 0x00000020u;
4528 }
4529 inline void NameSystemSection::clear_has_transactionid() {
4530  _has_bits_[0] &= ~0x00000020u;
4531 }
4532 inline void NameSystemSection::clear_transactionid() {
4533  transactionid_ = GOOGLE_ULONGLONG(0);
4534  clear_has_transactionid();
4535 }
4536 inline ::google::protobuf::uint64 NameSystemSection::transactionid() const {
4537  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.NameSystemSection.transactionId)
4538  return transactionid_;
4539 }
4540 inline void NameSystemSection::set_transactionid(::google::protobuf::uint64 value) {
4541  set_has_transactionid();
4542  transactionid_ = value;
4543  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.NameSystemSection.transactionId)
4544 }
4545 
4546 // optional uint64 rollingUpgradeStartTime = 7;
4547 inline bool NameSystemSection::has_rollingupgradestarttime() const {
4548  return (_has_bits_[0] & 0x00000040u) != 0;
4549 }
4550 inline void NameSystemSection::set_has_rollingupgradestarttime() {
4551  _has_bits_[0] |= 0x00000040u;
4552 }
4553 inline void NameSystemSection::clear_has_rollingupgradestarttime() {
4554  _has_bits_[0] &= ~0x00000040u;
4555 }
4556 inline void NameSystemSection::clear_rollingupgradestarttime() {
4557  rollingupgradestarttime_ = GOOGLE_ULONGLONG(0);
4558  clear_has_rollingupgradestarttime();
4559 }
4560 inline ::google::protobuf::uint64 NameSystemSection::rollingupgradestarttime() const {
4561  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.NameSystemSection.rollingUpgradeStartTime)
4562  return rollingupgradestarttime_;
4563 }
4564 inline void NameSystemSection::set_rollingupgradestarttime(::google::protobuf::uint64 value) {
4565  set_has_rollingupgradestarttime();
4566  rollingupgradestarttime_ = value;
4567  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.NameSystemSection.rollingUpgradeStartTime)
4568 }
4569 
4570 // -------------------------------------------------------------------
4571 
4572 // INodeSection_FileUnderConstructionFeature
4573 
4574 // optional string clientName = 1;
4575 inline bool INodeSection_FileUnderConstructionFeature::has_clientname() const {
4576  return (_has_bits_[0] & 0x00000001u) != 0;
4577 }
4578 inline void INodeSection_FileUnderConstructionFeature::set_has_clientname() {
4579  _has_bits_[0] |= 0x00000001u;
4580 }
4581 inline void INodeSection_FileUnderConstructionFeature::clear_has_clientname() {
4582  _has_bits_[0] &= ~0x00000001u;
4583 }
4584 inline void INodeSection_FileUnderConstructionFeature::clear_clientname() {
4585  clientname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4586  clear_has_clientname();
4587 }
4588 inline const ::std::string& INodeSection_FileUnderConstructionFeature::clientname() const {
4589  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature.clientName)
4590  return clientname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4591 }
4592 inline void INodeSection_FileUnderConstructionFeature::set_clientname(const ::std::string& value) {
4593  set_has_clientname();
4594  clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4595  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature.clientName)
4596 }
4597 inline void INodeSection_FileUnderConstructionFeature::set_clientname(const char* value) {
4598  set_has_clientname();
4599  clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4600  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature.clientName)
4601 }
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));
4606  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature.clientName)
4607 }
4608 inline ::std::string* INodeSection_FileUnderConstructionFeature::mutable_clientname() {
4609  set_has_clientname();
4610  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature.clientName)
4611  return clientname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4612 }
4613 inline ::std::string* INodeSection_FileUnderConstructionFeature::release_clientname() {
4614  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature.clientName)
4615  clear_has_clientname();
4616  return clientname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4617 }
4618 inline void INodeSection_FileUnderConstructionFeature::set_allocated_clientname(::std::string* clientname) {
4619  if (clientname != NULL) {
4620  set_has_clientname();
4621  } else {
4622  clear_has_clientname();
4623  }
4624  clientname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), clientname);
4625  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature.clientName)
4626 }
4627 
4628 // optional string clientMachine = 2;
4629 inline bool INodeSection_FileUnderConstructionFeature::has_clientmachine() const {
4630  return (_has_bits_[0] & 0x00000002u) != 0;
4631 }
4632 inline void INodeSection_FileUnderConstructionFeature::set_has_clientmachine() {
4633  _has_bits_[0] |= 0x00000002u;
4634 }
4635 inline void INodeSection_FileUnderConstructionFeature::clear_has_clientmachine() {
4636  _has_bits_[0] &= ~0x00000002u;
4637 }
4638 inline void INodeSection_FileUnderConstructionFeature::clear_clientmachine() {
4639  clientmachine_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4640  clear_has_clientmachine();
4641 }
4642 inline const ::std::string& INodeSection_FileUnderConstructionFeature::clientmachine() const {
4643  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature.clientMachine)
4644  return clientmachine_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4645 }
4646 inline void INodeSection_FileUnderConstructionFeature::set_clientmachine(const ::std::string& value) {
4647  set_has_clientmachine();
4648  clientmachine_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4649  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature.clientMachine)
4650 }
4651 inline void INodeSection_FileUnderConstructionFeature::set_clientmachine(const char* value) {
4652  set_has_clientmachine();
4653  clientmachine_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4654  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature.clientMachine)
4655 }
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));
4660  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature.clientMachine)
4661 }
4662 inline ::std::string* INodeSection_FileUnderConstructionFeature::mutable_clientmachine() {
4663  set_has_clientmachine();
4664  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature.clientMachine)
4665  return clientmachine_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4666 }
4667 inline ::std::string* INodeSection_FileUnderConstructionFeature::release_clientmachine() {
4668  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature.clientMachine)
4669  clear_has_clientmachine();
4670  return clientmachine_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4671 }
4672 inline void INodeSection_FileUnderConstructionFeature::set_allocated_clientmachine(::std::string* clientmachine) {
4673  if (clientmachine != NULL) {
4674  set_has_clientmachine();
4675  } else {
4676  clear_has_clientmachine();
4677  }
4678  clientmachine_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), clientmachine);
4679  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature.clientMachine)
4680 }
4681 
4682 // -------------------------------------------------------------------
4683 
4684 // INodeSection_AclFeatureProto
4685 
4686 // repeated fixed32 entries = 2 [packed = true];
4687 inline int INodeSection_AclFeatureProto::entries_size() const {
4688  return entries_.size();
4689 }
4690 inline void INodeSection_AclFeatureProto::clear_entries() {
4691  entries_.Clear();
4692 }
4693 inline ::google::protobuf::uint32 INodeSection_AclFeatureProto::entries(int index) const {
4694  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.AclFeatureProto.entries)
4695  return entries_.Get(index);
4696 }
4697 inline void INodeSection_AclFeatureProto::set_entries(int index, ::google::protobuf::uint32 value) {
4698  entries_.Set(index, value);
4699  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.AclFeatureProto.entries)
4700 }
4701 inline void INodeSection_AclFeatureProto::add_entries(::google::protobuf::uint32 value) {
4702  entries_.Add(value);
4703  // @@protoc_insertion_point(field_add:hadoop.hdfs.fsimage.INodeSection.AclFeatureProto.entries)
4704 }
4705 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
4706 INodeSection_AclFeatureProto::entries() const {
4707  // @@protoc_insertion_point(field_list:hadoop.hdfs.fsimage.INodeSection.AclFeatureProto.entries)
4708  return entries_;
4709 }
4710 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
4711 INodeSection_AclFeatureProto::mutable_entries() {
4712  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.fsimage.INodeSection.AclFeatureProto.entries)
4713  return &entries_;
4714 }
4715 
4716 // -------------------------------------------------------------------
4717 
4718 // INodeSection_XAttrCompactProto
4719 
4720 // required fixed32 name = 1;
4721 inline bool INodeSection_XAttrCompactProto::has_name() const {
4722  return (_has_bits_[0] & 0x00000001u) != 0;
4723 }
4724 inline void INodeSection_XAttrCompactProto::set_has_name() {
4725  _has_bits_[0] |= 0x00000001u;
4726 }
4727 inline void INodeSection_XAttrCompactProto::clear_has_name() {
4728  _has_bits_[0] &= ~0x00000001u;
4729 }
4730 inline void INodeSection_XAttrCompactProto::clear_name() {
4731  name_ = 0u;
4732  clear_has_name();
4733 }
4734 inline ::google::protobuf::uint32 INodeSection_XAttrCompactProto::name() const {
4735  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.XAttrCompactProto.name)
4736  return name_;
4737 }
4738 inline void INodeSection_XAttrCompactProto::set_name(::google::protobuf::uint32 value) {
4739  set_has_name();
4740  name_ = value;
4741  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.XAttrCompactProto.name)
4742 }
4743 
4744 // optional bytes value = 2;
4745 inline bool INodeSection_XAttrCompactProto::has_value() const {
4746  return (_has_bits_[0] & 0x00000002u) != 0;
4747 }
4748 inline void INodeSection_XAttrCompactProto::set_has_value() {
4749  _has_bits_[0] |= 0x00000002u;
4750 }
4751 inline void INodeSection_XAttrCompactProto::clear_has_value() {
4752  _has_bits_[0] &= ~0x00000002u;
4753 }
4754 inline void INodeSection_XAttrCompactProto::clear_value() {
4755  value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4756  clear_has_value();
4757 }
4758 inline const ::std::string& INodeSection_XAttrCompactProto::value() const {
4759  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.XAttrCompactProto.value)
4760  return value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4761 }
4762 inline void INodeSection_XAttrCompactProto::set_value(const ::std::string& value) {
4763  set_has_value();
4764  value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4765  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.XAttrCompactProto.value)
4766 }
4767 inline void INodeSection_XAttrCompactProto::set_value(const char* value) {
4768  set_has_value();
4769  value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4770  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.fsimage.INodeSection.XAttrCompactProto.value)
4771 }
4772 inline void INodeSection_XAttrCompactProto::set_value(const void* value, size_t size) {
4773  set_has_value();
4774  value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4775  ::std::string(reinterpret_cast<const char*>(value), size));
4776  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.fsimage.INodeSection.XAttrCompactProto.value)
4777 }
4778 inline ::std::string* INodeSection_XAttrCompactProto::mutable_value() {
4779  set_has_value();
4780  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.INodeSection.XAttrCompactProto.value)
4781  return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4782 }
4783 inline ::std::string* INodeSection_XAttrCompactProto::release_value() {
4784  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.INodeSection.XAttrCompactProto.value)
4785  clear_has_value();
4786  return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4787 }
4788 inline void INodeSection_XAttrCompactProto::set_allocated_value(::std::string* value) {
4789  if (value != NULL) {
4790  set_has_value();
4791  } else {
4792  clear_has_value();
4793  }
4794  value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4795  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.INodeSection.XAttrCompactProto.value)
4796 }
4797 
4798 // -------------------------------------------------------------------
4799 
4800 // INodeSection_XAttrFeatureProto
4801 
4802 // repeated .hadoop.hdfs.fsimage.INodeSection.XAttrCompactProto xAttrs = 1;
4803 inline int INodeSection_XAttrFeatureProto::xattrs_size() const {
4804  return xattrs_.size();
4805 }
4806 inline void INodeSection_XAttrFeatureProto::clear_xattrs() {
4807  xattrs_.Clear();
4808 }
4809 inline const ::hadoop::hdfs::fsimage::INodeSection_XAttrCompactProto& INodeSection_XAttrFeatureProto::xattrs(int index) const {
4810  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto.xAttrs)
4811  return xattrs_.Get(index);
4812 }
4813 inline ::hadoop::hdfs::fsimage::INodeSection_XAttrCompactProto* INodeSection_XAttrFeatureProto::mutable_xattrs(int index) {
4814  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto.xAttrs)
4815  return xattrs_.Mutable(index);
4816 }
4817 inline ::hadoop::hdfs::fsimage::INodeSection_XAttrCompactProto* INodeSection_XAttrFeatureProto::add_xattrs() {
4818  // @@protoc_insertion_point(field_add:hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto.xAttrs)
4819  return xattrs_.Add();
4820 }
4821 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::INodeSection_XAttrCompactProto >*
4822 INodeSection_XAttrFeatureProto::mutable_xattrs() {
4823  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto.xAttrs)
4824  return &xattrs_;
4825 }
4826 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::INodeSection_XAttrCompactProto >&
4827 INodeSection_XAttrFeatureProto::xattrs() const {
4828  // @@protoc_insertion_point(field_list:hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto.xAttrs)
4829  return xattrs_;
4830 }
4831 
4832 // -------------------------------------------------------------------
4833 
4834 // INodeSection_INodeFile
4835 
4836 // optional uint32 replication = 1;
4837 inline bool INodeSection_INodeFile::has_replication() const {
4838  return (_has_bits_[0] & 0x00000001u) != 0;
4839 }
4840 inline void INodeSection_INodeFile::set_has_replication() {
4841  _has_bits_[0] |= 0x00000001u;
4842 }
4843 inline void INodeSection_INodeFile::clear_has_replication() {
4844  _has_bits_[0] &= ~0x00000001u;
4845 }
4846 inline void INodeSection_INodeFile::clear_replication() {
4847  replication_ = 0u;
4848  clear_has_replication();
4849 }
4850 inline ::google::protobuf::uint32 INodeSection_INodeFile::replication() const {
4851  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeFile.replication)
4852  return replication_;
4853 }
4854 inline void INodeSection_INodeFile::set_replication(::google::protobuf::uint32 value) {
4855  set_has_replication();
4856  replication_ = value;
4857  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.INodeFile.replication)
4858 }
4859 
4860 // optional uint64 modificationTime = 2;
4861 inline bool INodeSection_INodeFile::has_modificationtime() const {
4862  return (_has_bits_[0] & 0x00000002u) != 0;
4863 }
4864 inline void INodeSection_INodeFile::set_has_modificationtime() {
4865  _has_bits_[0] |= 0x00000002u;
4866 }
4867 inline void INodeSection_INodeFile::clear_has_modificationtime() {
4868  _has_bits_[0] &= ~0x00000002u;
4869 }
4870 inline void INodeSection_INodeFile::clear_modificationtime() {
4871  modificationtime_ = GOOGLE_ULONGLONG(0);
4872  clear_has_modificationtime();
4873 }
4874 inline ::google::protobuf::uint64 INodeSection_INodeFile::modificationtime() const {
4875  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeFile.modificationTime)
4876  return modificationtime_;
4877 }
4878 inline void INodeSection_INodeFile::set_modificationtime(::google::protobuf::uint64 value) {
4879  set_has_modificationtime();
4880  modificationtime_ = value;
4881  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.INodeFile.modificationTime)
4882 }
4883 
4884 // optional uint64 accessTime = 3;
4885 inline bool INodeSection_INodeFile::has_accesstime() const {
4886  return (_has_bits_[0] & 0x00000004u) != 0;
4887 }
4888 inline void INodeSection_INodeFile::set_has_accesstime() {
4889  _has_bits_[0] |= 0x00000004u;
4890 }
4891 inline void INodeSection_INodeFile::clear_has_accesstime() {
4892  _has_bits_[0] &= ~0x00000004u;
4893 }
4894 inline void INodeSection_INodeFile::clear_accesstime() {
4895  accesstime_ = GOOGLE_ULONGLONG(0);
4896  clear_has_accesstime();
4897 }
4898 inline ::google::protobuf::uint64 INodeSection_INodeFile::accesstime() const {
4899  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeFile.accessTime)
4900  return accesstime_;
4901 }
4902 inline void INodeSection_INodeFile::set_accesstime(::google::protobuf::uint64 value) {
4903  set_has_accesstime();
4904  accesstime_ = value;
4905  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.INodeFile.accessTime)
4906 }
4907 
4908 // optional uint64 preferredBlockSize = 4;
4909 inline bool INodeSection_INodeFile::has_preferredblocksize() const {
4910  return (_has_bits_[0] & 0x00000008u) != 0;
4911 }
4912 inline void INodeSection_INodeFile::set_has_preferredblocksize() {
4913  _has_bits_[0] |= 0x00000008u;
4914 }
4915 inline void INodeSection_INodeFile::clear_has_preferredblocksize() {
4916  _has_bits_[0] &= ~0x00000008u;
4917 }
4918 inline void INodeSection_INodeFile::clear_preferredblocksize() {
4919  preferredblocksize_ = GOOGLE_ULONGLONG(0);
4920  clear_has_preferredblocksize();
4921 }
4922 inline ::google::protobuf::uint64 INodeSection_INodeFile::preferredblocksize() const {
4923  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeFile.preferredBlockSize)
4924  return preferredblocksize_;
4925 }
4926 inline void INodeSection_INodeFile::set_preferredblocksize(::google::protobuf::uint64 value) {
4927  set_has_preferredblocksize();
4928  preferredblocksize_ = value;
4929  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.INodeFile.preferredBlockSize)
4930 }
4931 
4932 // optional fixed64 permission = 5;
4933 inline bool INodeSection_INodeFile::has_permission() const {
4934  return (_has_bits_[0] & 0x00000010u) != 0;
4935 }
4936 inline void INodeSection_INodeFile::set_has_permission() {
4937  _has_bits_[0] |= 0x00000010u;
4938 }
4939 inline void INodeSection_INodeFile::clear_has_permission() {
4940  _has_bits_[0] &= ~0x00000010u;
4941 }
4942 inline void INodeSection_INodeFile::clear_permission() {
4943  permission_ = GOOGLE_ULONGLONG(0);
4944  clear_has_permission();
4945 }
4946 inline ::google::protobuf::uint64 INodeSection_INodeFile::permission() const {
4947  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeFile.permission)
4948  return permission_;
4949 }
4950 inline void INodeSection_INodeFile::set_permission(::google::protobuf::uint64 value) {
4951  set_has_permission();
4952  permission_ = value;
4953  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.INodeFile.permission)
4954 }
4955 
4956 // repeated .hadoop.hdfs.BlockProto blocks = 6;
4957 inline int INodeSection_INodeFile::blocks_size() const {
4958  return blocks_.size();
4959 }
4960 inline void INodeSection_INodeFile::clear_blocks() {
4961  blocks_.Clear();
4962 }
4963 inline const ::hadoop::hdfs::BlockProto& INodeSection_INodeFile::blocks(int index) const {
4964  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeFile.blocks)
4965  return blocks_.Get(index);
4966 }
4967 inline ::hadoop::hdfs::BlockProto* INodeSection_INodeFile::mutable_blocks(int index) {
4968  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.INodeSection.INodeFile.blocks)
4969  return blocks_.Mutable(index);
4970 }
4971 inline ::hadoop::hdfs::BlockProto* INodeSection_INodeFile::add_blocks() {
4972  // @@protoc_insertion_point(field_add:hadoop.hdfs.fsimage.INodeSection.INodeFile.blocks)
4973  return blocks_.Add();
4974 }
4975 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockProto >*
4976 INodeSection_INodeFile::mutable_blocks() {
4977  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.fsimage.INodeSection.INodeFile.blocks)
4978  return &blocks_;
4979 }
4980 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockProto >&
4981 INodeSection_INodeFile::blocks() const {
4982  // @@protoc_insertion_point(field_list:hadoop.hdfs.fsimage.INodeSection.INodeFile.blocks)
4983  return blocks_;
4984 }
4985 
4986 // optional .hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature fileUC = 7;
4987 inline bool INodeSection_INodeFile::has_fileuc() const {
4988  return (_has_bits_[0] & 0x00000040u) != 0;
4989 }
4990 inline void INodeSection_INodeFile::set_has_fileuc() {
4991  _has_bits_[0] |= 0x00000040u;
4992 }
4993 inline void INodeSection_INodeFile::clear_has_fileuc() {
4994  _has_bits_[0] &= ~0x00000040u;
4995 }
4996 inline void INodeSection_INodeFile::clear_fileuc() {
4997  if (fileuc_ != NULL) fileuc_->::hadoop::hdfs::fsimage::INodeSection_FileUnderConstructionFeature::Clear();
4998  clear_has_fileuc();
4999 }
5000 inline const ::hadoop::hdfs::fsimage::INodeSection_FileUnderConstructionFeature& INodeSection_INodeFile::fileuc() const {
5001  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeFile.fileUC)
5002  return fileuc_ != NULL ? *fileuc_ : *default_instance_->fileuc_;
5003 }
5004 inline ::hadoop::hdfs::fsimage::INodeSection_FileUnderConstructionFeature* INodeSection_INodeFile::mutable_fileuc() {
5005  set_has_fileuc();
5006  if (fileuc_ == NULL) {
5007  fileuc_ = new ::hadoop::hdfs::fsimage::INodeSection_FileUnderConstructionFeature;
5008  }
5009  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.INodeSection.INodeFile.fileUC)
5010  return fileuc_;
5011 }
5012 inline ::hadoop::hdfs::fsimage::INodeSection_FileUnderConstructionFeature* INodeSection_INodeFile::release_fileuc() {
5013  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.INodeSection.INodeFile.fileUC)
5014  clear_has_fileuc();
5016  fileuc_ = NULL;
5017  return temp;
5018 }
5019 inline void INodeSection_INodeFile::set_allocated_fileuc(::hadoop::hdfs::fsimage::INodeSection_FileUnderConstructionFeature* fileuc) {
5020  delete fileuc_;
5021  fileuc_ = fileuc;
5022  if (fileuc) {
5023  set_has_fileuc();
5024  } else {
5025  clear_has_fileuc();
5026  }
5027  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.INodeSection.INodeFile.fileUC)
5028 }
5029 
5030 // optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 8;
5031 inline bool INodeSection_INodeFile::has_acl() const {
5032  return (_has_bits_[0] & 0x00000080u) != 0;
5033 }
5034 inline void INodeSection_INodeFile::set_has_acl() {
5035  _has_bits_[0] |= 0x00000080u;
5036 }
5037 inline void INodeSection_INodeFile::clear_has_acl() {
5038  _has_bits_[0] &= ~0x00000080u;
5039 }
5040 inline void INodeSection_INodeFile::clear_acl() {
5041  if (acl_ != NULL) acl_->::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto::Clear();
5042  clear_has_acl();
5043 }
5044 inline const ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto& INodeSection_INodeFile::acl() const {
5045  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeFile.acl)
5046  return acl_ != NULL ? *acl_ : *default_instance_->acl_;
5047 }
5048 inline ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto* INodeSection_INodeFile::mutable_acl() {
5049  set_has_acl();
5050  if (acl_ == NULL) {
5051  acl_ = new ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto;
5052  }
5053  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.INodeSection.INodeFile.acl)
5054  return acl_;
5055 }
5056 inline ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto* INodeSection_INodeFile::release_acl() {
5057  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.INodeSection.INodeFile.acl)
5058  clear_has_acl();
5060  acl_ = NULL;
5061  return temp;
5062 }
5063 inline void INodeSection_INodeFile::set_allocated_acl(::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto* acl) {
5064  delete acl_;
5065  acl_ = acl;
5066  if (acl) {
5067  set_has_acl();
5068  } else {
5069  clear_has_acl();
5070  }
5071  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.INodeSection.INodeFile.acl)
5072 }
5073 
5074 // optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 9;
5075 inline bool INodeSection_INodeFile::has_xattrs() const {
5076  return (_has_bits_[0] & 0x00000100u) != 0;
5077 }
5078 inline void INodeSection_INodeFile::set_has_xattrs() {
5079  _has_bits_[0] |= 0x00000100u;
5080 }
5081 inline void INodeSection_INodeFile::clear_has_xattrs() {
5082  _has_bits_[0] &= ~0x00000100u;
5083 }
5084 inline void INodeSection_INodeFile::clear_xattrs() {
5085  if (xattrs_ != NULL) xattrs_->::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto::Clear();
5086  clear_has_xattrs();
5087 }
5088 inline const ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto& INodeSection_INodeFile::xattrs() const {
5089  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeFile.xAttrs)
5090  return xattrs_ != NULL ? *xattrs_ : *default_instance_->xattrs_;
5091 }
5092 inline ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto* INodeSection_INodeFile::mutable_xattrs() {
5093  set_has_xattrs();
5094  if (xattrs_ == NULL) {
5095  xattrs_ = new ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto;
5096  }
5097  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.INodeSection.INodeFile.xAttrs)
5098  return xattrs_;
5099 }
5100 inline ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto* INodeSection_INodeFile::release_xattrs() {
5101  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.INodeSection.INodeFile.xAttrs)
5102  clear_has_xattrs();
5104  xattrs_ = NULL;
5105  return temp;
5106 }
5107 inline void INodeSection_INodeFile::set_allocated_xattrs(::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto* xattrs) {
5108  delete xattrs_;
5109  xattrs_ = xattrs;
5110  if (xattrs) {
5111  set_has_xattrs();
5112  } else {
5113  clear_has_xattrs();
5114  }
5115  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.INodeSection.INodeFile.xAttrs)
5116 }
5117 
5118 // optional uint32 storagePolicyID = 10;
5119 inline bool INodeSection_INodeFile::has_storagepolicyid() const {
5120  return (_has_bits_[0] & 0x00000200u) != 0;
5121 }
5122 inline void INodeSection_INodeFile::set_has_storagepolicyid() {
5123  _has_bits_[0] |= 0x00000200u;
5124 }
5125 inline void INodeSection_INodeFile::clear_has_storagepolicyid() {
5126  _has_bits_[0] &= ~0x00000200u;
5127 }
5128 inline void INodeSection_INodeFile::clear_storagepolicyid() {
5129  storagepolicyid_ = 0u;
5130  clear_has_storagepolicyid();
5131 }
5132 inline ::google::protobuf::uint32 INodeSection_INodeFile::storagepolicyid() const {
5133  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeFile.storagePolicyID)
5134  return storagepolicyid_;
5135 }
5136 inline void INodeSection_INodeFile::set_storagepolicyid(::google::protobuf::uint32 value) {
5137  set_has_storagepolicyid();
5138  storagepolicyid_ = value;
5139  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.INodeFile.storagePolicyID)
5140 }
5141 
5142 // -------------------------------------------------------------------
5143 
5144 // INodeSection_QuotaByStorageTypeEntryProto
5145 
5146 // required .hadoop.hdfs.StorageTypeProto storageType = 1;
5147 inline bool INodeSection_QuotaByStorageTypeEntryProto::has_storagetype() const {
5148  return (_has_bits_[0] & 0x00000001u) != 0;
5149 }
5150 inline void INodeSection_QuotaByStorageTypeEntryProto::set_has_storagetype() {
5151  _has_bits_[0] |= 0x00000001u;
5152 }
5153 inline void INodeSection_QuotaByStorageTypeEntryProto::clear_has_storagetype() {
5154  _has_bits_[0] &= ~0x00000001u;
5155 }
5156 inline void INodeSection_QuotaByStorageTypeEntryProto::clear_storagetype() {
5157  storagetype_ = 1;
5158  clear_has_storagetype();
5159 }
5160 inline ::hadoop::hdfs::StorageTypeProto INodeSection_QuotaByStorageTypeEntryProto::storagetype() const {
5161  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeEntryProto.storageType)
5162  return static_cast< ::hadoop::hdfs::StorageTypeProto >(storagetype_);
5163 }
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;
5168  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeEntryProto.storageType)
5169 }
5170 
5171 // required uint64 quota = 2;
5172 inline bool INodeSection_QuotaByStorageTypeEntryProto::has_quota() const {
5173  return (_has_bits_[0] & 0x00000002u) != 0;
5174 }
5175 inline void INodeSection_QuotaByStorageTypeEntryProto::set_has_quota() {
5176  _has_bits_[0] |= 0x00000002u;
5177 }
5178 inline void INodeSection_QuotaByStorageTypeEntryProto::clear_has_quota() {
5179  _has_bits_[0] &= ~0x00000002u;
5180 }
5181 inline void INodeSection_QuotaByStorageTypeEntryProto::clear_quota() {
5182  quota_ = GOOGLE_ULONGLONG(0);
5183  clear_has_quota();
5184 }
5185 inline ::google::protobuf::uint64 INodeSection_QuotaByStorageTypeEntryProto::quota() const {
5186  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeEntryProto.quota)
5187  return quota_;
5188 }
5189 inline void INodeSection_QuotaByStorageTypeEntryProto::set_quota(::google::protobuf::uint64 value) {
5190  set_has_quota();
5191  quota_ = value;
5192  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeEntryProto.quota)
5193 }
5194 
5195 // -------------------------------------------------------------------
5196 
5197 // INodeSection_QuotaByStorageTypeFeatureProto
5198 
5199 // repeated .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeEntryProto quotas = 1;
5200 inline int INodeSection_QuotaByStorageTypeFeatureProto::quotas_size() const {
5201  return quotas_.size();
5202 }
5203 inline void INodeSection_QuotaByStorageTypeFeatureProto::clear_quotas() {
5204  quotas_.Clear();
5205 }
5206 inline const ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeEntryProto& INodeSection_QuotaByStorageTypeFeatureProto::quotas(int index) const {
5207  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto.quotas)
5208  return quotas_.Get(index);
5209 }
5210 inline ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeEntryProto* INodeSection_QuotaByStorageTypeFeatureProto::mutable_quotas(int index) {
5211  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto.quotas)
5212  return quotas_.Mutable(index);
5213 }
5214 inline ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeEntryProto* INodeSection_QuotaByStorageTypeFeatureProto::add_quotas() {
5215  // @@protoc_insertion_point(field_add:hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto.quotas)
5216  return quotas_.Add();
5217 }
5218 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeEntryProto >*
5219 INodeSection_QuotaByStorageTypeFeatureProto::mutable_quotas() {
5220  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto.quotas)
5221  return &quotas_;
5222 }
5223 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeEntryProto >&
5224 INodeSection_QuotaByStorageTypeFeatureProto::quotas() const {
5225  // @@protoc_insertion_point(field_list:hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto.quotas)
5226  return quotas_;
5227 }
5228 
5229 // -------------------------------------------------------------------
5230 
5231 // INodeSection_INodeDirectory
5232 
5233 // optional uint64 modificationTime = 1;
5234 inline bool INodeSection_INodeDirectory::has_modificationtime() const {
5235  return (_has_bits_[0] & 0x00000001u) != 0;
5236 }
5237 inline void INodeSection_INodeDirectory::set_has_modificationtime() {
5238  _has_bits_[0] |= 0x00000001u;
5239 }
5240 inline void INodeSection_INodeDirectory::clear_has_modificationtime() {
5241  _has_bits_[0] &= ~0x00000001u;
5242 }
5243 inline void INodeSection_INodeDirectory::clear_modificationtime() {
5244  modificationtime_ = GOOGLE_ULONGLONG(0);
5245  clear_has_modificationtime();
5246 }
5247 inline ::google::protobuf::uint64 INodeSection_INodeDirectory::modificationtime() const {
5248  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.modificationTime)
5249  return modificationtime_;
5250 }
5251 inline void INodeSection_INodeDirectory::set_modificationtime(::google::protobuf::uint64 value) {
5252  set_has_modificationtime();
5253  modificationtime_ = value;
5254  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.modificationTime)
5255 }
5256 
5257 // optional uint64 nsQuota = 2;
5258 inline bool INodeSection_INodeDirectory::has_nsquota() const {
5259  return (_has_bits_[0] & 0x00000002u) != 0;
5260 }
5261 inline void INodeSection_INodeDirectory::set_has_nsquota() {
5262  _has_bits_[0] |= 0x00000002u;
5263 }
5264 inline void INodeSection_INodeDirectory::clear_has_nsquota() {
5265  _has_bits_[0] &= ~0x00000002u;
5266 }
5267 inline void INodeSection_INodeDirectory::clear_nsquota() {
5268  nsquota_ = GOOGLE_ULONGLONG(0);
5269  clear_has_nsquota();
5270 }
5271 inline ::google::protobuf::uint64 INodeSection_INodeDirectory::nsquota() const {
5272  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.nsQuota)
5273  return nsquota_;
5274 }
5275 inline void INodeSection_INodeDirectory::set_nsquota(::google::protobuf::uint64 value) {
5276  set_has_nsquota();
5277  nsquota_ = value;
5278  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.nsQuota)
5279 }
5280 
5281 // optional uint64 dsQuota = 3;
5282 inline bool INodeSection_INodeDirectory::has_dsquota() const {
5283  return (_has_bits_[0] & 0x00000004u) != 0;
5284 }
5285 inline void INodeSection_INodeDirectory::set_has_dsquota() {
5286  _has_bits_[0] |= 0x00000004u;
5287 }
5288 inline void INodeSection_INodeDirectory::clear_has_dsquota() {
5289  _has_bits_[0] &= ~0x00000004u;
5290 }
5291 inline void INodeSection_INodeDirectory::clear_dsquota() {
5292  dsquota_ = GOOGLE_ULONGLONG(0);
5293  clear_has_dsquota();
5294 }
5295 inline ::google::protobuf::uint64 INodeSection_INodeDirectory::dsquota() const {
5296  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.dsQuota)
5297  return dsquota_;
5298 }
5299 inline void INodeSection_INodeDirectory::set_dsquota(::google::protobuf::uint64 value) {
5300  set_has_dsquota();
5301  dsquota_ = value;
5302  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.dsQuota)
5303 }
5304 
5305 // optional fixed64 permission = 4;
5306 inline bool INodeSection_INodeDirectory::has_permission() const {
5307  return (_has_bits_[0] & 0x00000008u) != 0;
5308 }
5309 inline void INodeSection_INodeDirectory::set_has_permission() {
5310  _has_bits_[0] |= 0x00000008u;
5311 }
5312 inline void INodeSection_INodeDirectory::clear_has_permission() {
5313  _has_bits_[0] &= ~0x00000008u;
5314 }
5315 inline void INodeSection_INodeDirectory::clear_permission() {
5316  permission_ = GOOGLE_ULONGLONG(0);
5317  clear_has_permission();
5318 }
5319 inline ::google::protobuf::uint64 INodeSection_INodeDirectory::permission() const {
5320  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.permission)
5321  return permission_;
5322 }
5323 inline void INodeSection_INodeDirectory::set_permission(::google::protobuf::uint64 value) {
5324  set_has_permission();
5325  permission_ = value;
5326  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.permission)
5327 }
5328 
5329 // optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5;
5330 inline bool INodeSection_INodeDirectory::has_acl() const {
5331  return (_has_bits_[0] & 0x00000010u) != 0;
5332 }
5333 inline void INodeSection_INodeDirectory::set_has_acl() {
5334  _has_bits_[0] |= 0x00000010u;
5335 }
5336 inline void INodeSection_INodeDirectory::clear_has_acl() {
5337  _has_bits_[0] &= ~0x00000010u;
5338 }
5339 inline void INodeSection_INodeDirectory::clear_acl() {
5340  if (acl_ != NULL) acl_->::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto::Clear();
5341  clear_has_acl();
5342 }
5343 inline const ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto& INodeSection_INodeDirectory::acl() const {
5344  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.acl)
5345  return acl_ != NULL ? *acl_ : *default_instance_->acl_;
5346 }
5347 inline ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto* INodeSection_INodeDirectory::mutable_acl() {
5348  set_has_acl();
5349  if (acl_ == NULL) {
5350  acl_ = new ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto;
5351  }
5352  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.acl)
5353  return acl_;
5354 }
5355 inline ::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto* INodeSection_INodeDirectory::release_acl() {
5356  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.acl)
5357  clear_has_acl();
5359  acl_ = NULL;
5360  return temp;
5361 }
5362 inline void INodeSection_INodeDirectory::set_allocated_acl(::hadoop::hdfs::fsimage::INodeSection_AclFeatureProto* acl) {
5363  delete acl_;
5364  acl_ = acl;
5365  if (acl) {
5366  set_has_acl();
5367  } else {
5368  clear_has_acl();
5369  }
5370  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.acl)
5371 }
5372 
5373 // optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 6;
5374 inline bool INodeSection_INodeDirectory::has_xattrs() const {
5375  return (_has_bits_[0] & 0x00000020u) != 0;
5376 }
5377 inline void INodeSection_INodeDirectory::set_has_xattrs() {
5378  _has_bits_[0] |= 0x00000020u;
5379 }
5380 inline void INodeSection_INodeDirectory::clear_has_xattrs() {
5381  _has_bits_[0] &= ~0x00000020u;
5382 }
5383 inline void INodeSection_INodeDirectory::clear_xattrs() {
5384  if (xattrs_ != NULL) xattrs_->::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto::Clear();
5385  clear_has_xattrs();
5386 }
5387 inline const ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto& INodeSection_INodeDirectory::xattrs() const {
5388  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.xAttrs)
5389  return xattrs_ != NULL ? *xattrs_ : *default_instance_->xattrs_;
5390 }
5391 inline ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto* INodeSection_INodeDirectory::mutable_xattrs() {
5392  set_has_xattrs();
5393  if (xattrs_ == NULL) {
5394  xattrs_ = new ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto;
5395  }
5396  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.xAttrs)
5397  return xattrs_;
5398 }
5399 inline ::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto* INodeSection_INodeDirectory::release_xattrs() {
5400  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.xAttrs)
5401  clear_has_xattrs();
5403  xattrs_ = NULL;
5404  return temp;
5405 }
5406 inline void INodeSection_INodeDirectory::set_allocated_xattrs(::hadoop::hdfs::fsimage::INodeSection_XAttrFeatureProto* xattrs) {
5407  delete xattrs_;
5408  xattrs_ = xattrs;
5409  if (xattrs) {
5410  set_has_xattrs();
5411  } else {
5412  clear_has_xattrs();
5413  }
5414  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.xAttrs)
5415 }
5416 
5417 // optional .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto typeQuotas = 7;
5418 inline bool INodeSection_INodeDirectory::has_typequotas() const {
5419  return (_has_bits_[0] & 0x00000040u) != 0;
5420 }
5421 inline void INodeSection_INodeDirectory::set_has_typequotas() {
5422  _has_bits_[0] |= 0x00000040u;
5423 }
5424 inline void INodeSection_INodeDirectory::clear_has_typequotas() {
5425  _has_bits_[0] &= ~0x00000040u;
5426 }
5427 inline void INodeSection_INodeDirectory::clear_typequotas() {
5428  if (typequotas_ != NULL) typequotas_->::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeFeatureProto::Clear();
5429  clear_has_typequotas();
5430 }
5431 inline const ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeFeatureProto& INodeSection_INodeDirectory::typequotas() const {
5432  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.typeQuotas)
5433  return typequotas_ != NULL ? *typequotas_ : *default_instance_->typequotas_;
5434 }
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;
5439  }
5440  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.typeQuotas)
5441  return typequotas_;
5442 }
5443 inline ::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeFeatureProto* INodeSection_INodeDirectory::release_typequotas() {
5444  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.typeQuotas)
5445  clear_has_typequotas();
5447  typequotas_ = NULL;
5448  return temp;
5449 }
5450 inline void INodeSection_INodeDirectory::set_allocated_typequotas(::hadoop::hdfs::fsimage::INodeSection_QuotaByStorageTypeFeatureProto* typequotas) {
5451  delete typequotas_;
5452  typequotas_ = typequotas;
5453  if (typequotas) {
5454  set_has_typequotas();
5455  } else {
5456  clear_has_typequotas();
5457  }
5458  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.INodeSection.INodeDirectory.typeQuotas)
5459 }
5460 
5461 // -------------------------------------------------------------------
5462 
5463 // INodeSection_INodeSymlink
5464 
5465 // optional fixed64 permission = 1;
5466 inline bool INodeSection_INodeSymlink::has_permission() const {
5467  return (_has_bits_[0] & 0x00000001u) != 0;
5468 }
5469 inline void INodeSection_INodeSymlink::set_has_permission() {
5470  _has_bits_[0] |= 0x00000001u;
5471 }
5472 inline void INodeSection_INodeSymlink::clear_has_permission() {
5473  _has_bits_[0] &= ~0x00000001u;
5474 }
5475 inline void INodeSection_INodeSymlink::clear_permission() {
5476  permission_ = GOOGLE_ULONGLONG(0);
5477  clear_has_permission();
5478 }
5479 inline ::google::protobuf::uint64 INodeSection_INodeSymlink::permission() const {
5480  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeSymlink.permission)
5481  return permission_;
5482 }
5483 inline void INodeSection_INodeSymlink::set_permission(::google::protobuf::uint64 value) {
5484  set_has_permission();
5485  permission_ = value;
5486  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.INodeSymlink.permission)
5487 }
5488 
5489 // optional bytes target = 2;
5490 inline bool INodeSection_INodeSymlink::has_target() const {
5491  return (_has_bits_[0] & 0x00000002u) != 0;
5492 }
5493 inline void INodeSection_INodeSymlink::set_has_target() {
5494  _has_bits_[0] |= 0x00000002u;
5495 }
5496 inline void INodeSection_INodeSymlink::clear_has_target() {
5497  _has_bits_[0] &= ~0x00000002u;
5498 }
5499 inline void INodeSection_INodeSymlink::clear_target() {
5500  target_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5501  clear_has_target();
5502 }
5503 inline const ::std::string& INodeSection_INodeSymlink::target() const {
5504  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeSymlink.target)
5505  return target_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5506 }
5507 inline void INodeSection_INodeSymlink::set_target(const ::std::string& value) {
5508  set_has_target();
5509  target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5510  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.INodeSymlink.target)
5511 }
5512 inline void INodeSection_INodeSymlink::set_target(const char* value) {
5513  set_has_target();
5514  target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5515  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.fsimage.INodeSection.INodeSymlink.target)
5516 }
5517 inline void INodeSection_INodeSymlink::set_target(const void* value, size_t size) {
5518  set_has_target();
5519  target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5520  ::std::string(reinterpret_cast<const char*>(value), size));
5521  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.fsimage.INodeSection.INodeSymlink.target)
5522 }
5523 inline ::std::string* INodeSection_INodeSymlink::mutable_target() {
5524  set_has_target();
5525  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.INodeSection.INodeSymlink.target)
5526  return target_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5527 }
5528 inline ::std::string* INodeSection_INodeSymlink::release_target() {
5529  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.INodeSection.INodeSymlink.target)
5530  clear_has_target();
5531  return target_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5532 }
5533 inline void INodeSection_INodeSymlink::set_allocated_target(::std::string* target) {
5534  if (target != NULL) {
5535  set_has_target();
5536  } else {
5537  clear_has_target();
5538  }
5539  target_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), target);
5540  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.INodeSection.INodeSymlink.target)
5541 }
5542 
5543 // optional uint64 modificationTime = 3;
5544 inline bool INodeSection_INodeSymlink::has_modificationtime() const {
5545  return (_has_bits_[0] & 0x00000004u) != 0;
5546 }
5547 inline void INodeSection_INodeSymlink::set_has_modificationtime() {
5548  _has_bits_[0] |= 0x00000004u;
5549 }
5550 inline void INodeSection_INodeSymlink::clear_has_modificationtime() {
5551  _has_bits_[0] &= ~0x00000004u;
5552 }
5553 inline void INodeSection_INodeSymlink::clear_modificationtime() {
5554  modificationtime_ = GOOGLE_ULONGLONG(0);
5555  clear_has_modificationtime();
5556 }
5557 inline ::google::protobuf::uint64 INodeSection_INodeSymlink::modificationtime() const {
5558  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeSymlink.modificationTime)
5559  return modificationtime_;
5560 }
5561 inline void INodeSection_INodeSymlink::set_modificationtime(::google::protobuf::uint64 value) {
5562  set_has_modificationtime();
5563  modificationtime_ = value;
5564  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.INodeSymlink.modificationTime)
5565 }
5566 
5567 // optional uint64 accessTime = 4;
5568 inline bool INodeSection_INodeSymlink::has_accesstime() const {
5569  return (_has_bits_[0] & 0x00000008u) != 0;
5570 }
5571 inline void INodeSection_INodeSymlink::set_has_accesstime() {
5572  _has_bits_[0] |= 0x00000008u;
5573 }
5574 inline void INodeSection_INodeSymlink::clear_has_accesstime() {
5575  _has_bits_[0] &= ~0x00000008u;
5576 }
5577 inline void INodeSection_INodeSymlink::clear_accesstime() {
5578  accesstime_ = GOOGLE_ULONGLONG(0);
5579  clear_has_accesstime();
5580 }
5581 inline ::google::protobuf::uint64 INodeSection_INodeSymlink::accesstime() const {
5582  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INodeSymlink.accessTime)
5583  return accesstime_;
5584 }
5585 inline void INodeSection_INodeSymlink::set_accesstime(::google::protobuf::uint64 value) {
5586  set_has_accesstime();
5587  accesstime_ = value;
5588  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.INodeSymlink.accessTime)
5589 }
5590 
5591 // -------------------------------------------------------------------
5592 
5593 // INodeSection_INode
5594 
5595 // required .hadoop.hdfs.fsimage.INodeSection.INode.Type type = 1;
5596 inline bool INodeSection_INode::has_type() const {
5597  return (_has_bits_[0] & 0x00000001u) != 0;
5598 }
5599 inline void INodeSection_INode::set_has_type() {
5600  _has_bits_[0] |= 0x00000001u;
5601 }
5602 inline void INodeSection_INode::clear_has_type() {
5603  _has_bits_[0] &= ~0x00000001u;
5604 }
5605 inline void INodeSection_INode::clear_type() {
5606  type_ = 1;
5607  clear_has_type();
5608 }
5609 inline ::hadoop::hdfs::fsimage::INodeSection_INode_Type INodeSection_INode::type() const {
5610  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INode.type)
5611  return static_cast< ::hadoop::hdfs::fsimage::INodeSection_INode_Type >(type_);
5612 }
5613 inline void INodeSection_INode::set_type(::hadoop::hdfs::fsimage::INodeSection_INode_Type value) {
5614  assert(::hadoop::hdfs::fsimage::INodeSection_INode_Type_IsValid(value));
5615  set_has_type();
5616  type_ = value;
5617  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.INode.type)
5618 }
5619 
5620 // required uint64 id = 2;
5621 inline bool INodeSection_INode::has_id() const {
5622  return (_has_bits_[0] & 0x00000002u) != 0;
5623 }
5624 inline void INodeSection_INode::set_has_id() {
5625  _has_bits_[0] |= 0x00000002u;
5626 }
5627 inline void INodeSection_INode::clear_has_id() {
5628  _has_bits_[0] &= ~0x00000002u;
5629 }
5630 inline void INodeSection_INode::clear_id() {
5631  id_ = GOOGLE_ULONGLONG(0);
5632  clear_has_id();
5633 }
5634 inline ::google::protobuf::uint64 INodeSection_INode::id() const {
5635  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INode.id)
5636  return id_;
5637 }
5638 inline void INodeSection_INode::set_id(::google::protobuf::uint64 value) {
5639  set_has_id();
5640  id_ = value;
5641  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.INode.id)
5642 }
5643 
5644 // optional bytes name = 3;
5645 inline bool INodeSection_INode::has_name() const {
5646  return (_has_bits_[0] & 0x00000004u) != 0;
5647 }
5648 inline void INodeSection_INode::set_has_name() {
5649  _has_bits_[0] |= 0x00000004u;
5650 }
5651 inline void INodeSection_INode::clear_has_name() {
5652  _has_bits_[0] &= ~0x00000004u;
5653 }
5654 inline void INodeSection_INode::clear_name() {
5655  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5656  clear_has_name();
5657 }
5658 inline const ::std::string& INodeSection_INode::name() const {
5659  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INode.name)
5660  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5661 }
5662 inline void INodeSection_INode::set_name(const ::std::string& value) {
5663  set_has_name();
5664  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5665  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.INode.name)
5666 }
5667 inline void INodeSection_INode::set_name(const char* value) {
5668  set_has_name();
5669  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5670  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.fsimage.INodeSection.INode.name)
5671 }
5672 inline void INodeSection_INode::set_name(const void* value, size_t size) {
5673  set_has_name();
5674  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5675  ::std::string(reinterpret_cast<const char*>(value), size));
5676  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.fsimage.INodeSection.INode.name)
5677 }
5678 inline ::std::string* INodeSection_INode::mutable_name() {
5679  set_has_name();
5680  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.INodeSection.INode.name)
5681  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5682 }
5683 inline ::std::string* INodeSection_INode::release_name() {
5684  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.INodeSection.INode.name)
5685  clear_has_name();
5686  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5687 }
5688 inline void INodeSection_INode::set_allocated_name(::std::string* name) {
5689  if (name != NULL) {
5690  set_has_name();
5691  } else {
5692  clear_has_name();
5693  }
5694  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
5695  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.INodeSection.INode.name)
5696 }
5697 
5698 // optional .hadoop.hdfs.fsimage.INodeSection.INodeFile file = 4;
5699 inline bool INodeSection_INode::has_file() const {
5700  return (_has_bits_[0] & 0x00000008u) != 0;
5701 }
5702 inline void INodeSection_INode::set_has_file() {
5703  _has_bits_[0] |= 0x00000008u;
5704 }
5705 inline void INodeSection_INode::clear_has_file() {
5706  _has_bits_[0] &= ~0x00000008u;
5707 }
5708 inline void INodeSection_INode::clear_file() {
5709  if (file_ != NULL) file_->::hadoop::hdfs::fsimage::INodeSection_INodeFile::Clear();
5710  clear_has_file();
5711 }
5712 inline const ::hadoop::hdfs::fsimage::INodeSection_INodeFile& INodeSection_INode::file() const {
5713  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INode.file)
5714  return file_ != NULL ? *file_ : *default_instance_->file_;
5715 }
5716 inline ::hadoop::hdfs::fsimage::INodeSection_INodeFile* INodeSection_INode::mutable_file() {
5717  set_has_file();
5718  if (file_ == NULL) {
5719  file_ = new ::hadoop::hdfs::fsimage::INodeSection_INodeFile;
5720  }
5721  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.INodeSection.INode.file)
5722  return file_;
5723 }
5724 inline ::hadoop::hdfs::fsimage::INodeSection_INodeFile* INodeSection_INode::release_file() {
5725  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.INodeSection.INode.file)
5726  clear_has_file();
5728  file_ = NULL;
5729  return temp;
5730 }
5731 inline void INodeSection_INode::set_allocated_file(::hadoop::hdfs::fsimage::INodeSection_INodeFile* file) {
5732  delete file_;
5733  file_ = file;
5734  if (file) {
5735  set_has_file();
5736  } else {
5737  clear_has_file();
5738  }
5739  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.INodeSection.INode.file)
5740 }
5741 
5742 // optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory directory = 5;
5743 inline bool INodeSection_INode::has_directory() const {
5744  return (_has_bits_[0] & 0x00000010u) != 0;
5745 }
5746 inline void INodeSection_INode::set_has_directory() {
5747  _has_bits_[0] |= 0x00000010u;
5748 }
5749 inline void INodeSection_INode::clear_has_directory() {
5750  _has_bits_[0] &= ~0x00000010u;
5751 }
5752 inline void INodeSection_INode::clear_directory() {
5753  if (directory_ != NULL) directory_->::hadoop::hdfs::fsimage::INodeSection_INodeDirectory::Clear();
5754  clear_has_directory();
5755 }
5756 inline const ::hadoop::hdfs::fsimage::INodeSection_INodeDirectory& INodeSection_INode::directory() const {
5757  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INode.directory)
5758  return directory_ != NULL ? *directory_ : *default_instance_->directory_;
5759 }
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;
5764  }
5765  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.INodeSection.INode.directory)
5766  return directory_;
5767 }
5768 inline ::hadoop::hdfs::fsimage::INodeSection_INodeDirectory* INodeSection_INode::release_directory() {
5769  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.INodeSection.INode.directory)
5770  clear_has_directory();
5772  directory_ = NULL;
5773  return temp;
5774 }
5775 inline void INodeSection_INode::set_allocated_directory(::hadoop::hdfs::fsimage::INodeSection_INodeDirectory* directory) {
5776  delete directory_;
5777  directory_ = directory;
5778  if (directory) {
5779  set_has_directory();
5780  } else {
5781  clear_has_directory();
5782  }
5783  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.INodeSection.INode.directory)
5784 }
5785 
5786 // optional .hadoop.hdfs.fsimage.INodeSection.INodeSymlink symlink = 6;
5787 inline bool INodeSection_INode::has_symlink() const {
5788  return (_has_bits_[0] & 0x00000020u) != 0;
5789 }
5790 inline void INodeSection_INode::set_has_symlink() {
5791  _has_bits_[0] |= 0x00000020u;
5792 }
5793 inline void INodeSection_INode::clear_has_symlink() {
5794  _has_bits_[0] &= ~0x00000020u;
5795 }
5796 inline void INodeSection_INode::clear_symlink() {
5797  if (symlink_ != NULL) symlink_->::hadoop::hdfs::fsimage::INodeSection_INodeSymlink::Clear();
5798  clear_has_symlink();
5799 }
5800 inline const ::hadoop::hdfs::fsimage::INodeSection_INodeSymlink& INodeSection_INode::symlink() const {
5801  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.INode.symlink)
5802  return symlink_ != NULL ? *symlink_ : *default_instance_->symlink_;
5803 }
5804 inline ::hadoop::hdfs::fsimage::INodeSection_INodeSymlink* INodeSection_INode::mutable_symlink() {
5805  set_has_symlink();
5806  if (symlink_ == NULL) {
5807  symlink_ = new ::hadoop::hdfs::fsimage::INodeSection_INodeSymlink;
5808  }
5809  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.INodeSection.INode.symlink)
5810  return symlink_;
5811 }
5812 inline ::hadoop::hdfs::fsimage::INodeSection_INodeSymlink* INodeSection_INode::release_symlink() {
5813  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.INodeSection.INode.symlink)
5814  clear_has_symlink();
5816  symlink_ = NULL;
5817  return temp;
5818 }
5819 inline void INodeSection_INode::set_allocated_symlink(::hadoop::hdfs::fsimage::INodeSection_INodeSymlink* symlink) {
5820  delete symlink_;
5821  symlink_ = symlink;
5822  if (symlink) {
5823  set_has_symlink();
5824  } else {
5825  clear_has_symlink();
5826  }
5827  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.INodeSection.INode.symlink)
5828 }
5829 
5830 // -------------------------------------------------------------------
5831 
5832 // INodeSection
5833 
5834 // optional uint64 lastInodeId = 1;
5835 inline bool INodeSection::has_lastinodeid() const {
5836  return (_has_bits_[0] & 0x00000001u) != 0;
5837 }
5838 inline void INodeSection::set_has_lastinodeid() {
5839  _has_bits_[0] |= 0x00000001u;
5840 }
5841 inline void INodeSection::clear_has_lastinodeid() {
5842  _has_bits_[0] &= ~0x00000001u;
5843 }
5844 inline void INodeSection::clear_lastinodeid() {
5845  lastinodeid_ = GOOGLE_ULONGLONG(0);
5846  clear_has_lastinodeid();
5847 }
5848 inline ::google::protobuf::uint64 INodeSection::lastinodeid() const {
5849  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.lastInodeId)
5850  return lastinodeid_;
5851 }
5852 inline void INodeSection::set_lastinodeid(::google::protobuf::uint64 value) {
5853  set_has_lastinodeid();
5854  lastinodeid_ = value;
5855  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.lastInodeId)
5856 }
5857 
5858 // optional uint64 numInodes = 2;
5859 inline bool INodeSection::has_numinodes() const {
5860  return (_has_bits_[0] & 0x00000002u) != 0;
5861 }
5862 inline void INodeSection::set_has_numinodes() {
5863  _has_bits_[0] |= 0x00000002u;
5864 }
5865 inline void INodeSection::clear_has_numinodes() {
5866  _has_bits_[0] &= ~0x00000002u;
5867 }
5868 inline void INodeSection::clear_numinodes() {
5869  numinodes_ = GOOGLE_ULONGLONG(0);
5870  clear_has_numinodes();
5871 }
5872 inline ::google::protobuf::uint64 INodeSection::numinodes() const {
5873  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeSection.numInodes)
5874  return numinodes_;
5875 }
5876 inline void INodeSection::set_numinodes(::google::protobuf::uint64 value) {
5877  set_has_numinodes();
5878  numinodes_ = value;
5879  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeSection.numInodes)
5880 }
5881 
5882 // -------------------------------------------------------------------
5883 
5884 // FilesUnderConstructionSection_FileUnderConstructionEntry
5885 
5886 // optional uint64 inodeId = 1;
5887 inline bool FilesUnderConstructionSection_FileUnderConstructionEntry::has_inodeid() const {
5888  return (_has_bits_[0] & 0x00000001u) != 0;
5889 }
5890 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::set_has_inodeid() {
5891  _has_bits_[0] |= 0x00000001u;
5892 }
5893 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::clear_has_inodeid() {
5894  _has_bits_[0] &= ~0x00000001u;
5895 }
5896 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::clear_inodeid() {
5897  inodeid_ = GOOGLE_ULONGLONG(0);
5898  clear_has_inodeid();
5899 }
5900 inline ::google::protobuf::uint64 FilesUnderConstructionSection_FileUnderConstructionEntry::inodeid() const {
5901  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.FilesUnderConstructionSection.FileUnderConstructionEntry.inodeId)
5902  return inodeid_;
5903 }
5904 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::set_inodeid(::google::protobuf::uint64 value) {
5905  set_has_inodeid();
5906  inodeid_ = value;
5907  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.FilesUnderConstructionSection.FileUnderConstructionEntry.inodeId)
5908 }
5909 
5910 // optional string fullPath = 2;
5911 inline bool FilesUnderConstructionSection_FileUnderConstructionEntry::has_fullpath() const {
5912  return (_has_bits_[0] & 0x00000002u) != 0;
5913 }
5914 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::set_has_fullpath() {
5915  _has_bits_[0] |= 0x00000002u;
5916 }
5917 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::clear_has_fullpath() {
5918  _has_bits_[0] &= ~0x00000002u;
5919 }
5920 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::clear_fullpath() {
5921  fullpath_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5922  clear_has_fullpath();
5923 }
5924 inline const ::std::string& FilesUnderConstructionSection_FileUnderConstructionEntry::fullpath() const {
5925  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.FilesUnderConstructionSection.FileUnderConstructionEntry.fullPath)
5926  return fullpath_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5927 }
5928 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::set_fullpath(const ::std::string& value) {
5929  set_has_fullpath();
5930  fullpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5931  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.FilesUnderConstructionSection.FileUnderConstructionEntry.fullPath)
5932 }
5933 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::set_fullpath(const char* value) {
5934  set_has_fullpath();
5935  fullpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5936  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.fsimage.FilesUnderConstructionSection.FileUnderConstructionEntry.fullPath)
5937 }
5938 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::set_fullpath(const char* value, size_t size) {
5939  set_has_fullpath();
5940  fullpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5941  ::std::string(reinterpret_cast<const char*>(value), size));
5942  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.fsimage.FilesUnderConstructionSection.FileUnderConstructionEntry.fullPath)
5943 }
5944 inline ::std::string* FilesUnderConstructionSection_FileUnderConstructionEntry::mutable_fullpath() {
5945  set_has_fullpath();
5946  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.FilesUnderConstructionSection.FileUnderConstructionEntry.fullPath)
5947  return fullpath_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5948 }
5949 inline ::std::string* FilesUnderConstructionSection_FileUnderConstructionEntry::release_fullpath() {
5950  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.FilesUnderConstructionSection.FileUnderConstructionEntry.fullPath)
5951  clear_has_fullpath();
5952  return fullpath_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5953 }
5954 inline void FilesUnderConstructionSection_FileUnderConstructionEntry::set_allocated_fullpath(::std::string* fullpath) {
5955  if (fullpath != NULL) {
5956  set_has_fullpath();
5957  } else {
5958  clear_has_fullpath();
5959  }
5960  fullpath_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fullpath);
5961  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.FilesUnderConstructionSection.FileUnderConstructionEntry.fullPath)
5962 }
5963 
5964 // -------------------------------------------------------------------
5965 
5966 // FilesUnderConstructionSection
5967 
5968 // -------------------------------------------------------------------
5969 
5970 // INodeDirectorySection_DirEntry
5971 
5972 // optional uint64 parent = 1;
5973 inline bool INodeDirectorySection_DirEntry::has_parent() const {
5974  return (_has_bits_[0] & 0x00000001u) != 0;
5975 }
5976 inline void INodeDirectorySection_DirEntry::set_has_parent() {
5977  _has_bits_[0] |= 0x00000001u;
5978 }
5979 inline void INodeDirectorySection_DirEntry::clear_has_parent() {
5980  _has_bits_[0] &= ~0x00000001u;
5981 }
5982 inline void INodeDirectorySection_DirEntry::clear_parent() {
5983  parent_ = GOOGLE_ULONGLONG(0);
5984  clear_has_parent();
5985 }
5986 inline ::google::protobuf::uint64 INodeDirectorySection_DirEntry::parent() const {
5987  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeDirectorySection.DirEntry.parent)
5988  return parent_;
5989 }
5990 inline void INodeDirectorySection_DirEntry::set_parent(::google::protobuf::uint64 value) {
5991  set_has_parent();
5992  parent_ = value;
5993  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeDirectorySection.DirEntry.parent)
5994 }
5995 
5996 // repeated uint64 children = 2 [packed = true];
5997 inline int INodeDirectorySection_DirEntry::children_size() const {
5998  return children_.size();
5999 }
6000 inline void INodeDirectorySection_DirEntry::clear_children() {
6001  children_.Clear();
6002 }
6003 inline ::google::protobuf::uint64 INodeDirectorySection_DirEntry::children(int index) const {
6004  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeDirectorySection.DirEntry.children)
6005  return children_.Get(index);
6006 }
6007 inline void INodeDirectorySection_DirEntry::set_children(int index, ::google::protobuf::uint64 value) {
6008  children_.Set(index, value);
6009  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeDirectorySection.DirEntry.children)
6010 }
6011 inline void INodeDirectorySection_DirEntry::add_children(::google::protobuf::uint64 value) {
6012  children_.Add(value);
6013  // @@protoc_insertion_point(field_add:hadoop.hdfs.fsimage.INodeDirectorySection.DirEntry.children)
6014 }
6015 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
6016 INodeDirectorySection_DirEntry::children() const {
6017  // @@protoc_insertion_point(field_list:hadoop.hdfs.fsimage.INodeDirectorySection.DirEntry.children)
6018  return children_;
6019 }
6020 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
6021 INodeDirectorySection_DirEntry::mutable_children() {
6022  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.fsimage.INodeDirectorySection.DirEntry.children)
6023  return &children_;
6024 }
6025 
6026 // repeated uint32 refChildren = 3 [packed = true];
6027 inline int INodeDirectorySection_DirEntry::refchildren_size() const {
6028  return refchildren_.size();
6029 }
6030 inline void INodeDirectorySection_DirEntry::clear_refchildren() {
6031  refchildren_.Clear();
6032 }
6033 inline ::google::protobuf::uint32 INodeDirectorySection_DirEntry::refchildren(int index) const {
6034  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeDirectorySection.DirEntry.refChildren)
6035  return refchildren_.Get(index);
6036 }
6037 inline void INodeDirectorySection_DirEntry::set_refchildren(int index, ::google::protobuf::uint32 value) {
6038  refchildren_.Set(index, value);
6039  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeDirectorySection.DirEntry.refChildren)
6040 }
6041 inline void INodeDirectorySection_DirEntry::add_refchildren(::google::protobuf::uint32 value) {
6042  refchildren_.Add(value);
6043  // @@protoc_insertion_point(field_add:hadoop.hdfs.fsimage.INodeDirectorySection.DirEntry.refChildren)
6044 }
6045 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
6046 INodeDirectorySection_DirEntry::refchildren() const {
6047  // @@protoc_insertion_point(field_list:hadoop.hdfs.fsimage.INodeDirectorySection.DirEntry.refChildren)
6048  return refchildren_;
6049 }
6050 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
6051 INodeDirectorySection_DirEntry::mutable_refchildren() {
6052  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.fsimage.INodeDirectorySection.DirEntry.refChildren)
6053  return &refchildren_;
6054 }
6055 
6056 // -------------------------------------------------------------------
6057 
6058 // INodeDirectorySection
6059 
6060 // -------------------------------------------------------------------
6061 
6062 // INodeReferenceSection_INodeReference
6063 
6064 // optional uint64 referredId = 1;
6065 inline bool INodeReferenceSection_INodeReference::has_referredid() const {
6066  return (_has_bits_[0] & 0x00000001u) != 0;
6067 }
6068 inline void INodeReferenceSection_INodeReference::set_has_referredid() {
6069  _has_bits_[0] |= 0x00000001u;
6070 }
6071 inline void INodeReferenceSection_INodeReference::clear_has_referredid() {
6072  _has_bits_[0] &= ~0x00000001u;
6073 }
6074 inline void INodeReferenceSection_INodeReference::clear_referredid() {
6075  referredid_ = GOOGLE_ULONGLONG(0);
6076  clear_has_referredid();
6077 }
6078 inline ::google::protobuf::uint64 INodeReferenceSection_INodeReference::referredid() const {
6079  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeReferenceSection.INodeReference.referredId)
6080  return referredid_;
6081 }
6082 inline void INodeReferenceSection_INodeReference::set_referredid(::google::protobuf::uint64 value) {
6083  set_has_referredid();
6084  referredid_ = value;
6085  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeReferenceSection.INodeReference.referredId)
6086 }
6087 
6088 // optional bytes name = 2;
6089 inline bool INodeReferenceSection_INodeReference::has_name() const {
6090  return (_has_bits_[0] & 0x00000002u) != 0;
6091 }
6092 inline void INodeReferenceSection_INodeReference::set_has_name() {
6093  _has_bits_[0] |= 0x00000002u;
6094 }
6095 inline void INodeReferenceSection_INodeReference::clear_has_name() {
6096  _has_bits_[0] &= ~0x00000002u;
6097 }
6098 inline void INodeReferenceSection_INodeReference::clear_name() {
6099  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6100  clear_has_name();
6101 }
6102 inline const ::std::string& INodeReferenceSection_INodeReference::name() const {
6103  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeReferenceSection.INodeReference.name)
6104  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6105 }
6106 inline void INodeReferenceSection_INodeReference::set_name(const ::std::string& value) {
6107  set_has_name();
6108  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6109  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeReferenceSection.INodeReference.name)
6110 }
6111 inline void INodeReferenceSection_INodeReference::set_name(const char* value) {
6112  set_has_name();
6113  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6114  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.fsimage.INodeReferenceSection.INodeReference.name)
6115 }
6116 inline void INodeReferenceSection_INodeReference::set_name(const void* value, size_t size) {
6117  set_has_name();
6118  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6119  ::std::string(reinterpret_cast<const char*>(value), size));
6120  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.fsimage.INodeReferenceSection.INodeReference.name)
6121 }
6122 inline ::std::string* INodeReferenceSection_INodeReference::mutable_name() {
6123  set_has_name();
6124  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.INodeReferenceSection.INodeReference.name)
6125  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6126 }
6127 inline ::std::string* INodeReferenceSection_INodeReference::release_name() {
6128  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.INodeReferenceSection.INodeReference.name)
6129  clear_has_name();
6130  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6131 }
6132 inline void INodeReferenceSection_INodeReference::set_allocated_name(::std::string* name) {
6133  if (name != NULL) {
6134  set_has_name();
6135  } else {
6136  clear_has_name();
6137  }
6138  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
6139  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.INodeReferenceSection.INodeReference.name)
6140 }
6141 
6142 // optional uint32 dstSnapshotId = 3;
6143 inline bool INodeReferenceSection_INodeReference::has_dstsnapshotid() const {
6144  return (_has_bits_[0] & 0x00000004u) != 0;
6145 }
6146 inline void INodeReferenceSection_INodeReference::set_has_dstsnapshotid() {
6147  _has_bits_[0] |= 0x00000004u;
6148 }
6149 inline void INodeReferenceSection_INodeReference::clear_has_dstsnapshotid() {
6150  _has_bits_[0] &= ~0x00000004u;
6151 }
6152 inline void INodeReferenceSection_INodeReference::clear_dstsnapshotid() {
6153  dstsnapshotid_ = 0u;
6154  clear_has_dstsnapshotid();
6155 }
6156 inline ::google::protobuf::uint32 INodeReferenceSection_INodeReference::dstsnapshotid() const {
6157  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeReferenceSection.INodeReference.dstSnapshotId)
6158  return dstsnapshotid_;
6159 }
6160 inline void INodeReferenceSection_INodeReference::set_dstsnapshotid(::google::protobuf::uint32 value) {
6161  set_has_dstsnapshotid();
6162  dstsnapshotid_ = value;
6163  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeReferenceSection.INodeReference.dstSnapshotId)
6164 }
6165 
6166 // optional uint32 lastSnapshotId = 4;
6167 inline bool INodeReferenceSection_INodeReference::has_lastsnapshotid() const {
6168  return (_has_bits_[0] & 0x00000008u) != 0;
6169 }
6170 inline void INodeReferenceSection_INodeReference::set_has_lastsnapshotid() {
6171  _has_bits_[0] |= 0x00000008u;
6172 }
6173 inline void INodeReferenceSection_INodeReference::clear_has_lastsnapshotid() {
6174  _has_bits_[0] &= ~0x00000008u;
6175 }
6176 inline void INodeReferenceSection_INodeReference::clear_lastsnapshotid() {
6177  lastsnapshotid_ = 0u;
6178  clear_has_lastsnapshotid();
6179 }
6180 inline ::google::protobuf::uint32 INodeReferenceSection_INodeReference::lastsnapshotid() const {
6181  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.INodeReferenceSection.INodeReference.lastSnapshotId)
6182  return lastsnapshotid_;
6183 }
6184 inline void INodeReferenceSection_INodeReference::set_lastsnapshotid(::google::protobuf::uint32 value) {
6185  set_has_lastsnapshotid();
6186  lastsnapshotid_ = value;
6187  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.INodeReferenceSection.INodeReference.lastSnapshotId)
6188 }
6189 
6190 // -------------------------------------------------------------------
6191 
6192 // INodeReferenceSection
6193 
6194 // -------------------------------------------------------------------
6195 
6196 // SnapshotSection_Snapshot
6197 
6198 // optional uint32 snapshotId = 1;
6199 inline bool SnapshotSection_Snapshot::has_snapshotid() const {
6200  return (_has_bits_[0] & 0x00000001u) != 0;
6201 }
6202 inline void SnapshotSection_Snapshot::set_has_snapshotid() {
6203  _has_bits_[0] |= 0x00000001u;
6204 }
6205 inline void SnapshotSection_Snapshot::clear_has_snapshotid() {
6206  _has_bits_[0] &= ~0x00000001u;
6207 }
6208 inline void SnapshotSection_Snapshot::clear_snapshotid() {
6209  snapshotid_ = 0u;
6210  clear_has_snapshotid();
6211 }
6212 inline ::google::protobuf::uint32 SnapshotSection_Snapshot::snapshotid() const {
6213  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotSection.Snapshot.snapshotId)
6214  return snapshotid_;
6215 }
6216 inline void SnapshotSection_Snapshot::set_snapshotid(::google::protobuf::uint32 value) {
6217  set_has_snapshotid();
6218  snapshotid_ = value;
6219  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SnapshotSection.Snapshot.snapshotId)
6220 }
6221 
6222 // optional .hadoop.hdfs.fsimage.INodeSection.INode root = 2;
6223 inline bool SnapshotSection_Snapshot::has_root() const {
6224  return (_has_bits_[0] & 0x00000002u) != 0;
6225 }
6226 inline void SnapshotSection_Snapshot::set_has_root() {
6227  _has_bits_[0] |= 0x00000002u;
6228 }
6229 inline void SnapshotSection_Snapshot::clear_has_root() {
6230  _has_bits_[0] &= ~0x00000002u;
6231 }
6232 inline void SnapshotSection_Snapshot::clear_root() {
6233  if (root_ != NULL) root_->::hadoop::hdfs::fsimage::INodeSection_INode::Clear();
6234  clear_has_root();
6235 }
6236 inline const ::hadoop::hdfs::fsimage::INodeSection_INode& SnapshotSection_Snapshot::root() const {
6237  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotSection.Snapshot.root)
6238  return root_ != NULL ? *root_ : *default_instance_->root_;
6239 }
6240 inline ::hadoop::hdfs::fsimage::INodeSection_INode* SnapshotSection_Snapshot::mutable_root() {
6241  set_has_root();
6242  if (root_ == NULL) {
6243  root_ = new ::hadoop::hdfs::fsimage::INodeSection_INode;
6244  }
6245  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.SnapshotSection.Snapshot.root)
6246  return root_;
6247 }
6248 inline ::hadoop::hdfs::fsimage::INodeSection_INode* SnapshotSection_Snapshot::release_root() {
6249  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.SnapshotSection.Snapshot.root)
6250  clear_has_root();
6252  root_ = NULL;
6253  return temp;
6254 }
6255 inline void SnapshotSection_Snapshot::set_allocated_root(::hadoop::hdfs::fsimage::INodeSection_INode* root) {
6256  delete root_;
6257  root_ = root;
6258  if (root) {
6259  set_has_root();
6260  } else {
6261  clear_has_root();
6262  }
6263  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.SnapshotSection.Snapshot.root)
6264 }
6265 
6266 // -------------------------------------------------------------------
6267 
6268 // SnapshotSection
6269 
6270 // optional uint32 snapshotCounter = 1;
6271 inline bool SnapshotSection::has_snapshotcounter() const {
6272  return (_has_bits_[0] & 0x00000001u) != 0;
6273 }
6274 inline void SnapshotSection::set_has_snapshotcounter() {
6275  _has_bits_[0] |= 0x00000001u;
6276 }
6277 inline void SnapshotSection::clear_has_snapshotcounter() {
6278  _has_bits_[0] &= ~0x00000001u;
6279 }
6280 inline void SnapshotSection::clear_snapshotcounter() {
6281  snapshotcounter_ = 0u;
6282  clear_has_snapshotcounter();
6283 }
6284 inline ::google::protobuf::uint32 SnapshotSection::snapshotcounter() const {
6285  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotSection.snapshotCounter)
6286  return snapshotcounter_;
6287 }
6288 inline void SnapshotSection::set_snapshotcounter(::google::protobuf::uint32 value) {
6289  set_has_snapshotcounter();
6290  snapshotcounter_ = value;
6291  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SnapshotSection.snapshotCounter)
6292 }
6293 
6294 // repeated uint64 snapshottableDir = 2 [packed = true];
6295 inline int SnapshotSection::snapshottabledir_size() const {
6296  return snapshottabledir_.size();
6297 }
6298 inline void SnapshotSection::clear_snapshottabledir() {
6299  snapshottabledir_.Clear();
6300 }
6301 inline ::google::protobuf::uint64 SnapshotSection::snapshottabledir(int index) const {
6302  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotSection.snapshottableDir)
6303  return snapshottabledir_.Get(index);
6304 }
6305 inline void SnapshotSection::set_snapshottabledir(int index, ::google::protobuf::uint64 value) {
6306  snapshottabledir_.Set(index, value);
6307  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SnapshotSection.snapshottableDir)
6308 }
6309 inline void SnapshotSection::add_snapshottabledir(::google::protobuf::uint64 value) {
6310  snapshottabledir_.Add(value);
6311  // @@protoc_insertion_point(field_add:hadoop.hdfs.fsimage.SnapshotSection.snapshottableDir)
6312 }
6313 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
6314 SnapshotSection::snapshottabledir() const {
6315  // @@protoc_insertion_point(field_list:hadoop.hdfs.fsimage.SnapshotSection.snapshottableDir)
6316  return snapshottabledir_;
6317 }
6318 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
6319 SnapshotSection::mutable_snapshottabledir() {
6320  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.fsimage.SnapshotSection.snapshottableDir)
6321  return &snapshottabledir_;
6322 }
6323 
6324 // optional uint32 numSnapshots = 3;
6325 inline bool SnapshotSection::has_numsnapshots() const {
6326  return (_has_bits_[0] & 0x00000004u) != 0;
6327 }
6328 inline void SnapshotSection::set_has_numsnapshots() {
6329  _has_bits_[0] |= 0x00000004u;
6330 }
6331 inline void SnapshotSection::clear_has_numsnapshots() {
6332  _has_bits_[0] &= ~0x00000004u;
6333 }
6334 inline void SnapshotSection::clear_numsnapshots() {
6335  numsnapshots_ = 0u;
6336  clear_has_numsnapshots();
6337 }
6338 inline ::google::protobuf::uint32 SnapshotSection::numsnapshots() const {
6339  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotSection.numSnapshots)
6340  return numsnapshots_;
6341 }
6342 inline void SnapshotSection::set_numsnapshots(::google::protobuf::uint32 value) {
6343  set_has_numsnapshots();
6344  numsnapshots_ = value;
6345  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SnapshotSection.numSnapshots)
6346 }
6347 
6348 // -------------------------------------------------------------------
6349 
6350 // SnapshotDiffSection_CreatedListEntry
6351 
6352 // optional bytes name = 1;
6353 inline bool SnapshotDiffSection_CreatedListEntry::has_name() const {
6354  return (_has_bits_[0] & 0x00000001u) != 0;
6355 }
6356 inline void SnapshotDiffSection_CreatedListEntry::set_has_name() {
6357  _has_bits_[0] |= 0x00000001u;
6358 }
6359 inline void SnapshotDiffSection_CreatedListEntry::clear_has_name() {
6360  _has_bits_[0] &= ~0x00000001u;
6361 }
6362 inline void SnapshotDiffSection_CreatedListEntry::clear_name() {
6363  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6364  clear_has_name();
6365 }
6366 inline const ::std::string& SnapshotDiffSection_CreatedListEntry::name() const {
6367  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotDiffSection.CreatedListEntry.name)
6368  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6369 }
6370 inline void SnapshotDiffSection_CreatedListEntry::set_name(const ::std::string& value) {
6371  set_has_name();
6372  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6373  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SnapshotDiffSection.CreatedListEntry.name)
6374 }
6375 inline void SnapshotDiffSection_CreatedListEntry::set_name(const char* value) {
6376  set_has_name();
6377  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6378  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.fsimage.SnapshotDiffSection.CreatedListEntry.name)
6379 }
6380 inline void SnapshotDiffSection_CreatedListEntry::set_name(const void* value, size_t size) {
6381  set_has_name();
6382  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6383  ::std::string(reinterpret_cast<const char*>(value), size));
6384  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.fsimage.SnapshotDiffSection.CreatedListEntry.name)
6385 }
6386 inline ::std::string* SnapshotDiffSection_CreatedListEntry::mutable_name() {
6387  set_has_name();
6388  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.SnapshotDiffSection.CreatedListEntry.name)
6389  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6390 }
6391 inline ::std::string* SnapshotDiffSection_CreatedListEntry::release_name() {
6392  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.SnapshotDiffSection.CreatedListEntry.name)
6393  clear_has_name();
6394  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6395 }
6396 inline void SnapshotDiffSection_CreatedListEntry::set_allocated_name(::std::string* name) {
6397  if (name != NULL) {
6398  set_has_name();
6399  } else {
6400  clear_has_name();
6401  }
6402  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
6403  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.SnapshotDiffSection.CreatedListEntry.name)
6404 }
6405 
6406 // -------------------------------------------------------------------
6407 
6408 // SnapshotDiffSection_DirectoryDiff
6409 
6410 // optional uint32 snapshotId = 1;
6411 inline bool SnapshotDiffSection_DirectoryDiff::has_snapshotid() const {
6412  return (_has_bits_[0] & 0x00000001u) != 0;
6413 }
6414 inline void SnapshotDiffSection_DirectoryDiff::set_has_snapshotid() {
6415  _has_bits_[0] |= 0x00000001u;
6416 }
6417 inline void SnapshotDiffSection_DirectoryDiff::clear_has_snapshotid() {
6418  _has_bits_[0] &= ~0x00000001u;
6419 }
6420 inline void SnapshotDiffSection_DirectoryDiff::clear_snapshotid() {
6421  snapshotid_ = 0u;
6422  clear_has_snapshotid();
6423 }
6424 inline ::google::protobuf::uint32 SnapshotDiffSection_DirectoryDiff::snapshotid() const {
6425  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.snapshotId)
6426  return snapshotid_;
6427 }
6428 inline void SnapshotDiffSection_DirectoryDiff::set_snapshotid(::google::protobuf::uint32 value) {
6429  set_has_snapshotid();
6430  snapshotid_ = value;
6431  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.snapshotId)
6432 }
6433 
6434 // optional uint32 childrenSize = 2;
6435 inline bool SnapshotDiffSection_DirectoryDiff::has_childrensize() const {
6436  return (_has_bits_[0] & 0x00000002u) != 0;
6437 }
6438 inline void SnapshotDiffSection_DirectoryDiff::set_has_childrensize() {
6439  _has_bits_[0] |= 0x00000002u;
6440 }
6441 inline void SnapshotDiffSection_DirectoryDiff::clear_has_childrensize() {
6442  _has_bits_[0] &= ~0x00000002u;
6443 }
6444 inline void SnapshotDiffSection_DirectoryDiff::clear_childrensize() {
6445  childrensize_ = 0u;
6446  clear_has_childrensize();
6447 }
6448 inline ::google::protobuf::uint32 SnapshotDiffSection_DirectoryDiff::childrensize() const {
6449  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.childrenSize)
6450  return childrensize_;
6451 }
6452 inline void SnapshotDiffSection_DirectoryDiff::set_childrensize(::google::protobuf::uint32 value) {
6453  set_has_childrensize();
6454  childrensize_ = value;
6455  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.childrenSize)
6456 }
6457 
6458 // optional bool isSnapshotRoot = 3;
6459 inline bool SnapshotDiffSection_DirectoryDiff::has_issnapshotroot() const {
6460  return (_has_bits_[0] & 0x00000004u) != 0;
6461 }
6462 inline void SnapshotDiffSection_DirectoryDiff::set_has_issnapshotroot() {
6463  _has_bits_[0] |= 0x00000004u;
6464 }
6465 inline void SnapshotDiffSection_DirectoryDiff::clear_has_issnapshotroot() {
6466  _has_bits_[0] &= ~0x00000004u;
6467 }
6468 inline void SnapshotDiffSection_DirectoryDiff::clear_issnapshotroot() {
6469  issnapshotroot_ = false;
6470  clear_has_issnapshotroot();
6471 }
6472 inline bool SnapshotDiffSection_DirectoryDiff::issnapshotroot() const {
6473  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.isSnapshotRoot)
6474  return issnapshotroot_;
6475 }
6476 inline void SnapshotDiffSection_DirectoryDiff::set_issnapshotroot(bool value) {
6477  set_has_issnapshotroot();
6478  issnapshotroot_ = value;
6479  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.isSnapshotRoot)
6480 }
6481 
6482 // optional bytes name = 4;
6483 inline bool SnapshotDiffSection_DirectoryDiff::has_name() const {
6484  return (_has_bits_[0] & 0x00000008u) != 0;
6485 }
6486 inline void SnapshotDiffSection_DirectoryDiff::set_has_name() {
6487  _has_bits_[0] |= 0x00000008u;
6488 }
6489 inline void SnapshotDiffSection_DirectoryDiff::clear_has_name() {
6490  _has_bits_[0] &= ~0x00000008u;
6491 }
6492 inline void SnapshotDiffSection_DirectoryDiff::clear_name() {
6493  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6494  clear_has_name();
6495 }
6496 inline const ::std::string& SnapshotDiffSection_DirectoryDiff::name() const {
6497  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.name)
6498  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6499 }
6500 inline void SnapshotDiffSection_DirectoryDiff::set_name(const ::std::string& value) {
6501  set_has_name();
6502  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6503  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.name)
6504 }
6505 inline void SnapshotDiffSection_DirectoryDiff::set_name(const char* value) {
6506  set_has_name();
6507  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6508  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.name)
6509 }
6510 inline void SnapshotDiffSection_DirectoryDiff::set_name(const void* value, size_t size) {
6511  set_has_name();
6512  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6513  ::std::string(reinterpret_cast<const char*>(value), size));
6514  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.name)
6515 }
6516 inline ::std::string* SnapshotDiffSection_DirectoryDiff::mutable_name() {
6517  set_has_name();
6518  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.name)
6519  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6520 }
6521 inline ::std::string* SnapshotDiffSection_DirectoryDiff::release_name() {
6522  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.name)
6523  clear_has_name();
6524  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6525 }
6526 inline void SnapshotDiffSection_DirectoryDiff::set_allocated_name(::std::string* name) {
6527  if (name != NULL) {
6528  set_has_name();
6529  } else {
6530  clear_has_name();
6531  }
6532  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
6533  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.name)
6534 }
6535 
6536 // optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;
6537 inline bool SnapshotDiffSection_DirectoryDiff::has_snapshotcopy() const {
6538  return (_has_bits_[0] & 0x00000010u) != 0;
6539 }
6540 inline void SnapshotDiffSection_DirectoryDiff::set_has_snapshotcopy() {
6541  _has_bits_[0] |= 0x00000010u;
6542 }
6543 inline void SnapshotDiffSection_DirectoryDiff::clear_has_snapshotcopy() {
6544  _has_bits_[0] &= ~0x00000010u;
6545 }
6546 inline void SnapshotDiffSection_DirectoryDiff::clear_snapshotcopy() {
6547  if (snapshotcopy_ != NULL) snapshotcopy_->::hadoop::hdfs::fsimage::INodeSection_INodeDirectory::Clear();
6548  clear_has_snapshotcopy();
6549 }
6550 inline const ::hadoop::hdfs::fsimage::INodeSection_INodeDirectory& SnapshotDiffSection_DirectoryDiff::snapshotcopy() const {
6551  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.snapshotCopy)
6552  return snapshotcopy_ != NULL ? *snapshotcopy_ : *default_instance_->snapshotcopy_;
6553 }
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;
6558  }
6559  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.snapshotCopy)
6560  return snapshotcopy_;
6561 }
6562 inline ::hadoop::hdfs::fsimage::INodeSection_INodeDirectory* SnapshotDiffSection_DirectoryDiff::release_snapshotcopy() {
6563  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.snapshotCopy)
6564  clear_has_snapshotcopy();
6566  snapshotcopy_ = NULL;
6567  return temp;
6568 }
6569 inline void SnapshotDiffSection_DirectoryDiff::set_allocated_snapshotcopy(::hadoop::hdfs::fsimage::INodeSection_INodeDirectory* snapshotcopy) {
6570  delete snapshotcopy_;
6571  snapshotcopy_ = snapshotcopy;
6572  if (snapshotcopy) {
6573  set_has_snapshotcopy();
6574  } else {
6575  clear_has_snapshotcopy();
6576  }
6577  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.snapshotCopy)
6578 }
6579 
6580 // optional uint32 createdListSize = 6;
6581 inline bool SnapshotDiffSection_DirectoryDiff::has_createdlistsize() const {
6582  return (_has_bits_[0] & 0x00000020u) != 0;
6583 }
6584 inline void SnapshotDiffSection_DirectoryDiff::set_has_createdlistsize() {
6585  _has_bits_[0] |= 0x00000020u;
6586 }
6587 inline void SnapshotDiffSection_DirectoryDiff::clear_has_createdlistsize() {
6588  _has_bits_[0] &= ~0x00000020u;
6589 }
6590 inline void SnapshotDiffSection_DirectoryDiff::clear_createdlistsize() {
6591  createdlistsize_ = 0u;
6592  clear_has_createdlistsize();
6593 }
6594 inline ::google::protobuf::uint32 SnapshotDiffSection_DirectoryDiff::createdlistsize() const {
6595  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.createdListSize)
6596  return createdlistsize_;
6597 }
6598 inline void SnapshotDiffSection_DirectoryDiff::set_createdlistsize(::google::protobuf::uint32 value) {
6599  set_has_createdlistsize();
6600  createdlistsize_ = value;
6601  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.createdListSize)
6602 }
6603 
6604 // repeated uint64 deletedINode = 7 [packed = true];
6605 inline int SnapshotDiffSection_DirectoryDiff::deletedinode_size() const {
6606  return deletedinode_.size();
6607 }
6608 inline void SnapshotDiffSection_DirectoryDiff::clear_deletedinode() {
6609  deletedinode_.Clear();
6610 }
6611 inline ::google::protobuf::uint64 SnapshotDiffSection_DirectoryDiff::deletedinode(int index) const {
6612  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.deletedINode)
6613  return deletedinode_.Get(index);
6614 }
6615 inline void SnapshotDiffSection_DirectoryDiff::set_deletedinode(int index, ::google::protobuf::uint64 value) {
6616  deletedinode_.Set(index, value);
6617  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.deletedINode)
6618 }
6619 inline void SnapshotDiffSection_DirectoryDiff::add_deletedinode(::google::protobuf::uint64 value) {
6620  deletedinode_.Add(value);
6621  // @@protoc_insertion_point(field_add:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.deletedINode)
6622 }
6623 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
6624 SnapshotDiffSection_DirectoryDiff::deletedinode() const {
6625  // @@protoc_insertion_point(field_list:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.deletedINode)
6626  return deletedinode_;
6627 }
6628 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
6629 SnapshotDiffSection_DirectoryDiff::mutable_deletedinode() {
6630  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.deletedINode)
6631  return &deletedinode_;
6632 }
6633 
6634 // repeated uint32 deletedINodeRef = 8 [packed = true];
6635 inline int SnapshotDiffSection_DirectoryDiff::deletedinoderef_size() const {
6636  return deletedinoderef_.size();
6637 }
6638 inline void SnapshotDiffSection_DirectoryDiff::clear_deletedinoderef() {
6639  deletedinoderef_.Clear();
6640 }
6641 inline ::google::protobuf::uint32 SnapshotDiffSection_DirectoryDiff::deletedinoderef(int index) const {
6642  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.deletedINodeRef)
6643  return deletedinoderef_.Get(index);
6644 }
6645 inline void SnapshotDiffSection_DirectoryDiff::set_deletedinoderef(int index, ::google::protobuf::uint32 value) {
6646  deletedinoderef_.Set(index, value);
6647  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.deletedINodeRef)
6648 }
6649 inline void SnapshotDiffSection_DirectoryDiff::add_deletedinoderef(::google::protobuf::uint32 value) {
6650  deletedinoderef_.Add(value);
6651  // @@protoc_insertion_point(field_add:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.deletedINodeRef)
6652 }
6653 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
6654 SnapshotDiffSection_DirectoryDiff::deletedinoderef() const {
6655  // @@protoc_insertion_point(field_list:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.deletedINodeRef)
6656  return deletedinoderef_;
6657 }
6658 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
6659 SnapshotDiffSection_DirectoryDiff::mutable_deletedinoderef() {
6660  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff.deletedINodeRef)
6661  return &deletedinoderef_;
6662 }
6663 
6664 // -------------------------------------------------------------------
6665 
6666 // SnapshotDiffSection_FileDiff
6667 
6668 // optional uint32 snapshotId = 1;
6669 inline bool SnapshotDiffSection_FileDiff::has_snapshotid() const {
6670  return (_has_bits_[0] & 0x00000001u) != 0;
6671 }
6672 inline void SnapshotDiffSection_FileDiff::set_has_snapshotid() {
6673  _has_bits_[0] |= 0x00000001u;
6674 }
6675 inline void SnapshotDiffSection_FileDiff::clear_has_snapshotid() {
6676  _has_bits_[0] &= ~0x00000001u;
6677 }
6678 inline void SnapshotDiffSection_FileDiff::clear_snapshotid() {
6679  snapshotid_ = 0u;
6680  clear_has_snapshotid();
6681 }
6682 inline ::google::protobuf::uint32 SnapshotDiffSection_FileDiff::snapshotid() const {
6683  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.snapshotId)
6684  return snapshotid_;
6685 }
6686 inline void SnapshotDiffSection_FileDiff::set_snapshotid(::google::protobuf::uint32 value) {
6687  set_has_snapshotid();
6688  snapshotid_ = value;
6689  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.snapshotId)
6690 }
6691 
6692 // optional uint64 fileSize = 2;
6693 inline bool SnapshotDiffSection_FileDiff::has_filesize() const {
6694  return (_has_bits_[0] & 0x00000002u) != 0;
6695 }
6696 inline void SnapshotDiffSection_FileDiff::set_has_filesize() {
6697  _has_bits_[0] |= 0x00000002u;
6698 }
6699 inline void SnapshotDiffSection_FileDiff::clear_has_filesize() {
6700  _has_bits_[0] &= ~0x00000002u;
6701 }
6702 inline void SnapshotDiffSection_FileDiff::clear_filesize() {
6703  filesize_ = GOOGLE_ULONGLONG(0);
6704  clear_has_filesize();
6705 }
6706 inline ::google::protobuf::uint64 SnapshotDiffSection_FileDiff::filesize() const {
6707  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.fileSize)
6708  return filesize_;
6709 }
6710 inline void SnapshotDiffSection_FileDiff::set_filesize(::google::protobuf::uint64 value) {
6711  set_has_filesize();
6712  filesize_ = value;
6713  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.fileSize)
6714 }
6715 
6716 // optional bytes name = 3;
6717 inline bool SnapshotDiffSection_FileDiff::has_name() const {
6718  return (_has_bits_[0] & 0x00000004u) != 0;
6719 }
6720 inline void SnapshotDiffSection_FileDiff::set_has_name() {
6721  _has_bits_[0] |= 0x00000004u;
6722 }
6723 inline void SnapshotDiffSection_FileDiff::clear_has_name() {
6724  _has_bits_[0] &= ~0x00000004u;
6725 }
6726 inline void SnapshotDiffSection_FileDiff::clear_name() {
6727  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6728  clear_has_name();
6729 }
6730 inline const ::std::string& SnapshotDiffSection_FileDiff::name() const {
6731  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.name)
6732  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6733 }
6734 inline void SnapshotDiffSection_FileDiff::set_name(const ::std::string& value) {
6735  set_has_name();
6736  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6737  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.name)
6738 }
6739 inline void SnapshotDiffSection_FileDiff::set_name(const char* value) {
6740  set_has_name();
6741  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6742  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.name)
6743 }
6744 inline void SnapshotDiffSection_FileDiff::set_name(const void* value, size_t size) {
6745  set_has_name();
6746  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6747  ::std::string(reinterpret_cast<const char*>(value), size));
6748  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.name)
6749 }
6750 inline ::std::string* SnapshotDiffSection_FileDiff::mutable_name() {
6751  set_has_name();
6752  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.name)
6753  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6754 }
6755 inline ::std::string* SnapshotDiffSection_FileDiff::release_name() {
6756  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.name)
6757  clear_has_name();
6758  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6759 }
6760 inline void SnapshotDiffSection_FileDiff::set_allocated_name(::std::string* name) {
6761  if (name != NULL) {
6762  set_has_name();
6763  } else {
6764  clear_has_name();
6765  }
6766  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
6767  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.name)
6768 }
6769 
6770 // optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;
6771 inline bool SnapshotDiffSection_FileDiff::has_snapshotcopy() const {
6772  return (_has_bits_[0] & 0x00000008u) != 0;
6773 }
6774 inline void SnapshotDiffSection_FileDiff::set_has_snapshotcopy() {
6775  _has_bits_[0] |= 0x00000008u;
6776 }
6777 inline void SnapshotDiffSection_FileDiff::clear_has_snapshotcopy() {
6778  _has_bits_[0] &= ~0x00000008u;
6779 }
6780 inline void SnapshotDiffSection_FileDiff::clear_snapshotcopy() {
6781  if (snapshotcopy_ != NULL) snapshotcopy_->::hadoop::hdfs::fsimage::INodeSection_INodeFile::Clear();
6782  clear_has_snapshotcopy();
6783 }
6784 inline const ::hadoop::hdfs::fsimage::INodeSection_INodeFile& SnapshotDiffSection_FileDiff::snapshotcopy() const {
6785  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.snapshotCopy)
6786  return snapshotcopy_ != NULL ? *snapshotcopy_ : *default_instance_->snapshotcopy_;
6787 }
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;
6792  }
6793  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.snapshotCopy)
6794  return snapshotcopy_;
6795 }
6796 inline ::hadoop::hdfs::fsimage::INodeSection_INodeFile* SnapshotDiffSection_FileDiff::release_snapshotcopy() {
6797  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.snapshotCopy)
6798  clear_has_snapshotcopy();
6800  snapshotcopy_ = NULL;
6801  return temp;
6802 }
6803 inline void SnapshotDiffSection_FileDiff::set_allocated_snapshotcopy(::hadoop::hdfs::fsimage::INodeSection_INodeFile* snapshotcopy) {
6804  delete snapshotcopy_;
6805  snapshotcopy_ = snapshotcopy;
6806  if (snapshotcopy) {
6807  set_has_snapshotcopy();
6808  } else {
6809  clear_has_snapshotcopy();
6810  }
6811  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.snapshotCopy)
6812 }
6813 
6814 // repeated .hadoop.hdfs.BlockProto blocks = 5;
6815 inline int SnapshotDiffSection_FileDiff::blocks_size() const {
6816  return blocks_.size();
6817 }
6818 inline void SnapshotDiffSection_FileDiff::clear_blocks() {
6819  blocks_.Clear();
6820 }
6821 inline const ::hadoop::hdfs::BlockProto& SnapshotDiffSection_FileDiff::blocks(int index) const {
6822  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.blocks)
6823  return blocks_.Get(index);
6824 }
6825 inline ::hadoop::hdfs::BlockProto* SnapshotDiffSection_FileDiff::mutable_blocks(int index) {
6826  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.blocks)
6827  return blocks_.Mutable(index);
6828 }
6829 inline ::hadoop::hdfs::BlockProto* SnapshotDiffSection_FileDiff::add_blocks() {
6830  // @@protoc_insertion_point(field_add:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.blocks)
6831  return blocks_.Add();
6832 }
6833 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockProto >*
6834 SnapshotDiffSection_FileDiff::mutable_blocks() {
6835  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.blocks)
6836  return &blocks_;
6837 }
6838 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockProto >&
6839 SnapshotDiffSection_FileDiff::blocks() const {
6840  // @@protoc_insertion_point(field_list:hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff.blocks)
6841  return blocks_;
6842 }
6843 
6844 // -------------------------------------------------------------------
6845 
6846 // SnapshotDiffSection_DiffEntry
6847 
6848 // required .hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.Type type = 1;
6849 inline bool SnapshotDiffSection_DiffEntry::has_type() const {
6850  return (_has_bits_[0] & 0x00000001u) != 0;
6851 }
6852 inline void SnapshotDiffSection_DiffEntry::set_has_type() {
6853  _has_bits_[0] |= 0x00000001u;
6854 }
6855 inline void SnapshotDiffSection_DiffEntry::clear_has_type() {
6856  _has_bits_[0] &= ~0x00000001u;
6857 }
6858 inline void SnapshotDiffSection_DiffEntry::clear_type() {
6859  type_ = 1;
6860  clear_has_type();
6861 }
6862 inline ::hadoop::hdfs::fsimage::SnapshotDiffSection_DiffEntry_Type SnapshotDiffSection_DiffEntry::type() const {
6863  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.type)
6864  return static_cast< ::hadoop::hdfs::fsimage::SnapshotDiffSection_DiffEntry_Type >(type_);
6865 }
6866 inline void SnapshotDiffSection_DiffEntry::set_type(::hadoop::hdfs::fsimage::SnapshotDiffSection_DiffEntry_Type value) {
6867  assert(::hadoop::hdfs::fsimage::SnapshotDiffSection_DiffEntry_Type_IsValid(value));
6868  set_has_type();
6869  type_ = value;
6870  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.type)
6871 }
6872 
6873 // optional uint64 inodeId = 2;
6874 inline bool SnapshotDiffSection_DiffEntry::has_inodeid() const {
6875  return (_has_bits_[0] & 0x00000002u) != 0;
6876 }
6877 inline void SnapshotDiffSection_DiffEntry::set_has_inodeid() {
6878  _has_bits_[0] |= 0x00000002u;
6879 }
6880 inline void SnapshotDiffSection_DiffEntry::clear_has_inodeid() {
6881  _has_bits_[0] &= ~0x00000002u;
6882 }
6883 inline void SnapshotDiffSection_DiffEntry::clear_inodeid() {
6884  inodeid_ = GOOGLE_ULONGLONG(0);
6885  clear_has_inodeid();
6886 }
6887 inline ::google::protobuf::uint64 SnapshotDiffSection_DiffEntry::inodeid() const {
6888  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.inodeId)
6889  return inodeid_;
6890 }
6891 inline void SnapshotDiffSection_DiffEntry::set_inodeid(::google::protobuf::uint64 value) {
6892  set_has_inodeid();
6893  inodeid_ = value;
6894  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.inodeId)
6895 }
6896 
6897 // optional uint32 numOfDiff = 3;
6898 inline bool SnapshotDiffSection_DiffEntry::has_numofdiff() const {
6899  return (_has_bits_[0] & 0x00000004u) != 0;
6900 }
6901 inline void SnapshotDiffSection_DiffEntry::set_has_numofdiff() {
6902  _has_bits_[0] |= 0x00000004u;
6903 }
6904 inline void SnapshotDiffSection_DiffEntry::clear_has_numofdiff() {
6905  _has_bits_[0] &= ~0x00000004u;
6906 }
6907 inline void SnapshotDiffSection_DiffEntry::clear_numofdiff() {
6908  numofdiff_ = 0u;
6909  clear_has_numofdiff();
6910 }
6911 inline ::google::protobuf::uint32 SnapshotDiffSection_DiffEntry::numofdiff() const {
6912  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.numOfDiff)
6913  return numofdiff_;
6914 }
6915 inline void SnapshotDiffSection_DiffEntry::set_numofdiff(::google::protobuf::uint32 value) {
6916  set_has_numofdiff();
6917  numofdiff_ = value;
6918  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.numOfDiff)
6919 }
6920 
6921 // -------------------------------------------------------------------
6922 
6923 // SnapshotDiffSection
6924 
6925 // -------------------------------------------------------------------
6926 
6927 // StringTableSection_Entry
6928 
6929 // optional uint32 id = 1;
6930 inline bool StringTableSection_Entry::has_id() const {
6931  return (_has_bits_[0] & 0x00000001u) != 0;
6932 }
6933 inline void StringTableSection_Entry::set_has_id() {
6934  _has_bits_[0] |= 0x00000001u;
6935 }
6936 inline void StringTableSection_Entry::clear_has_id() {
6937  _has_bits_[0] &= ~0x00000001u;
6938 }
6939 inline void StringTableSection_Entry::clear_id() {
6940  id_ = 0u;
6941  clear_has_id();
6942 }
6943 inline ::google::protobuf::uint32 StringTableSection_Entry::id() const {
6944  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.StringTableSection.Entry.id)
6945  return id_;
6946 }
6947 inline void StringTableSection_Entry::set_id(::google::protobuf::uint32 value) {
6948  set_has_id();
6949  id_ = value;
6950  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.StringTableSection.Entry.id)
6951 }
6952 
6953 // optional string str = 2;
6954 inline bool StringTableSection_Entry::has_str() const {
6955  return (_has_bits_[0] & 0x00000002u) != 0;
6956 }
6957 inline void StringTableSection_Entry::set_has_str() {
6958  _has_bits_[0] |= 0x00000002u;
6959 }
6960 inline void StringTableSection_Entry::clear_has_str() {
6961  _has_bits_[0] &= ~0x00000002u;
6962 }
6963 inline void StringTableSection_Entry::clear_str() {
6964  str_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6965  clear_has_str();
6966 }
6967 inline const ::std::string& StringTableSection_Entry::str() const {
6968  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.StringTableSection.Entry.str)
6969  return str_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6970 }
6971 inline void StringTableSection_Entry::set_str(const ::std::string& value) {
6972  set_has_str();
6973  str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6974  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.StringTableSection.Entry.str)
6975 }
6976 inline void StringTableSection_Entry::set_str(const char* value) {
6977  set_has_str();
6978  str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6979  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.fsimage.StringTableSection.Entry.str)
6980 }
6981 inline void StringTableSection_Entry::set_str(const char* value, size_t size) {
6982  set_has_str();
6983  str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6984  ::std::string(reinterpret_cast<const char*>(value), size));
6985  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.fsimage.StringTableSection.Entry.str)
6986 }
6987 inline ::std::string* StringTableSection_Entry::mutable_str() {
6988  set_has_str();
6989  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.StringTableSection.Entry.str)
6990  return str_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6991 }
6992 inline ::std::string* StringTableSection_Entry::release_str() {
6993  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.StringTableSection.Entry.str)
6994  clear_has_str();
6995  return str_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6996 }
6997 inline void StringTableSection_Entry::set_allocated_str(::std::string* str) {
6998  if (str != NULL) {
6999  set_has_str();
7000  } else {
7001  clear_has_str();
7002  }
7003  str_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), str);
7004  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.StringTableSection.Entry.str)
7005 }
7006 
7007 // -------------------------------------------------------------------
7008 
7009 // StringTableSection
7010 
7011 // optional uint32 numEntry = 1;
7012 inline bool StringTableSection::has_numentry() const {
7013  return (_has_bits_[0] & 0x00000001u) != 0;
7014 }
7015 inline void StringTableSection::set_has_numentry() {
7016  _has_bits_[0] |= 0x00000001u;
7017 }
7018 inline void StringTableSection::clear_has_numentry() {
7019  _has_bits_[0] &= ~0x00000001u;
7020 }
7021 inline void StringTableSection::clear_numentry() {
7022  numentry_ = 0u;
7023  clear_has_numentry();
7024 }
7025 inline ::google::protobuf::uint32 StringTableSection::numentry() const {
7026  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.StringTableSection.numEntry)
7027  return numentry_;
7028 }
7029 inline void StringTableSection::set_numentry(::google::protobuf::uint32 value) {
7030  set_has_numentry();
7031  numentry_ = value;
7032  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.StringTableSection.numEntry)
7033 }
7034 
7035 // -------------------------------------------------------------------
7036 
7037 // SecretManagerSection_DelegationKey
7038 
7039 // optional uint32 id = 1;
7040 inline bool SecretManagerSection_DelegationKey::has_id() const {
7041  return (_has_bits_[0] & 0x00000001u) != 0;
7042 }
7043 inline void SecretManagerSection_DelegationKey::set_has_id() {
7044  _has_bits_[0] |= 0x00000001u;
7045 }
7046 inline void SecretManagerSection_DelegationKey::clear_has_id() {
7047  _has_bits_[0] &= ~0x00000001u;
7048 }
7049 inline void SecretManagerSection_DelegationKey::clear_id() {
7050  id_ = 0u;
7051  clear_has_id();
7052 }
7053 inline ::google::protobuf::uint32 SecretManagerSection_DelegationKey::id() const {
7054  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SecretManagerSection.DelegationKey.id)
7055  return id_;
7056 }
7057 inline void SecretManagerSection_DelegationKey::set_id(::google::protobuf::uint32 value) {
7058  set_has_id();
7059  id_ = value;
7060  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SecretManagerSection.DelegationKey.id)
7061 }
7062 
7063 // optional uint64 expiryDate = 2;
7064 inline bool SecretManagerSection_DelegationKey::has_expirydate() const {
7065  return (_has_bits_[0] & 0x00000002u) != 0;
7066 }
7067 inline void SecretManagerSection_DelegationKey::set_has_expirydate() {
7068  _has_bits_[0] |= 0x00000002u;
7069 }
7070 inline void SecretManagerSection_DelegationKey::clear_has_expirydate() {
7071  _has_bits_[0] &= ~0x00000002u;
7072 }
7073 inline void SecretManagerSection_DelegationKey::clear_expirydate() {
7074  expirydate_ = GOOGLE_ULONGLONG(0);
7075  clear_has_expirydate();
7076 }
7077 inline ::google::protobuf::uint64 SecretManagerSection_DelegationKey::expirydate() const {
7078  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SecretManagerSection.DelegationKey.expiryDate)
7079  return expirydate_;
7080 }
7081 inline void SecretManagerSection_DelegationKey::set_expirydate(::google::protobuf::uint64 value) {
7082  set_has_expirydate();
7083  expirydate_ = value;
7084  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SecretManagerSection.DelegationKey.expiryDate)
7085 }
7086 
7087 // optional bytes key = 3;
7088 inline bool SecretManagerSection_DelegationKey::has_key() const {
7089  return (_has_bits_[0] & 0x00000004u) != 0;
7090 }
7091 inline void SecretManagerSection_DelegationKey::set_has_key() {
7092  _has_bits_[0] |= 0x00000004u;
7093 }
7094 inline void SecretManagerSection_DelegationKey::clear_has_key() {
7095  _has_bits_[0] &= ~0x00000004u;
7096 }
7097 inline void SecretManagerSection_DelegationKey::clear_key() {
7098  key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7099  clear_has_key();
7100 }
7101 inline const ::std::string& SecretManagerSection_DelegationKey::key() const {
7102  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SecretManagerSection.DelegationKey.key)
7103  return key_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7104 }
7105 inline void SecretManagerSection_DelegationKey::set_key(const ::std::string& value) {
7106  set_has_key();
7107  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7108  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SecretManagerSection.DelegationKey.key)
7109 }
7110 inline void SecretManagerSection_DelegationKey::set_key(const char* value) {
7111  set_has_key();
7112  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7113  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.fsimage.SecretManagerSection.DelegationKey.key)
7114 }
7115 inline void SecretManagerSection_DelegationKey::set_key(const void* value, size_t size) {
7116  set_has_key();
7117  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7118  ::std::string(reinterpret_cast<const char*>(value), size));
7119  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.fsimage.SecretManagerSection.DelegationKey.key)
7120 }
7121 inline ::std::string* SecretManagerSection_DelegationKey::mutable_key() {
7122  set_has_key();
7123  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.SecretManagerSection.DelegationKey.key)
7124  return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7125 }
7126 inline ::std::string* SecretManagerSection_DelegationKey::release_key() {
7127  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.SecretManagerSection.DelegationKey.key)
7128  clear_has_key();
7129  return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7130 }
7131 inline void SecretManagerSection_DelegationKey::set_allocated_key(::std::string* key) {
7132  if (key != NULL) {
7133  set_has_key();
7134  } else {
7135  clear_has_key();
7136  }
7137  key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key);
7138  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.SecretManagerSection.DelegationKey.key)
7139 }
7140 
7141 // -------------------------------------------------------------------
7142 
7143 // SecretManagerSection_PersistToken
7144 
7145 // optional uint32 version = 1;
7146 inline bool SecretManagerSection_PersistToken::has_version() const {
7147  return (_has_bits_[0] & 0x00000001u) != 0;
7148 }
7149 inline void SecretManagerSection_PersistToken::set_has_version() {
7150  _has_bits_[0] |= 0x00000001u;
7151 }
7152 inline void SecretManagerSection_PersistToken::clear_has_version() {
7153  _has_bits_[0] &= ~0x00000001u;
7154 }
7155 inline void SecretManagerSection_PersistToken::clear_version() {
7156  version_ = 0u;
7157  clear_has_version();
7158 }
7159 inline ::google::protobuf::uint32 SecretManagerSection_PersistToken::version() const {
7160  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.version)
7161  return version_;
7162 }
7163 inline void SecretManagerSection_PersistToken::set_version(::google::protobuf::uint32 value) {
7164  set_has_version();
7165  version_ = value;
7166  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.version)
7167 }
7168 
7169 // optional string owner = 2;
7170 inline bool SecretManagerSection_PersistToken::has_owner() const {
7171  return (_has_bits_[0] & 0x00000002u) != 0;
7172 }
7173 inline void SecretManagerSection_PersistToken::set_has_owner() {
7174  _has_bits_[0] |= 0x00000002u;
7175 }
7176 inline void SecretManagerSection_PersistToken::clear_has_owner() {
7177  _has_bits_[0] &= ~0x00000002u;
7178 }
7179 inline void SecretManagerSection_PersistToken::clear_owner() {
7180  owner_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7181  clear_has_owner();
7182 }
7183 inline const ::std::string& SecretManagerSection_PersistToken::owner() const {
7184  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.owner)
7185  return owner_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7186 }
7187 inline void SecretManagerSection_PersistToken::set_owner(const ::std::string& value) {
7188  set_has_owner();
7189  owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7190  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.owner)
7191 }
7192 inline void SecretManagerSection_PersistToken::set_owner(const char* value) {
7193  set_has_owner();
7194  owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7195  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.owner)
7196 }
7197 inline void SecretManagerSection_PersistToken::set_owner(const char* value, size_t size) {
7198  set_has_owner();
7199  owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7200  ::std::string(reinterpret_cast<const char*>(value), size));
7201  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.owner)
7202 }
7203 inline ::std::string* SecretManagerSection_PersistToken::mutable_owner() {
7204  set_has_owner();
7205  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.owner)
7206  return owner_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7207 }
7208 inline ::std::string* SecretManagerSection_PersistToken::release_owner() {
7209  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.owner)
7210  clear_has_owner();
7211  return owner_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7212 }
7213 inline void SecretManagerSection_PersistToken::set_allocated_owner(::std::string* owner) {
7214  if (owner != NULL) {
7215  set_has_owner();
7216  } else {
7217  clear_has_owner();
7218  }
7219  owner_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), owner);
7220  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.owner)
7221 }
7222 
7223 // optional string renewer = 3;
7224 inline bool SecretManagerSection_PersistToken::has_renewer() const {
7225  return (_has_bits_[0] & 0x00000004u) != 0;
7226 }
7227 inline void SecretManagerSection_PersistToken::set_has_renewer() {
7228  _has_bits_[0] |= 0x00000004u;
7229 }
7230 inline void SecretManagerSection_PersistToken::clear_has_renewer() {
7231  _has_bits_[0] &= ~0x00000004u;
7232 }
7233 inline void SecretManagerSection_PersistToken::clear_renewer() {
7234  renewer_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7235  clear_has_renewer();
7236 }
7237 inline const ::std::string& SecretManagerSection_PersistToken::renewer() const {
7238  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.renewer)
7239  return renewer_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7240 }
7241 inline void SecretManagerSection_PersistToken::set_renewer(const ::std::string& value) {
7242  set_has_renewer();
7243  renewer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7244  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.renewer)
7245 }
7246 inline void SecretManagerSection_PersistToken::set_renewer(const char* value) {
7247  set_has_renewer();
7248  renewer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7249  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.renewer)
7250 }
7251 inline void SecretManagerSection_PersistToken::set_renewer(const char* value, size_t size) {
7252  set_has_renewer();
7253  renewer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7254  ::std::string(reinterpret_cast<const char*>(value), size));
7255  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.renewer)
7256 }
7257 inline ::std::string* SecretManagerSection_PersistToken::mutable_renewer() {
7258  set_has_renewer();
7259  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.renewer)
7260  return renewer_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7261 }
7262 inline ::std::string* SecretManagerSection_PersistToken::release_renewer() {
7263  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.renewer)
7264  clear_has_renewer();
7265  return renewer_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7266 }
7267 inline void SecretManagerSection_PersistToken::set_allocated_renewer(::std::string* renewer) {
7268  if (renewer != NULL) {
7269  set_has_renewer();
7270  } else {
7271  clear_has_renewer();
7272  }
7273  renewer_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), renewer);
7274  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.renewer)
7275 }
7276 
7277 // optional string realUser = 4;
7278 inline bool SecretManagerSection_PersistToken::has_realuser() const {
7279  return (_has_bits_[0] & 0x00000008u) != 0;
7280 }
7281 inline void SecretManagerSection_PersistToken::set_has_realuser() {
7282  _has_bits_[0] |= 0x00000008u;
7283 }
7284 inline void SecretManagerSection_PersistToken::clear_has_realuser() {
7285  _has_bits_[0] &= ~0x00000008u;
7286 }
7287 inline void SecretManagerSection_PersistToken::clear_realuser() {
7288  realuser_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7289  clear_has_realuser();
7290 }
7291 inline const ::std::string& SecretManagerSection_PersistToken::realuser() const {
7292  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.realUser)
7293  return realuser_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7294 }
7295 inline void SecretManagerSection_PersistToken::set_realuser(const ::std::string& value) {
7296  set_has_realuser();
7297  realuser_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7298  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.realUser)
7299 }
7300 inline void SecretManagerSection_PersistToken::set_realuser(const char* value) {
7301  set_has_realuser();
7302  realuser_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7303  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.realUser)
7304 }
7305 inline void SecretManagerSection_PersistToken::set_realuser(const char* value, size_t size) {
7306  set_has_realuser();
7307  realuser_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7308  ::std::string(reinterpret_cast<const char*>(value), size));
7309  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.realUser)
7310 }
7311 inline ::std::string* SecretManagerSection_PersistToken::mutable_realuser() {
7312  set_has_realuser();
7313  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.realUser)
7314  return realuser_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7315 }
7316 inline ::std::string* SecretManagerSection_PersistToken::release_realuser() {
7317  // @@protoc_insertion_point(field_release:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.realUser)
7318  clear_has_realuser();
7319  return realuser_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7320 }
7321 inline void SecretManagerSection_PersistToken::set_allocated_realuser(::std::string* realuser) {
7322  if (realuser != NULL) {
7323  set_has_realuser();
7324  } else {
7325  clear_has_realuser();
7326  }
7327  realuser_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), realuser);
7328  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.realUser)
7329 }
7330 
7331 // optional uint64 issueDate = 5;
7332 inline bool SecretManagerSection_PersistToken::has_issuedate() const {
7333  return (_has_bits_[0] & 0x00000010u) != 0;
7334 }
7335 inline void SecretManagerSection_PersistToken::set_has_issuedate() {
7336  _has_bits_[0] |= 0x00000010u;
7337 }
7338 inline void SecretManagerSection_PersistToken::clear_has_issuedate() {
7339  _has_bits_[0] &= ~0x00000010u;
7340 }
7341 inline void SecretManagerSection_PersistToken::clear_issuedate() {
7342  issuedate_ = GOOGLE_ULONGLONG(0);
7343  clear_has_issuedate();
7344 }
7345 inline ::google::protobuf::uint64 SecretManagerSection_PersistToken::issuedate() const {
7346  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.issueDate)
7347  return issuedate_;
7348 }
7349 inline void SecretManagerSection_PersistToken::set_issuedate(::google::protobuf::uint64 value) {
7350  set_has_issuedate();
7351  issuedate_ = value;
7352  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.issueDate)
7353 }
7354 
7355 // optional uint64 maxDate = 6;
7356 inline bool SecretManagerSection_PersistToken::has_maxdate() const {
7357  return (_has_bits_[0] & 0x00000020u) != 0;
7358 }
7359 inline void SecretManagerSection_PersistToken::set_has_maxdate() {
7360  _has_bits_[0] |= 0x00000020u;
7361 }
7362 inline void SecretManagerSection_PersistToken::clear_has_maxdate() {
7363  _has_bits_[0] &= ~0x00000020u;
7364 }
7365 inline void SecretManagerSection_PersistToken::clear_maxdate() {
7366  maxdate_ = GOOGLE_ULONGLONG(0);
7367  clear_has_maxdate();
7368 }
7369 inline ::google::protobuf::uint64 SecretManagerSection_PersistToken::maxdate() const {
7370  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.maxDate)
7371  return maxdate_;
7372 }
7373 inline void SecretManagerSection_PersistToken::set_maxdate(::google::protobuf::uint64 value) {
7374  set_has_maxdate();
7375  maxdate_ = value;
7376  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.maxDate)
7377 }
7378 
7379 // optional uint32 sequenceNumber = 7;
7380 inline bool SecretManagerSection_PersistToken::has_sequencenumber() const {
7381  return (_has_bits_[0] & 0x00000040u) != 0;
7382 }
7383 inline void SecretManagerSection_PersistToken::set_has_sequencenumber() {
7384  _has_bits_[0] |= 0x00000040u;
7385 }
7386 inline void SecretManagerSection_PersistToken::clear_has_sequencenumber() {
7387  _has_bits_[0] &= ~0x00000040u;
7388 }
7389 inline void SecretManagerSection_PersistToken::clear_sequencenumber() {
7390  sequencenumber_ = 0u;
7391  clear_has_sequencenumber();
7392 }
7393 inline ::google::protobuf::uint32 SecretManagerSection_PersistToken::sequencenumber() const {
7394  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.sequenceNumber)
7395  return sequencenumber_;
7396 }
7397 inline void SecretManagerSection_PersistToken::set_sequencenumber(::google::protobuf::uint32 value) {
7398  set_has_sequencenumber();
7399  sequencenumber_ = value;
7400  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.sequenceNumber)
7401 }
7402 
7403 // optional uint32 masterKeyId = 8;
7404 inline bool SecretManagerSection_PersistToken::has_masterkeyid() const {
7405  return (_has_bits_[0] & 0x00000080u) != 0;
7406 }
7407 inline void SecretManagerSection_PersistToken::set_has_masterkeyid() {
7408  _has_bits_[0] |= 0x00000080u;
7409 }
7410 inline void SecretManagerSection_PersistToken::clear_has_masterkeyid() {
7411  _has_bits_[0] &= ~0x00000080u;
7412 }
7413 inline void SecretManagerSection_PersistToken::clear_masterkeyid() {
7414  masterkeyid_ = 0u;
7415  clear_has_masterkeyid();
7416 }
7417 inline ::google::protobuf::uint32 SecretManagerSection_PersistToken::masterkeyid() const {
7418  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.masterKeyId)
7419  return masterkeyid_;
7420 }
7421 inline void SecretManagerSection_PersistToken::set_masterkeyid(::google::protobuf::uint32 value) {
7422  set_has_masterkeyid();
7423  masterkeyid_ = value;
7424  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.masterKeyId)
7425 }
7426 
7427 // optional uint64 expiryDate = 9;
7428 inline bool SecretManagerSection_PersistToken::has_expirydate() const {
7429  return (_has_bits_[0] & 0x00000100u) != 0;
7430 }
7431 inline void SecretManagerSection_PersistToken::set_has_expirydate() {
7432  _has_bits_[0] |= 0x00000100u;
7433 }
7434 inline void SecretManagerSection_PersistToken::clear_has_expirydate() {
7435  _has_bits_[0] &= ~0x00000100u;
7436 }
7437 inline void SecretManagerSection_PersistToken::clear_expirydate() {
7438  expirydate_ = GOOGLE_ULONGLONG(0);
7439  clear_has_expirydate();
7440 }
7441 inline ::google::protobuf::uint64 SecretManagerSection_PersistToken::expirydate() const {
7442  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.expiryDate)
7443  return expirydate_;
7444 }
7445 inline void SecretManagerSection_PersistToken::set_expirydate(::google::protobuf::uint64 value) {
7446  set_has_expirydate();
7447  expirydate_ = value;
7448  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SecretManagerSection.PersistToken.expiryDate)
7449 }
7450 
7451 // -------------------------------------------------------------------
7452 
7453 // SecretManagerSection
7454 
7455 // optional uint32 currentId = 1;
7456 inline bool SecretManagerSection::has_currentid() const {
7457  return (_has_bits_[0] & 0x00000001u) != 0;
7458 }
7459 inline void SecretManagerSection::set_has_currentid() {
7460  _has_bits_[0] |= 0x00000001u;
7461 }
7462 inline void SecretManagerSection::clear_has_currentid() {
7463  _has_bits_[0] &= ~0x00000001u;
7464 }
7465 inline void SecretManagerSection::clear_currentid() {
7466  currentid_ = 0u;
7467  clear_has_currentid();
7468 }
7469 inline ::google::protobuf::uint32 SecretManagerSection::currentid() const {
7470  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SecretManagerSection.currentId)
7471  return currentid_;
7472 }
7473 inline void SecretManagerSection::set_currentid(::google::protobuf::uint32 value) {
7474  set_has_currentid();
7475  currentid_ = value;
7476  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SecretManagerSection.currentId)
7477 }
7478 
7479 // optional uint32 tokenSequenceNumber = 2;
7480 inline bool SecretManagerSection::has_tokensequencenumber() const {
7481  return (_has_bits_[0] & 0x00000002u) != 0;
7482 }
7483 inline void SecretManagerSection::set_has_tokensequencenumber() {
7484  _has_bits_[0] |= 0x00000002u;
7485 }
7486 inline void SecretManagerSection::clear_has_tokensequencenumber() {
7487  _has_bits_[0] &= ~0x00000002u;
7488 }
7489 inline void SecretManagerSection::clear_tokensequencenumber() {
7490  tokensequencenumber_ = 0u;
7491  clear_has_tokensequencenumber();
7492 }
7493 inline ::google::protobuf::uint32 SecretManagerSection::tokensequencenumber() const {
7494  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SecretManagerSection.tokenSequenceNumber)
7495  return tokensequencenumber_;
7496 }
7497 inline void SecretManagerSection::set_tokensequencenumber(::google::protobuf::uint32 value) {
7498  set_has_tokensequencenumber();
7499  tokensequencenumber_ = value;
7500  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SecretManagerSection.tokenSequenceNumber)
7501 }
7502 
7503 // optional uint32 numKeys = 3;
7504 inline bool SecretManagerSection::has_numkeys() const {
7505  return (_has_bits_[0] & 0x00000004u) != 0;
7506 }
7507 inline void SecretManagerSection::set_has_numkeys() {
7508  _has_bits_[0] |= 0x00000004u;
7509 }
7510 inline void SecretManagerSection::clear_has_numkeys() {
7511  _has_bits_[0] &= ~0x00000004u;
7512 }
7513 inline void SecretManagerSection::clear_numkeys() {
7514  numkeys_ = 0u;
7515  clear_has_numkeys();
7516 }
7517 inline ::google::protobuf::uint32 SecretManagerSection::numkeys() const {
7518  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SecretManagerSection.numKeys)
7519  return numkeys_;
7520 }
7521 inline void SecretManagerSection::set_numkeys(::google::protobuf::uint32 value) {
7522  set_has_numkeys();
7523  numkeys_ = value;
7524  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SecretManagerSection.numKeys)
7525 }
7526 
7527 // optional uint32 numTokens = 4;
7528 inline bool SecretManagerSection::has_numtokens() const {
7529  return (_has_bits_[0] & 0x00000008u) != 0;
7530 }
7531 inline void SecretManagerSection::set_has_numtokens() {
7532  _has_bits_[0] |= 0x00000008u;
7533 }
7534 inline void SecretManagerSection::clear_has_numtokens() {
7535  _has_bits_[0] &= ~0x00000008u;
7536 }
7537 inline void SecretManagerSection::clear_numtokens() {
7538  numtokens_ = 0u;
7539  clear_has_numtokens();
7540 }
7541 inline ::google::protobuf::uint32 SecretManagerSection::numtokens() const {
7542  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.SecretManagerSection.numTokens)
7543  return numtokens_;
7544 }
7545 inline void SecretManagerSection::set_numtokens(::google::protobuf::uint32 value) {
7546  set_has_numtokens();
7547  numtokens_ = value;
7548  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.SecretManagerSection.numTokens)
7549 }
7550 
7551 // -------------------------------------------------------------------
7552 
7553 // CacheManagerSection
7554 
7555 // required uint64 nextDirectiveId = 1;
7556 inline bool CacheManagerSection::has_nextdirectiveid() const {
7557  return (_has_bits_[0] & 0x00000001u) != 0;
7558 }
7559 inline void CacheManagerSection::set_has_nextdirectiveid() {
7560  _has_bits_[0] |= 0x00000001u;
7561 }
7562 inline void CacheManagerSection::clear_has_nextdirectiveid() {
7563  _has_bits_[0] &= ~0x00000001u;
7564 }
7565 inline void CacheManagerSection::clear_nextdirectiveid() {
7566  nextdirectiveid_ = GOOGLE_ULONGLONG(0);
7567  clear_has_nextdirectiveid();
7568 }
7569 inline ::google::protobuf::uint64 CacheManagerSection::nextdirectiveid() const {
7570  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.CacheManagerSection.nextDirectiveId)
7571  return nextdirectiveid_;
7572 }
7573 inline void CacheManagerSection::set_nextdirectiveid(::google::protobuf::uint64 value) {
7574  set_has_nextdirectiveid();
7575  nextdirectiveid_ = value;
7576  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.CacheManagerSection.nextDirectiveId)
7577 }
7578 
7579 // required uint32 numPools = 2;
7580 inline bool CacheManagerSection::has_numpools() const {
7581  return (_has_bits_[0] & 0x00000002u) != 0;
7582 }
7583 inline void CacheManagerSection::set_has_numpools() {
7584  _has_bits_[0] |= 0x00000002u;
7585 }
7586 inline void CacheManagerSection::clear_has_numpools() {
7587  _has_bits_[0] &= ~0x00000002u;
7588 }
7589 inline void CacheManagerSection::clear_numpools() {
7590  numpools_ = 0u;
7591  clear_has_numpools();
7592 }
7593 inline ::google::protobuf::uint32 CacheManagerSection::numpools() const {
7594  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.CacheManagerSection.numPools)
7595  return numpools_;
7596 }
7597 inline void CacheManagerSection::set_numpools(::google::protobuf::uint32 value) {
7598  set_has_numpools();
7599  numpools_ = value;
7600  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.CacheManagerSection.numPools)
7601 }
7602 
7603 // required uint32 numDirectives = 3;
7604 inline bool CacheManagerSection::has_numdirectives() const {
7605  return (_has_bits_[0] & 0x00000004u) != 0;
7606 }
7607 inline void CacheManagerSection::set_has_numdirectives() {
7608  _has_bits_[0] |= 0x00000004u;
7609 }
7610 inline void CacheManagerSection::clear_has_numdirectives() {
7611  _has_bits_[0] &= ~0x00000004u;
7612 }
7613 inline void CacheManagerSection::clear_numdirectives() {
7614  numdirectives_ = 0u;
7615  clear_has_numdirectives();
7616 }
7617 inline ::google::protobuf::uint32 CacheManagerSection::numdirectives() const {
7618  // @@protoc_insertion_point(field_get:hadoop.hdfs.fsimage.CacheManagerSection.numDirectives)
7619  return numdirectives_;
7620 }
7621 inline void CacheManagerSection::set_numdirectives(::google::protobuf::uint32 value) {
7622  set_has_numdirectives();
7623  numdirectives_ = value;
7624  // @@protoc_insertion_point(field_set:hadoop.hdfs.fsimage.CacheManagerSection.numDirectives)
7625 }
7626 
7627 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
7628 // -------------------------------------------------------------------
7629 
7630 // -------------------------------------------------------------------
7631 
7632 // -------------------------------------------------------------------
7633 
7634 // -------------------------------------------------------------------
7635 
7636 // -------------------------------------------------------------------
7637 
7638 // -------------------------------------------------------------------
7639 
7640 // -------------------------------------------------------------------
7641 
7642 // -------------------------------------------------------------------
7643 
7644 // -------------------------------------------------------------------
7645 
7646 // -------------------------------------------------------------------
7647 
7648 // -------------------------------------------------------------------
7649 
7650 // -------------------------------------------------------------------
7651 
7652 // -------------------------------------------------------------------
7653 
7654 // -------------------------------------------------------------------
7655 
7656 // -------------------------------------------------------------------
7657 
7658 // -------------------------------------------------------------------
7659 
7660 // -------------------------------------------------------------------
7661 
7662 // -------------------------------------------------------------------
7663 
7664 // -------------------------------------------------------------------
7665 
7666 // -------------------------------------------------------------------
7667 
7668 // -------------------------------------------------------------------
7669 
7670 // -------------------------------------------------------------------
7671 
7672 // -------------------------------------------------------------------
7673 
7674 // -------------------------------------------------------------------
7675 
7676 // -------------------------------------------------------------------
7677 
7678 // -------------------------------------------------------------------
7679 
7680 // -------------------------------------------------------------------
7681 
7682 // -------------------------------------------------------------------
7683 
7684 // -------------------------------------------------------------------
7685 
7686 // -------------------------------------------------------------------
7687 
7688 // -------------------------------------------------------------------
7689 
7690 // -------------------------------------------------------------------
7691 
7692 
7693 // @@protoc_insertion_point(namespace_scope)
7694 
7695 } // namespace fsimage
7696 } // namespace hdfs
7697 } // namespace hadoop
7698 
7699 #ifndef SWIG
7700 namespace google {
7701 namespace protobuf {
7702 
7703 template <> struct is_proto_enum< ::hadoop::hdfs::fsimage::INodeSection_INode_Type> : ::google::protobuf::internal::true_type {};
7704 template <>
7705 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::fsimage::INodeSection_INode_Type>() {
7706  return ::hadoop::hdfs::fsimage::INodeSection_INode_Type_descriptor();
7707 }
7708 template <> struct is_proto_enum< ::hadoop::hdfs::fsimage::SnapshotDiffSection_DiffEntry_Type> : ::google::protobuf::internal::true_type {};
7709 template <>
7710 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::fsimage::SnapshotDiffSection_DiffEntry_Type>() {
7711  return ::hadoop::hdfs::fsimage::SnapshotDiffSection_DiffEntry_Type_descriptor();
7712 }
7713 
7714 } // namespace protobuf
7715 } // namespace google
7716 #endif // SWIG
7717 
7718 // @@protoc_insertion_point(global_scope)
7719 
7720 #endif // PROTOBUF_fsimage_2eproto__INCLUDED
Definition: fsimage.pb.h:120
Definition: fsimage.pb.h:238
Definition: hdfs.pb.h:5639
Definition: fsimage.pb.h:2114
Definition: fsimage.pb.h:1133
Definition: fsimage.pb.h:374
Definition: fsimage.pb.h:4038
Definition: fsimage.pb.h:3511
Definition: fsimage.pb.h:1622
Definition: fsimage.pb.h:1921
Definition: fsimage.pb.h:2638
Definition: fsimage.pb.h:3315
Definition: fsimage.pb.h:1807
Definition: fsimage.pb.h:3403
Definition: fsimage.pb.h:3912
Definition: fsimage.pb.h:3176
Definition: fsimage.pb.h:2757